[U-Boot] [PATCH v1] fdt: Allow non-FDT kernels to boot when CONFIG_OF_LIBFDT is defined

Heiko Schocher hs at denx.de
Fri Nov 21 09:35:33 CET 2014


Hello Suriyan Ramasami,

Am 21.11.2014 00:55, schrieb Suriyan Ramasami:
> The boot commands - bootz/bootm mandate a third argument which is the
> address to the FDT blob. In cases where this argument is not specified,
> boot fails with a message indicating a missing FDT.
>
> This causes non-FDT kernels to fail to boot. This patch allows both FDT
> and non-FDT kernels to boot by making the third parameter to the bootm/bootz
> optional.
>
> Signed-off-by: Suriyan Ramasami <suriyan.r at gmail.com>
> ---
>
> Changes in v1:
> - First try
>
>   common/image-fdt.c | 4 ++++
>   1 file changed, 4 insertions(+)

Thanks!

Acked-by: Heiko Schocher <hs at denx.de>

tested on an at91sam9g20 based board (not mainlined yet), so:

Tested-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list