diff options
author | Makoto Takeuchi <mak0@lxsys.co.uk> | 2017-05-24 16:37:24 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-06-12 21:07:31 +0200 |
commit | ca27b3d370353ff57719718a1964c6b4f10b11a4 (patch) | |
tree | f5b40d8d2a2f5b3745fb55f20b27f086b3b95dab /target/linux/kirkwood/base-files | |
parent | c2f052acaeb480e89d3ce39c47f49ad16b3464ac (diff) | |
download | upstream-ca27b3d370353ff57719718a1964c6b4f10b11a4.tar.gz upstream-ca27b3d370353ff57719718a1964c6b4f10b11a4.tar.bz2 upstream-ca27b3d370353ff57719718a1964c6b4f10b11a4.zip |
kirkwood: add support for Cisco ON100
The Cisco ON100 device is a Kirkwood based router:
SoC: Marvell 88F6282 1600Mhz
SDRAM memory: 512MB DDR3 1333Mhz
Gigabit ethernet: 2x Marvell 88E1310 (over RGMII)
Flash memory: 512MB
2 bi-colour status LEDs (green/red)
1 Reset button
1 USB 2.0 port (on back)
1 SDIO slot (on back)
This commit adds a target profile of "Cisco Systems ON100" under the target
system "Marvell Kirkwood".
Flashing can be performed over tftp, once "dhcp" has been issued:
tftpboot ${loadaddr} lede-kirkwood-on100-squashfs-factory.bin
nand erase 0x0c0000 ${filesize}
nand write ${loadaddr} 0x0c0000 ${filesize}
Once flashed, set environment variables to boot:
setenv bootcmd nand read \${loadaddr} 0x0c0000 0x540000\; setenv bootargs
\; bootm
saveenv
Signed-off-by: Makoto Takeuchi <mak0@lxsys.co.uk>
Diffstat (limited to 'target/linux/kirkwood/base-files')
-rwxr-xr-x | target/linux/kirkwood/base-files/etc/board.d/02_network | 3 | ||||
-rwxr-xr-x | target/linux/kirkwood/base-files/etc/diag.sh | 3 | ||||
-rwxr-xr-x | target/linux/kirkwood/base-files/lib/kirkwood.sh | 4 |
3 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/kirkwood/base-files/etc/board.d/02_network b/target/linux/kirkwood/base-files/etc/board.d/02_network index 35d735f9db..19f0292b29 100755 --- a/target/linux/kirkwood/base-files/etc/board.d/02_network +++ b/target/linux/kirkwood/base-files/etc/board.d/02_network @@ -35,6 +35,9 @@ case "$board" in ucidef_set_interface_lan "eth0" "dhcp" ucidef_set_interface_macaddr "lan" $( mtd_get_mac_ascii uboot_env ethaddr ) ;; +"on100") + ucidef_set_interface_lan "eth0 eth1" + ;; *) ucidef_set_interface_lan "eth0" ;; diff --git a/target/linux/kirkwood/base-files/etc/diag.sh b/target/linux/kirkwood/base-files/etc/diag.sh index 1c4632d613..64650850d6 100755 --- a/target/linux/kirkwood/base-files/etc/diag.sh +++ b/target/linux/kirkwood/base-files/etc/diag.sh @@ -23,6 +23,9 @@ get_status_led() { nsa310b) status_led="nsa310:green:sys" ;; + on100) + status_led="on100:green:health" + ;; esac } diff --git a/target/linux/kirkwood/base-files/lib/kirkwood.sh b/target/linux/kirkwood/base-files/lib/kirkwood.sh index 2c7d7baf4b..dbf3456172 100755 --- a/target/linux/kirkwood/base-files/lib/kirkwood.sh +++ b/target/linux/kirkwood/base-files/lib/kirkwood.sh @@ -33,6 +33,10 @@ kirkwood_board_detect() { name="ib62x0" ;; + "Cisco Systems ON100") + name="on100" + ;; + "Cloud Engines Pogoplug E02") name="pogo_e02" ;; |