[PATCH 0/3] cmd: pxe: support INITRD and FDT selection with FIT

Patrick Delaunay patrick.delaunay at foss.st.com
Fri Oct 28 11:01:17 CEST 2022


Since the commit d5ba6188dfbf ("cmd: pxe_utils: Check fdtcontroladdr
in label_boot") the FDT or the FDTDIR label is required in extlinux.conf
and the fallback done by bootm command when only the device tree is present
in this command parameters is no more performed when FIT is used for
kernel.

The next file "extlinux.conf" no more selects the device tree in FIT
but use the pxe fallback with the device tree of U-Boot.

menu title Select the boot mode
DEFAULT test
LABEL test
        KERNEL /fitImage

This serie restores the possibility to use a FIT in extlinux.conf
by using FDT label with the same string.

menu title Select the boot mode
DEFAULT test
LABEL test
        KERNEL /fitImage
        FDT /fitImage

even when a specific FIT config is used:

menu title Select the boot mode
DEFAULT test
LABEL test
        KERNEL /fitImage#config
        FDT /fitImage#config

The last commit of the series is only a minor improvement.



Patrick Delaunay (3):
  cmd: pxe: reorder kernel treatment in label_boot
  cmd: pxe: support INITRD and FDT selection with FIT
  cmd: pxe: use strdup to copy config

 boot/pxe_utils.c    | 69 +++++++++++++++++++++++++--------------------
 doc/README.pxe      |  8 ++++++
 include/pxe_utils.h |  2 ++
 3 files changed, 49 insertions(+), 30 deletions(-)

-- 
2.25.1



More information about the U-Boot mailing list