[U-Boot] [PATCH 3/3] omap4_panda: Convert to config_distro_bootcmd.h

Peter Korsgaard peter at korsgaard.com
Tue Mar 15 22:22:21 CET 2016


On Thu, Dec 10, 2015 at 10:46 PM, Tom Rini <trini at konsulko.com> wrote:
> Based on the am335x_evm conversion, switch to config_distro_bootcmd for
> mmc and pxe.  Tested with Fedora 23.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  include/configs/ti_omap4_common.h |   51 ++++++++++++++++++++-----------------
>  1 file changed, 27 insertions(+), 24 deletions(-)
>
> diff --git a/include/configs/ti_omap4_common.h b/include/configs/ti_omap4_common.h

[snip]

> -#define CONFIG_BOOTCOMMAND \
> -       "run findfdt; " \
> -       "mmc dev ${mmcdev}; if mmc rescan; then " \
> -               "echo SD/MMC found on device ${mmcdev};" \
> -               "if run loadbootscript; then " \
> -                       "run bootscript; " \
> -               "else " \
> -                       "if run loadbootenv; then " \
> -                               "run importbootenv; " \
> -                       "fi;" \
> -                       "if test -n ${uenvcmd}; then " \
> -                               "echo Running uenvcmd ...;" \
> -                               "run uenvcmd;" \
> -                       "fi;" \
> -               "fi;" \
> -               "if run loadimage; then " \
> -                       "run loadfdt;" \
> -                       "run mmcboot; " \
> -               "fi; " \

This breaks legacy boot on pandaboard here. In Buildroot we have the
kernel + dtb in partition 0:2 and no custom boot script, which used to
be handled by the loadimage stuff, but that is no longer called.

-- 
Bye, Peter Korsgaard


More information about the U-Boot mailing list