[OpenWrt-Devel] [PATCH 4/9] mvebu: Add sub-profiles

Imre Kaloz kaloz at openwrt.org
Wed Jan 14 07:03:49 EST 2015


Hi Maxime,

On Tue, 13 Jan 2015 16:56:41 +0100, Maxime Ripard  
<maxime.ripard at free-electrons.com> wrote:

> +$(eval $(call MultiProfile,Generic,$(PROFILES_LIST)))
> +$(eval $(call MultiProfile,Evalboards,$(PROFILES_LIST)))

Profile names should be sourced from the profiles.

> -	$(foreach nandboard,$(NANDBOARDS),$(call  
> BuildSysupgrade,$(1),$(nandboard));)
> +	$(call Image/Build/Profile/$(PROFILE)/BuildSysupgrade,$(1))

UBI and BuildSysUpgrade is there for NAND only.

On boards with nor (unless you come up with a really good reason to hack  
UBI) you should stick to squashfs+jffs2. Also, each NOR based board should  
have "firmware" partition and use the OpenWrt MTDSPLIT framework and  
should have a single, flashable firmware image file created instead of  
separate uImage+rootfs stuff.


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