mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
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
This commit is contained in:
@@ -276,7 +276,7 @@ int main(int argc, char **argv)
|
||||
(fsmark)?fsmark:cur_len - offsetof(struct trx_header, flag_version));
|
||||
p->crc32 = STORE32_LE(p->crc32);
|
||||
|
||||
p->len = (fsmark)?fsmark:cur_len - offsetof(struct trx_header, flag_version);
|
||||
p->len = STORE32_LE((fsmark) ? fsmark : cur_len);
|
||||
p->len = STORE32_LE(p->len);
|
||||
|
||||
/* restore TRXv2 bin-header */
|
||||
|
||||
Reference in New Issue
Block a user