Mango Jo Posted July 14, 2023 Posted July 14, 2023 Hi, Like the title says the UART overlays are not working on the armbian radxa zero device if I use the official out-of-the-box image. Using the armbian-config I can enable UART A and B but these changes do not reflect in the /dev/tty devices (using other distros is can see /dev/ttyAML0, /dev/ttyAML1 and /dev/ttyAML4). Unless the devices are called something else i confirm that the overlays are not working. That being said I want to recompile a armbian image with the correct overlays but I am a complete noob. Here is my plan : i successfully compiled a minimal cli armbian image for the radxa zero without any modification (whooohoo) i found the overlays from the official radxa github (whooohoo) : https://github.com/radxa/overlays/blob/main/arch/arm64/boot/dts/amlogic/overlays/README.overlays Now i want to include these overlays in the armbian project so that they can be compiled in the image. Reading the documentation i think that i need to include these files somewhere in the package directory: or somewhere in the config directory I also think I need to include some compiling instructions. I feel like I'm so close but at the same time, I feel like I'm so far. Any direction is very much appreciated. Thank you ps the board is officially supported but I can't find the appropriate topic. 0 Quote
kayanite Posted October 19, 2023 Posted October 19, 2023 Running into this issue as well. I am also completely new to Arabian but would be very excited to be able to switch the serial (looking to use a raspbeeII with the Radax Zero). 0 Quote
kayanite Posted October 19, 2023 Posted October 19, 2023 Using Armbian-config, I tried all the uarts from this zero [pinout](https://wiki.radxa.com/Zero/hardware/gpio), but none of them worked. 0 Quote
c0rnelius Posted October 20, 2023 Posted October 20, 2023 Try these: https://github.com/pyavitz/debian-image-builder/tree/feature/patches/overlays/arm64 As for them showing up under /dev correctly, I believe we would need to do a PR to add the aliases to the DTS. aliases { serial0 = &uart_AO; + serial1 = &uart_AO_B; + serial2 = &uart_A; + serial3 = &uart_B; + serial4 = &uart_C; + i2c0 = &i2c0; + i2c1 = &i2c1; + i2c2 = &i2c2; + i2c3 = &i2c3; + i2c4 = &i2c_AO; + spi0 = &spicc0; + spi1 = &spicc1; + spi2 = &spifc; }; radxazero: ~ $ ls /dev autofs initctl ram0 snd tty23 tty42 tty61 vcs6 block input ram1 stderr tty24 tty43 tty62 vcsa btrfs-control kmsg ram10 stdin tty25 tty44 tty63 vcsa1 bus kvm ram11 stdout tty26 tty45 tty7 vcsa2 cachefiles log ram12 tty tty27 tty46 tty8 vcsa3 cec0 loop-control ram13 tty0 tty28 tty47 tty9 vcsa4 char mapper ram14 tty1 tty29 tty48 ttyAML0 vcsa5 console mem ram15 tty10 tty3 tty49 ttyAML1 vcsa6 cpu_dma_latency mmcblk1 ram2 tty11 tty30 tty5 ttyAML4 vcsu disk mmcblk1boot0 ram3 tty12 tty31 tty50 udmabuf vcsu1 dma_heap mmcblk1boot1 ram4 tty13 tty32 tty51 uhid vcsu2 dri mmcblk1p1 ram5 tty14 tty33 tty52 uinput vcsu3 fb0 mmcblk1p2 ram6 tty15 tty34 tty53 urandom vcsu4 fd mmcblk1rpmb ram7 tty16 tty35 tty54 userio vcsu5 full mqueue ram8 tty17 tty36 tty55 v4l vcsu6 fuse net ram9 tty18 tty37 tty56 vcs vga_arbiter gpiochip0 null random tty19 tty38 tty57 vcs1 video0 gpiochip1 port rfkill tty2 tty39 tty58 vcs2 watchdog hwrng ppp rtc tty20 tty4 tty59 vcs3 watchdog0 i2c-3 ptmx rtc0 tty21 tty40 tty6 vcs4 zero i2c-5 pts shm tty22 tty41 tty60 vcs5 zram0 radxazero: ~ $ cat /boot/ext*/ext* label default kernel ../Image initrd ../uInitrd fdtdir ../amlogic/ fdt ../amlogic/meson-g12a-radxa-zero.dtb fdtoverlays ../amlogic/overlays/meson-g12a-radxa-zero-gpio-8-led.dtbo ../amlogic/overlays/meson-g12-gxl-cma-pool-896MB.dtbo ../amlogic/overlays/meson-g12a-radxa-zero-uart-ee-c.dtbo ../amlogic/overlays/meson-g12a-radxa-zero-uart-ao-b-on-gpioao-8-gpioao-9.dtbo append earlyprintk console=tty1 console=ttyAML0,115200n8 console=both rw root=PARTUUID=2c552180-02 rootwait rootfstype=xfs fsck.repair=yes loglevel=1 net.ifnames=0 no_console_suspend init=/sbin/init 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.