[OpenWrt-Devel] [PATCH] brcm47xx: image: Enhance initramfs support to create chk and alternative nodictionary images

Stephen G. Parry sgparry at mainscreen.com
Mon Oct 13 03:40:34 EDT 2014

On 13/10/14 07:02, Rafał Miłecki wrote:
> On 13 October 2014 00:35, Stephen Parry <sgparry at mainscreen.com> wrote:
>> Enhance support for initramfs:
>> - added commands to create chk images for flashing via tftp or
>>   stock firmware gui
>> - added commands to generate nodictionary and noloader variants of trx
>>   images
>> Signed-off-by: Stephen Parry <sgparry at mainscreen.com>
> Thanks for your patch, I've partially commited it in r42889
> https://dev.openwrt.org/changeset/42889/
> I still wonder how we could build firmwares for devices that need
> noloader-nodictionary images. Your suggested call:
> $(call Image/Build/$(SUBTARGET)/squashfs,initramfs)
> will generate a standard (loader + dictionary) image for WNR3500L. The
> same problem applies to the WNDR4500.
> Should we add something like
> Image/Build/mips74k/devices-with-64k-blocks-noloader-nodictionary
> ? And use some trick in it to use correct trx?
I've just tested using the following approach in my own Makefile and
this seems to work.

define Image/Build/mips74k/devices-with-64k-blocks

Should I commit a new patch, including a change for the WNDR4500?
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list