[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Serial console on buster images



Hi,

can anybody tell if the buster armhf images automatically add a serial console 
(e.g. for the cubox-i) or if that is a manual step?

If manual, I assume I have to take the SD card after the installation and

in /etc/systemd/system/getty.target.wants
# ln -s /lib/systemd/system/getty@.service getty@ttymxc0.service

Is that correct?

I addition I assume I need to add 

# cd <mount point of sdcard>
# echo 'setenv bootargs ${bootargs} console=ttymxc0,115200' > etc/flash-kernel/
ubootenv.d/ttymxc0

But how do I run flash-kernel on a x86 system, which has mounted the card? Is 
there a better way to add the bootargs?

Thanks
Rainer

-- 
Rainer Dorsch
http://bokomoko.de/



Reply to: