diff options
author | Luka Perkov <luka@openwrt.org> | 2014-05-28 21:43:39 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2014-05-28 21:43:39 +0000 |
commit | d5c281f5b432137b8ae039d3eeab589bbc145691 (patch) | |
tree | 22eee446c8415e8a0afd98bbf14a56e43a0db5f6 /target/linux/kirkwood/image/Makefile | |
parent | c0c92f8a1aef2a8f2681c8bb43c369f7ced7fa36 (diff) | |
download | upstream-d5c281f5b432137b8ae039d3eeab589bbc145691.tar.gz upstream-d5c281f5b432137b8ae039d3eeab589bbc145691.tar.bz2 upstream-d5c281f5b432137b8ae039d3eeab589bbc145691.zip |
kirkwood: add support for Linksys EA4500
Support is added only for kernel 3.14 - do not show it until
the switch is made.
Following uboot env changes are needed to make it work on stock uboot:
---
setenv owrt_bootargs_root ubi.mtd=3 root=ubi0:rootfs rootfstype=ubifs rw
setenv owrt_mtdparts mtdparts=orion_nand:0x80000@0x0(uboot),0x20000@0x80000(uboot_env),0x200000@0x200000(kernel),-@0x400000(root)
setenv owrt_boot nand read.e \${loadaddr} 0x200000 0x200000 \; setenv bootargs \$(console) \$(owrt_mtdparts) \${owrt_bootargs_root} \; bootm \${loadaddr}
setenv bootcmd run owrt_boot
saveenv
---
Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40871 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/kirkwood/image/Makefile')
-rw-r--r-- | target/linux/kirkwood/image/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile index 00a6f3f81a..a3971d47af 100644 --- a/target/linux/kirkwood/image/Makefile +++ b/target/linux/kirkwood/image/Makefile @@ -117,6 +117,9 @@ Image/InstallKernel/Template/Generic=$(call Image/InstallKernel/Template) Image/BuildKernel/Template/DOCKSTAR=$(call Image/BuildKernel/Template,dockstar) Image/InstallKernel/Template/DOCKSTAR=$(call Image/InstallKernel/Template,dockstar) +Image/BuildKernel/Template/EA4500=$(call Image/BuildKernel/Template,ea4500) +Image/InstallKernel/Template/EA4500=$(call Image/InstallKernel/Template,ea4500) + Image/BuildKernel/Template/GOFLEXNET=$(call Image/BuildKernel/Template,goflexnet) Image/InstallKernel/Template/GOFLEXNET=$(call Image/InstallKernel/Template,goflexnet) |