[U-Boot] [PATCH] sunxi: Enable fitImage support on OrangePi Zero

Enable modern fitImage format on OrangePi Zero.
Signed-off-by: Marek Vasut marex@denx.de Cc: Maxime Ripard maxime.ripard@bootlin.com Cc: Tom Rini trini@konsulko.com --- configs/orangepi_zero_defconfig | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/configs/orangepi_zero_defconfig b/configs/orangepi_zero_defconfig index 6afd4a3bfa..b3860659d6 100644 --- a/configs/orangepi_zero_defconfig +++ b/configs/orangepi_zero_defconfig @@ -9,6 +9,8 @@ CONFIG_DRAM_ODT_EN=y CONFIG_SPL_SPI_SUNXI=y CONFIG_DEFAULT_DEVICE_TREE="sun8i-h2-plus-orangepi-zero" # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set +CONFIG_FIT=y +CONFIG_FIT_VERBOSE=y CONFIG_CONSOLE_MUX=y # CONFIG_CMD_FLASH is not set CONFIG_SUN8I_EMAC=y

On Thu, May 17, 2018 at 11:13:38PM +0200, Marek Vasut wrote:
Enable modern fitImage format on OrangePi Zero.
Signed-off-by: Marek Vasut marex@denx.de Cc: Maxime Ripard maxime.ripard@bootlin.com Cc: Tom Rini trini@konsulko.com
What's the point of enabling it on one board out of the ~120 we have?
You'd be better off selecting/implying it at the arch level.
Maxime

On 05/18/2018 01:52 PM, Maxime Ripard wrote:
On Thu, May 17, 2018 at 11:13:38PM +0200, Marek Vasut wrote:
Enable modern fitImage format on OrangePi Zero.
Signed-off-by: Marek Vasut marex@denx.de Cc: Maxime Ripard maxime.ripard@bootlin.com Cc: Tom Rini trini@konsulko.com
What's the point of enabling it on one board out of the ~120 we have?
You'd be better off selecting/implying it at the arch level.
I'd better select/imply it everywhere :-) Let's see what Tom has to say about it.

On Fri, May 18, 2018 at 01:54:38PM +0200, Marek Vasut wrote:
On 05/18/2018 01:52 PM, Maxime Ripard wrote:
On Thu, May 17, 2018 at 11:13:38PM +0200, Marek Vasut wrote:
Enable modern fitImage format on OrangePi Zero.
Signed-off-by: Marek Vasut marex@denx.de Cc: Maxime Ripard maxime.ripard@bootlin.com Cc: Tom Rini trini@konsulko.com
What's the point of enabling it on one board out of the ~120 we have?
You'd be better off selecting/implying it at the arch level.
I'd better select/imply it everywhere :-) Let's see what Tom has to say about it.
We're already selecting it for a handful of platforms (all our arm64 ones, basically), so it's easy to expand.
Maxime

On 05/18/2018 05:29 PM, Maxime Ripard wrote:
On Fri, May 18, 2018 at 01:54:38PM +0200, Marek Vasut wrote:
On 05/18/2018 01:52 PM, Maxime Ripard wrote:
On Thu, May 17, 2018 at 11:13:38PM +0200, Marek Vasut wrote:
Enable modern fitImage format on OrangePi Zero.
Signed-off-by: Marek Vasut marex@denx.de Cc: Maxime Ripard maxime.ripard@bootlin.com Cc: Tom Rini trini@konsulko.com
What's the point of enabling it on one board out of the ~120 we have?
You'd be better off selecting/implying it at the arch level.
I'd better select/imply it everywhere :-) Let's see what Tom has to say about it.
We're already selecting it for a handful of platforms (all our arm64 ones, basically), so it's easy to expand.
Submit a patch please ? :)

On Fri, May 18, 2018 at 06:22:25PM +0200, Marek Vasut wrote:
On 05/18/2018 05:29 PM, Maxime Ripard wrote:
On Fri, May 18, 2018 at 01:54:38PM +0200, Marek Vasut wrote:
On 05/18/2018 01:52 PM, Maxime Ripard wrote:
On Thu, May 17, 2018 at 11:13:38PM +0200, Marek Vasut wrote:
Enable modern fitImage format on OrangePi Zero.
Signed-off-by: Marek Vasut marex@denx.de Cc: Maxime Ripard maxime.ripard@bootlin.com Cc: Tom Rini trini@konsulko.com
What's the point of enabling it on one board out of the ~120 we have?
You'd be better off selecting/implying it at the arch level.
I'd better select/imply it everywhere :-) Let's see what Tom has to say about it.
We're already selecting it for a handful of platforms (all our arm64 ones, basically), so it's easy to expand.
Submit a patch please ? :)
I'm not that interested in the FIT images in general, so I guess it would be done in a more timely manner if you did it :)
Maxime

On 05/22/2018 04:22 PM, Maxime Ripard wrote:
On Fri, May 18, 2018 at 06:22:25PM +0200, Marek Vasut wrote:
On 05/18/2018 05:29 PM, Maxime Ripard wrote:
On Fri, May 18, 2018 at 01:54:38PM +0200, Marek Vasut wrote:
On 05/18/2018 01:52 PM, Maxime Ripard wrote:
On Thu, May 17, 2018 at 11:13:38PM +0200, Marek Vasut wrote:
Enable modern fitImage format on OrangePi Zero.
Signed-off-by: Marek Vasut marex@denx.de Cc: Maxime Ripard maxime.ripard@bootlin.com Cc: Tom Rini trini@konsulko.com
What's the point of enabling it on one board out of the ~120 we have?
You'd be better off selecting/implying it at the arch level.
I'd better select/imply it everywhere :-) Let's see what Tom has to say about it.
We're already selecting it for a handful of platforms (all our arm64 ones, basically), so it's easy to expand.
Submit a patch please ? :)
I'm not that interested in the FIT images in general, so I guess it would be done in a more timely manner if you did it :)
Don't tell me you use zImage/uImage in production systems ? :-) btw done

Hi,
On Wed, May 23, 2018 at 12:50:53AM +0200, Marek Vasut wrote:
On 05/22/2018 04:22 PM, Maxime Ripard wrote:
On Fri, May 18, 2018 at 06:22:25PM +0200, Marek Vasut wrote:
On 05/18/2018 05:29 PM, Maxime Ripard wrote:
On Fri, May 18, 2018 at 01:54:38PM +0200, Marek Vasut wrote:
On 05/18/2018 01:52 PM, Maxime Ripard wrote:
On Thu, May 17, 2018 at 11:13:38PM +0200, Marek Vasut wrote: > Enable modern fitImage format on OrangePi Zero. > > Signed-off-by: Marek Vasut marex@denx.de > Cc: Maxime Ripard maxime.ripard@bootlin.com > Cc: Tom Rini trini@konsulko.com
What's the point of enabling it on one board out of the ~120 we have?
You'd be better off selecting/implying it at the arch level.
I'd better select/imply it everywhere :-) Let's see what Tom has to say about it.
We're already selecting it for a handful of platforms (all our arm64 ones, basically), so it's easy to expand.
Submit a patch please ? :)
I'm not that interested in the FIT images in general, so I guess it would be done in a more timely manner if you did it :)
Don't tell me you use zImage/uImage in production systems ? :-)
Well, none of the distros are able to package FIT images, while zImage are the standard. Most of the features are actually pretty useful, but fit images are specific to one particular bootloader, which violates a bunch of abstraction layers in the process.
So, yeah, I'm using zImage because that's what everyone else supports and packages.
btw done
Thanks! Maxime
participants (2)
-
Marek Vasut
-
Maxime Ripard