Author: rmilecki Date: 2015-04-21 10:42:41 +0200 (Tue, 21 Apr 2015) New Revision: 45545
Modified: trunk/target/linux/bcm53xx/image/Makefile Log: bcm53xx: image: prepare for generating serial flash images There are some rare devices without NAND, like Netgear EX6200 or TP-LINK Archer C8. Signed-off-by: Rafa?\197?\130 Mi?\197?\130ecki <[email protected]> Modified: trunk/target/linux/bcm53xx/image/Makefile =================================================================== --- trunk/target/linux/bcm53xx/image/Makefile 2015-04-21 08:34:25 UTC (rev 45544) +++ trunk/target/linux/bcm53xx/image/Makefile 2015-04-21 08:42:41 UTC (rev 45545) @@ -34,6 +34,13 @@ ( 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 _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
