From 993989880a1f2f5ad0877ba47d4e99919cfa8bf2 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 8 Mar 2016 18:11:55 +0000 Subject: brcm2708: add Raspberry Pi 3 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Álvaro Fernández Rojas SVN-Revision: 48967 --- target/linux/brcm2708/base-files/etc/board.d/02_network | 5 +++-- target/linux/brcm2708/base-files/etc/diag.sh | 7 +++---- target/linux/brcm2708/base-files/etc/inittab | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'target/linux/brcm2708/base-files/etc') diff --git a/target/linux/brcm2708/base-files/etc/board.d/02_network b/target/linux/brcm2708/base-files/etc/board.d/02_network index c47e8f0..7642c06 100755 --- a/target/linux/brcm2708/base-files/etc/board.d/02_network +++ b/target/linux/brcm2708/base-files/etc/board.d/02_network @@ -1,5 +1,5 @@ #!/bin/sh -# Copyright (C) 2014-2015 OpenWrt.org +# Copyright (C) 2014-2016 OpenWrt.org . /lib/functions/uci-defaults.sh . /lib/brcm2708.sh @@ -13,7 +13,8 @@ board=$(brcm2708_board_name) case "$board" in rpi-b |\ rpi-b-plus |\ -rpi-2-b) +rpi-2-b |\ +rpi-3-b) ucidef_set_interface_lan "eth0" ;; esac diff --git a/target/linux/brcm2708/base-files/etc/diag.sh b/target/linux/brcm2708/base-files/etc/diag.sh index 3a8dc86..de21bcd 100644 --- a/target/linux/brcm2708/base-files/etc/diag.sh +++ b/target/linux/brcm2708/base-files/etc/diag.sh @@ -1,7 +1,5 @@ #!/bin/sh -# -# Copyright (C) 2015 OpenWrt.org -# +# Copyright (C) 2015-2016 OpenWrt.org . /lib/functions/leds.sh . /lib/brcm2708.sh @@ -13,7 +11,8 @@ set_state() { status_led="led0" ;; rpi-b-plus |\ - rpi-2-b) + rpi-2-b |\ + rpi-3-b) status_led="led1" ;; esac diff --git a/target/linux/brcm2708/base-files/etc/inittab b/target/linux/brcm2708/base-files/etc/inittab index c05c555..a6c0bc8 100644 --- a/target/linux/brcm2708/base-files/etc/inittab +++ b/target/linux/brcm2708/base-files/etc/inittab @@ -1,4 +1,4 @@ ::sysinit:/etc/init.d/rcS S boot ::shutdown:/etc/init.d/rcS K shutdown -ttyAMA0::askfirst:/bin/ash --login +::askconsole:/bin/ash --login tty1::askfirst:/bin/ash --login -- cgit v1.1