mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
bcm53xx: always use 4 MiB for TRX kernel partition to simplify upgrades
Signed-off-by: Dan Haab <dhaab@luxul.com> SVN-Revision: 45540
This commit is contained in:
parent
c6cd1f1632
commit
ac6879caaa
@ -31,12 +31,14 @@ define Build/mkfs/squashfs
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/trx-nand
|
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 \
|
$(STAGING_DIR_HOST)/bin/trx \
|
||||||
-o $@ \
|
-o $@ \
|
||||||
-m 33554432 \
|
-m 33554432 \
|
||||||
-f $(word 1,$^) \
|
-f $(word 1,$^) -a 0x20000 -b 0x400000 \
|
||||||
-a 0x20000 -f $(KDIR)/root-block-0x20000-min-0x800.ubi \
|
-f $(KDIR)/root-block-0x20000-min-0x800.ubi -a 0x20000 \
|
||||||
-a 0x20000 -A $(KDIR)/fs_mark
|
-A $(KDIR)/fs_mark
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/netgear-chk
|
define Build/netgear-chk
|
||||||
|
Loading…
Reference in New Issue
Block a user