[OpenWrt-Devel] [PATCH 1/2] sunxi: fix uboot install location

Matthias Schiffer mschiffer at universe-factory.net
Fri Jul 24 11:44:09 EDT 2015


On 07/24/2015 09:30 AM, John Crispin wrote:
> 
> 
> On 16/07/2015 22:20, Matthias Schiffer wrote:
>> -BOARDS:= \
>> -	sun4i-a10-cubieboard \
>> -	sun4i-a10-olinuxino-lime \
>> -	sun4i-a10-pcduino \
>> -	sun5i-a13-olinuxino \
>> -	sun6i-a31-colombus \
>> -	sun6i-a31-m9 \
>> -	sun7i-a20-bananapi \
>> -	sun7i-a20-bananapro \
>> -	sun7i-a20-cubieboard2 \
>> -	sun7i-a20-cubietruck \
>> -	sun7i-a20-olinuxino-lime \
>> -	sun7i-a20-olinuxino-micro \
>> -	sun7i-a20-pcduino3 \
>> -	sun7i-a20-lamobo-r1
>> -
>>  define Image/BuildKernel
>>  	mkimage -A arm -O linux -T kernel -C none \
>>  		-a 0x40008000 -e 0x40008000 \
>>  		-n 'ARM OpenWrt Linux-$(LINUX_VERSION)' \
>>  		-d $(KDIR)/zImage $(BIN_DIR)/$(IMG_PREFIX)-uImage
>> -	
>> +
>>      ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),)
>>  	$(CP) $(KDIR)/zImage-initramfs $(BIN_DIR)/$(IMG_PREFIX)-zImage-initramfs
>>  	echo -ne '\x00\x00\x00\x00' >> $(BIN_DIR)/$(IMG_PREFIX)-zImage-initramfs
>> @@ -42,27 +26,23 @@ define Image/BuildKernel
>>  		$(BIN_DIR)/$(IMG_PREFIX)-uImage-initramfs \
>>  	)
>>      endif
>> -
>> -	$(foreach board,$(BOARDS),
>> -		$(CP) $(DTS_DIR)/$(board).dtb $(BIN_DIR)/
>> -	)
>>  endef
> 
> not sure about this change. maybe just stage the dtb file of the
> selected profile. i am not sure if zoltan added this for a reason.
> 
> 	John

I don't see why anyone would care, but I'll send a v2 anyways (I also
want to fix that the boot.img is generated in $(KDIR) instead of
$(KDIR_TMP) or $(BIN_DIR), even in the ImageBuilder). If you want, I can
also include copying the profile's DTB file to $(BIN_DIR).

Matthias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150724/2abe9090/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list