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

Maxime Ripard maxime.ripard at free-electrons.com
Fri Jan 16 10:26:19 EST 2015


On Wed, Jan 14, 2015 at 01:03:49PM +0100, Imre Kaloz wrote:
> 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.

Ok. I still think UBI might be a good choice for some !NAND-based
boards, but point taken for BuildSysUpgrade.

> On boards with nor (unless you come up with a really good reason to hack
> UBI)

It's not really a hack. UBI is perfectly capable on running on NOR,
and it's even mentionned in their documentation on various occasions.

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

I'm not really familiar with MTDSPLIT, but I'll look into that. Thanks!


Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150116/53ad6fca/attachment.sig>
-------------- next part --------------
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list