brcm2708: force uart as the default console for procd and remove nonexistent console

procd gets last console from cmdline, so swapping tty1 (framebuffer) and ttyAMA0 (uart) is enough to force procd output via uart

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44448
master
John Crispin 10 years ago
parent dc72499b53
commit 9270474941
  1. 1
      target/linux/brcm2708/base-files/etc/inittab
  2. 2
      target/linux/brcm2708/image/cmdline.txt

@ -1,5 +1,4 @@
::sysinit:/etc/init.d/rcS S boot
::shutdown:/etc/init.d/rcS K shutdown
tts/0::askfirst:/bin/ash --login
ttyAMA0::askfirst:/bin/ash --login
tty1::askfirst:/bin/ash --login

@ -1 +1 @@
dwc_otg.lpm_enable=0 rpitestmode=1 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
dwc_otg.lpm_enable=0 rpitestmode=1 console=tty1 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait

Loading…
Cancel
Save