05 Mar, 2018

1 commit

  • Thomas reported U-Boot failed to build host tools if libfdt-devel
    package is installed because tools include libfdt headers from
    /usr/include/ instead of using internal ones.

    This commit moves the header code:
    include/libfdt.h -> include/linux/libfdt.h
    include/libfdt_env.h -> include/linux/libfdt_env.h

    and replaces include directives:
    #include -> #include
    #include -> #include

    Reported-by: Thomas Petazzoni
    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

28 Aug, 2017

1 commit

  • Before commit 26d6119 (fdt: Move fdt_fixup_ethernet to a common place)
    the fdt_fixup_ethernet(...) was called during do_bootvx_fdt(...).

    Afterwards the only (common) place for this fixup is during
    image_setup_libfdt(...) and this is only called, at least on ARM
    platform, from image_setup_linux(...).

    All this ends up in the fact, that the fdt_fixup_ethernet(...) is only
    called on booting a linux image and not on booting a vxWorks image.

    We fix this with adding the fdt_fixup_ethernet(...) call again to
    do_bootvx_fdt(...)

    Signed-off-by: Hannes Schmelzer
    Reviewed-by: Bin Meng

    Hannes Schmelzer
     

16 Aug, 2017

2 commits

  • We are now using an env_ prefix for environment functions. Rename these
    two functions for consistency. Also add function comments in common.h.

    Quite a few places use getenv() in a condition context, provoking a
    warning from checkpatch. These are fixed up in this patch also.

    Suggested-by: Wolfgang Denk
    Signed-off-by: Simon Glass

    Simon Glass
     
  • We are now using an env_ prefix for environment functions. Rename these
    commonly used functions, for consistency. Also add function comments in
    common.h.

    Suggested-by: Wolfgang Denk
    Signed-off-by: Simon Glass

    Simon Glass
     

12 Jun, 2017

1 commit

  • There was for long time no activity in the 8xx area.
    We need to go further and convert to Kconfig, but it
    turned out, nobody is interested anymore in 8xx,
    so remove it (with a heavy heart, knowing that I remove
    here the root of U-Boot).

    Signed-off-by: Heiko Schocher

    Heiko Schocher
     

01 May, 2017

1 commit

  • With 3f66149d9fb4 we no longer have a common call fdt_fixup_ethernet.
    This was fine to do on PowerPC as they largely had calls already in
    ft_cpu_fixup. On ARM however we largely relied on this call. Rather
    than introduce a large number of changes to ft_cpu_fixup /
    ft_board_fixup we recognize that this is a common enough call that we
    should be doing it in a central location. Do it early enough that we
    can do any further updates in ft_cpu_fixup / ft_board_fixup.

    Cc: Gerd Hoffmann
    Cc: Chen-Yu Tsai
    Cc: Maxime Ripard
    Cc: Thomas Chou (maintainer:NIOS)
    Cc: York Sun (maintainer:POWERPC MPC85XX)
    Cc: Stefan Roese (maintainer:POWERPC PPC4XX)
    Cc: Simon Glass
    Cc: Joakim Tjernlund
    Fixes: 3f66149d9fb4 ("Remove extra fdt_fixup_ethernet() call")
    Signed-off-by: Tom Rini
    Acked-by: Stefan Roese
    Acked-by: York Sun
    Reviewed-by: Simon Glass

    Tom Rini
     

21 Jan, 2017

1 commit


15 Jul, 2016

1 commit

  • At present sandbox exits when the 'bootm' command completes, since it is not
    actually able to run the OS that is loaded. Normally 'bootm' failure is
    considered a fatal error in U-Boot.

    However this is annoying for tests, which may want to examine the state
    after a test is complete. In any case there is a 'reset' command which can
    be used to exit, if required.

    Change the behaviour to return normally from the 'bootm' command on sandbox.

    Signed-off-by: Simon Glass
    Reviewed-by: Teddy Reed

    Simon Glass
     

28 May, 2016

1 commit


13 Dec, 2015

1 commit

  • VxWorks 7 kernels retrieve 'local-mac-addr' from dtb and use
    that for NIC MAC address. As a result, when booting the same
    kernel image on multiple boards, there will be address
    conflicts.

    So fixup MAC address when booting VxWorks 7 kernels

    Signed-off-by: Miao Yan
    Reviewed-by: Bin Meng

    Miao Yan
     

15 Jan, 2015

1 commit


19 Jul, 2014

1 commit


19 Jun, 2014

1 commit

  • This file has code in three different categories:
    - Command processing
    - OS-specific boot code
    - Locating images and setting up to boot

    Only the first category really belongs in a file called cmd_bootm.c.

    Leave the command processing code where it is. Split out the OS-specific
    boot code into bootm_os.c. Split out the other code into bootm.c

    Header files and extern declarations are tidied but otherwise no code
    changes are made, to make it easier to review.

    Signed-off-by: Simon Glass

    Simon Glass