- 07 Jul, 2020 2 commits
-
-
Enable the rng so UEFI can provide entropy for KASLR Signed-off-by:
Peter Robinson <pbrobinson@gmail.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
With video output enabled and USB keyboard supported there is no need for serial console. So let initialize USB subsystem so keyboard connected to board (either directly or via hub) can be used to interrupt autoboot. U-Boot TPL 2020.07-rc3-00123-g52d6cbd1a7 (Jun 03 2020 - 17:34:20) Channel 0: LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=16/15 CS=1 Die BW=16 Size=2048MB Channel 1: LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=16/15 CS=1 Die BW=16 Size=2048MB 256B stride 256B stride lpddr4_set_rate: change freq to 400000000 mhz 0, 1 lpddr4_set_rate: change freq to 800000000 mhz 1, 0 Trying to boot from BOOTROM Returning to boot ROM... U-Boot SPL 2020.07-rc3-00123-g52d6cbd1a7 (Jun 03 2020 - 17:34:20 +0200) Trying to boot from SPI U-Boot 2020.07-rc3-00123-g52d6cbd1a7 (Jun 03 2020 - 17:34:20 +0200) SoC: Rockchip rk3399 Reset cause: RST Model: Pine64 RockPro64 v2.1 DRAM: 3.9 GiB PMIC: RK808 MMC: mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0 Loading Environment from SPI Flash... SF: Detected gd25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB OK In: serial Out: vidconsole Err: vidconsole Model: Pine64 RockPro64 v2.1 Net: eth0: ethernet@fe300000 starting USB... Bus usb@fe380000: USB EHCI 1.00 Bus usb@fe3a0000: USB OHCI 1.0 Bus usb@fe3c0000: USB EHCI 1.00 Bus usb@fe3e0000: USB OHCI 1.0 Bus dwc3: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 Bus dwc3: Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus usb@fe380000 for devices... 1 USB Device(s) found scanning bus usb@fe3a0000 for devices... 1 USB Device(s) found scanning bus usb@fe3c0000 for devices... 1 USB Device(s) found scanning bus usb@fe3e0000 for devices... 2 USB Device(s) found scanning bus dwc3 for devices... 1 USB Device(s) found scanning bus dwc3 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found Hit any key to stop autoboot: 0 => Signed-off-by:
Marcin Juszkiewicz <marcin@juszkiewicz.com.pl> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
- 06 Jul, 2020 2 commits
-
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Rsync all defconfig files using moveconfig.py Signed-off-by:
Tom Rini <trini@konsulko.com>
-
- 05 Jul, 2020 3 commits
-
-
Tom Rini authored
- Merge a fix to the gpio uclass and a test for it.
-
currently gpio hog function is not tested with "ut dm gpio" so add some basic tests for gpio hog functionality. For this enable GPIO_HOG in sandbox_defconfig, add in DTS some gpio hog entries, and add testcase in "ut dm gpio" command. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
save the GPIOD_ flags also in the gpio descriptor. Signed-off-by:
Heiko Schocher <hs@denx.de> Reviewed-by:
Patrick Delaunay <patrick.delaunay@st.com> Fixes: 788ea834 ("gpio: add function _dm_gpio_set_dir_flags") Reviewed-by:
Simon Glass <sjg@chromium.org> Tested-by:
Walter Lozano <walter.lozano@collabora.com>
-
- 03 Jul, 2020 8 commits
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-riscvTom Rini authored
- sbi: Add newline to error message - fu540: dts: Correct reg size of otp and dmc nodes - Enhance reserved memory fixup about PMP information passed from OpenSBI - sifive: fu540: Add gpio-restart support - qemu-riscv: Update QEMU run command - Assorted fixes related to reserved memory - fu540: enable all cache ways from U-Boot proper - use log functions in fdt_fixup
-
Heinrich Schuchardt authored
Replace printf() and debug() by log_err() and log_debug(). "No reserved memory region found in source FDT\n" is not an error but a debug information. %s/can not/cannot/ - use the more common spelling. Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by:
Bin Meng <bin.meng@windriver.com> Reviewed-by:
Atish Patra <atish.patra@wdc.com>
-
Pragnesh Patel authored
Add L2 cache node to enable all cache ways from U-Boot proper. Signed-off-by:
Pragnesh Patel <pragnesh.patel@sifive.com> Reviewed-by:
Bin Meng <bmeng.cn@gmail.com> Tested-by:
Bin Meng <bmeng.cn@gmail.com>
-
Atish Patra authored
fdtdec_get_addr_size_no_parent is not an optimized version if parent node is already available with the caller. Use fdtdec_get_addr_size_auto_parent to read the "reg" property Signed-off-by:
Atish Patra <atish.patra@wdc.com> Reviewed-by:
Bin Meng <bin.meng@windriver.com>
-
Atish Patra authored
Not all errors are fatal. If a reserved memory node already exists in the destination device tree, we can continue to boot without failing. Signed-off-by:
Atish Patra <atish.patra@wdc.com> Reviewed-by:
Bin Meng <bin.meng@windriver.com>
-
Bin Meng authored
Explicitly pass the "-bios" option to QEMU to run U-Boot, instead of the "-kernel" option, as we know that "-bios" behavior will be changed since QEMU 5.1.0. This also updates validated QEMU version to 5.0.0. Signed-off-by:
Bin Meng <bin.meng@windriver.com> Reviewed-by:
Atish Patra <atish.patra@wdc.com>
-
Bin Meng authored
The HiFive Unleashed board wires GPIO pin#10 to the input of the system reset signal. This adds gpio reboot support. Signed-off-by:
Bin Meng <bin.meng@windriver.com> Reviewed-by:
Sagar Kadam <sagar.kadam@sifive.com> Tested-by:
Sagar Kadam <sagar.kadam@sifive.com> Reviewed-by:
Pragnesh Patel <pragnesh.patel@sifive.com>
-
Bin Meng authored
SYSRESET uclass driver already provides all the reset APIs, hence exclude our own ad-hoc reset.c implementation. Signed-off-by:
Bin Meng <bin.meng@windriver.com> Reviewed-by:
Sagar Kadam <sagar.kadam@sifive.com> Reviewed-by:
Pragnesh Patel <pragnesh.patel@sifive.com>
-
- 02 Jul, 2020 6 commits
-
-
Bin Meng authored
Starting from OpenSBI v0.7, the SBI firmware inserts/fixes up the reserved memory node for PMP protected memory regions. All RISC-V boards need to copy the reserved memory node from the device tree provided by the firmware to the device tree used by U-Boot. Turn on CONFIG_OF_BOARD_FIXUP by default for OF_SEPARATE. Signed-off-by:
Bin Meng <bin.meng@windriver.com> Reviewed-by:
Atish Patra <atish.patra@wdc.com> Reviewed-by:
Rick Chen <rick@andestech.com>
-
Bin Meng authored
The FDT blob might not have sufficient space to hold a copy of reserved memory node. Expand it before the copy. Reported-by:
Rick Chen <rick@andestech.com> Signed-off-by:
Bin Meng <bin.meng@windriver.com> Reviewed-by:
Atish Patra <atish.patra@wdc.com> Reviewed-by:
Rick Chen <rick@andestech.com>
-
Bin Meng authored
The copy of reserved memory node from source dtb to destination dtb can be avoided if they point to the same place. This is useful when OF_PRIOR_STAGE is used. Signed-off-by:
Bin Meng <bin.meng@windriver.com> Reviewed-by:
Rick Chen <rick@andestech.com> Reviewed-by:
Atish Patra <atish.patra@wdc.com>
-
Bin Meng authored
Signed-off-by:
Bin Meng <bin.meng@windriver.com> Reviewed-by:
Pragnesh Patel <pragnesh.patel@sifive.com>
-
Bin Meng authored
Signed-off-by:
Bin Meng <bin.meng@windriver.com> Reviewed-by:
Pragnesh Patel <pragnesh.patel@sifive.com>
-
Sean Anderson authored
Signed-off-by:
Sean Anderson <seanga2@gmail.com> Reviewed-by:
Atish Patra <atish.patra@wdc.com> Reviewed-by:
Bin Meng <bin.meng@windriver.com>
-
- 30 Jun, 2020 3 commits
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-efiTom Rini authored
Pull request for UEFI sub-system for efi-2020-07-rc6 (2) Fix an incorrect update of the GD register in efi_get_variable_common(). Fix an incorrect check for an FDT reg property. Fix a device tree used for Python testing.
-
test_efi_fit tests fail on RISC-V currently. This is due to the RISC-V arch_fixup_fdt() checks the #size-cells of the root node in order to correctly fix up the reserved memory node. Per the DT binding, the /reserved-memory node requires both <#address-cells> and <#size-cells> and they should use the same values as the root node. For the root node, it's not very useful if <#size-cells> is zero. Update #size-cells to 1 so tests can pass. Signed-off-by:
Bin Meng <bin.meng@windriver.com>
-
Heinrich Schuchardt authored
With commit 0d7c2913 ("cmd: bootefi: Honor the address & size cells properties correctly") addr was replaced by fdt_addr. But not in the check against FDT_ADDR_T_NONE. Fixes: 0d7c2913 ("cmd: bootefi: Honor the address & size cells properties correctly") Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
- 29 Jun, 2020 3 commits
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-videoTom Rini authored
- fix "Synchronous Abort" when using rk3399 4K HDMI
-
Anatolij Gustschin authored
3480 is not valid XRES, use 3840 as default. Fixes: 05c65a82 ("video: rockchip: Support 4K resolution for rk3399, HDMI") Signed-off-by:
Anatolij Gustschin <agust@denx.de> Cc: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by:
Jagan Teki <jagan@amarulasolutions.com> Tested-by: Jagan Teki <jagan@amarulasolutions.com> # roc-rk3399-pc
-
Heinrich Schuchardt authored
efi_get_variable_common() does not use EFI_ENTRY(). So we should not use EFI_EXIT() either. Fixes: 767f6eeb ("efi_loader: variable: support variable authentication") Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
- 28 Jun, 2020 3 commits
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-videoTom Rini authored
- fix logo on mx6ul_14x14_evk with DM_VIDEO enabled - fix banner string overwriting the logo on small displays - fix splash warning when building for ARM64 - fix STM32 DSI driver to probe only on supported hardware - fix memory corruption with DSI panel drivers
-
https://gitlab.denx.de/u-boot/custodians/u-boot-rockchipTom Rini authored
- rk3188 cpu init and APLL fix; - rk3399: Add BOOTENV_SF command; - rk3288 correct vop0 vop1 setting;
-
The EDP_LCDC_SEL bit has to be set correctly to select vop0 or vop1, but so far we have set it in both conditions, which is not correct. Can someone verify this is the correct way round? vop1 -> set, vop0 -> clear? Signed-off-by:
Patrick Wildt <patrick@blueri.se> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
- 27 Jun, 2020 10 commits
-
-
Fill characteristics of DSI data link to platform data instead of mipi device to avoid memory corruption. Signed-off-by:
Yannick Fertre <yannick.fertre@st.com> Reviewed-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
Fill characteristics of DSI data link to platform data instead of mipi device to avoid memory corruption. Signed-off-by:
Yannick Fertre <yannick.fertre@st.com> Reviewed-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
Copy the DSI data link characteristics from panel platform data to mipi DSI device. Signed-off-by:
Yannick Fertre <yannick.fertre@st.com> Reviewed-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
Add new fields "lanes, format & mode_flags" to structure mipi_dsi_panel_plat. Signed-off-by:
Yannick Fertre <yannick.fertre@st.com> Reviewed-by:
Patrick Delaunay <patrick.delaunay@st.com>
-
Check the hardware version of DSI. Versions 1.30 & 1.31 are only supported. Signed-off-by:
Yannick Fertre <yannick.fertre@st.com> Reviewed-by:
Patrick Delaunay <patrick.delaunay@st.com> Reviewed-by:
Philippe Cornu <philippe.cornu@st.com>
-
Get below warning on ARM64 platform, because the bmp_load_addr is defined to u32. common/splash.c: In function ‘splash_video_logo_load’: common/splash.c:74:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 74 | memcpy((void *)bmp_load_addr, bmp_logo_bitmap, Signed-off-by:
Ye Li <ye.li@nxp.com> Reviewed-by:
Jagan Teki <jagan@amarulasolutions.com> Tested-by: Jagan Teki <jagan@amarulasolutions.com> # bpi-m1+, bpi-m64
-
Fix the bug that multiple lines wraps to overwrite logo bmp display. Signed-off-by:
Ye Li <ye.li@nxp.com> Reviewed-by:
Jagan Teki <jagan@amarulasolutions.com> Tested-by: Jagan Teki <jagan@amarulasolutions.com> # bpi-m1+, bpi-m64
-
Update video bmp code so that we can display 8 bits logo on 24 or 32 bpp framebuffer. Signed-off-by:
Ye Li <ye.li@nxp.com> Signed-off-by:
Anatolij Gustschin <agust@denx.de> Reviewed-by:
Jagan Teki <jagan@amarulasolutions.com> Tested-by: Jagan Teki <jagan@amarulasolutions.com> # bpi-m1+, bpi-m64
-
The commit 84a6a27a ("rockchip: rk3188: init CPU freq in clock driver") changed ARM clock from 600MHz to 1600MHz. It made boot unstable due to the fact that PMIC at the start generates insufficient voltage for operation. See also: commit f4f57c58 ("rockchip: rk3188: Setup the armclk in spl"). Fixes commit 84a6a27a ("rockchip: rk3188: init CPU freq in clock driver"). Signed-off-by:
Alexander Kochetkov <al.kochet@gmail.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-
Move the setting for noc remap out of SPL code. Changing noc remap inside SPL results in breaking back to BROM boot. Fixes commit c14fe2a8 ("rockchip: rk3188: Move SoC one time setting into arch_cpu_init()"). Signed-off-by:
Alexander Kochetkov <al.kochet@gmail.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
-