projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bcm53xx: image: prepare for generating serial flash images
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
bcm53xx
/
image
/
Makefile
diff --git
a/target/linux/bcm53xx/image/Makefile
b/target/linux/bcm53xx/image/Makefile
index fb909c4629b38ca5b7a4595e0bd392be5aa0535e..b299f38949ff7b9bf8162e6706f252de3ec9413d 100644
(file)
--- a/
target/linux/bcm53xx/image/Makefile
+++ b/
target/linux/bcm53xx/image/Makefile
@@
-34,6
+34,13
@@
define Build/mkfs/squashfs
( cd $(KDIR); $(STAGING_DIR_HOST)/bin/ubinize -p 128KiB -m 2048 -o $(KDIR)/root-block-0x20000-min-0x800.ubi ubinize.cfg )
endef
( cd $(KDIR); $(STAGING_DIR_HOST)/bin/ubinize -p 128KiB -m 2048 -o $(KDIR)/root-block-0x20000-min-0x800.ubi ubinize.cfg )
endef
+define Build/trx-serial
+ $(STAGING_DIR_HOST)/bin/trx \
+ -o $@ \
+ -f $(word 1,$^) -a 1024 \
+ -f $(KDIR)/root.squashfs -a 0x10000 -A $(KDIR)/fs_mark
+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
define Build/trx-nand
# kernel: always use 4 MiB (-28 B or TRX header) to allow upgrades even
# if it grows up between releases