- Jul 09, 2019
-
-
Rohan Garg authored
Generate a MAC address based on the cpuid available in the efuse block: Use the first 6 byte of the cpuid's SHA256 hash and set the locally administered bits. Also ensure that the multicast bit is cleared. The MAC address is only generated and set if there is no ethaddr present in the saved environment. This is based off of Klaus Goger's work in 8adc9d Signed-off-by:
Rohan Garg <rohan.garg@collabora.com> Series-cc: Klaus Goger <klaus.goger@theobroma-systems.com> Series-cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
-
- Jul 08, 2019
-
-
Rohan Garg authored
-
- Jul 07, 2019
-
-
Weijie Gao authored
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>
-
Weijie Gao authored
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>
-
-
-
Heinrich Schuchardt authored
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>
-
-
- Jul 06, 2019
-
-
Marc Dietrich authored
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: 57e77754 ("video: backlight: Parse PWM polarity cell") Signed-off-by:
Marc Dietrich <marvin24@gmx.de>
-
- Jul 05, 2019
-
-
https://github.com/mbgg/u-bootTom Rini authored
- 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
-
Jean-Jacques Hiblot authored
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>
-
Jean-Jacques Hiblot authored
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>
-
Jean-Jacques Hiblot authored
There is simply no reason to do that here. Signed-off-by:
Jean-Jacques Hiblot <jjhiblot@ti.com>
-
Marek Vasut authored
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>
-
Andy Yan authored
Commit b238e4b0 ("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>
-
- Jul 04, 2019
-
-
Neil Armstrong authored
Add missing mailing-list to the amlogic boards MAINTAINERS file. Signed-off-by:
Neil Armstrong <narmstrong@baylibre.com>
-
https://gitlab.denx.de/u-boot/custodians/u-boot-imxTom Rini authored
Fixes for 2019.07 ----------------- - Wandboard
-
Fabio Estevam authored
After the conversion to DM the U-Boot proper binary name is 'u-boot-dtb.img', so adjust it accordingly. Signed-off-by:
Fabio Estevam <festevam@gmail.com>
-
Fabio Estevam authored
After the transition to DM, only the mx6dl/solo wandboard is supported. Add FIT image support so that all the wandboard variants can be supported, like it was prior to the DM conversion. Successfully booted Linux on mx6q/solo/qp wandboards. Signed-off-by:
Fabio Estevam <festevam@gmail.com>
-
Fabio Estevam authored
Add a mmc0 alias so that U-Boot proper can associate mmc0 with the boot SD card. Signed-off-by:
Fabio Estevam <festevam@gmail.com>
-
Fabio Estevam authored
Import wandboard devicetree files so that the mx6q and mx6qp variants can be properly supported. Signed-off-by:
Fabio Estevam <festevam@gmail.com>
-
Fabio Estevam authored
Udate the wandboard devicetree files with the ones from kernel 5.1.9. Signed-off-by:
Fabio Estevam <festevam@gmail.com>
-
Fabio Estevam authored
Place dtbs under SoC level rather than board level. imx6q-novena.dtb and imx6dl-wandboard-revb1.dtb were placed under the board config option, so move them to SoC level. This also aligns with the kernel dts Makefile format. Signed-off-by:
Fabio Estevam <festevam@gmail.com>
-
Fabio Estevam authored
Keep dtb entries sorted to help adding new dtbs in an organized form. Signed-off-by:
Fabio Estevam <festevam@gmail.com>
-
- Jul 02, 2019
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-rockchipTom Rini authored
- fix for atf bl31_image_info pointer - fix for rockpro64 vdd_log init - fix for tinker-rk3288 SPL size too big
-
Kever Yang authored
All the config for TPL has been update, we can enable the TPL. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
The raw u-boot.bin for tinker board has been about 450KB without debug option, and 550KB with all debug on, and the default value is 200KB, which is not enough for run raw u-boot.bin. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
We need to update TEXT BASE for TPL/SPL/U-Boot; SPL no need relocate STACK after enable TPL, so remove it; Don't enable pinctrl names so that SPL can get pinctrl dts; Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
rockchip pinctrl driver has update to use dts, so we need to add the pinctrl config in SPL for sdmmc. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Migrate all the "u-boot,dm-pre-reloc" tag from rk3288-tinker.dts into rk3288-tinker-u-boot.dtsi. When both board level and soc level '-u-boot.dtsi' files exist, we need to include the soc level 'rk3288-u-boot.dtsi' manually. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
Move all the tag "u-boot,dm-pre-reloc" from rk3288.dtsi into rk3288-u-boot.dtsi. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Kever Yang authored
TPL is at SRAM while other stage is at SDRAM, so it needs separate STACK. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Reviewed-by:
Jagan Teki <jagan@amarulasolutions.com>
-
Kever Yang authored
More boards other than vyasa needs TPL, so enable the TPL configs at chip level instead of board level. Signed-off-by:
Kever Yang <kever.yang@rock-chips.com>
-
Mark Kettenis authored
Add missing regulator-init-microvolt property to vdd_log regulator. Signed-off-by:
Mark Kettenis <kettenis@openbsd.org> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com> (Rebase on latest u-boot-rockchip master) Signed-off-by:
Kever Yang <kever.yang@rock-chips.com> Change-Id: I13b24fb81e8ad269d7dbb0c7b67f5f4795d2e775
-
Frieder Schrempf authored
The pointer to struct atf_image_info in bl31_params_mem.bl31_params.bl31_image_info is not initialized before being dereferenced. This can cause U-Boot to crash right before jumping to the BL31 ATF binary. Signed-off-by:
Frieder Schrempf <frieder.schrempf@kontron.de> Fixes: bcc1726a ("spl: add support to booting with ATF") Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
- Jul 01, 2019
-
-
Shawn Guo authored
There is a regression seen on Poplar platform, which doesn't even show a U-Boot version banner on booting. It turns out that due to landing of commit 3a7c45f6 ("simple-bus: add DM_FLAG_PRE_RELOC flag to simple-bus driver"), we need to increase SYS_MALLOC_F_LEN from its default size 0x400, as pre-relocation requires more memory there. Let's increase SYS_MALLOC_F_LEN to 0x4000 to fix the regression. Thanks to Andreas Färber <afaerber@suse.de> for reporting, and Bin Meng <bmeng.cn@gmail.com> for trouble shooting. Reported-by:
Andreas Färber <afaerber@suse.de> Signed-off-by:
Shawn Guo <shawn.guo@linaro.org> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Tested-by:
Andreas Färber <afaerber@suse.de>
-
https://gitlab.denx.de/u-boot/custodians/u-boot-atmelTom Rini authored
Second set of u-boot-atmel fixes for 2019.07 cycle
-
- Jun 29, 2019
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-uniphierTom Rini authored
UniPhier SoC updates for v2019.07 - Add SPI pin-mux data for pinctrl driver - Remove unused code - Trivial bug-fix and clean-up
-
https://gitlab.denx.de/u-boot/custodians/u-boot-efiTom Rini authored
Pull request for UEFI sub-system for v2019.07-rc5 (4) The definition of an unimplemented function is corrected.
-