[PATCH 1/1] efi_loader: document efi_save_gd(), efi_restore_gd()

2020-07-18 Thread Heinrich Schuchardt
Provide function descriptions for efi_save_gd() and efi_restore_gd(). Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index

[PATCH 1/1] efi_loader: returning form UEFI FIT images

2020-07-18 Thread Heinrich Schuchardt
Do not reset the board when returning from an UEFI FIT image. For failed UEFI binary we already print the return status in efi_run_image. Remove duplicate output. Signed-off-by: Heinrich Schuchardt --- common/bootm_os.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCH 1/1] ls1088ardb :Set CONFIG_SYS_BOARD to ls1088ardb

2020-07-18 Thread jaiprakash . singh
From: Jaiprakash Singh Env variable board and board_name set to CONFIG_SYS_BOARD Signed-off-by: Jaiprakash Singh --- include/configs/ls1088ardb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/ls1088ardb.h b/include/configs/ls1088ardb.h index 815449f..650ffa3 100644 ---

Re: [PATCH 1/3] phy: Add Rockchip PCIe PHY driver

2020-07-18 Thread Kever Yang
On 2020/7/10 上午2:11, Jagan Teki wrote: Add the Rockchip PCIe PHY driver as part of Generic PHY framework. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- drivers/phy/rockchip/Kconfig | 7 + drivers/phy/rockchip/Makefile| 1 + drivers/ph

Re: [PATCH 2/3] pci: rockchip: Switch to generic-phy

2020-07-18 Thread Kever Yang
On 2020/7/10 上午2:11, Jagan Teki wrote: Now, we have a PCIe PHY driver as part of the Generic PHY framework. Let's use it instead of legacy PHY driver. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- drivers/pci/Kconfig | 1 + drivers/pci/pcie_rockchip.c |

Re: [PATCH 3/3] pci: rockchip: Drop legacy PHY driver

2020-07-18 Thread Kever Yang
On 2020/7/10 上午2:11, Jagan Teki wrote: Drop the legacy PHY driver and it's associated code since the PHY handling driver now part of Generic PHY framework. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- drivers/pci/Makefile| 2 +- drivers/pci/pcie_r

Re: [PATCH v4 3/4] rtc: rk8xx: Add base support for the RK808 PMIC RTC

2020-07-18 Thread Kever Yang
Hi Jagan, On 2020/7/10 下午11:50, Jagan Teki wrote: From: Suniel Mahesh Rockchip RK808 PMIC provides an integrated RTC module. It is commonly used with Rockchip SoCs. Add basic support to access date and time. Signed-off-by: Jagan Teki --- Change for v4: - rebase - style fixes - warning fixes

Re: [PATCH 1/3] ram: rk3399: Drop debug stride in driver

2020-07-18 Thread Kever Yang
On 2020/7/14 上午4:06, Jagan Teki wrote: stride debug is already present in sdram_common.c via RAM_ROCKCHIP_DEBUG. So, drop the redundant debug stride code in rk3399 driver. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- drivers/ram/rockchip/sdram_rk3399.c | 25

Re: [PATCH 2/3] ram: rk3399: Mark existing prints via RAM_ROCKCHIP_DEBUG

2020-07-18 Thread Kever Yang
On 2020/7/14 上午4:06, Jagan Teki wrote: Right now all these debug statements are printing on the console to make sure proper dram initialization happens. Mark them into RAM_ROCKCHIP_DEBUG would be more meaningful and work like before since the RAM_ROCKCHIP_DEBUG is by default yet. No functiona

Re: [PATCH 3/3] roc-rk3399-pc: Disable RAM_ROCKCHIP_DEBUG

2020-07-18 Thread Kever Yang
On 2020/7/14 上午4:06, Jagan Teki wrote: Disable ram rockchip debug driver for roc-rk3399-pc boards since we have verified ram in many instances with respective U-Boot versions. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- configs/roc-pc-mezzanine-rk3399_defconfig

Re: [PATCH v5 2/5] rockchip: Don't clear the reset status reg

2020-07-18 Thread Kever Yang
On 2020/7/14 下午5:32, Jagan Teki wrote: reset reason can be used several stages of U-Boot bootloader like SPL, U-Boot proper based on the requirements. Clearing the status register end of get_reset_cause will end up showing the wrong reset cause when it read the second time. For example, if boa

Re: [PATCH v5 1/5] roc-rk3399-pc: Move leds setup in SPL

2020-07-18 Thread Kever Yang
On 2020/7/14 下午5:32, Jagan Teki wrote: roc-rk3399-pc has some specific requirements to support LEDS, environment. board detection and etc prior to U-Boot proper. So as of now SPL would be a better stage for these custom board requirements to support unlike TPL. Adding few of these custom requi

Re: [PATCH v5 3/5] rockchip: Separate the reset cause from display cpuinfo

2020-07-18 Thread Kever Yang
On 2020/7/14 下午5:32, Jagan Teki wrote: reset cause is a generic functionality based on the soc cru registers in rockchip. This can be used for printing the cause of reset in cpuinfo or some other place where reset cause is needed. Other than cpuinfo, reset cause can also be using during bootco

Re: [PATCH v5 4/5] rockchip: spl: Move board_early_init_f after cpu timer

2020-07-18 Thread Kever Yang
Hi Jagan, On 2020/7/14 下午5:32, Jagan Teki wrote: Custom board_early_init_f not only deal with simple gpio configuration but also have a possibility to access clocks to process any clock related operations like checking reset cause state and etc. So, call it once the rockchip timer initializatio

Re: [PATCH v2] gpio: octeon_gpio: Add GPIO controller driver for Octeon

2020-07-18 Thread Daniel Schwierzeck
> From: Suneel Garapati > > Add support for GPIO controllers found on Octeon II/III and Octeon TX > TX2 SoC platforms. > > Signed-off-by: Aaron Williams > Signed-off-by: Suneel Garapati > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Daniel Schwierzeck > Cc: Aaron Williams > Cc: Ch

Re: [PATCH v3 6/6] roc-rk3399-pc: Update ENV offset, size

2020-07-18 Thread Kever Yang
On 2020/7/18 上午11:20, Kever Yang wrote: On 2020/7/7 下午9:50, Jagan Teki wrote: Adjust the ENV offset, size to fit into all images on 16MB flash. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Applied to u-boot-rockchip master for this patch set, thanks. Thanks, - Kever --- Changes

Re: [PATCH 0/3] rockchip: rk3328: Add SPI support

2020-07-18 Thread Kever Yang
On 2020/7/9 上午5:57, Johannes Krottmayer wrote: This patch series adds support for the RK3328 SPI controller. Johannes Krottmayer (3): drivers: clk: rockchip: clk_rk3328: Add SPI support drivers: spi: rk_spi: Add support for RK3328 ARM: dts: rk3328: Add SPI support arch/arm/dts/rk33

Re: [PATCH 0/2] PINE64 Rock64 board: Add SPI Flash support

2020-07-18 Thread Kever Yang
On 2020/7/9 上午6:50, Johannes Krottmayer wrote: This patch series adds SPI Flash support for the PINE64 Rock64 board. Tested with the version 2.0 of the board. Johannes Krottmayer (2): ARM: dts: rk3328-rock64: Add SPI Flash support configs: rock64-rk3328_defconfig: Add SPI Flash support

Re: [PATCH] rockchip: sdram: fix dram_init_banksize

2020-07-18 Thread Kever Yang
On 2020/7/18 上午11:13, Kever Yang wrote: Hi Alex, Tanks for your fix. On 2020/7/15 上午7:03, Alex Bee wrote: Currently 2.5 GB is calculated as DRAM size for a 1 GB RK322x board if CONFIG_SPL_OPTEE is set. This is troublesome when booting a linux kernel since this size will be injected in FDT of

[PATCH v2 1/2] arch: arm: use dt and UCLASS_IRQ to get gic details

2020-07-18 Thread Rayagonda Kokatanur
Use device tree and UCLASS_IRQ driver to get following Generic Interrupt Controller (GIC) details, -GIC Distributor interface (GICD) base address and -GIC Redistributors (GICR) base address. Signed-off-by: Rayagonda Kokatanur --- Changes from v1: -Address review comments from Tom Rini, Fix bu

[PATCH v2 0/2] use dt and UCLASS_IRQ/SYSCON to get gic details

2020-07-18 Thread Rayagonda Kokatanur
Use device tree and driver class (UCLASS_IRQ and UCLASS_SYSCON) to get gic details like GICD, GICR base address, max number of redistributors and git lpi address. Changes from v1: -Address review comments from Tom Rini, Fix build warning messages. Rayagonda Kokatanur (2): arch: arm: use dt a

[PATCH v2 2/2] arch: arm: use dt and UCLASS_SYSCON to get gic lpi details

2020-07-18 Thread Rayagonda Kokatanur
Use device tree and UCLASS_SYSCON driver to get Generic Interrupt Controller (GIC) lpi address and maximum GIC redistributors count. Also update Kconfig to select REGMAP and SYSCON when GIC_V3_ITS is enabled. Signed-off-by: Rayagonda Kokatanur --- arch/arm/Kconfig | 2 ++ arch/arm

am654_sdhci: mmc fail to send stop cmd

2020-07-18 Thread Jan Kiszka
Hi all, on one device with one specific SD-card (possibly an aging one), I'm seeing frequent "mmc fail to send stop cmd" messages, followed by read errors when loading kernel and dtb. -ETIMEDOUT is returned by mmd_send_cmd. However, I can always resolve this by simply retrying the stop command lik

[PATCH] rockchip: rk3399: Add default env to support compressed krenel Image

2020-07-18 Thread Kever Yang
Add default kernel_comp_addr_r and kernel_comp_size to support boot from compressed kernel Image, this space is temporarily used during decompress according to README.distro. Signed-off-by: Kever Yang --- include/configs/rk3399_common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)

Re: rk3399: boot from compressed Image

2020-07-18 Thread Kever Yang
Hi Yuanhao,     Thanks for your good suggestion, could you take a try for this: https://patchwork.ozlabs.org/project/uboot/patch/20200718144823.7997-1-kever.y...@rock-chips.com/ Thanks, - Kever On 2020/6/22 上午10:30, Tian Yuanhao wrote: Hello, booti now supports booting from compressed Imag

Re: [PATCH v2 0/2] use dt and UCLASS_IRQ/SYSCON to get gic details

2020-07-18 Thread Rayagonda Kokatanur
Hi Simon, On Sat, Jul 18, 2020 at 8:14 PM Rayagonda Kokatanur wrote: > > Use device tree and driver class (UCLASS_IRQ and UCLASS_SYSCON) to get > gic details like GICD, GICR base address, max number of redistributors > and git lpi address. > > Changes from v1: > -Address review comments from Tom

[PULL] u-boot-mips

2020-07-18 Thread Daniel Schwierzeck
Hi Tom, please pull MIPS updates for 2020.10. This contains initial but very basic support for Marvell Octeon MIPS64 SoC's along with some small refactorings in start.S to prepare for Octeon. Gitlab CI: https://gitlab.denx.de/u-boot/custodians/u-boot-mips/pipelines/4105 The following changes si

Re: [PATCHv2] armv8: MMU: Mark code memory Executable, any other Non-Executable

2020-07-18 Thread Tom Rini
On Fri, Jun 19, 2020 at 02:53:32PM +0200, marek.bykow...@gmail.com wrote: > From: Marek Bykowski > > If the location the ARM CPU is accessing is executable (translation > table descriptor Execute-Never attribute bit cleared) then the ARM CPU > fetches a number of instructions from that location

Re: [PATCH] rockchip: rk3328: Add SPI support

2020-07-18 Thread Johannes Krottmayer
Hi Kever, On 18.07.20 at 05:02, Kever Yang wrote: > Hi Johannes, > >     Do you have plan to update for this patch? I think this thread is obsolete. You have already applied the improved two patch (RK3328, PINE64 Rock64) series later in a new thread. Many thanks for the apply. Kind regards,

Re: [PATCH 1/6] Convert CONFIG_SYS_DEVICE_NULLDEV to Kconfig

2020-07-18 Thread Ovidiu Panait
Hi Simon, On 18.07.2020 06:03, Simon Glass wrote: This converts the following to Kconfig: CONFIG_SYS_DEVICE_NULLDEV Signed-off-by: Simon Glass --- common/Kconfig | 16 configs/M5249EVB_defconfig | 3 ++- configs/colibri_pxa270_defconfig | 2 +

[PATCH v5] net: tftp: Add client support for RFC 7440

2020-07-18 Thread Ramon Fried
Add support for RFC 7440: "TFTP Windowsize Option". This optional feature allows the client and server to negotiate a window size of consecutive blocks to send as an alternative for replacing the single-block lockstep schema. windowsize can be defined statically during compilation by setting CONF

[PATCH] ARM: omap3: evm: Complete DM_ETH and DM_USB migrations

2020-07-18 Thread Derald D. Woods
This commit completes the migrations for DM_ETH and DM_USB. The board is now consistent with omap3_beagle and other remaining OMAP3 boards. Cc: Tom Rini Cc: Adam Ford Signed-off-by: Derald D. Woods --- arch/arm/mach-omap2/omap3/Kconfig | 3 ++ board/ti/evm/evm.c| 82 +-

[PATCH v2] ARM: omap3: evm: Complete DM_ETH and DM_USB migrations

2020-07-18 Thread Derald D. Woods
This commit completes the migrations for DM_ETH and DM_USB. The board is now consistent with omap3_beagle and other remaining OMAP3 boards. Cc: Tom Rini Cc: Adam Ford Signed-off-by: Derald D. Woods --- Changes for v2: - Add omitted ethernet node to omap3-evm-u-boot.dtsi * Based on similar cha

[PATCH v3] ARM: omap3: evm: Complete DM_ETH and DM_USB migrations

2020-07-18 Thread Derald D. Woods
This commit completes the migrations for DM_ETH and DM_USB. The board is now consistent with omap3_beagle and other remaining OMAP3 boards. Cc: Tom Rini Cc: Adam Ford Signed-off-by: Derald D. Woods --- Changes for v3: - Also handle 37xx 'dtsi' variant - My testing is with the 3530 processor var

Re: [PATCH v6 0/4] usb: xhci: Load Raspberry Pi 4 VL805's firmware

2020-07-18 Thread Stefan Agner
Hi Nicolas, On 2020-06-29 18:37, Nicolas Saenz Julienne wrote: > Newer revisions of the RPi4 need their xHCI chip, VL805, firmware to be > loaded explicitly. Earlier versions didn't need that as they where using > an EEPROM for that purpose. This series takes care of setting up the > relevant infr