diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2014-09-21 21:56:31 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2014-09-21 21:56:31 +0000 |
commit | d36def3f4e2f9bc125277786e36b94d2d214f2d4 (patch) | |
tree | dde27047a0d11677a5d367d3c6e27993783f1c28 | |
parent | 1683576ed05186ecd8bbda229f50f83e4cb0aa66 (diff) | |
download | master-187ad058-d36def3f4e2f9bc125277786e36b94d2d214f2d4.tar.gz master-187ad058-d36def3f4e2f9bc125277786e36b94d2d214f2d4.tar.bz2 master-187ad058-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/Makefile | 1 | ||||
-rw-r--r-- | target/linux/bcm53xx/base-files/etc/uci-defaults/09_fix_crc | 7 |
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 |