From c977fad4fd5a72bcea09bfa745f132c082d3cceb Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 21 Sep 2014 21:56:31 +0000 Subject: [PATCH] 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 SVN-Revision: 42639 --- package/system/mtd/src/Makefile | 1 + .../linux/bcm53xx/base-files/etc/uci-defaults/09_fix_crc | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 target/linux/bcm53xx/base-files/etc/uci-defaults/09_fix_crc 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 -- 2.25.1