Hello.
So, recently acquired a few original Beagle Boards. Working with a Rev C4 currently. Running Debian on it is my end goal. Have made a lot of progress thanks to RCN’s omap-image-builder utility. I modified the kernel versions for Debian (stretch) to use 5.13.7-armv7-x14 and 5.10.41-ti-rt-r10 in the image. Then did the following to create my MMC card:
./RootStock-NG.sh -c rcn-ee_console_debian_stretch_armhf
./setup_sdcard.sh --mmc /dev/sdc --dtb omap3-beagle
Powered the board on then did the following U-Boot commands:
ext2load mmc 0:2 ${fdt_addr_r} boot/dtbs/5.13.7-armv7-x14/omap3-beagle.dtb
ext2load mmc 0:2 ${kernel_addr_r} boot/vmlinuz-5.13.7-armv7-x14
setenv bootargs 'console=ttyS2,115200n8 root=/dev/mmcblk0p2 rootwait'
bootz ${kernel_addr_r} - ${fdt_addr_r}
and Debian booted up just fine until mounting the root filesystem. It mounted fine then stopped outputting any text on the terminal:
[ 8.695556] systemd[1]: System time before build time, advancing clock.
[ 9.349334] random: systemd: uninitialized urandom read (16 bytes read)
[ 9.371551] random: systemd: uninitialized urandom read (16 bytes read)
[ 15.345703] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 15.368286] systemd[1]: Detected architecture arm.
Welcome to Debian GNU/Linux 9 (stretch)!
[ 15.448272] systemd[1]: Set hostname to <arm>.
[ 15.851074] random: crng init done
I then had to keep pressing periodically to get output showing up on the serial console. Eventually it started all the services (a bunch of stuff) and then never ending messages:
[ *** ] (2 of 2) A start job is running for dev-ttyGS0.device (24s / 1min 30s)
So, I did some tweaks to the root filesystem:
rm -rf timers.target.wants
cd sockets.target.wants
rm avahi-daemon.socket
cd ../getty.target.wants
rm getty\@tty1.service
mv serial-getty\@ttyGS0.service serial-getty\@ttyS2.service
cd ../multi-user.target.wants
rm apache2.service pppd-dns.service
rm capemgr.service connman.service
rm dundee.service avahi-daemon.service
rm ofono.service
and created four new files:
/etc/systemd/system/serial-getty@ttyO2.service
/etc/systemd/system/serial-getty@ttyS2.service
/etc/systemd/system/getty.target.wants/serial-getty@ttyO2.service
/etc/systemd/system/getty.target.wants/serial-getty@ttyS2.service
Rebooted the board and after startup is complete, similar messages:
[ **] (1 of 3) A start job is running for dev-ttyO2.device (36s / 1min 30s)
What is going on with my serial console? Thanks in advance.
-Nevets