Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: CNK on February 25, 2021, 08:37:53 AM
-
I can't seem to enable the serial console for PiCore 13 on a Raspberry Pi Zero or Raspberry Pi Zero W.
I've added enable_uart=1 to config.txt. In cmdline.txt I've tried:
console=ttyAMA0,115200
console=ttyS0,115200
console=/dev/ttyS0,115200
console=Serial0,115200
It's driving me nuts. I know everything's hooked up right because I had PiCore 11 working via serial on a Pi Zero, and can access Raspberry Pi OS over serial.
I hooked it up to a TV to confirm it is booting, but access via the serial console would be much more practical.
-
For a Pi0W:
- add to cmdline.txt: console=serial0,115200
- optionally, to catch early boot messages, also add: earlycon=pl011,mmio32,0x20201000
- in /opt/bootlocal.sh uncomment the line that starts serial console (think has been commented out since picore12)
- in config.txt add a section for PI0 towards the end:
[PI0]
dtoverlay=disable-bt
This works for me on picore 12 on a Pi0W.
Did you see my ramblings (http://forum.tinycorelinux.net/index.php/topic,23404.msg146663.html#msg146663) from a while ago?
-
Thanks, that works for my Pi Zero and Zero W. The only trouble is that eventually I do want to get Bluetooth working too, but I'll leave that headache for later.
Also I forgot to preserve permissions when I unpacked mydata.tgz to edit /opt/bootlocal.sh, so I'll have to do that again because now the "tc" user can't even enter /home/tc.
Thanks for the link. I think this is definately an area for improvement in PiCore.