Author: rmilecki
Date: 2015-04-21 10:19:53 +0200 (Tue, 21 Apr 2015)
New Revision: 45540

Modified:
   trunk/target/linux/bcm53xx/image/Makefile
Log:
bcm53xx: always use 4 MiB for TRX kernel partition to simplify upgrades

Signed-off-by: Dan Haab <[email protected]>

Modified: trunk/target/linux/bcm53xx/image/Makefile
===================================================================
--- trunk/target/linux/bcm53xx/image/Makefile   2015-04-21 07:45:49 UTC (rev 
45539)
+++ trunk/target/linux/bcm53xx/image/Makefile   2015-04-21 08:19:53 UTC (rev 
45540)
@@ -31,12 +31,14 @@
 endef
 
 define Build/trx-nand
+       # kernel: always use 4 MiB (-28 B or TRX header) to allow upgrades even
+       #         if it grows up between releases
        $(STAGING_DIR_HOST)/bin/trx \
                -o $@ \
                -m 33554432 \
-               -f $(word 1,$^) \
-               -a 0x20000 -f $(KDIR)/root-block-0x20000-min-0x800.ubi \
-               -a 0x20000 -A $(KDIR)/fs_mark
+               -f $(word 1,$^) -a 0x20000 -b 0x400000 \
+               -f $(KDIR)/root-block-0x20000-min-0x800.ubi -a 0x20000 \
+               -A $(KDIR)/fs_mark
 endef
 
 define Build/netgear-chk
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to