/srv/irclogs.ubuntu.com/2022/05/16/#ubuntu-arm.txt

=== five64333349634 is now known as five6
ikoniahow can I validate the GIO config for i2c and spi 13:02
ikoniajust moved my little dev project to ubuntu and before I start dealing with the many failures, I want to make sure the basics are right13:03
ikoniawaveform I apprecaite what you said about raspi-config, so I'm not messing with that at this stage13:03
ikoniaI assume /boot/config.txt is supported with ubuntu 20.04 (I think someone confirmed this last time I asked) 13:07
ikonia(it looks like it's in /boot/firmware/config,txt) 13:08
waveformikonia, yup -- the location on ubuntu is /boot/firmware/config.txt because that's where we mount the boot partition. The one thing to be aware of is that, up to (and including) focal (20.04) u-boot is *also* in the boot sequence so config.txt configures the raspberry pi bootloader, but it *doesn't* configure things like the kernel command line because it's just loading u-boot which then takes over and handles loading the kernel, constructing the 13:16
waveformkernel command line etc. From groovy (20.10) onwards the ubuntu boot sequence is much more "traditional" (at least for pis) using just the pi bootloader13:16
waveformas for how you can tell I2C and SPI are loaded -- if /dev/spidev0.* is present then spi=on is active in the base overlay. Likewise if /dev/i2c-1 is present, then i2c_arm=on is active in the base overlay (those devices won't appear otherwise)13:18
ikoniathanks waveform 13:20
=== iyed is now known as iyedonhismed

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!