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

John Crispin blogic at openwrt.org
Fri Jul 24 03:30:48 EDT 2015



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
_______________________________________________
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