I'm testing the Armbian image for Odroid N2+ ( Armbian_22.08.7_Odroidn2_jammy_current_5.19.17_xfce_desktop) to see if it's a good migration path from the HardKernel base image.
Unfortunately I need to get both i2c bus running on the GPIO and so far only the first bus seems to work (i2c-0).
Looking into /sys/bus/i2c/devices , it looks like i2c-1 is tied to the hdmi port instead of the 2nd i2c bus on the GPIO :
lrwxrwxrwx 1 root root 0 Dec 31 1969 0-0051 -> ../../../devices/platform/soc/ffd00000.bus/ffd1c000.i2c/i2c-0/0-0051
lrwxrwxrwx 1 root root 0 Dec 31 1969 i2c-0 -> ../../../devices/platform/soc/ffd00000.bus/ffd1c000.i2c/i2c-0
lrwxrwxrwx 1 root root 0 Dec 31 1969 i2c-1 -> ../../../devices/platform/soc/ff600000.bus/ff600000.hdmi-tx/i2c-1
I also tried to load the uart dtbo using armbian-config, but they do not show up in /dev after a reboot. so it looks like none of the overlay are actually loading.
Here is the content of my armbianEnv.txt :
verbosity=1
console=both
overlay_prefix=meson
bootlogo=true
rootdev=UUID=9355737e-ddfc-4d22-a953-b2bb4bf41a56
rootfstype=ext4
overlays=g12-gxl-cma-pool-896MB i2cA i2cB uartA uartC
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
so.. how do I enable the i2c port properly, as well as the uarts ... and I will need to also enable pwm on pin 12 and 33 (pwm_ef pwm_cd overlay on Hardkenel images).
These is my current overlay line on Hardkernel images : overlays="i2c0 i2c1 uart0 uart1 pwm_ef pwm_cd"
Thanks.