aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/boot/uboot-layerscape/Makefile10
-rw-r--r--package/boot/uboot-layerscape/files/ls1021atwr-uEnv.txt8
-rw-r--r--package/firmware/layerscape/ls-rcw/Makefile8
3 files changed, 24 insertions, 2 deletions
diff --git a/package/boot/uboot-layerscape/Makefile b/package/boot/uboot-layerscape/Makefile
index ffa392cd6e..875e08f0e1 100644
--- a/package/boot/uboot-layerscape/Makefile
+++ b/package/boot/uboot-layerscape/Makefile
@@ -59,13 +59,21 @@ define U-Boot/ls2088ardb
UBOOT_CONFIG:=ls2080ardb
endef
+define U-Boot/ls1021atwr
+ NAME:=NXP LS1021ATWR
+ BUILD_SUBTARGET:=armv7
+ UBOOT_CONFIG:=ls1021atwr_nor
+ ENV_SIZE:=0x20000
+endef
+
UBOOT_TARGETS := \
ls1012ardb \
ls1012afrdm \
ls1043ardb \
ls1046ardb \
ls1088ardb \
- ls2088ardb
+ ls2088ardb \
+ ls1021atwr
define Build/InstallDev
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
diff --git a/package/boot/uboot-layerscape/files/ls1021atwr-uEnv.txt b/package/boot/uboot-layerscape/files/ls1021atwr-uEnv.txt
new file mode 100644
index 0000000000..f29904e0ad
--- /dev/null
+++ b/package/boot/uboot-layerscape/files/ls1021atwr-uEnv.txt
@@ -0,0 +1,8 @@
+fdtaddr=0x8f000000
+loadaddr=0x81000000
+fdt_high=0xffffffff
+initrd_high=0xffffffff
+nor_boot=cp.b 60f00000 $fdtaddr 100000;cp.b 61000000 $loadaddr 1000000;bootm $loadaddr - $fdtaddr
+bootargs=root=/dev/mtdblock6 rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=60000000.nor:1m(rcw),2m(u-boot),1m(u-boot-env),11m(reserved-1),1m(dtb),16m(kernel),32m(rootfs)
+bootcmd=echo starting openwrt ...;run nor_boot
+bootdelay=3
diff --git a/package/firmware/layerscape/ls-rcw/Makefile b/package/firmware/layerscape/ls-rcw/Makefile
index 8d873baf08..d12bff9bba 100644
--- a/package/firmware/layerscape/ls-rcw/Makefile
+++ b/package/firmware/layerscape/ls-rcw/Makefile
@@ -58,6 +58,11 @@ define Package/layerscape-rcw/ls2088ardb
CONFIG:=ls2088ardb/FFFFFFFF_PP_HH_0x2a_0x41/rcw_1800.bin
endef
+define Package/layerscape-rcw/ls1021atwr
+ TITLE:=NXP LS1021ATWR RCW binary
+ CONFIG:=ls1021atwr/SSR_PNS_30/rcw_1200.bin
+endef
+
define Package/layerscape-rcw/Install
define Package/layerscape-rcw-$(1)/install
$(INSTALL_DIR) $(STAGING_DIR_IMAGE)
@@ -71,7 +76,8 @@ RCWS := \
ls1043ardb \
ls1046ardb \
ls1088ardb \
- ls2088ardb
+ ls2088ardb \
+ ls1021atwr
$(foreach rcw,$(RCWS), \
$(eval $(Package/layerscape-rcw/$(rcw))) \