If you can provide some testing and feedback on the images at Index of /rootfs/bb.org/testing/2021-03-29, it would be really great. If we can close any significant regressions, we and make it an official release as a starting point for this year’s GSoC students.
So far I’ve built/tested on black using u-boot/kernels and rootfs from Robert’s wiki page and encountered a few issues.
focal rootfs has network issues and fails on network up/ttyG, then freezes without a console prompt (kernel 5.4 or less) whereas bionic boots successfully.
with latest debian flashed to emmc, using uEnv.txt on both emmc and sdcard has some issues with newer kernels; 5.10 kernel has mmc0/1 swapped from both earlier kernels and u-boot.
beaglebone-yocto (dunfell branch) boots fine, uses vfat /boot and extlinux.conf
using extlinux.conf on sdcard boots reliably (with debian/uEnv on emmc) using bionic and 5.10 kernel
Hopefully building from meta-ti should also work, but I didn’t find an image recipe or doc to get a nice TI dev image with PRU stuff, etc.
Right now I don’t have an answer for munging uEnv.txt on sdcard to make it happy with Robert’s default setup.
I’m not sure I remember anything much from 3.8 … I can see the alias patch on the ti-linux-rt-5.10.y branch, but it does not fix the swapped root device issue if I use the “default” uEnv.txt with just uname_r=n.n.n in it. What exactly is the “simple” uEnv fix to get the right root mounted? With the above it loads kernel from sdcard but then mounts the emmc rootfs…
Okay, confirmed the root device fix on 5.10.21-ti-rt-r1 but ubuntu still has some issues:
serial gettys still timeout/fail and console freezes with no login prompt:
[DEPEND] Dependency failed for Serial Getty on ttyGS0.
[ OK ] Started Generic Board Startup.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes…
[ OK ] Started Update UTMP about System Runlevel Changes.
still getting phy error on ethernet startup:
[ 20.664757] cpsw 4a100000.ethernet: phy “/ocp/interconnect@4a000000/segment@0/target-module@100000/ethernet@0/mdio@1000/ethernet-phy@0” not found on slave 0`
Throw that board away, or mark it as having a bad PHY… Our phy port hack probably needs a tweak for later kernels… For bleeding edge, which is our 5.10-ti branch you’ll just be pulling hairs…
Ubuntu issues (mainly network/tty-related) vary with hardware and kernel version; note anything before the above version and later than 5.4.x will have mmc device issues. Occasional PHY errors (also depends on kernel and/or hardware).