[OpenWrt-Devel] [PATCH] ramips: specify "firmware" partition format for remaining devices

Mathias Kresin dev at kresin.me
Fri Dec 14 03:00:08 EST 2018


13/12/2018 17:16, Rafał Miłecki:
> From: Rafał Miłecki <rafal at milecki.pl>
> 
> It results in calling the right MTD parser directly instead of trying
> them one by one.
> 
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
> ---
> I'm not sure about the AR670W.dts. It seems to be using WRG according to
> the image generating code:
> IMAGE/factory.bin := $$(sysupgrade_bin) | check-size $$$$(IMAGE_SIZE) | wrg-header wrgn16a_airlink_ar670w

It's the sysupgrade.bin image which needs the LZMA splitter. After all 
the inheritance, the sysupgrade.bin image build code looks like:

   KERNEL := kernel-bin | patch-dtb | lzma | pad-to $$(BLOCKSIZE)
   IMAGES := sysupgrade.bin
   IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | 
append-metadata | check-size $$$$(IMAGE_SIZE)

According to the message of the initial commit[0], it seems to be correct.

Mathias

[0] https://git.openwrt.org/cc5194cf030c422ef82442091598582cf4aeca34

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list