kirkwood: add support for Cisco ON100
authorMakoto Takeuchi <mak0@lxsys.co.uk>
Wed, 24 May 2017 15:37:24 +0000 (16:37 +0100)
committerMathias Kresin <dev@kresin.me>
Mon, 12 Jun 2017 19:07:31 +0000 (21:07 +0200)
commitca27b3d370353ff57719718a1964c6b4f10b11a4
treef5b40d8d2a2f5b3745fb55f20b27f086b3b95dab
parentc2f052acaeb480e89d3ce39c47f49ad16b3464ac
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>
target/linux/kirkwood/base-files/etc/board.d/02_network
target/linux/kirkwood/base-files/etc/diag.sh
target/linux/kirkwood/base-files/lib/kirkwood.sh
target/linux/kirkwood/image/Makefile
target/linux/kirkwood/patches-4.4/195-on100.patch [new file with mode: 0644]