brcm2708: force uart as the default console for procd and remove nonexistent console
authorJohn Crispin <john@openwrt.org>
Sat, 14 Feb 2015 20:48:14 +0000 (20:48 +0000)
committerJohn Crispin <john@openwrt.org>
Sat, 14 Feb 2015 20:48:14 +0000 (20:48 +0000)
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

target/linux/brcm2708/base-files/etc/inittab
target/linux/brcm2708/image/cmdline.txt

index d9d571e8d9c49a438d9882b1b9b7132be2cb4c87..c05c5551bc77021ca00ba5367c8c68587cdf2829 100644 (file)
@@ -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
index 516f2706b237674823625c47cc8f7ecbf47e7a4b..95848bb293106de8585e02e7b26cb3a33b5e2565 100644 (file)
@@ -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