aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-09-21 21:56:31 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-09-21 21:56:31 +0000
commitc977fad4fd5a72bcea09bfa745f132c082d3cceb (patch)
tree07705892e4dcf403ba9b68b10771b12cb134f388
parent223a309c3c0dc5e548b1cd948d1dad17a31c366f (diff)
downloadupstream-c977fad4fd5a72bcea09bfa745f132c082d3cceb.tar.gz
upstream-c977fad4fd5a72bcea09bfa745f132c082d3cceb.tar.bz2
upstream-c977fad4fd5a72bcea09bfa745f132c082d3cceb.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> SVN-Revision: 42639
-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