07 Feb, 2020

2 commits


30 Jan, 2020

2 commits

  • The Raspberry Pi 4 SoC features an integrated Gigabit Ethernet
    controller, connected as a platform device.

    Enable the new driver in the three applicable defconfigs, to allow
    TFTP booting on the board.

    Signed-off-by: Amit Singh Tomar
    [Andre: Add joined and 32-bit configs]
    Signed-off-by: Andre Przywara
    Tested-by: Corentin Labbe
    Signed-off-by: Matthias Brugger

    Amit Singh Tomar
     
  • Enable support for DFU over USB. This requires to enable USB gadget,
    DWC2 UDC OTG driver and DFU command. DFU entities are defined for the
    following firmware objects: u-boot.bin, uboot.env, config.txt, and
    zImage/Image.

    Signed-off-by: Marek Szyprowski
    Reviewed-by: Lukasz Majewski
    Signed-off-by: Matthias Brugger

    Marek Szyprowski
     

06 Dec, 2019

1 commit

  • Many boards do not use all selected framebuffer depth
    configurations, for such boards there is some unused
    code in video and console uclass routines. Make depth
    specific code optional to avoid dead code and slightly
    reduce binary size. Also make ANSI code optional for
    the same reason. When i.e. using only VIDEO_BPP16 the
    code size shrinks (below values when using gcc-7.3.0):

    $ ./tools/buildman/buildman -b video-wip -sS wandboard
    ...
    01: Merge git://git.denx.de/u-boot-sh
    02: video: add guards around 16bpp/32bbp code
    03: video: make BPP and ANSI configs optional
    arm: (for 1/1 boards) all -776.0 bss -8.0 text -768.0

    Signed-off-by: Anatolij Gustschin
    Tested-by: Eugen Hristev
    Tested-by: Patrice Chotard
    Tested-by: Steffen Dirkwinkel

    Anatolij Gustschin
     

05 Dec, 2019

1 commit


21 Nov, 2019

2 commits

  • - In ARMv8 NXP Layerscape platforms we also need to make use of
    CONFIG_SYS_RELOC_GD_ENV_ADDR now, do so.
    - On ENV_IS_IN_REMOTE, CONFIG_ENV_OFFSET is never used, drop the define
    to 0.
    - Add Kconfig entry for ENV_ADDR.
    - Make ENV_ADDR / ENV_OFFSET depend on the env locations that use it.
    - Add ENV_xxx_REDUND options that depend on their primary option and
    SYS_REDUNDAND_ENVIRONMENT
    - On a number of PowerPC platforms, use SPL_ENV_ADDR not CONFIG_ENV_ADDR
    for the pre-main-U-Boot environment location.
    - On ENV_IS_IN_SPI_FLASH, check not for CONFIG_ENV_ADDR being set but
    rather it being non-zero, as it will now be zero by default.
    - Rework the env_offset absolute in env/embedded.o to not use
    CONFIG_ENV_OFFSET as it was the only use of ENV_OFFSET within
    ENV_IS_IN_FLASH.
    - Migrate all platforms.

    Cc: Wolfgang Denk
    Cc: Joe Hershberger
    Cc: Patrick Delaunay
    Cc: uboot-stm32@st-md-mailman.stormreply.com
    Signed-off-by: Tom Rini
    Acked-by: Joe Hershberger
    Reviewed-by: Simon Goldschmidt

    Tom Rini
     
  • Today in initr_reloc_global_data() we use some non-obvious tests to
    determine if we need to relocate the env_addr within gd or not. In
    order to facilitate migration of other symbols to Kconfig we need to
    introduce a new symbol for this particular use case.

    Cc: Wolfgang Denk
    Cc: Joe Hershberger
    Signed-off-by: Tom Rini

    Tom Rini
     

01 Oct, 2019

1 commit

  • When booting through the efi stub, the memory map get's created by
    reading the dram bank information. Depending on the version of the RPi4
    this information changes. Read the device tree to initialize the dram
    bank data structure. This way the kernel is able to access the whole
    range of available memory.

    Signed-off-by: Matthias Brugger

    Matthias Brugger
     

23 Sep, 2019

1 commit


07 Sep, 2019

1 commit

  • This defines a minimum defconfig for each of the two Raspberry Pi 4
    variants. One notable difference is that we don't have a embedded dt for
    this board given that the fw supplies us with one which we can reuse.
    Furthermore, the ram size is not queryable through mbox interface as the
    maximum reported size is 1G. The fw patches the dt with the right
    memory configuration and uboot uses it as it is. We avoid u-boot
    touching this configuration by making sure CONFIG_ARCH_FIXUP_FDT_MEMORY
    is deactivated.

    Signed-off-by: Andrei Gherzan
    Signed-off-by: Matthias Brugger

    Andrei Gherzan