Skip to content
Permalink
Branch: ag/rpi4
Commits on Jul 15, 2019
  1. dts: bcm2838-rpi-4-b: Use the emmc2/2811 compatible string for SDHCI

    Andrei Gherzan
    Andrei Gherzan committed Jul 15, 2019
    Signed-off-by: Andrei Gherzan <andrei@balena.io>
  2. configs: rpi4: Remove DWC2 and USB_ETHER configs

    Andrei Gherzan
    Andrei Gherzan committed Jul 15, 2019
    dwc2 is only connected to the usb-c port so we don't have any real
    benefit in having it enabled in uboot.
    
    Also, the GENET interface is connected directly to the SoC so we can
    drop the USB_ETHER configs.
    
    Signed-off-by: Andrei Gherzan <andrei@balena.io>
Commits on Jul 12, 2019
  1. rpi: Add memory map for bcm2838

    Andrei Gherzan
    Andrei Gherzan committed Jul 12, 2019
    Signed-off-by: Andrei Gherzan <andrei@balena.io>
  2. dts: bcm2838-rpi-4-b: Use the emmc2 interface for sdhci

    Andrei Gherzan
    Andrei Gherzan committed Jul 12, 2019
    Signed-off-by: Andrei Gherzan <andrei@balena.io>
    2
  3. config: rpi4: Add defconfig for rpi4-32

    Andrei Gherzan
    Andrei Gherzan committed Jul 12, 2019
    Signed-off-by: Andrei Gherzan <andrei@balena.io>
    7
  4. bcm283x mbox: Correctly wait for space to send

    Vogtinator authored and Andrei Gherzan committed Jul 12, 2019
    For sending, the second mailbox is used, but previously the status register of
    the first one was read.
  5. bcm2835 video: Bail out early if querying video information fails

    Vogtinator authored and Andrei Gherzan committed Jul 12, 2019
    Otherwise there is a crash with newer RPi firmware, see
    raspberrypi/firmware#1157
  6. arm: bcm283x: Define device base addresses for bcm2835

    Andrei Gherzan
    Andrei Gherzan committed Jul 12, 2019
    Signed-off-by: Andrei Gherzan <andrei@balena.io>
  7. mmc: bcm2835_sdhci: Add support for bcm2711 device

    mbgg authored and Andrei Gherzan committed Jul 12, 2019
    The bcm2711 has two emmc controller. The difference is the clocks
    they use. Add support for the second emmc contoller.
    
    Signed-off-by: Matthias Brugger <mbrugger@suse.com>
  8. arm: bcm283x: Include definition for additional emmc clock

    Andrei Gherzan
    Andrei Gherzan committed Jul 12, 2019
    This clock has a different mbox ID[1] so have this included in the
    relevant header file.
    
    [1] raspberrypi/firmware#1179
    
    Signed-off-by: Andrei Gherzan <andrei@balena.io>
  9. dt-bindings: Define BCM2838_CLOCK_EMMC2 needed for RaspberryPi 4

    agherzan authored and Andrei Gherzan committed Jul 12, 2019
    On BCM2838 there is an additional clock. This clock was added in the
    same bcm2835-cprman driver and is used by the emmc2 dt node.
    
    Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
  10. rpi: Add rpi_model entry for RaspberryPi 4

    agherzan authored and Andrei Gherzan committed Jul 12, 2019
    Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
  11. arm: mach-bcm283x: Define mbox address for BCM2838

    agherzan authored and Andrei Gherzan committed Jul 12, 2019
    Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
  12. arm: mach-bcm283x: Define configs for RaspberryPi 4

    agherzan authored and Andrei Gherzan committed Jul 12, 2019
    Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
  13. dts: Add initial support for bcm2838

    agherzan authored and Andrei Gherzan committed Jul 12, 2019
    Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
  14. dts: Create a dtsi for BCM2835/6/7 specific configuration

    agherzan authored and Andrei Gherzan committed Jul 12, 2019
    This follows a similar change in kernel[1]. The change moves
    configuration that was not applicable for all bcm2835/6/7/8 out of
    bcm283x.dtsi. The new file is bcm2835-common.dtsi and contains
    conifguration that is common for bcm2835/6/7 (not bcm2838).
    
    [1] raspberrypi/linux@769a733#diff-5979fba23a5bab2cf66dde09db872dfc
    
    Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
  15. configs: rpi4: Add defconfig for rpi4-64

    agherzan authored and Andrei Gherzan committed Jul 12, 2019
    This config is based on the the rpi3 counterpart.
    
    Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Commits on Jul 8, 2019
  1. Prepare v2019.07

    trini committed Jul 8, 2019
    Signed-off-by: Tom Rini <trini@konsulko.com>
  2. Merge tag 'mips-fixes-for-2019.07' of https://gitlab.denx.de/u-boot/c…

    trini committed Jul 8, 2019
    …ustodians/u-boot-mips
    
    - mtmips: network stability fixes for gardena-smart-gateway
Commits on Jul 7, 2019
  1. arm: mediatek: remove arch_misc_init

    hackpascal authored and trini committed Jul 7, 2019
    The watchdog of mediatek chips is enabled by bootrom before u-boot is
    running. Previously we choose to enable the wdt driver only to disable the
    watchdog hardware.
    
    Now wdt service is enabled by default. The function arch_misc_init which is
    only used to disable wdt is no longer needed.
    
    Reviewed-by: Stefan Roese <sr@denx.de>
    Reviewed-by: Ryder Lee <ryder.lee@mediatek.com>
    Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
  2. board_r: move initr_watchdog to be called after initr_serial

    hackpascal authored and trini committed Jul 7, 2019
    The initr_watchdog is currently placed before initr_serial. The
    initr_watchdog calls printf and printf finally calls ops->putc of a serial
    driver.
    
    However, gd->cur_serial_dev points to a udevice allocated in board_f. The
    gd->cur_serial_dev->driver->ops->putc points the the code region before
    relocation.
    
    Some serial drivers call WATCHDOG_RESET() in ops->putc. When DM is enabled
    for watchdog, watchdog_reset() is called. watchdog_reset() calls get_timer
    to get current timer.
    
    On some platforms the timer driver is also a DM driver. initr_watchdog is
    placed right after initr_dm, which means the timer driver hasn't been
    initialized. So dm_timer_init() is called. To create a new udevice, calloc
    is called.
    
    However start from ops->putc, u-boot execution flow is redirected into the
    memory region before relocation (board_f). In board_f, dlmalloc hasn't
    been initialized. The call to calloc will fail, and this will cause DM to
    print out an error message, and it will call printf again, causing
    recursive error outputs.
    
    This patch places initr_watchdog after initr_serial to solve this issue.
    
    Cc: Stefan Roese <sr@denx.de>
    Reviewed-by: Ryder Lee <ryder.lee@mediatek.com>
    Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
    Reviewed-by: Stefan Roese <sr@denx.de>
    Tested-by: Frank Wunderlich <frank-w@public-files.de>
    Tested-by: Suniel Mahesh <sunil.m@techveda.org>
  3. imx6: wandboard: allow booting from MMC 2

    xypron authored and sjg20 committed Jul 7, 2019
    One of the SD-CARD slots on the Wandboard Quad B1 is MMC 2. Enable it as a
    boot device.
    
    Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
    Reviewed-by: Fabio Estevam <festevam@gmail.com>
  4. Merge https://gitlab.denx.de/u-boot/custodians/u-boot-usb

    trini committed Jul 7, 2019
    - DWC and i.MX6 fixes
Commits on Jul 6, 2019
  1. video: backlight: fix pwm inversion

    marvintwentyfour authored and Anatolij Gustschin committed Jul 6, 2019
    set_pwm() will always fail with -ENOSYS if pwm_ops set_invert() is
    not implemented, leaving the backlight dark. Fix this by returning
    no error if set_invert() is not implemented and no polarity change
    is requested.
    
    Fixes: 57e7775 ("video: backlight: Parse PWM polarity cell")
    Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Commits on Jul 5, 2019
  1. Merge tag 'rpi-next-2019.07' of https://github.com/mbgg/u-boot

    trini committed Jul 5, 2019
    - fix complation error for CONFIG_USB
    - update RPi3 DTBs to v5.1-rc6 state
    - add defconfig for RPi3 B+
    - Fix BCM2835_MBOX_TAG_TEST_PIXEL_ORDER define
  2. mips: mt76xx: Implement new d-cache fix in last_stage_init()

    stroese authored and danielschwierzeck committed Jul 5, 2019
    With commit 0698528 ("watchdog: Implement generic watchdog_reset()
    version") the init sequence has changed in arch_misc_init(), resulting
    in a re-appearance of the d-cache issue on MT7688 boards (e.g. gardena).
    When this happens, the first (or sometimes later ones as well) TFTP
    command hangs and does not complete correctly. This leads to the
    assumption that the d-cache is not in a clean state once the ethernet
    driver is called (d-cache is used here for the buffers). The old work-
    around with the cache flush somehow does not work any more now with
    the new code change.
    
    Unfortunately adding CONFIG_SYS_MALLOC_CLEAR_ON_INIT also did not fix
    this issue. With v2019.07-rc3 it shows again. The time of accessing
    the data seems to be very important here. It needs to be "very late"
    in the boot process.
    
    Testing has shown, that copying a 64KiB area in DDR at a very late
    bootup time, directly before calling into the prompt, fixes this issue.
    Flushing of the complete d-cache does not seem to necessary, as this
    copy alone seems to fix this problem.
    
    Signed-off-by: Stefan Roese <sr@denx.de>
    Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
  3. usb: dwc3: Use UCLASS_NOP instead of UCLASS_MISC for the DWC3 generic…

    Jean-Jacques Hiblot Marek Vasut
    Jean-Jacques Hiblot authored and Marek Vasut committed Jul 5, 2019
    … glue
    
    dwc3-generic has been broken since MISC uclass has been modified to scan DT
    sub-nodes after bind.
    Fixing it by a using the no-op uclass.
    
    Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
    Reviewed-by: Simon Glass <sjg@chromium.org>
  4. dm: Add a No-op uclass

    Jean-Jacques Hiblot Marek Vasut
    Jean-Jacques Hiblot authored and Marek Vasut committed Jul 5, 2019
    This uclass is intended for devices that do not need any features from the
    uclass, including binding children.
    This will typically be used by devices that are used to bind child devices
    but do not use dm_scan_fdt_dev() to do it. That is for example the case of
    several USB wrappers that have 2 child devices (1 for device and 1 for
    host) but bind only one at a any given time.
    
    Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
    Reviewed-by: Simon Glass <sjg@chromium.org>
  5. usb: dwc3-generic: remove dm_scan_fdt_dev() from the remove() callback

    Jean-Jacques Hiblot Marek Vasut
    Jean-Jacques Hiblot authored and Marek Vasut committed Jul 5, 2019
    There is simply no reason to do that here.
    
    Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
  6. usb: ehci-mx6: Fix bus enumeration for DM case

    Marek Vasut
    Marek Vasut committed Jul 5, 2019
    The EHCI iMX6 driver is only partly converted to DT probing and
    still uses a tremendous amount of hard-coded addresses. Worse,
    the driver uses hard-coded SoC-model-specific base addresses, which
    are derived from values protected by SoC-specific macros, hence the
    driver is also compiled for a specific SoC model. Even worse, the
    driver depends on specific sequential indexing of the controllers,
    from which it derives offsets in the PHY and ANATOP register sets.
    
    However, when the driver is probed from DT, the indexing is not
    correct. In fact, each controller has index 0. This patch derives
    the index for DT probing case from the controller base addresses,
    which is not the way this should be done, however it is the least
    intrusive approach, favorable this close to release.
    
    The necessary steps to convert this driver fully to DT probing are
    described inside the patch, however this should be done in the next
    release and depends on iMX clock driver patches.
    
    Signed-off-by: Marek Vasut <marex@denx.de>
    Cc: Abel Vesa <abel.vesa@nxp.com>
    Cc: Adam Ford <aford173@gmail.com>
    Cc: Fabio Estevam <festevam@gmail.com>
    Cc: Ludwig Zenz <lzenz@dh-electronics.com>
    Cc: Lukasz Majewski <lukma@denx.de>
    Cc: Peng Fan <peng.fan@nxp.com>
    Cc: Stefano Babic <sbabic@denx.de>
    Cc: Vagrant Cascadian <vagrant@debian.org>
  7. rockchip: make_fit_atf.py: fix loadables property set error

    Andy Yan authored and keveryang committed Jul 5, 2019
    Commit b238e4b ("rockchip: Cleanup of make_fit_atf.py.") set
    firmware = "atf_1";
    loadables = "uboot","atf_1","atf_2";
    
    Actually it should be:
    firmware = "atf_1";
    loadables = "uboot","atf_2","atf_3";
    
    Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
    Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Commits on Jul 4, 2019
  1. board: amlogic: add mailing-list to MAINTAINERS

    superna9999 authored and trini committed Jul 4, 2019
    Add missing mailing-list to the amlogic boards MAINTAINERS file.
    
    Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Older
You can’t perform that action at this time.