Re: [U-Boot] [PATCH v3 09/11] riscv: hang if relocation of secondary harts fails

2019-03-18 Thread Bin Meng
On Mon, Mar 18, 2019 at 2:29 AM Lukas Auer wrote: > > Print an error message and hang if smp_call_function() returns an error, > indicating that relocation of the secondary harts has failed. > > Signed-off-by: Lukas Auer > --- > > Changes in v3: > - New patch to hang if relocation of secondary

Re: [U-Boot] [PATCH] arm: kirkwood: lsxl: disable dcache

2019-03-18 Thread Chris Packham
On Mon, Mar 18, 2019 at 7:08 AM Michael Walle wrote: > > Both the network as well as the USB driver are not working with the > data cache enabled. > > Signed-off-by: Michael Walle > --- > include/configs/lsxl.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/lsxl.h

Re: [U-Boot] [PATCH] Revert "cmd: Kconfig: Do not include EEPROM if DM_I2C is used without DM_I2C_COMPAT"

2019-03-18 Thread Lukasz Majewski
On Fri, 15 Mar 2019 20:02:25 +0100 Simon Goldschmidt wrote: > Tom, > > (adding Lukasz as he authored the DM fix 0c07a9b4078d) > > Am 14.03.2019 um 21:57 schrieb Simon Goldschmidt: > > This reverts commit 65a97e7fcf54feb7c4ebe1aee8a572830af4cf51. > > > > The 'eeprom' command has been converted

Re: [U-Boot] [PATCH v3 05/11] riscv: save hart ID in register tp instead of s0

2019-03-18 Thread Anup Patel
> -Original Message- > From: Lukas Auer > Sent: Sunday, March 17, 2019 11:59 PM > To: u-boot@lists.denx.de > Cc: Anup Patel ; Andreas Schwab > ; Bin Meng ; Atish Patra > ; Palmer Dabbelt ; Lukas Auer > ; Atish Patra ; > Anup Patel ; Rick Chen > Subject: [PATCH v3 05/11] riscv: save

[U-Boot] [PATCH v3] usb: host: Print device name when scanning

2019-03-18 Thread Ismael Luceno Cortes
Drop the counter, it has no meaning other than being the order in which the interface is found; the name assigned to the USB host controller interface is a better indicator. Example of the original output: > USB0: USB EHCI 1.10 > scanning bus 0 for devices... 2 USB Device(s) found >

Re: [U-Boot] mpc85xx, mpc86xx: device tree model

2019-03-18 Thread York Sun
> @York: Do you work on such an adaption? May we can share efforts? Heiko, I am off software team for the time being. York ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [V4 3/3] sunxi: Use clrsetbits_le32 instead of multiple instruction

2019-03-18 Thread Andre Przywara
On Mon, 18 Mar 2019 15:17:47 +0530 Shyam Saini wrote: Hi, > From: Michael Trimarchi > > This will improve code readabilty Somehow this patch looks horribly wrong, it doesn't even compile. See below. Are you sure you sent the right version? > Signed-off-by: Michael Trimarchi >

Re: [U-Boot] rpi: bcm2835_sdhost: occasional errors while writing

2019-03-18 Thread Matthias Brugger
On 05/03/2019 13:36, Zubair Lutfullah Kakakhel wrote: > On Mon, Feb 25, 2019 at 10:43 AM Zubair Lutfullah Kakakhel > wrote: >> >> Hi, >> >> I've encountered occasional glitches while writing to the sd card >> via u-boot(2018.07) on a Pi 3 B+. The goal is to write the bootcount >> in the boot

Re: [U-Boot] Subject

2019-03-18 Thread Eugeniu Rosca
Hi Paul, hello Marek, On Mon, Mar 18, 2019 at 11:12:02AM +0100, Paul Kocialkowski wrote: > Hi, > > Le lundi 18 mars 2019 à 10:56 +0100, Eugeniu Rosca a écrit : > > Hi Marek, Paul, cc: Alex > > > > jFYI/FWIW, reverting [1-2] allows getting rid of below warnings on > > R-Car3, when running basic

Re: [U-Boot] [PATCH v3 09/11] riscv: hang if relocation of secondary harts fails

2019-03-18 Thread Anup Patel
> -Original Message- > From: Lukas Auer > Sent: Sunday, March 17, 2019 11:59 PM > To: u-boot@lists.denx.de > Cc: Anup Patel ; Andreas Schwab > ; Bin Meng ; Atish Patra > ; Palmer Dabbelt ; Lukas Auer > ; Atish Patra ; > Anup Patel ; Rick Chen > Subject: [PATCH v3 09/11] riscv: hang if

Re: [U-Boot] [PATCH 07/11] board: ti: am335x: Add platdata for cpsw in SPL

2019-03-18 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:37PM +0530, Faiz Abbas wrote: > The SPL image overflows when cpsw dt nodes are added and SPL_OF_CONTROL > is enabled. Use static platdata instead to save space. > > Signed-off-by: Faiz Abbas We don't have SPL_OF_CONTROL enabled, yet, on am335x_evm. Do you have

Re: [U-Boot] [PATCH 08/11] configs: am335x_evm: Reduce size of SPL

2019-03-18 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:38PM +0530, Faiz Abbas wrote: > Make some room in SPL by getting rid of unnecessary configs. I'm not sure about some of these. > @@ -31,6 +32,7 @@ CONFIG_OF_CONTROL=y > CONFIG_DEFAULT_DEVICE_TREE="am335x-evm" > CONFIG_OF_LIST="am335x-evm am335x-bone

Re: [U-Boot] [PATCH 10/11] configs: am335x_evm: Update VCI String

2019-03-18 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:40PM +0530, Faiz Abbas wrote: > Update VCI string to keep it compatible with legacy test setups. > > Signed-off-by: Faiz Abbas Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature ___ U-Boot mailing

Re: [U-Boot] [PATCH 00/11] Fix Ethernet boot in am335x

2019-03-18 Thread Tom Rini
On Mon, Mar 18, 2019 at 01:54:30PM +0530, Faiz Abbas wrote: > The following patches fix ethernet boot in am335x. > > Enabling OF_CONTROL in SPL makes it overflow the sram size. To avoid > this, I am using static platdata in the am335x board file instead of > the fdtdec_*() calls used in

Re: [U-Boot] [RESEND][PATCH v1 3/4] board: stm32mp1: Add tx_fifo_sz_array support

2019-03-18 Thread Patrice CHOTARD
Hi Marek +Patrick On 3/14/19 1:00 PM, Marek Vasut wrote: > On 3/14/19 11:51 AM, Patrice Chotard wrote: >> Allows to use an array of tx-fifo-size defined in device tree >> as following: >>g-tx-fifo-size = <128 128 64 64 64 64 32 32>; >> >> Signed-off-by: Patrice Chotard >> --- >> >>

Re: [U-Boot] [V4 3/3] sunxi: Use clrsetbits_le32 instead of multiple instruction

2019-03-18 Thread Michael Nazzareno Trimarchi
Hi On Mon, Mar 18, 2019 at 4:56 PM Andre Przywara wrote: > > On Mon, 18 Mar 2019 15:17:47 +0530 > Shyam Saini wrote: > > Hi, > > > From: Michael Trimarchi > > > > This will improve code readabilty > > Somehow this patch looks horribly wrong, it doesn't even compile. See > below. Are you sure

Re: [U-Boot] [U-Boot, 2/2] usb: gadget: fastboot: Dequeue the previous IN request for the current request

2019-03-18 Thread Eugeniu Rosca
-bouncing e-mails cc: Łukasz On Mon, Mar 18, 2019 at 06:15:48PM +0100, Eugeniu Rosca wrote: > Hi Paul, hello Marek, > > On Mon, Mar 18, 2019 at 11:12:02AM +0100, Paul Kocialkowski wrote: > > Hi, > > > > Le lundi 18 mars 2019 à 10:56 +0100, Eugeniu Rosca a écrit : > > > Hi Marek, Paul, cc: Alex

Re: [U-Boot] i.MX6 Code Consolidation suggestion/question

2019-03-18 Thread Fabio Estevam
On Wed, Mar 13, 2019 at 6:36 PM Adam Ford wrote: > I am using the sabresd board as the model for board_init_f and placing > it into mach-imx/spl.c > > I am running into an implicit declaration warning because I we're > going to call spl_dram_init which is in the board file. I was curious > to

Re: [U-Boot] [RESEND][PATCH v1 2/4] usb: dwc2_udc_otg: Add tx_fifo_sz array support

2019-03-18 Thread Patrice CHOTARD
Hi Marek On 3/14/19 12:59 PM, Marek Vasut wrote: > On 3/14/19 11:51 AM, Patrice Chotard wrote: >> All TX fifo size can be different, add tx_fifo_sz_array[] >> into dwc2_plat_otg_data to be able to set them. >> >> tx_fifo_sz_array[] is 17 Bytes long and can contains max 16 >> tx fifo size

Re: [U-Boot] [PATCH] p2371-2180: Build position independent binary

2019-03-18 Thread Stephen Warren
On 3/8/19 1:10 PM, Thierry Reding wrote: From: Thierry Reding In order to support chainloading of U-Boot by an earlier bootloader, make sure the binary is position independent, so that the earlier boot- loader can relocate it if necessary. Why not enable this for all 64-bit Tegra? They're

Re: [U-Boot] Odroid U3 - Upgrade to latest u-boot kernel load fails.

2019-03-18 Thread Anand Moon
Hi Krzysztof, On Mon, 18 Mar 2019 at 23:33, Krzysztof Kozlowski wrote: > > On Mon, 18 Mar 2019 at 18:49, Anand Moon wrote: > > > > Hi Krzysztof, > > > > On Mon, 18 Mar 2019 at 18:20, Krzysztof Kozlowski wrote: > > > > > > On Mon, 18 Mar 2019 at 13:32, Anand Moon wrote: > > > > > > > > Hi

Re: [U-Boot] [5/5] arm: ti: boot: Implement Android boot using DT image format

2019-03-18 Thread Eugeniu Rosca
On Thu, Mar 14, 2019 at 04:19:31PM +0100, Eugeniu Rosca wrote: [..] > > Both 'mkdtimg' tool and the 'mkdtboimg.py' script seem to lack the > capability of extracting the original dtb/dtbo blobs from the > dtb{o}.img file. [..] jFTR, below 'dd' workaround comes to the rescue. $ dd

Re: [U-Boot] [RESEND][PATCH v1 3/4] board: stm32mp1: Add tx_fifo_sz_array support

2019-03-18 Thread Marek Vasut
On 3/18/19 5:59 PM, Patrice CHOTARD wrote: > Hi Marek > > +Patrick > > On 3/14/19 1:00 PM, Marek Vasut wrote: >> On 3/14/19 11:51 AM, Patrice Chotard wrote: >>> Allows to use an array of tx-fifo-size defined in device tree >>> as following: >>>g-tx-fifo-size = <128 128 64 64 64 64 32 32>;

Re: [U-Boot] [PATCH 1/1] cmd: usb: display bus number

2019-03-18 Thread Heinrich Schuchardt
Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview:

Re: [U-Boot] Odroid U3 - Upgrade to latest u-boot kernel load fails.

2019-03-18 Thread Krzysztof Kozlowski
On Mon, 18 Mar 2019 at 18:49, Anand Moon wrote: > > Hi Krzysztof, > > On Mon, 18 Mar 2019 at 18:20, Krzysztof Kozlowski wrote: > > > > On Mon, 18 Mar 2019 at 13:32, Anand Moon wrote: > > > > > > Hi Krzysztof / Marek, > > > > > > After I update the latest u-boot on my Odroud U3+ it fails to load

[U-Boot] [PATCH 1/1] efi_loader: correct parameter size in efi_allocate_pool

2019-03-18 Thread Heinrich Schuchardt
efi_allocate_pages() expects a (uint64_t *) pointer to pass the address of the assigned memory. If we pass the address of a pointer here, an illegal memory access occurs on 32bit systems. Fixes: 282a06cbcae8 ("efi_loader: Expose U-Boot addresses in memory map for sandbox") Signed-off-by: Heinrich

Re: [U-Boot] [BUG] efi_loader: self-tests fail on qemu-x86_defconfig when compiled with GCC 8.3 and CONFIG_CC_OPTIMIZE_FOR_SIZE=y

2019-03-18 Thread Heinrich Schuchardt
On 3/11/19 4:17 AM, Bin Meng wrote: > HI Heinrich, > > On Mon, Mar 11, 2019 at 10:11 AM Heinrich Schuchardt > wrote: >> >> Debian has recently (march 8th) upgraded GCC from 8.2 to 8.3. >> >> When I compile qemu-x86_defconfig with CONFIG_CC_OPTIMIZE_FOR_SIZE=y >> some of the UEFI selftests

Re: [U-Boot] [PATCH v3 3/7] common: Implement A/B metadata

2019-03-18 Thread Eugeniu Rosca
I received the following bounce: > Thank you for your email. > > Igor Opaniuk no longer works for Linaro. > > If your email is related to Linaro business, please use the Contact > form (https://www.linaro.org/contact/) if you do not have another > Linaro email address to use. I hope this is a

Re: [U-Boot] [PATCH 1/1] cmd: usb: display bus number

2019-03-18 Thread Marek Vasut
On 3/18/19 9:05 PM, Heinrich Schuchardt wrote: > On 1/2/19 7:33 PM, Heinrich Schuchardt wrote: >> On 1/2/19 5:37 PM, Marek Vasut wrote: >>> On 1/2/19 5:03 PM, Heinrich Schuchardt wrote: On 1/2/19 3:21 PM, Marek Vasut wrote: > On 1/2/19 12:29 PM, Heinrich Schuchardt wrote: >> If

Re: [U-Boot] [PATCH v3 3/7] common: Implement A/B metadata

2019-03-18 Thread Bajjuri, Praneeth
Eugeniu, On 3/18/2019 3:21 PM, Eugeniu Rosca wrote: I received the following bounce: Thank you for your email. Igor Opaniuk no longer works for Linaro. If your email is related to Linaro business, please use the Contact form (https://www.linaro.org/contact/) if you do not have another

Re: [U-Boot] Odroid U3 - Upgrade to latest u-boot kernel load fails.

2019-03-18 Thread Anand Moon
Hi Krzysztof, On Mon, 18 Mar 2019 at 18:20, Krzysztof Kozlowski wrote: > > On Mon, 18 Mar 2019 at 13:32, Anand Moon wrote: > > > > Hi Krzysztof / Marek, > > > > After I update the latest u-boot on my Odroud U3+ it fails to load the > > kernel it hangs. > > I am using Archlinux on Odroid U3. > >

Re: [U-Boot] [PATCH v3 3/7] common: Implement A/B metadata

2019-03-18 Thread Eugeniu Rosca
jFYI/FWIW, AOSP U-Boot [1] seems to currently import the bootloader message header [2] at least twice: - as include/android_bl_msg.h via https://android.googlesource.com/platform/external/u-boot/+/86a4b492b5db%5E!/ - as include/android_bootloader_message.h via

Re: [U-Boot] Odroid U3 - Upgrade to latest u-boot kernel load fails.

2019-03-18 Thread Anand Moon
Hi Krzysztof, On Mon, 18 Mar 2019 at 23:33, Krzysztof Kozlowski wrote: > > On Mon, 18 Mar 2019 at 18:49, Anand Moon wrote: > > > > Hi Krzysztof, > > > > On Mon, 18 Mar 2019 at 18:20, Krzysztof Kozlowski wrote: > > > > > > On Mon, 18 Mar 2019 at 13:32, Anand Moon wrote: > > > > > > > > Hi

[U-Boot] [PATCH 00/17] Convert some imx6 boards to DM_VIDEO

2019-03-18 Thread Anatolij Gustschin
This series starts conversion of ipuv3 driver to DM_VIDEO. It has been tested on apalis_imx6 module with LVDS display attached and on wandboard with HDMI display. With applied "[PATCH 17/17] imx6: wandboard: convert to DM_MMC" building wandboard target doesn't work. To fix this please apply

[U-Boot] [PATCH v2 15/15] ARM: tegra: Add NVIDIA Jetson Nano Developer Kit support

2019-03-18 Thread Thierry Reding
From: Thierry Reding The Jetson Nano Developer Kit is a Tegra X1 based development board. It is similar to Jetson TX1 but it is not pin compatible. It features 4 GB of LPDDR4, an SPI NOR flash for early boot firmware and an SD card slot used for storage. HDMI 2.0 or DP 1.2 are available for

[U-Boot] [PATCH v2 13/15] ARM: tegra: Implement cboot_save_boot_params() in C

2019-03-18 Thread Thierry Reding
From: Thierry Reding This is easier to deal with and works just as well for this simple function. Signed-off-by: Thierry Reding --- arch/arm/mach-tegra/Makefile | 2 +- arch/arm/mach-tegra/cboot.c| 12 arch/arm/mach-tegra/cboot_ll.S | 20 3 files

Re: [U-Boot] [PATCH 1/3] thermal: Add multiple instance support

2019-03-18 Thread Simon Glass
Hi Keerthy, On Mon, 11 Mar 2019 at 14:13, Keerthy wrote: > > Currently single instance temperature read out is supported. > Enhance the same to support multiple instances. > > Signed-off-by: Keerthy > --- > arch/arm/mach-imx/cpu.c | 2 +- > drivers/mmc/omap_hsmmc.c | 2 +- >

Re: [U-Boot] [PATCH] misc: fs_loader: Replace label with DT phandle

2019-03-18 Thread Simon Glass
Hi Tien Fong, On Mon, 11 Mar 2019 at 12:28, Chee, Tien Fong wrote: > > On Sun, 2019-03-10 at 15:51 -0600, Simon Glass wrote: > > Hi Tien Fong, > > > > On Tue, 26 Feb 2019 at 05:37, Chee, Tien Fong > om> wrote: > > > > > > > > > On Fri, 2019-02-15 at 14:35 +0800, tien.fong.c...@intel.com wrote:

[U-Boot] [PATCH 05/17] apalis_imx6: convert to DM_VIDEO

2019-03-18 Thread Anatolij Gustschin
Enable DM_VIDEO in defconfig. Signed-off-by: Anatolij Gustschin --- configs/apalis_imx6_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/apalis_imx6_defconfig b/configs/apalis_imx6_defconfig index 60ca8a5147..06695208bc 100644 ---

[U-Boot] [PATCH 13/17] imx6: wandboard: convert to DM_USB

2019-03-18 Thread Anatolij Gustschin
Drop CONFIG_USB_MAX_CONTROLLER_COUNT and enable DM_USB in defconfig. Signed-off-by: Anatolij Gustschin --- configs/wandboard_defconfig | 1 + include/configs/wandboard.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/wandboard_defconfig b/configs/wandboard_defconfig

[U-Boot] [PATCH 10/17] mx6sabreauto: convert to DM_VIDEO

2019-03-18 Thread Anatolij Gustschin
Enable DM_VIDEO in defconfig. Signed-off-by: Anatolij Gustschin --- configs/mx6sabreauto_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/mx6sabreauto_defconfig b/configs/mx6sabreauto_defconfig index e52ad368d2..bcb3f314b1 100644 ---

[U-Boot] [PATCH 07/17] imx6: ge_bx50v3: convert to DM_VIDEO

2019-03-18 Thread Anatolij Gustschin
Enable DM_VIDEO in defconfig. Signed-off-by: Anatolij Gustschin --- configs/ge_bx50v3_defconfig | 2 +- include/configs/ge_bx50v3.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/configs/ge_bx50v3_defconfig b/configs/ge_bx50v3_defconfig index 91782b06a8..da8a5ee28d 100644

[U-Boot] [PATCH 11/17] imx6: wandboard: add device tree

2019-03-18 Thread Anatolij Gustschin
Add device trees from Linux in preparation for driver model conversions. Signed-off-by: Anatolij Gustschin --- arch/arm/dts/imx6dl-wandboard-revb1.dts | 18 ++ arch/arm/dts/imx6qdl-wandboard-revb1.dtsi | 41 arch/arm/dts/imx6qdl-wandboard.dtsi | 279 ++

[U-Boot] [PATCH 09/17] mx6sabresd: convert to DM_VIDEO

2019-03-18 Thread Anatolij Gustschin
Enable DM_VIDEO in defconfig. Signed-off-by: Anatolij Gustschin --- configs/mx6sabresd_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig index ea34217e1c..825218c0d6 100644 --- a/configs/mx6sabresd_defconfig

Re: [U-Boot] [PATCH 2/6] fdtdec: Implement fdtdec_get_max_phandle()

2019-03-18 Thread Simon Glass
Hi Thierry, On Mon, 11 Mar 2019 at 17:27, Thierry Reding wrote: > > On Sun, Mar 10, 2019 at 03:51:31PM -0600, Simon Glass wrote: > > Hi Thierry, > > > > On Fri, 8 Mar 2019 at 13:11, Thierry Reding > > wrote: > > > > > > From: Thierry Reding > > > > > > This function allows looking up the

Re: [U-Boot] [PATCH v2] of-platdata: improve documentation

2019-03-18 Thread Simon Glass
Hi Adam, On Wed, 13 Feb 2019 at 05:14, Adam Ford wrote: > > On Mon, Jan 21, 2019 at 12:26 PM wrote: > > > > On Wed, 16 Jan 2019 at 12:40, Simon Goldschmidt > > wrote: > > > > > > Improve some things in the documentation of OF_PLATDATA that I found > > > while porting socfgpa_gen5 to it. > >

Re: [U-Boot] [PATCH 3/6] fdtdec: Implement fdtdec_set_phandle()

2019-03-18 Thread Simon Glass
Hi Thierry, On Mon, 11 Mar 2019 at 18:04, Thierry Reding wrote: > > On Sun, Mar 10, 2019 at 03:51:40PM -0600, Simon Glass wrote: > > Hi Thierry, > > > > On Fri, 8 Mar 2019 at 13:11, Thierry Reding > > wrote: > > > > > > From: Thierry Reding > > > > > > This function can be used to set a

Re: [U-Boot] [PATCH 4/6] fdtdec: Implement fdtdec_add_reserved_memory()

2019-03-18 Thread Simon Glass
Hi Thierry, On Mon, 11 Mar 2019 at 18:06, Thierry Reding wrote: > > On Sun, Mar 10, 2019 at 03:51:42PM -0600, Simon Glass wrote: > > On Fri, 8 Mar 2019 at 13:11, Thierry Reding > > wrote: > > > > > > From: Thierry Reding > > > > > > This function can be used to add subnodes in the

[U-Boot] [PATCH 17/17] imx6: wandboard: convert to DM_MMC

2019-03-18 Thread Anatolij Gustschin
Move SDHC init to SPL code since it is not required with DM_MMC. Enable DM_MMC support. Signed-off-by: Anatolij Gustschin --- board/wandboard/spl.c | 92 +++ board/wandboard/wandboard.c | 97 - configs/wandboard_defconfig

[U-Boot] [PATCH 08/17] colibri_imx6: convert to DM_VIDEO

2019-03-18 Thread Anatolij Gustschin
Enable DM_VIDEO in defconfig. Signed-off-by: Anatolij Gustschin --- configs/colibri_imx6_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/colibri_imx6_defconfig b/configs/colibri_imx6_defconfig index 611f9f0950..bf05c68807 100644 ---

[U-Boot] [PATCH 14/17] imx6: wandboard: convert to DM_VIDEO

2019-03-18 Thread Anatolij Gustschin
Enable DM_VIDEO in defconfig. Signed-off-by: Anatolij Gustschin --- configs/wandboard_defconfig | 2 +- include/configs/wandboard.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/configs/wandboard_defconfig b/configs/wandboard_defconfig index 9e13d7f67c..c4018cce4a 100644

[U-Boot] [PATCH v2 12/15] ARM: tegra: Unify Tegra186 builds

2019-03-18 Thread Thierry Reding
From: Thierry Reding Tegra186 build are currently dealt with in very special ways, which is because Tegra186 is fundamentally different in many respects. It is no longer necessary to do many of the low-level programming because early boot firmware will already have taken care of it.

[U-Boot] [PATCH v2 09/15] ARM: tegra: Support TZ-only access to PMC

2019-03-18 Thread Thierry Reding
From: Thierry Reding Some devices may restrict access to the PMC to TrustZone software only. Non-TZ software can detect this and use SMC calls to the firmware that runs in the TrustZone to perform accesses to PMC registers. Note that this also fixes reset_cpu() and the enterrcm command on

[U-Boot] [PATCH v2 10/15] ARM: tegra: Workaround UDC boot issues only if necessary

2019-03-18 Thread Thierry Reding
From: Thierry Reding Resetting the USB device controller on boot is only necessary if the SoC actually has a UDC controller and U-Boot enables support for it. All the Tegra boards support UDC via the ChipIdea UDC driver, so make the UDC on boot workaround depend on the ChipIdea UDC driver. This

[U-Boot] [PATCH v2 11/15] ARM: tegra: Restore DRAM bank count

2019-03-18 Thread Thierry Reding
From: Thierry Reding Commit 86cf1c82850f ("configs: Migrate CONFIG_NR_DRAM_BANKS") reduced the number of DRAM banks supported by U-Boot from 1026 to 8 on P2771-000 boards. However, as explained in commit a9819b9e33bd ("ARM: tegra: p2771-000: increase max DRAM bank count"), the platform can have

[U-Boot] [PATCH v2 14/15] ARM: tegra: Implement cboot_get_ethaddr()

2019-03-18 Thread Thierry Reding
From: Thierry Reding This function will attempt to look up an ethernet address in the DTB that was passed in from cboot. It does so by first trying to locate the primary ethernet device for the board (identified by the "ethernet" alias) and if found, reads the "local-mac-address" property. If

[U-Boot] [PATCH v2 08/15] ARM: tegra: Allow boards to override boot target devices

2019-03-18 Thread Thierry Reding
From: Thierry Reding Boards may not support all the boot target devices in the default list for Tegra devices. Allow a board to override the list and default to the standard list only if the board hasn't specified one itself. Signed-off-by: Thierry Reding ---

Re: [U-Boot] [PATCH] dm: remove pre reloc properties in SPL and TPL device tree

2019-03-18 Thread Simon Glass
Hi Patrick, On Mon, 11 Feb 2019 at 19:50, Patrick Delaunay wrote: > > We can remove the pre reloc property in SPL and TPL device-tree: > - u-boot,dm-pre-reloc > - u-boot,dm-spl > - u-boot,dm-tpl > As only the needed node are kept by fdtgrep (1st pass). > > The associated function (XXX_pre_reloc)

Re: [U-Boot] [PATCH 4/5] test/py: mmc: Add 'mmc info' test

2019-03-18 Thread Simon Glass
On Thu, 14 Mar 2019 at 00:49, Marek Vasut wrote: > > Add test for 'mmc info' subcommand. This tests whether the card > information is obtained correctly and verifies the device, bus > speed, bus mode and bus width. > > Signed-off-by: Marek Vasut > Cc: Tom Rini > Cc: Simon Glass > --- >

Re: [U-Boot] [PATCH 5/6] spl: support using full malloc with SYS_MALLOC_F_LEN

2019-03-18 Thread Simon Glass
Hi Simon, On Tue, 12 Mar 2019 at 05:35, Simon Goldschmidt wrote: > > Some platforms (like socfpga A10) need a big hep before SDRAM is available > (e.g. because FAT is used). For such platforms, simple_malloc is often not > a good option as it does not support freeing memory. These platforms

Re: [U-Boot] [PATCH 1/5] test/py: mmc: Factor out device selection

2019-03-18 Thread Simon Glass
On Thu, 14 Mar 2019 at 00:49, Marek Vasut wrote: > > Factor out the 'mmc dev' call so it can be recycled by other tests. > > Signed-off-by: Marek Vasut > Cc: Tom Rini > Cc: Simon Glass > --- > test/py/tests/test_mmc_rd.py | 38 +--- > 1 file changed, 27

Re: [U-Boot] [PATCH 5/5] test/py: mmc: Add 'mmc read' performance check

2019-03-18 Thread Simon Glass
On Thu, 14 Mar 2019 at 00:49, Marek Vasut wrote: > > Add option to the mmc rd test to check the duration of the > execution of the mmc read command. This allows intercepting > read performance regressions. > > Signed-off-by: Marek Vasut > Cc: Tom Rini > Cc: Simon Glass > --- >

[U-Boot] [PATCH 16/17] imx6: wandboard: convert to DM_I2C

2019-03-18 Thread Anatolij Gustschin
Allow building with DM_I2C enabled. Signed-off-by: Anatolij Gustschin --- board/wandboard/wandboard.c | 23 ++- configs/wandboard_defconfig | 5 + include/configs/wandboard.h | 8 3 files changed, 23 insertions(+), 13 deletions(-) diff --git

Re: [U-Boot] [PATCH 00/17] Convert some imx6 boards to DM_VIDEO

2019-03-18 Thread Anatolij Gustschin
On Mon, 18 Mar 2019 23:29:30 +0100 Anatolij Gustschin ag...@denx.de wrote: > This series starts conversion of ipuv3 driver to DM_VIDEO. These patches are based on 'next' branch of git://git.denx.de/u-boot-imx.git. -- Anatolij ___ U-Boot mailing list

[U-Boot] [PATCH v2 00/15] ARM: tegra: Add NVIDIA Jetson Nano Developer Kit support

2019-03-18 Thread Thierry Reding
From: Thierry Reding Hi, This set of patches move some code from the Tegra186 SoC specific directory to a common location so that it can be more easily shared. Since the differences between Tegra186 and earlier generations are now very small, the builds are unified to avoid duplication of code.

[U-Boot] [PATCH v2 04/15] ARM: tegra: Guard memory controller code with a Kconfig symbol

2019-03-18 Thread Thierry Reding
From: Thierry Reding Memory controller code is not relevant on all Tegra SoC generations, so guard it with a Kconfig symbol that can be selected by the generations that need it. This is in preparation for unifying Tegra186 code with the code used on older generations. Signed-off-by: Thierry

[U-Boot] [PATCH v2 01/15] ARM: tegra: Use common header for PMU declarations

2019-03-18 Thread Thierry Reding
From: Thierry Reding There's no need to replicate the pmu.h header file for every Tegra SoC generation. Use a single header that is shared across generations. Signed-off-by: Thierry Reding --- .../include/asm/{arch-tegra20 => arch-tegra}/pmu.h | 6 +++---

Re: [U-Boot] [PATCH v3] usb: host: Print device name when scanning

2019-03-18 Thread Marek Vasut
On 3/18/19 2:21 PM, Ismael Luceno Cortes wrote: > Drop the counter, it has no meaning other than being the order in which > the interface is found; the name assigned to the USB host controller > interface is a better indicator. > > Example of the original output: >> USB0: USB EHCI 1.10 >>

[U-Boot] [PATCH v2 03/15] ARM: tegra: Guard GP pad control code with a Kconfig symbol

2019-03-18 Thread Thierry Reding
From: Thierry Reding The GP pad control code is not relevant on all Tegra SoC generations, so guard it with a Kconfig symbol that can be selected by the generations that need it. This is in preparation for unifying Tegra186 code with the code used on older generations. Signed-off-by: Thierry

[U-Boot] [PATCH v2 07/15] ARM: tegra: Fix save_boot_params() prototype

2019-03-18 Thread Thierry Reding
From: Thierry Reding The save_boot_params() function takes as its first four arguments the first four registers. On 32-bit ARM these are r0, r1, r2 and r3, all of which are 32 bits wide. However, on 64-bit ARM thene registers are x0, x1, x2 and x3, all of which are 64 bits wide. In order to

[U-Boot] [PATCH v2 02/15] ARM: tegra: Guard clock code with a Kconfig symbol

2019-03-18 Thread Thierry Reding
From: Thierry Reding Clock code is not relevant on all Tegra SoC generations, so guard it with a Kconfig symbol that can be selected by the generations that need it. This is in preparation for unifying Tegra186 code with the code used on older generations. Signed-off-by: Thierry Reding ---

Re: [U-Boot] [PATCH] dm: check OF_LIVE is enabled

2019-03-18 Thread Simon Glass
Hi Ibai, On Tue, 12 Mar 2019 at 15:19, Ibai Erkiaga Elorza wrote: > > Hi Simon, > > > -Original Message- > > From: Simon Glass > > Sent: 10 March 2019 21:51 > > To: Ibai Erkiaga Elorza > > Cc: U-Boot Mailing List ; Patrick Delaunay > > ; Andy Shevchenko > > ; Bin Meng ; > > Patrice

Re: [U-Boot] [PATCH 2/5] test/py: mmc: Add 'mmc dev' test

2019-03-18 Thread Simon Glass
On Thu, 14 Mar 2019 at 00:49, Marek Vasut wrote: > > Add separate test for 'mmc dev' subcommand. This tests whether > the system can switch to a specific card. > > Signed-off-by: Marek Vasut > Cc: Tom Rini > Cc: Simon Glass > --- > test/py/tests/test_mmc_rd.py | 21 + > 1

Re: [U-Boot] [PATCH 3/5] test/py: mmc: Add 'mmc rescan' test

2019-03-18 Thread Simon Glass
On Thu, 14 Mar 2019 at 00:49, Marek Vasut wrote: > > Add test for 'mmc rescan' subcommand. This tests whether the > system can switch to a specific card and then rescan the card. > > Signed-off-by: Marek Vasut > Cc: Tom Rini > Cc: Simon Glass > --- > test/py/tests/test_mmc_rd.py | 26

Re: [U-Boot] [RFC v2 00/15] dm, efi: integrate efi objects into DM

2019-03-18 Thread Simon Glass
Hi Heinrich, On Tue, 12 Feb 2019 at 17:53, Heinrich Schuchardt wrote: > > > > On 2/12/19 8:24 AM, AKASHI Takahiro wrote: > > Hi Heinrich, Simon, > > > > On Sat, Feb 09, 2019 at 05:00:33PM -0600, Simon Glass wrote: > >> Hi Heinrich, > >> > >> On Fri, 8 Feb 2019 at 03:36, Heinrich Schuchardt >

Re: [U-Boot] [PATCH 6/6] p2371-2180: Add support for framebuffer carveouts

2019-03-18 Thread Simon Glass
On Sat, 9 Mar 2019 at 04:11, Thierry Reding wrote: > > From: Thierry Reding > > If early firmware initialized the display hardware and the display > controllers are scanning out a framebuffer (e.g. a splash screen), make > sure to pass information about the memory location of that framebuffer >

[U-Boot] [PATCH 12/17] imx6: wandboard: convert to DM_GPIO and enable pinctrl driver

2019-03-18 Thread Anatolij Gustschin
Enable DM_GPIO and pinctrl in defconfig and add gpio_request() calls where required. Signed-off-by: Anatolij Gustschin --- board/wandboard/wandboard.c | 12 configs/wandboard_defconfig | 3 +++ 2 files changed, 15 insertions(+) diff --git a/board/wandboard/wandboard.c

[U-Boot] [PATCH 04/17] imx6: dts: add 'u-boot, dm-pre-reloc' to soc and ipu nodes

2019-03-18 Thread Anatolij Gustschin
u-boot,dm-pre-reloc is required for reserving video memory when binding DM_VIDEO driver. Signed-off-by: Anatolij Gustschin --- arch/arm/dts/imx6qdl.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/imx6qdl.dtsi b/arch/arm/dts/imx6qdl.dtsi index e4daf15088..c0a9478008

[U-Boot] [PATCH 06/17] imx6: icore: convert to DM_VIDEO

2019-03-18 Thread Anatolij Gustschin
Enable DM_VIDEO in defconfigs. Signed-off-by: Anatolij Gustschin --- configs/imx6dl_icore_nand_defconfig | 2 +- configs/imx6q_icore_nand_defconfig | 2 +- configs/imx6qdl_icore_mmc_defconfig | 2 +- configs/imx6qdl_icore_nand_defconfig | 2 +- 4 files changed, 4 insertions(+), 4

[U-Boot] [PATCH] mmc: tmio: Clamp SD_SECCNT to 16bit values on 16bit IP

2019-03-18 Thread Marek Vasut
On 16bit variants of the TMIO SD IP, the SECCNT register can only be programmed to 16bit values, while on the 32bit and 64bit variants it can be programmed to 32bit values. The SECCNT register indicates the maximum number of blocks in a continuous transfer. Hence, limit the maximum continuous

Re: [U-Boot] [PATCH 1/1] efi_loader: correct parameter size in efi_allocate_pool

2019-03-18 Thread Takahiro Akashi
On Mon, Mar 18, 2019 at 08:32:23PM +0100, Heinrich Schuchardt wrote: > efi_allocate_pages() expects a (uint64_t *) pointer to pass the address of > the assigned memory. If we pass the address of a pointer here, an illegal > memory access occurs on 32bit systems. > > Fixes: 282a06cbcae8

[U-Boot] [ANN] U-Boot v2019.04-rc4 released

2019-03-18 Thread Tom Rini
Hey all, So it's release day and I've put up v2019.04-rc4, I've updated git and the tarballs are also up now. Thanks again to having signed tags, between -rc3 and -rc4 we have a good changelog under 'git log --merges v2019.04-rc3..v2019.04-rc4' Right now I have outstanding changes in

Re: [U-Boot] [PATCH v4 00/25] MTD defconfigs/Kconfigs/Makefiles heavy cleanup

2019-03-18 Thread Jagan Teki
Hi Miquel, On Sun, Mar 17, 2019 at 10:57 PM Miquel Raynal wrote: > > Jagan, > > Miquel Raynal wrote on Wed, 6 Mar 2019 > 10:21:44 +0100: > > > Hi Jagan, > > > > Miquel Raynal wrote on Wed, 20 Feb 2019 > > 08:08:58 +0100: > > > > > Hi Vignesh, > > > > > > Vignesh R wrote on Wed, 20 Feb 2019

[U-Boot] [PATCH 01/17] video: ipuv3: add DM_VIDEO support

2019-03-18 Thread Anatolij Gustschin
Extend the driver to build with DM_VIDEO enabled. DTS files must additionally include 'u-boot,dm-pre-reloc' property in soc and ipu nodes to enable driver binding to ipu device. Signed-off-by: Anatolij Gustschin --- arch/arm/include/asm/mach-imx/video.h | 1 + arch/arm/mach-imx/video.c

[U-Boot] [PATCH 03/17] imx: move CONFIG_VIDEO_IPUV3 to defconfigs

2019-03-18 Thread Anatolij Gustschin
Signed-off-by: Anatolij Gustschin --- configs/apalis_imx6_defconfig | 1 + configs/aristainetos2_defconfig | 1 + configs/aristainetos2b_defconfig | 1 + configs/aristainetos_defconfig| 1 + configs/cgtqmx6eval_defconfig | 1 + configs/cm_fx6_defconfig

[U-Boot] [PATCH 15/17] imx6: wandboard: convert to DM_PMIC

2019-03-18 Thread Anatolij Gustschin
Enable DM_PMIC_PFUZE100 driver and add PMIC description to DTS. Rework power_init_board() code. Signed-off-by: Anatolij Gustschin --- arch/arm/dts/imx6qdl-wandboard.dtsi | 101 board/wandboard/wandboard.c | 38 ++- configs/wandboard_defconfig

[U-Boot] [PATCH 02/17] video: move ipuv3 files to subdirectory

2019-03-18 Thread Anatolij Gustschin
Place ipuv3 files and headers in custom driver subdirectory. Signed-off-by: Anatolij Gustschin --- drivers/video/Kconfig | 7 +-- drivers/video/Makefile | 2 +- drivers/video/imx/Kconfig | 8 drivers/video/imx/Makefile | 6

[U-Boot] [PATCH v2 05/15] ARM: tegra: Guard pin controller code with a Kconfig symbol

2019-03-18 Thread Thierry Reding
From: Thierry Reding Pin controller code is not relevant on all Tegra SoC generations, so guard it with a Kconfig symbol that can be selected by the generations that need it. This is in preparation for unifying Tegra186 code with the code used on older generations. Signed-off-by: Thierry

[U-Boot] [PATCH v2 06/15] ARM: tegra: Guard powergate code with a Kconfig symbol

2019-03-18 Thread Thierry Reding
From: Thierry Reding Powergate code is not relevant on all Tegra SoC generations, so guard it with a Kconfig symbol that can be selected by the generations that need it. This is in preparation for unifying Tegra186 code with the code used on older generations. Signed-off-by: Thierry Reding

[U-Boot] [PATCH 05/11] net: ti: cpsw: Block off ofdata_to_platdata with OF_CONTROL

2019-03-18 Thread Faiz Abbas
The ofdata_to_platdata function should not be called if OF_CONTROL is not enabled because fdtdec_* calls will fail. Block the function with OF_CONTROL Signed-off-by: Faiz Abbas --- drivers/net/ti/cpsw.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git

[U-Boot] [PATCH 03/11] net: ti: cpsw: Convert cpsw_platform_data to a pointer in cpsw_priv

2019-03-18 Thread Faiz Abbas
Convert cpsw_platform_data to a pointer in cpsw_priv. Allocate it dynamically and assign it as a part of eth_pdata. This helps in isolating platform data handling and implementing platdata for SPL in a board file. Signed-off-by: Faiz Abbas --- drivers/net/ti/cpsw.c | 136

[U-Boot] [PATCH 07/11] board: ti: am335x: Add platdata for cpsw in SPL

2019-03-18 Thread Faiz Abbas
The SPL image overflows when cpsw dt nodes are added and SPL_OF_CONTROL is enabled. Use static platdata instead to save space. Signed-off-by: Faiz Abbas --- board/ti/am335x/board.c | 49 + drivers/net/ti/cpsw.c | 18 --- include/cpsw.h

Re: [U-Boot] [PATCH] phy: ti: Init node before reading

2019-03-18 Thread Lukasz Majewski
Hi Michal, > There is a need to fill node before clk_output_sel is setup. Could you be more specific about this issue ? I assume that the issue is on a system where Xilinx is used. I did my work/testing on a system where TI's SoC was used instead, so I'm curious what are the problems on Xilinx.

[U-Boot] [PATCH 2/3] armv8: ls1028ardb: Add support for LS1028ARDB platform

2019-03-18 Thread Bhaskar Upadhaya
LS1028A is an ARMv8 implementation. LS1028ARDB is an evaluatoin platform that supports the LS1028A family SoCs. This patch add basic support of the platform. Signed-off-by: Sudhanshu Gupta Signed-off-by: Rai Harninder Signed-off-by: Rajesh Bhagat Signed-off-by: Bhaskar Upadhaya ---

[U-Boot] [V3 2/3] sunxi: Don't change the rank in dram size detection in A33

2019-03-18 Thread Shyam Saini
From: Michael Trimarchi Change the size create a glitch in the clken signal on second bank. According to the ddr manual the clken need to be sent accros the reset signal coming the cpu. The rank is calculated just before this function is called and the mctl_set_cr should not change this value

[U-Boot] [V3 1/3] sunxi: Fix A33 memory initialization

2019-03-18 Thread Shyam Saini
From: Michael Trimarchi While the exact problem is not known, based on discussion between Philipp Tomsich and André Przywara it is guessed that exit self-refresh timing is not set with correct value. There may be implicit enter or exit Self-Refresh anywhere as part of some training phase. In

Re: [U-Boot] [PATCH] ARM: kirkwood: disable dcache for Kirkwood boards

2019-03-18 Thread Stefan Roese
Hi Chris, On 18.03.19 08:33, Chris Packham wrote: Prior to commit 93b283d49f93 ("ARM: CPU: arm926ejs: Consolidate cache routines to common file") the kirkwood boards didn't have and dcache support. The network and usb drivers rely on this. Set CONFIG_SYS_DCACHE_OFF in the Kirkwood specific

[U-Boot] [PATCH v2] ARM: kirkwood: disable dcache for Kirkwood boards

2019-03-18 Thread Chris Packham
Prior to commit 93b283d49f93 ("ARM: CPU: arm926ejs: Consolidate cache routines to common file") the kirkwood boards didn't have and dcache support. The network and usb drivers rely on this. Set CONFIG_SYS_DCACHE_OFF in the Kirkwood specific config.h. Reported-by: Leigh Brown Signed-off-by: Chris

Re: [U-Boot] [PATCH v2] ARM: kirkwood: disable dcache for Kirkwood boards

2019-03-18 Thread Stefan Roese
On 18.03.19 08:51, Chris Packham wrote: Prior to commit 93b283d49f93 ("ARM: CPU: arm926ejs: Consolidate cache routines to common file") the kirkwood boards didn't have and dcache support. The network and usb drivers rely on this. Set CONFIG_SYS_DCACHE_OFF in the Kirkwood specific config.h.

[U-Boot] [PATCH 02/11] net: ti: cpsw: Move cpsw_phy_sel() to _probe()

2019-03-18 Thread Faiz Abbas
cpsw_phy_sel() is a configuration step that should not be in ofdata_to_platdata(). Add phy_sel_compat to the cpsw_platform_data structure so that it is accessible in _probe. Then move the call of cpsw_phy_sel() to _probe. Signed-off-by: Faiz Abbas --- drivers/net/ti/cpsw.c | 33

  1   2   >