1
0
This repository has been archived on 2025-06-16. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openwrt_archive/target/linux/kirkwood/profiles/115-router.mk
Luka Perkov 444694d00e 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>

SVN-Revision: 40871
2014-05-28 21:43:39 +00:00

23 lines
493 B
Makefile

#
# Copyright (C) 2014 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
define Profile/EA4500
NAME:=Linksys EA4500
PACKAGES:= \
kmod-mwl8k kmod-usb2 kmod-usb-storage \
uboot-envtools
endef
define Profile/EA4500/Description
Package set compatible with Linksys EA4500 board.
endef
EA4500_UBIFS_OPTS:="-m 2048 -e 126KiB -c 4096"
EA4500_UBI_OPTS:="-m 2048 -p 128KiB -s 512"
# $(eval $(call Profile,EA4500))