Make more space for kernel part.
Add new "firmware" partition

[mkmylofw] Error: file
/home/user/wpe72-12.09.1/build_dir/linux-ar71xx_generic/tmp/vmlinux-wpe72.bin.lzma
is too big
make[5]: [install] Error 1 (ignored)

New table solved this problem, also it have "firmware" partition.
https://dev.openwrt.org/ticket/14096

Signed-off-by: Aleksandr Kolesnik <[email protected]>

Index: trunk/target/linux/ar71xx/image/Makefile
===================================================================
--- trunk/target/linux/ar71xx/image/Makefile (revision 38267)
+++ trunk/target/linux/ar71xx/image/Makefile (working copy)
@@ -409,8 +409,9 @@

 define Image/Build/MyLoader
  -$(STAGING_DIR_HOST)/bin/mkmylofw -B $(2) -s $(4) \
- -p0x030000:0xe0000:al:0x80060000:kernel:$(KDIR_TMP)/vmlinux-$(2).bin.lzma
\
- -p0x110000:0:::rootfs:$(KDIR)/root.$(1) \
+ -p0x030000:0x100000:al:0x80060000:kernel:$(KDIR_TMP)/vmlinux-$(2).bin.lzma
\
+ -p0x130000:0:::rootfs:$(KDIR)/root.$(1) \
+ -p0x030000:0:::firmware \
  $(call imgname,$(1),$(2))-$(5)-factory.img
 endef

Attachment: myloader.patch
Description: Binary data

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to