aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2014-09-21 21:56:31 +0000
committerHauke Mehrtens <hauke@openwrt.org>2014-09-21 21:56:31 +0000
commitd36def3f4e2f9bc125277786e36b94d2d214f2d4 (patch)
treedde27047a0d11677a5d367d3c6e27993783f1c28
parent1683576ed05186ecd8bbda229f50f83e4cb0aa66 (diff)
downloadupstream-d36def3f4e2f9bc125277786e36b94d2d214f2d4.tar.gz
upstream-d36def3f4e2f9bc125277786e36b94d2d214f2d4.tar.bz2
upstream-d36def3f4e2f9bc125277786e36b94d2d214f2d4.zip
bcm53xx: add fixtrx
Without running fixtrx the image will not boot at the second time, because the CRC the boot loader check is invalid at that time. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42639 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/system/mtd/src/Makefile1
-rw-r--r--target/linux/bcm53xx/base-files/etc/uci-defaults/09_fix_crc7
2 files changed, 8 insertions, 0 deletions
diff --git a/package/system/mtd/src/Makefile b/package/system/mtd/src/Makefile
index 645064674b..27ac339005 100644
--- a/package/system/mtd/src/Makefile
+++ b/package/system/mtd/src/Makefile
@@ -7,6 +7,7 @@ obj.seama = seama.o md5.o
obj.ar71xx = trx.o $(obj.seama)
obj.brcm = trx.o
obj.brcm47xx = $(obj.brcm)
+obj.bcm53xx = $(obj.brcm)
obj.brcm63xx = imagetag.o
obj.ramips = $(obj.seama)
diff --git a/target/linux/bcm53xx/base-files/etc/uci-defaults/09_fix_crc b/target/linux/bcm53xx/base-files/etc/uci-defaults/09_fix_crc
new file mode 100644
index 0000000000..346a532998
--- /dev/null
+++ b/target/linux/bcm53xx/base-files/etc/uci-defaults/09_fix_crc
@@ -0,0 +1,7 @@
+#!/bin/sh
+#
+# Copyright (C) 2007 OpenWrt.org
+#
+#
+
+mtd fixtrx firmware