On 13 October 2014 09:40, Stephen G. Parry <sgpa...@mainscreen.com> wrote: > > On 13/10/14 07:02, Rafał Miłecki wrote: >> 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 > : > $(call > Image/Build/Chk,$(1)-noloader-nodictionary,wnr3500l_v1_north_america,U12H136T99_NETGEAR,2,$(patsubst > jffs2-%,jffs2,$(1))) > $(call > Image/Build/Chk,$(1)-noloader-nodictionary,wnr3500l_v1_other_regions,U12H136T99_NETGEAR,1,$(patsubst > jffs2-%,jffs2,$(1)))
I was thinking about something like that, just in a separated "define" to group such devices at one place. Btw. I didn't relize you use V1 with serial flash. Let's wait for Hauke's opinion. > Should I commit a new patch, including a change for the WNDR4500? I guess not yet, WNDR4500 is NAND devices, we should get UBI working first. -- Rafał _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel