Date:2010-07-30 23:19:49 (13 years 7 months ago)
Author:hauke
Commit:8eb932c7e1275844a925898ee0568c10bc892895
Message:mostly revert commit r22396

CFE does not boot images generated with these checksums because of
wrong checksum.

After flashing then with tftp to my Asus wl500-GPv1 the following messages
are show:
Null Rescue Flag.
Boot program checksum is invalid
Hello!! Enter Rescue Mode: (Check error)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22418 3c298f89-4303-0410-b956-a3cf2f4a3e73
Files: target/linux/brcm47xx/image/Makefile (1 diff)
tools/firmware-utils/src/trx.c (1 diff)

Change Details

target/linux/brcm47xx/image/Makefile
5656-a 0x10000 -f $(KDIR)/root.$(1)
5757endef
5858define trxalign/squashfs
59-a 1024 -f $(KDIR)/root.$(1) $(if $(2),-f $(2)) -a 0x10000 -F $(KDIR)/fs_mark
59-a 1024 -f $(KDIR)/root.$(1) $(if $(2),-f $(2)) -a 0x10000 -A $(KDIR)/fs_mark
6060endef
6161
6262define Image/Build/trxV2
tools/firmware-utils/src/trx.c
276276                        (fsmark)?fsmark:cur_len - offsetof(struct trx_header, flag_version));
277277    p->crc32 = STORE32_LE(p->crc32);
278278
279    p->len = (fsmark)?fsmark:cur_len - offsetof(struct trx_header, flag_version);
279    p->len = STORE32_LE((fsmark) ? fsmark : cur_len);
280280    p->len = STORE32_LE(p->len);
281281
282282    /* restore TRXv2 bin-header */

Archive Download the corresponding diff file



interactive