mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
bcm53xx: always use 4 MiB for TRX kernel partition to simplify upgrades
Signed-off-by: Dan Haab <dhaab@luxul.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45540 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -31,12 +31,14 @@ define Build/mkfs/squashfs
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user