Hi,
ive managed to setup UART communication on my raspberry pi zero w yesterday, however ive stumbled upon weird issue.
After piCore is done booting, im prompted to login, but after entering "tc" as login username, this error gets shown:
login: can't set groups: Operation not permitted
Also, before the login prompt, this error shows up:
login: -f is for root only
which i believe is product of the autologin script?
Anyway, here are the modifications ive done, to setup uart:
cmdline.txt
earlycon=pl011,mmio32,0x20201000 ... console=ttyAMA0,115200 ...
config.txt
...
[all]
enable_uart=1
dtoverlay=disable-bt
Then i unpacked the "rootfs-piCore-16.0.gz"
gunzip -c ../rootfs-piCore-16.0.gz | cpio -id
opt/bootlocal.sh
...
/usr/sbin/startserialtty ttyAMA0 &
...
etc/inittab
ttyAMA0::respawn:/sbin/getty -nl /sbin/autologin 115200 ttyAMA0
and finally packaged it back together
find . | cpio -o -H newc | gzip -9 > ../rootfs-piCore-16.0.gz
Im guessing, the issue lies in unpacking and packing toghether the root filesystem, causing some permission mashing? Hopefully ive provided enough information.
Thanks very much in advance...
(also i should mention im new to using piCore and tinycore in general, but i got familiar with most concepts via wiki/docs)