10 May, 2017

1 commit

  • In some boards like the Raspberry Pi the initial bootloader will pass
    a DT to the kernel. When using U-Boot as such kernel, the board code in
    U-Boot should be able to provide U-Boot with this, already assembled
    device tree blob.

    This patch introduces a new config option CONFIG_OF_BOARD to use instead
    of CONFIG_OF_EMBED or CONFIG_OF_SEPARATE which will initialize the DT
    from a board-specific funtion instead of bundling one with U-Boot or as
    a separated file. This allows boards like the Raspberry Pi to reuse the
    device tree passed from the bootcode.bin and start.elf firmware
    files, including the run-time selected device tree overlays.

    Signed-off-by: Alex Deymo
    Reviewed-by: Simon Glass

    Alex Deymo
     

21 Mar, 2017

1 commit


28 May, 2016

1 commit


23 Oct, 2015

1 commit


17 Apr, 2015

1 commit


19 Jun, 2014

1 commit


12 Jun, 2014

1 commit

  • In some cases, an externally-built device tree binary is required to be
    attached to U-Boot. An example is when using image signing, since in that
    case the .dtb file must include the public keys.

    Add a DEV_TREE_BIN option to the Makefile, and update the documentation.

    Usage is something like:

    make DEV_TREE_BIN=boot/am335x-boneblack-pubkey.dtb

    Signed-off-by: Simon Glass

    Simon Glass
     

06 Jun, 2014

1 commit

  • The Device Tree Compiler (DTC) used to have its master
    repository located on jdl.com. While it is still there,
    its official, new, shiny location is on kernel.org here:

    git://git.kernel.org/pub/scm/utils/dtc/dtc.git

    Update a few references to point there instead.

    Signed-off-by: Jon Loeliger
    Acked-by: Simon Glass

    Jon Loeliger
     

03 Aug, 2013

1 commit


24 Jul, 2013

1 commit


15 May, 2013

1 commit


01 May, 2013

1 commit

  • With sandbox it is tricky to add an FDT to the image at build time (or
    later) since we build an ELF file, not a plain binary, and the address
    space of the whole U-Boot is not accessible in the emulated memory map
    of sandbox.

    Sandbox can read files directly from the host, though, so add an option
    to read an FDT from a host file on start-up.

    Signed-off-by: Simon Glass

    Simon Glass
     

03 Apr, 2013

1 commit


27 Oct, 2011

2 commits

  • This adds support for a new environment variable called 'fdtcontroladdr'. If
    defined, the hex address is used as the address of the control fdt for U-Boot.

    Note: I have not changed CONFIG_PRAM section as I already have an
    outstanding patch on that.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This new option allows U-Boot to embed a binary device tree into its image
    to allow run-time control of peripherals. This device tree is for U-Boot's
    own use and is not necessarily the same one as is passed to the kernel.

    The device tree compiler output should be placed in the $(obj)
    rooted tree. Since $(OBJCOPY) insists on adding the path to the
    generated symbol names, to ensure consistency it should be
    invoked from the directory where the .dtb file is located and
    given the input file name without the path.

    This commit contains my entry for the ugliest Makefile / shell interaction
    competition.

    Signed-off-by: Simon Glass

    Simon Glass