[OpenWrt-Devel] [PATCH 2/2] wpj558: use own partition for rootfs

John Crispin blogic at openwrt.org
Mon Feb 2 03:52:34 EST 2015



On 30/01/2015 18:48, Christian Mehlis wrote:
> this change breaks rootfs detection
> 

so we should not merge it if it breaks stuff ?

> Signed-off-by: Christian Mehlis <christian at m3hlis.de>
> ---
>  target/linux/ar71xx/image/Makefile | 5 +----
>  1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
> index ecaa126..9956a01 100644
> --- a/target/linux/ar71xx/image/Makefile
> +++ b/target/linux/ar71xx/image/Makefile
> @@ -690,10 +690,7 @@ define Image/Build/MyLoader
>  	$(call CatFiles,$(KDIR_TMP)/vmlinux-$(2).uImage,65536,$(KDIR)/root.$(1),$(fwsize),$(fwimage))
>  	if [ -e "$(fwimage)" ]; then \
>  		$(STAGING_DIR_HOST)/bin/mkmylofw -B $(2) -s $(4) -v \
> -			-p0x680000:0x160000:al:0x80060000:firmware:$(KDIR_TMP)/vmlinux-$(2).uImage \
> -			-p0x050000:0x630000:::rootfs:$(KDIR)/root.$(1) \
> -			-p0x7e0000:0x010000 \
> -			-p0x7f0000:0x010000 \
> +			-p0x00030000:0:al:0x80060000:firmware:$(fwimage) \
>  			$(call imgname,$(1),$(2))-$(5)-factory.img; \
>  		echo -n "" > $(KDIR_TMP)/empty.bin; \
>  		sh $(TOPDIR)/scripts/combined-image.sh \
> 
_______________________________________________
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