Re: [PATCH v2 2/3] watchdog: rti_wdt: Add support for loading firmware

2020-07-20 Thread Lokesh Vutla
Hi Jan, On 20/07/20 3:06 pm, Jan Kiszka wrote: > On 29.06.20 20:44, Jan Kiszka wrote: >> On 29.06.20 14:37, Tom Rini wrote: >>> On Mon, Jun 29, 2020 at 07:56:53AM +0530, Lokesh Vutla wrote: +Tom On 23/06/20 8:11 pm, Jan Kiszka wrote: > On 23.06.20 14:37, Jan Kiszka wrote:

Re: [RFC PATCH v2] sunxi: Add UART4 console support for A64

2020-07-20 Thread Nazım Gediz AYDINDOĞMUŞ
On 16.07.2020 11:36, Maxime Ripard wrote: > On Wed, Jul 08, 2020 at 03:11:18PM +0300, Nazım Gediz Aydındoğmuş wrote: >> UART4 port of A64 was in conflict with R_UART of older SoCs, like A23. >> >> This commit adds necessary definitions to use UART4 port on A64. >> >> Signed-off-by: Nazım Gediz

Re: [PATCH 07/16] configs: Enable USB host on Rock-PI-N10

2020-07-20 Thread Kever Yang
Hi Jagan,     For the same board config, please just enable all the features you need in one patch since the drivers already there, no need the split them into pieces.     BTW: please add prefix "rockchip" in subject Thanks, - Kever On 2020/7/21 上午2:51, Jagan Teki wrote: From: Suniel

Re: [PATCH 03/16] ARM: dts: rockchip: Add usb host0 ohci node for rk3288

2020-07-20 Thread Kever Yang
HI Jagan,     Does patch 3~6 also from mainline kernel? Thanks, - Kever On 2020/7/21 上午2:51, Jagan Teki wrote: rk3288 and rk3288w have a usb host0 ohci controller. Although rk3288 ohci doesn't actually work on hardware, but rk3288w ohci can work well. So add usb host0 ohci node in rk3288

Re: [PATCH 02/16] arm: dts: rockchip: Sync rk3288 dtsi from linux

2020-07-20 Thread Kever Yang
On 2020/7/21 上午2:51, Jagan Teki wrote: From: Suniel Mahesh This sync has changes required to use HDMI CEC pin in U-Boot. Sync dts from linux v5.8-rc5 commit: "ARM: dts: rockchip: define the two possible rk3288 CEC pins" (sha1: 838980dd04e994bf81cf104fa01ae60802146b39)

Re: [PATCH 01/16] ARM: dts: rockchip: Sync ROCKPi N8/N10 dts(i) from Linux

2020-07-20 Thread Kever Yang
On 2020/7/21 上午2:51, Jagan Teki wrote: Sync ROCKPi N8/N10 dts(i) changes from Linux. commit ("ARM: dts: rockchip: Add Radxa Rock Pi N8 initial support") Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever ---

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

2020-07-20 Thread Kever Yang
On 2020/7/20 下午6:53, Jagan Teki wrote: Hi Kever, On Sat, Jul 18, 2020 at 5:41 PM Kever Yang wrote: 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

Re: [PATCH 2/2] arm64: dts: rockchip: Add Radxa ROCK Pi 4C support

2020-07-20 Thread Kever Yang
On 2020/7/20 下午11:30, Jagan Teki wrote: Rock PI 4C has AP6256 Wifi/BT, PoE, miniDP, USB Host enabled GPIO pin change compared to 4B, 4C. So, add or enable difference nodes/properties in 4C dts by including common dtsi. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever ---

Re: [PATCH 1/2] arm64: dts: rockchip: Add ROCKPi 4A/4B support

2020-07-20 Thread Kever Yang
On 2020/7/20 下午11:30, Jagan Teki wrote: Rock PI 4 has 3 variants of hardware platforms called RockPI 4A, 4B, and 4C. - Rock PI 4A has no Wif/BT. - Rock PI 4B has AP6256 Wifi/BT, PoE. - Rock PI 4C has AP6256 Wifi/BT, PoE, miniDP, USB Host enable GPIO pin change compared to 4B, 4C So move

Re: [RFC] dfu: remove UPDATE_TFTP

2020-07-20 Thread Heinrich Schuchardt
On 7/15/20 4:48 PM, Michal Simek wrote: > > > On 15. 07. 20 16:42, Heinrich Schuchardt wrote: >> On 15.07.20 16:06, Michal Simek wrote: >> >> >>> On 15. 07. 20 15:23, Lukasz Majewski wrote: Hi Heinrich, On 15.07.20 13:24, Lukasz Majewski wrote: >>> Hi Heinrich, >>>

Re: [PATCH] rockpro64: Enable USB3.0 Host

2020-07-20 Thread Kever Yang
Hi Jagan, please add prefix "rockchip:" in subject next time. I will fix it for this patch. On 2020/7/20 下午5:23, Jagan Teki wrote: Enable USB3.0 Host support for RockPro64 boards. Signed-off-by: Jagan Teki Reviewed-by: Kever Yang Thanks, - Kever --- configs/rockpro64-rk3399_defconfig |

[PATCH 1/1] mtd: cfi_flash: read device tree correctly

2020-07-20 Thread Heinrich Schuchardt
dev_read_size_cells() and dev_read_addr_cells() do not walk up the device tree to find the number of cells. On error they return 1 and 2 respectively. On qemu_arm64_defconfig this leads to the incorrect detection of address of the second flash bank as 0x400 instead of 0x400. When

ofnode_read_size_cells() returns wrong size

2020-07-20 Thread Heinrich Schuchardt
Hello Simon, I am trying to create a test for DFU on the qemu_arm64_defconfig board. This requires saving environment variables, specifically 'preboot'. doc/board/emulation/qemu-arm.rst suggests to create a file with: qemu-img create -f raw envstore.img 64M The flash can be made available to

Re: [PATCH v2] serial: Fix SIFIVE debug serial dependency

2020-07-20 Thread Bin Meng
On Fri, Jul 10, 2020 at 6:41 PM Michal Simek wrote: > > The commit 4cc24aeaf420 ("serial: Add missing Kconfig dependencies for > debug consoles") has added incorrect dependency for SIFIVE debug uart which > should depend on SIFIVE driver instead of PL01x. > > Fixes: 4cc24aeaf420 ("serial: Add

Re: [PATCH v3 2/5] fu540: prci: use common reset indexes defined in binding header

2020-07-20 Thread Bin Meng
On Fri, Jul 10, 2020 at 4:39 PM Sagar Shrikant Kadam wrote: > > Indexes of reset signals available in PRCI driver are also > defined in include/dt-bindings/reset/sifive-fu540-prci.h. > So use those instead of defining new ones again within the > fu540-prci driver. > > Signed-off-by: Sagar

Re: [PATCH v3 3/5] fu540: dtsi: add reset producer and consumer entries

2020-07-20 Thread Bin Meng
On Fri, Jul 10, 2020 at 4:39 PM Sagar Shrikant Kadam wrote: > > The resets to DDR and ethernet sub-system are connected to > PRCI device reset control register, these reset signals > are active low and are held low at power-up. Add these reset > producer and consumer details needed by the reset

Re: [PATCH v3 1/5] dt-bindings: prci: add indexes for reset signals available in prci

2020-07-20 Thread Bin Meng
On Fri, Jul 10, 2020 at 4:39 PM Sagar Shrikant Kadam wrote: > > Add bit indexes for reset signals within the PRCI module > on FU540-C000 SoC. > The DDR and ethernet sub-system's have reset signals > indicated by these reset indexes. > > Signed-off-by: Sagar Shrikant Kadam > --- >

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

2020-07-20 Thread Marek
I'm on holidays right now, seeing the logs in my mobile I cannot infer much. What's the memory map after the patch? Intentional? I mean the code/instruction region is read-only and executable and else read-write and non-executable? May it happen that the tests try to write to instruction,

Re: am654_sdhci: mmc fail to send stop cmd

2020-07-20 Thread Jaehoon Chung
On 7/20/20 10:21 AM, Peng Fan wrote: > Hi Jan, > >> Subject: am654_sdhci: mmc fail to send stop cmd >> >> 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

Re: [PATCH 14/31] power: Tidy up inclusion of regulator_common.h

2020-07-20 Thread Jaehoon Chung
On 7/20/20 1:15 AM, Simon Glass wrote: > This file should not include common.h and dm.h so remove them. Also move > the inclusion of this file to after the normal includes. > > Signed-off-by: Simon Glass Reviewed-by: Jaehoon Chung Best Regards, Jaehoon Chung > --- > >

Please pull u-boot-dm

2020-07-20 Thread Simon Glass
Hi Tom, https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/4139 The following changes since commit 7303ba10a4a39852b9ba356fae5656b43122eec6: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86 (2020-07-20 09:25:32 -0400) are available in the Git repository at:

u-boot failed, Please help to solve this error

2020-07-20 Thread Gaurav Kumar
Hello, I am trying to build for machine stm32mp157c-dk2 using your repo in yocto. I am facing some error in u-boot patches, please help me out. Please find below error logs: ERROR: u-boot-1_2020.07-r0

[PATCH v2 1/2] arm64: dts: rockchip: Add ROCKPi 4A/4B support

2020-07-20 Thread Jagan Teki
Rock PI 4 has 3 variants of hardware platforms called RockPI 4A, 4B, and 4C. - Rock PI 4A has no Wif/BT. - Rock PI 4B has AP6256 Wifi/BT, PoE. - Rock PI 4C has AP6256 Wifi/BT, PoE, miniDP, USB Host enable GPIO pin change compared to 4B, 4C So move common nodes, properties into dtsi file and

[PATCH v2 2/2] arm64: dts: rockchip: Add Radxa ROCK Pi 4C support

2020-07-20 Thread Jagan Teki
Rock PI 4C has AP6256 Wifi/BT, PoE, miniDP, USB Host enabled GPIO pin change compared to 4B, 4C. So, add or enable difference nodes/properties in 4C dts by including common dtsi. Signed-off-by: Jagan Teki --- Changes for v2: - s/4b/4c arch/arm/dts/Makefile | 1 +

[PATCH 15/16] arm64: dts: rockchip: Add u-boot, spl-boot-order for ROCKPi N10

2020-07-20 Thread Jagan Teki
Add u-boot,spl-boot-order for ROCKPi N10, so-that it can able to boot from eMMC and SDMMC in order. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/rk3399pro-rock-pi-n10-u-boot.dtsi

[PATCH 16/16] rock-p-n8/n10: Disable RAM_ROCKCHIP_DEBUG

2020-07-20 Thread Jagan Teki
Disable ram rockchip debug driver for ROCKPi N8/N10 boards since we have verified ram in many instances with respective U-Boot versions. Signed-off-by: Jagan Teki --- configs/rock-pi-n10-rk3399pro_defconfig | 1 + configs/rock-pi-n8-rk3288_defconfig | 1 + 2 files changed, 2 insertions(+)

[PATCH 13/16] configs: Enable HDMI output for rock-pi-n8

2020-07-20 Thread Jagan Teki
From: Suniel Mahesh Enable config options to get HDMI output on RockPI-N8 target which hosts a RK3288-VMARC-SOM. Signed-off-by: Suniel Mahesh --- configs/rock-pi-n8-rk3288_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/rock-pi-n8-rk3288_defconfig

[PATCH 14/16] rock-pi-n10: Enable PCI/NVME

2020-07-20 Thread Jagan Teki
Enable PCI/NVME for M.2 Slot on RockPI-4 boards. => nvme info Device 0: Vendor: 0x144d Rev: 4L1QCXB7 Prod: S35FNX0J623292 Type: Hard Disk Capacity: 122104.3 MB = 119.2 GB (250069680 x 512) Signed-off-by: Jagan Teki --- configs/rock-pi-n10-rk3399pro_defconfig | 3 +++ 1

[PATCH 12/16] rk3288: rock-pi-n8: Add console settings

2020-07-20 Thread Jagan Teki
From: Suniel Mahesh Add console settings like stdin, stdout and stderr as usbkbd and vidconsole respectively for rock-pi-n8 target. This would certainly help to detect the attached video devices (like HDMI) and print the console messages on display. Signed-off-by: Suniel Mahesh ---

[PATCH 10/16] configs: Enable USB 2.0 on Rock-PI-N8

2020-07-20 Thread Jagan Teki
From: Suniel Mahesh Enable USB 2.0 and related configs for the Rock-PI-N8 target, which hosts RK3288-VMARC-SOM. Log: Bus usb@ff50: USB EHCI 1.00 Bus usb@ff54: USB DWC2 Bus usb@ff58: USB DWC2 scanning bus usb@ff50 for devices... 2 USB Device(s) found scanning bus usb@ff54 for

[PATCH 11/16] configs: Enable USB Gadget on rock-pi-n8

2020-07-20 Thread Jagan Teki
From: Suniel Mahesh Enable fastboot and USB gadget related config options for rock-pi-n8 target which hosts RK3288-VMARC-SOM . Note: Connect the Host USB cable (Type A) to rock-pi-n8 USB 3.0 port on carrier board for fastboot. Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki ---

[PATCH 07/16] configs: Enable USB host on Rock-PI-N10

2020-07-20 Thread Jagan Teki
From: Suniel Mahesh Enable USB 3.0 and 2.0 and related configs for the Rock-PI-N10 target, which hosts RK3399Pro-VMARC-SOM. Log: Bus usb@fe38: USB EHCI 1.00 Bus usb@fe3c: USB EHCI 1.00 Bus dwc3: usb maximum-speed not found Register 2000140 NbrPorts 2 Starting the controller USB XHCI

[PATCH 09/16] configs: Enable USB Gadget for rock-pi-n10

2020-07-20 Thread Jagan Teki
From: Suniel Mahesh Enable fastboot and USB gadget related config options for rock-pi-n10 target which hosts RK3399Pro-VMARC-SOM . Note: Connect the Host USB cable (Type A) to rock-pi-n10 USB 3.0 port on carrier board for fastboot. Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki ---

[PATCH 05/16] arm: dts: rockchip: Add HDMI out for RockPI N8/N10

2020-07-20 Thread Jagan Teki
This patch adds support to enable HDMI out for N10 and N8 combinations SBCs. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288-vmarc-som.dtsi| 10 ++ arch/arm/dts/rk3399pro-vmarc-som.dtsi | 12 +++ .../dts/rockchip-radxa-dalang-carrier.dtsi| 20

[PATCH 06/16] arm64: dts: rockchip: Add PCIe for RockPI N10

2020-07-20 Thread Jagan Teki
This patch adds support to enable PCIe for RockPI N10. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3399pro-vmarc-som.dtsi | 40 +-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/rk3399pro-vmarc-som.dtsi

[PATCH 08/16] configs: Enable HDMI output

2020-07-20 Thread Jagan Teki
From: Suniel Mahesh Enable config options to get HDMI output on RockPI-N10 target which hosts a RK3399Pro-VMARC-SOM. Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki --- configs/rock-pi-n10-rk3399pro_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH 03/16] ARM: dts: rockchip: Add usb host0 ohci node for rk3288

2020-07-20 Thread Jagan Teki
rk3288 and rk3288w have a usb host0 ohci controller. Although rk3288 ohci doesn't actually work on hardware, but rk3288w ohci can work well. So add usb host0 ohci node in rk3288 dtsi and the quirk in ohci platform driver will disable ohci on rk3288. Signed-off-by: Jagan Teki ---

[PATCH 04/16] ARM: dts: rockchip: Add USB for RockPI N8/N10

2020-07-20 Thread Jagan Teki
Radxa dalang carrier board has 2x USB 2.0 and 1x USB 3.0 ports. This patch adds support to enable all these USB ports for N10 and N8 combinations SBCs. Note that the USB 3.0 port on RockPI N8 combination works as USB 2.0 OTG since it is driven from RK3288. Signed-off-by: Jagan Teki ---

[PATCH 00/16] board: Add new features for ROCKPi N8/N10

2020-07-20 Thread Jagan Teki
Add new features like USB, HDMI, PCIe on ROCKPi N8/N10 boards. All dts patches are Synced from linux-next and mailing list. Any inputs? Jagan. Jagan Teki (8): ARM: dts: rockchip: Sync ROCKPi N8/N10 dts(i) from Linux ARM: dts: rockchip: Add usb host0 ohci node for rk3288 ARM: dts:

[PATCH 02/16] arm: dts: rockchip: Sync rk3288 dtsi from linux

2020-07-20 Thread Jagan Teki
From: Suniel Mahesh This sync has changes required to use HDMI CEC pin in U-Boot. Sync dts from linux v5.8-rc5 commit: "ARM: dts: rockchip: define the two possible rk3288 CEC pins" (sha1: 838980dd04e994bf81cf104fa01ae60802146b39) Signed-off-by: Suniel Mahesh Signed-off-by:

[PATCH 01/16] ARM: dts: rockchip: Sync ROCKPi N8/N10 dts(i) from Linux

2020-07-20 Thread Jagan Teki
Sync ROCKPi N8/N10 dts(i) changes from Linux. commit ("ARM: dts: rockchip: Add Radxa Rock Pi N8 initial support") Signed-off-by: Suniel Mahesh Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288-rock-pi-n8.dts| 2 +- arch/arm/dts/rk3288-vmarc-som.dtsi| 80

[PATCH] dtoc: add coverage test for unicode error

2020-07-20 Thread Walter Lozano
Add an additional test to dtoc in order improve the coverage, specifically to take into account the case of unicode error when scanning drivers. Signed-off-by: Walter Lozano --- tools/dtoc/dtb_platdata.py | 14 +++--- tools/dtoc/test_dtoc.py| 18 ++ 2 files changed,

Re: [RESEND PATCH] usb: max3420: add the gadget driver

2020-07-20 Thread Jassi Brar
On Thu, Jun 25, 2020 at 12:22 PM Jassi Brar wrote: > > On Wed, Jun 24, 2020 at 4:24 AM Marek Vasut wrote: > > > > On 6/24/20 6:53 AM, Jassi Brar wrote: > > > Hi Marek, > > > > Hi, > > > > > On Mon, Jun 15, 2020 at 6:49 PM Marek Vasut wrote: > > > > > +#define MAX3420_REG_MODE 27 > >

Re: [PATCH v2 1/2] driver: spi: add brcm iproc qspi support.

2020-07-20 Thread Jagan Teki
On Sun, May 17, 2020 at 12:54 PM Rayagonda Kokatanur wrote: > > Add brcm iproc qspi support. > > Signed-off-by: Rayagonda Kokatanur > --- > Changes from v1: > -Address review comments from Jagan Teki, > Remove flash opcode from driver and use include/linux/mtd/spi-nor.h, > Remove

Pull request: u-boot-spi/master

2020-07-20 Thread Jagan Teki
Hi Tom, PR for spinand changes. Summary: - add new series Micron SPI NAND devices (Shivamurthy) The following changes since commit 7303ba10a4a39852b9ba356fae5656b43122eec6: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86 (2020-07-20 09:25:32 -0400) are available in the Git

Re: [PATCH] Update Winbond SPI NOR Flash ID table

2020-07-20 Thread Jagan Teki
On Wed, Jul 8, 2020 at 3:17 PM stl...@winbond.com wrote: > > From f76b538a6a8081f9e21012a0de665a263cc6fa16 Mon Sep 17 00:00:00 2001 > From: Steam Lin > Date: Wed, 8 Jul 2020 16:51:41 +0800 > Subject: [PATCH] Update Winbond device ID in ID table > > Update Winbond SPI NOR Flash id table for uboot

Re: [PATCH 0/6] Add new series Micron SPI NAND devices

2020-07-20 Thread Jagan Teki
On Wed, Jul 8, 2020 at 1:37 AM wrote: > > From: Shivamurthy Shastri > > This patchset is for the new series of Micron SPI NAND devices, and the > following links are their datasheet. > > These devices are already supported in Linux Kernel. > > M78A: > [1] >

Re: [PATCH v9 2/2] board: presidio-asic: Add SPI NOR support

2020-07-20 Thread Jagan Teki
On Tue, Jun 2, 2020 at 1:56 AM Alex Nemirovsky wrote: > > Add SPI NOR support for Cortina Access > Presidio Engineering Board > > Signed-off-by: Alex Nemirovsky > CC: Jagan Teki > CC: Vignesh R > CC: Tom Rini > > --- > > Changes in v9: None > Changes in v8: None > Changes in v7: None >

Re: [PATCH v6 00/21] mtd: spi-nor-core: add xSPI Octal DTR support

2020-07-20 Thread Jagan Teki
Hi Vignesh, On Mon, Jul 13, 2020 at 1:45 PM Vignesh Raghavendra wrote: > > > > On 09/07/20 1:43 pm, Jagan Teki wrote: > > On Tue, Jul 7, 2020 at 7:00 PM Vignesh Raghavendra wrote: > >> > >> Hi Jagan, > >> > >> On 15/06/20 9:21 pm, Pratyush Yadav wrote: > >>> On 05/06/20 06:14PM, Pratyush Yadav

Re: Please pull u-boot-x86

2020-07-20 Thread Tom Rini
On Mon, Jul 20, 2020 at 11:24:41AM +0800, Bin Meng wrote: > Hi Tom, > > This PR includes the following changes for v2020.10 release: > > - dm: core: Don't show an ACPI warning if there is no ordering > - x86: Enhance MTRR functionality to support multiple CPUs > > Azure results: PASS >

[PATCH 2/2] arm64: dts: rockchip: Add Radxa ROCK Pi 4C support

2020-07-20 Thread Jagan Teki
Rock PI 4C has AP6256 Wifi/BT, PoE, miniDP, USB Host enabled GPIO pin change compared to 4B, 4C. So, add or enable difference nodes/properties in 4C dts by including common dtsi. Signed-off-by: Jagan Teki --- Note: Linux dts changes on mailing-list https://lkml.org/lkml/2020/7/20/445

[PATCH 1/2] arm64: dts: rockchip: Add ROCKPi 4A/4B support

2020-07-20 Thread Jagan Teki
Rock PI 4 has 3 variants of hardware platforms called RockPI 4A, 4B, and 4C. - Rock PI 4A has no Wif/BT. - Rock PI 4B has AP6256 Wifi/BT, PoE. - Rock PI 4C has AP6256 Wifi/BT, PoE, miniDP, USB Host enable GPIO pin change compared to 4B, 4C So move common nodes, properties into dtsi file and

Re: [PATCH v2 8/8] test: dm: add a test for class button

2020-07-20 Thread Philippe REYNES
Hi Simon, > Hi Philippe, > > On Fri, 17 Jul 2020 at 06:22, Philippe Reynes > wrote: >> >> Add a test to confirm that we can read button state >> using the button-gpio driver. >> >> Signed-off-by: Philippe Reynes >> --- >> Changelog: >> v2: >> - new commit in the serie >> >> test/dm/Makefile

RE: [PATCH] configs: ls1046aqds: Configure QSPI related configs

2020-07-20 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Kuldeep Singh >Sent: Tuesday, June 23, 2020 3:07 PM >To: u-boot@lists.denx.de >Cc: Priyanka Jain ; Kuldeep Singh > >Subject: [PATCH] configs: ls1046aqds: Configure QSPI related configs > >LS1046A-QDS has "s25fl128s" flash of size with 16M

[PATCH v3 16/17] blkcache: Extend blkcache_init to cover CONFIG_NEEDS_MANUAL_RELOC

2020-07-20 Thread Ovidiu Panait
Extend manual relocation of block_cache list pointers to all platforms that enable CONFIG_NEEDS_MANUAL_RELOC. Remove m68k-specific checks and provide a single implementation that adds gd->reloc_off to the pre-relocation pointers. Acked-by: Angelo Dureghello Tested-by: Angelo Dureghello

RE: [PATCH] configs: ls1043aqds: Configure QSPI related configs

2020-07-20 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Kuldeep Singh >Sent: Thursday, June 11, 2020 12:13 PM >To: u-boot@lists.denx.de >Cc: Priyanka Jain ; Kuldeep Singh > >Subject: [PATCH] configs: ls1043aqds: Configure QSPI related configs > >LS1043A-QDS has "s25fl128s" flash of size 16M with

[PATCH v3 15/17] common/board_r: Remove initr_serial wrapper

2020-07-20 Thread Ovidiu Panait
Remove the initr_serial->serial_initialize indirection and call serial_initialize directly. Reviewed-by: Simon Glass Signed-off-by: Ovidiu Panait --- common/board_r.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/common/board_r.c b/common/board_r.c index

[PATCH v3 14/17] drivers: serial: Make serial_initialize return int

2020-07-20 Thread Ovidiu Panait
serial_initialize is called only during the common init sequence, after relocation (in common/board_r.c). Because it has a void return value, it has to wrapped in initr_serial. In order to be able to get rid of this indirection, make serial_initialize return int. Remove extern from prototype in

[PATCH v3 17/17] common/board_r: Move blkcache_init call earlier in the boot sequence

2020-07-20 Thread Ovidiu Panait
blkcache_init manually relocates blkcache list pointers when CONFIG_NEEDS_MANUAL_RELOC is enabled. However, it is called very late in the boot sequence, which could be a problem if previous boot calls execute blkcache operations with the non-relocated pointers. For example, mmc is initialized

[PATCH v3 11/17] board_f: ppc: Factor out ppc-specific bdinfo setup

2020-07-20 Thread Ovidiu Panait
Factor out ppc-specific bdinfo setup from generic init sequence to arch_setup_bdinfo in arch/powerpc/lib/bdinfo.c. Signed-off-by: Ovidiu Panait --- arch/powerpc/lib/bdinfo.c | 25 + common/board_f.c | 36 ++-- 2 files changed, 27

[PATCH v3 03/17] Kconfig: Convert CONFIG_SYS_SRAM_SIZE to Kconfig

2020-07-20 Thread Ovidiu Panait
This converts ad-hoc CONFIG_SYS_SRAM_SIZE to Kconfig. Reviewed-by: Simon Glass Signed-off-by: Ovidiu Panait --- Kconfig | 7 +++ include/configs/devkit8000.h | 1 - include/configs/pic32mzdask.h | 2 -- include/configs/tricorder.h | 1 -

[PATCH v3 10/17] board_f: m68k: Factor out m68k-specific bdinfo setup

2020-07-20 Thread Ovidiu Panait
Factor out m68k-specific bdinfo setup to arch_setup_bdinfo in arch/m68k/lib/bdinfo.c. Also, use if(IS_ENABLED()) instead of #ifdef where possible. Signed-off-by: Ovidiu Panait --- arch/m68k/lib/bdinfo.c | 21 + common/board_f.c | 19 --- 2 files

[PATCH v3 12/17] board_f: Remove setup_board_part1

2020-07-20 Thread Ovidiu Panait
Now that all arch specific code was converted to setup_bdinfo, we can remove setup_board_part1. Signed-off-by: Ovidiu Panait --- common/board_f.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index 7eb65fc224..25e805faa1

[PATCH v3 13/17] dm: blk: Use IS_ENABLED() instead of #ifdefs in blk_post_probe

2020-07-20 Thread Ovidiu Panait
Use IS_ENABLED() instead of #ifdef in blk_post_probe function. No functional change intended. Reviewed-by: Simon Glass Signed-off-by: Ovidiu Panait --- drivers/block/blk-uclass.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/block/blk-uclass.c

[PATCH v3 04/17] Kconfig: Remove CONFIG_SYS_SRAM_START

2020-07-20 Thread Ovidiu Panait
Remove ad-hoc CONFIG_SYS_SRAM_START and use CONFIG_SYS_SRAM_BASE instead. Reviewed-by: Simon Glass Signed-off-by: Ovidiu Panait --- Kconfig | 2 ++ include/configs/devkit8000.h | 3 --- include/configs/tricorder.h | 3 --- scripts/config_whitelist.txt | 1 - 4 files

[PATCH v3 02/17] Kconfig: Convert CONFIG_SYS_SRAM_BASE to Kconfig

2020-07-20 Thread Ovidiu Panait
This converts ad-hoc CONFIG_SYS_SRAM_BASE to Kconfig. Reviewed-by: Simon Glass Signed-off-by: Ovidiu Panait --- Kconfig | 5 + include/configs/pic32mzdask.h | 1 - scripts/config_whitelist.txt | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH v3 09/17] board_f: Move sram bdinfo assignments to generic code

2020-07-20 Thread Ovidiu Panait
Move sram related bdinfo from arch-specific setup_board_part1 to generic code in setup_bdinfo. Also use "if (IS_ENABLED(CONFIG_SYS_HAS_SRAM))" instead of "#ifdef CONFIG_SYS_SRAM_BASE". Signed-off-by: Ovidiu Panait --- common/board_f.c | 12 +++- 1 file changed, 7 insertions(+), 5

[PATCH v3 08/17] board_f: Introduce board_setup_bdinfo_mem initcall

2020-07-20 Thread Ovidiu Panait
In most cases (arc, ppc, mips, sh, m68k) gd->bd->bi_memsize and gd->bd->bi_memstart are populated in a similar fashion: bd->bi_memstart = CONFIG_SYS_SDRAM_BASE; bd->bi_memsize = gd->ram_size; However, there is a special case in board/cadence/xtfpga/xtfpga.c that populates those fields in

[PATCH v3 07/17] board_f: Introduce arch_setup_bdinfo initcall

2020-07-20 Thread Ovidiu Panait
Certain architectures (ppc, mips, sh, m68k) use setup board_part1 and setup_board_part2 calls during pre-relocation init to populate gd->bd boardinfo fields. This makes the generic init sequence cluttered with arch-specific ifdefs. In order to clean these arch-specific sequences from generic

[PATCH v3 01/17] Kconfig: Introduce CONFIG_SYS_HAS_SRAM

2020-07-20 Thread Ovidiu Panait
In order to be able to replace "#ifdef CONFIG_SYS_SRAM_BASE" sequences with the IS_ENABLED() equivalent, introduce a new boolean Kconfig option that signals whether the platform has SRAM support. Reviewed-by: Simon Glass Signed-off-by: Ovidiu Panait --- Kconfig | 11 +++ 1 file

[PATCH v3 06/17] board_f: Introduce setup_bdinfo initcall

2020-07-20 Thread Ovidiu Panait
Introduce setup_bdinfo initcall as a generic routine to populate bdinfo fields. Signed-off-by: Ovidiu Panait --- common/board_f.c | 6 ++ include/init.h | 10 ++ 2 files changed, 16 insertions(+) diff --git a/common/board_f.c b/common/board_f.c index 88ff0424a7..72446f6da5

[PATCH v3 05/17] cmd: bdinfo: Move sram info prints to generic code

2020-07-20 Thread Ovidiu Panait
bi_sramstart and bi_sramsize are generic members of the bd_info structure, so move the m68k/powerpc-specific prints to generic code. Also, print them only if SRAM support is enabled via CONFIG_SYS_HAS_SRAM. Signed-off-by: Ovidiu Panait --- arch/m68k/lib/bdinfo.c| 4

Re: [PATCH v4 1/2] arm: move CONFIG_PREBOOT="usb start" to KConfig

2020-07-20 Thread Tom Rini
On Sun, Jul 19, 2020 at 03:56:31PM +0200, Jonas Smedegaard wrote: > This commit moves CONFIG_PREBOOT="usb start" to common/KConfig > for all boards also declaring USB_KEYBOARD. > > Besides simplifying defconfig files, this also enables support for > board-specific CONFIG_PREBOOT for sunxi

[PATCH v2 3/5] include/u-boot, lib/zlib: add sources for zlib decompression

2020-07-20 Thread Joao Marcos Costa
Add zlib (v1.2.11) uncompr() function to U-Boot. SquashFS depends on this function to decompress data from a raw disk image. The actual support for zlib into SquashFS sources will be added in a follow-up commit. Signed-off-by: Joao Marcos Costa --- Changes in v2: - Changed commit title

[PATCH v2 1/5] fs/squashfs: new filesystem

2020-07-20 Thread Joao Marcos Costa
Add support for SquashFS filesystem. Right now, it does not support compression but support for zlib will be added in a follow-up commit. Signed-off-by: Joao Marcos Costa --- Changes in v2: - Add info. to MAINTAINERS - Replace sqfs_ls() by U-Boot's fs_ls_generic() -

[PATCH v2 4/5] fs/squashfs: add support for zlib decompression

2020-07-20 Thread Joao Marcos Costa
Add call to zlib's 'uncompress' function. Add function to display the right error message depending on the decompression's return value. Signed-off-by: Joao Marcos Costa --- Changes in v2: - Changed commit title and message, which were wrong and/or misleading in v1.

[PATCH v2 5/5] fs/fs.c: add symbolic link case to fs_ls_generic()

2020-07-20 Thread Joao Marcos Costa
Adds an 'else if' statement inside the loop to check for symbolic links. Signed-off-by: Joao Marcos Costa --- Changes in v2: - Changed commit title and message, which were wrong and/or misleading in v1. fs/fs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/fs.c

[PATCH v2 0/5] Add support for the SquashFS filesystem

2020-07-20 Thread Joao Marcos Costa
Hello! This series adds support for the SquashFS filesystem. For now, zlib is the only supported compression type. This is my first contribution to U-Boot as well as to a major Open Source project. Changes in v2: - Replace sqfs_ls() by U-Boot's fs_ls_generic() - Add info. to

[PATCH v2 2/5] fs/squashfs: add filesystem commands

2020-07-20 Thread Joao Marcos Costa
Add 'ls' and 'load' commands. Signed-off-by: Joao Marcos Costa --- Changes in v2: - Add info. to MAINTAINERS - Add 'static' keyword to do_sqfs_*(). These functions' prototypes are no longer needed in include/fs.h. - Change commit message. MAINTAINERS | 1 +

Re: [PATCH 07/10] compiler*.h: sync include/linux/compiler*.h with Linux 5.7-rc5

2020-07-20 Thread Tom Rini
On Mon, Jul 20, 2020 at 01:33:30PM +0530, Jagan Teki wrote: > On Thu, May 14, 2020 at 6:03 PM Tom Rini wrote: > > > > Copy these from Linux v5.7-rc5 tag. > > > > This brings in some handy new attributes and is otherwise important to > > keep in sync. > > > > We drop the reference to

Re: [PATCH v2 1/1] Dockerfile: provide kernel for libguestfs-tools

2020-07-20 Thread Tom Rini
On Mon, Jul 20, 2020 at 08:26:14AM +0200, Heinrich Schuchardt wrote: > On 7/15/20 12:10 AM, Tom Rini wrote: > > On Wed, Jul 15, 2020 at 12:00:25AM +0200, Heinrich Schuchardt wrote: > >> Am 14. Juli 2020 23:28:21 MESZ schrieb Tom Rini : > >>> On Tue, Jul 14, 2020 at 08:18:56AM +0200, Heinrich

Re: [PATCH v2] mkimage: Fix error message if write less data then expected

2020-07-20 Thread Mylene Josserand
Hello, On 7/17/20 10:58 PM, Tom Rini wrote: On Wed, Jul 08, 2020 at 11:52:50AM +0200, Mylène Josserand wrote: Add a new error message in case the size of data written are shorter than the one expected. Currently, it will lead to the following error message: "mkimage: Write error on uImage:

[PATCH] find dtb in android boot image with header version 2 during bootm

2020-07-20 Thread chenshuo
This patch is about bootm process, android boot image and device tree. Android 10 updates the boot image header to version 2, which includes a section to store the device tree blob (DTB) image. include/android_image.h has updated the struct andr_img_hdr, but not used in bootm process. This patch

[PATCH v2 03/18] xen: Add essential and required interface headers

2020-07-20 Thread Anastasiia Lukianenko
From: Oleksandr Andrushchenko Add essential and required Xen interface headers only taken from the stable Linux kernel stable/linux-5.7.y at commit 66dfe4522160 Linux 5.7.5. These are better suited for U-boot than the original headers from Xen as they are the stripped versions of the same. At

Re: [PATCH] bcmgenet: fix DMA buffer management

2020-07-20 Thread Etienne Dublé
Hi Jason, Thanks for testing and for the additional fix. In my case (with dhcp followed by 3 TFTP transfers), the board booted fine 20 times in a row with only my fix applied. Previously it was booting once in 10 trials or so. The driver resets tx_index in bcmgenet_gmac_eth_send() if it is

[PATCH 0/1] Fix SPL_EARLY_BSS applying to normal build

2020-07-20 Thread Brian Moyer
SPL_CLEAR_BSS is called regardless of build type if CONFIG_SPL_EARLY_BSS is defined. This seems to break u-boot proper and doesn't seem like the correct behavior. Brian Moyer (1): arm: Add SPL build check to SPL early bss clear arch/arm/lib/crt0.S | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 1/1] arm: Add SPL build check to SPL early bss clear

2020-07-20 Thread Brian Moyer
SPL_CLEAR_BSS is called regardless of build type if CONFIG_SPL_EARLY_BSS is defined. Add a guard for CONFIG_SPL_BUILD to fix. Signed-off-by: Brian Moyer --- arch/arm/lib/crt0.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S index

[PATCH v2 18/18] doc: xen: Add Xen guest ARM64 board documentation

2020-07-20 Thread Anastasiia Lukianenko
From: Anastasiia Lukianenko Signed-off-by: Anastasiia Lukianenko --- doc/board/index.rst | 1 + doc/board/xen/index.rst | 9 doc/board/xen/xenguest_arm64.rst | 81 3 files changed, 91 insertions(+) create mode 100644

[PATCH v2 17/18] board: xen: De-initialize before jumping to Linux

2020-07-20 Thread Anastasiia Lukianenko
From: Oleksandr Andrushchenko Free resources used by Xen board before jumping to Linux kernel. Signed-off-by: Oleksandr Andrushchenko Signed-off-by: Anastasiia Lukianenko Reviewed-by: Simon Glass --- board/xen/xenguest_arm64/xenguest_arm64.c | 6 ++ drivers/xen/hypervisor.c

[PATCH v2 16/18] xen: pvblock: Print found devices indices

2020-07-20 Thread Anastasiia Lukianenko
From: Anastasiia Lukianenko Signed-off-by: Oleksandr Andrushchenko Signed-off-by: Anastasiia Lukianenko Reviewed-by: Simon Glass --- drivers/xen/pvblock.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/xen/pvblock.c b/drivers/xen/pvblock.c index

[PATCH v2 12/18] xen: pvblock: Add initial support for para-virtualized block driver

2020-07-20 Thread Anastasiia Lukianenko
From: Anastasiia Lukianenko Add initial infrastructure for Xen para-virtualized block device. This includes compile-time configuration and the skeleton for the future driver implementation. Add new class UCLASS_PVBLOCK which is going to be a parent for virtual block devices. Add new interface

[PATCH v2 15/18] xen: pvblock: Implement front-back protocol and do IO

2020-07-20 Thread Anastasiia Lukianenko
From: Anastasiia Lukianenko Implement Xen para-virtual frontend to backend communication and actually read/write disk data. This is based on mini-os implementation of the para-virtual block frontend driver. Signed-off-by: Oleksandr Andrushchenko Signed-off-by: Anastasiia Lukianenko ---

[PATCH v2 14/18] xen: pvblock: Read XenStore configuration and initialize

2020-07-20 Thread Anastasiia Lukianenko
From: Anastasiia Lukianenko Read essential virtual block device configuration data from XenStore, initialize front ring and event channel. Update block device description with actual block size. Use code for XenStore from mini-os. Signed-off-by: Oleksandr Andrushchenko Signed-off-by:

[PATCH v2 13/18] xen: pvblock: Enumerate virtual block devices

2020-07-20 Thread Anastasiia Lukianenko
From: Anastasiia Lukianenko Enumerate Xen virtual block devices found in XenStore and instantiate pvblock devices. Signed-off-by: Oleksandr Andrushchenko Signed-off-by: Anastasiia Lukianenko --- drivers/xen/pvblock.c | 112 +- 1 file changed, 110

[PATCH v2 10/18] xen: Port Xen bus driver from mini-os

2020-07-20 Thread Anastasiia Lukianenko
From: Oleksandr Andrushchenko Make required updates to run on u-boot and strip test code. Signed-off-by: Anastasiia Lukianenko Signed-off-by: Oleksandr Andrushchenko --- arch/arm/Kconfig | 1 + board/xen/xenguest_arm64/xenguest_arm64.c | 16 +-

[PATCH v2 11/18] xen: Port Xen grant table driver from mini-os

2020-07-20 Thread Anastasiia Lukianenko
From: Oleksandr Andrushchenko Make required updates to run on u-boot. Signed-off-by: Oleksandr Andrushchenko Signed-off-by: Anastasiia Lukianenko --- board/xen/xenguest_arm64/xenguest_arm64.c | 13 ++ drivers/xen/Makefile | 1 + drivers/xen/gnttab.c

[PATCH v2 09/18] lib: sscanf: add sscanf implementation

2020-07-20 Thread Anastasiia Lukianenko
From: Andrii Anisov Port sscanf implementation from mini-os and introduce new Kconfig option to enable it: CONFIG_SSCANF. Disable by default. Signed-off-by: Andrii Anisov Signed-off-by: Anastasiia Lukianenko Signed-off-by: Oleksandr Andrushchenko --- include/vsprintf.h | 8 + lib/Kconfig

[PATCH v2 08/18] linux/compat.h: Add wait_event_timeout macro

2020-07-20 Thread Anastasiia Lukianenko
From: Oleksandr Andrushchenko Add wait_event_timeout - sleep until a condition gets true or a timeout elapses. This is a stripped version of the same from Linux kernel with the following u-boot specific modifications: - no wait queues supported - use u-boot timer to detect timeouts - check for

[PATCH v2 07/18] serial: serial_xen: Add Xen PV serial driver

2020-07-20 Thread Anastasiia Lukianenko
From: Peng Fan Add support for Xen para-virtualized serial driver. This driver fully supports serial console for the virtual machine. Please note that as the driver is initialized late, so no banner nor memory size is visible. Signed-off-by: Peng Fan Signed-off-by: Oleksandr Andrushchenko

[PATCH v2 02/18] Kconfig: Introduce CONFIG_XEN

2020-07-20 Thread Anastasiia Lukianenko
From: Peng Fan Introduce CONFIG_XEN to make U-Boot could be used as bootloader for a virtual machine. Without bootloader, we could successfully boot up android on XEN, but we need need bootloader to support A/B, dm verify and etc. Signed-off-by: Peng Fan Signed-off-by: Oleksandr Andrushchenko

  1   2   >