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

[U-Boot] [PATCH] 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] 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 confi

Re: [U-Boot] [PATCH 6/6] arm: socfpga: a10: move SPL stack size to Kconfig

2019-03-18 Thread Chee, Tien Fong
On Mon, 2019-03-11 at 22:35 +0100, Simon Goldschmidt wrote: > Instead of fixing the SPL stack to 64 KiB in the board config header > via > CONFIG_SYS_SPL_MALLOC_SIZE, let's just use > CONFIG_SPL_SYS_MALLOC_F_LEN > in the defconfig. > > This also has the advandage that it removes sub-mach 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. Repor

[U-Boot] [PATCH] mmc: correct the HS400 initialization process

2019-03-18 Thread BOUGH CHEN
After the commit b9a2a0e2e9c0 ("mmc: Add support for downgrading HS200/HS400 to HS mode"), it add a parameter in mmc_set_card_speed() which indicates that the HS200/HS400 to HS downgrade is happening. During the HS400 initialization, first select to HS200, and config the related clock rate, then d

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

2019-03-18 Thread Faiz Abbas
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 ofdata_to_platdata(). Patches 1-5 isolate the two operations of getting platfor

[U-Boot] [PATCH 01/11] net: Add priv_pdata to eth_pdata

2019-03-18 Thread Faiz Abbas
Add a priv member for eth_pdata for platform specific platform data. Signed-off-by: Faiz Abbas --- include/net.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/net.h b/include/net.h index dd52ed3f47..44b32385c4 100644 --- a/include/net.h +++ b/include/net.h @@ -92,12 +92,14 @@ enu

[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 -

[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

[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 a/drive

[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 06/11] net: ti: cpsw: Enable DM_FLAG_PRE_RELOC

2019-03-18 Thread Faiz Abbas
Add DM_FLAG_PRE_RELOC to make the driver probe in SPL. Signed-off-by: Faiz Abbas --- drivers/net/ti/cpsw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti/cpsw.c index 403c9b98dd..e16c270985 100644 --- a/drivers/net/ti/cpsw.c +++ b/drive

[U-Boot] [PATCH 11/11] board: ti: am335x: Remove non DM_ETH code

2019-03-18 Thread Faiz Abbas
With DM_ETH enabled in am335x devices, remove all the unused non-DM code. Signed-off-by: Faiz Abbas --- board/ti/am335x/board.c | 151 1 file changed, 151 deletions(-) diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c index b811fb088b..2c32b

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

2019-03-18 Thread Faiz Abbas
Make some room in SPL by getting rid of unnecessary configs. Signed-off-by: Faiz Abbas --- configs/am335x_evm_defconfig | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig index 6c791be374..16b78f9d7e 100644 --- a/co

[U-Boot] [PATCH 09/11] configs: am335x_evm: Add Support for SPL_ETH

2019-03-18 Thread Faiz Abbas
Add Support for booting from Ethernet. Signed-off-by: Faiz Abbas --- configs/am335x_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig index 16b78f9d7e..36d8858851 100644 --- a/configs/am335x_evm_defconfig +++ b/configs/a

[U-Boot] [PATCH 04/11] net: ti: cpsw-common: Isolate getting syscon address from assigning macid

2019-03-18 Thread Faiz Abbas
ti_cm_get_macid() is used to get a syscon node from the dt, read the efuse address and then assign the macid read from the address. Divide these two steps into separate functions one of which can be called from ofdata_to_platdata() while the other can be called from _probe(). This ensures that plat

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

2019-03-18 Thread Faiz Abbas
Update VCI string to keep it compatible with legacy test setups. Signed-off-by: Faiz Abbas --- configs/am335x_evm_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/am335x_evm_defconfig b/configs/am335x_evm_defconfig index 36d8858851..e516179255 100644 --- a/co

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.

Re: [U-Boot] [PATCH RESEND 01/10] pinctrl: imx8: add i.MX8QM compatible

2019-03-18 Thread Peng Fan
Ping.. Thanks, Peng. > -Original Message- > From: Peng Fan [mailto:peng@nxp.com] > Sent: 2019年3月5日 10:32 > To: sba...@denx.de; Fabio Estevam > Cc: u-boot@lists.denx.de; van.free...@gmail.com; dl-uboot-imx > ; Peng Fan > Subject: [PATCH RESEND 01/10] pinctrl: imx8: add i.MX8QM compat

Re: [U-Boot] [PATCH] imx8qxp: mek: enable dm-spl for pm

2019-03-18 Thread Peng Fan
Hi Stefano, Are you fine with this patch? Thanks, Peng. > -Original Message- > From: Peng Fan > Sent: 2019年3月7日 20:44 > To: sba...@denx.de; feste...@gmail.com > Cc: dl-uboot-imx ; u-boot@lists.denx.de; Peng Fan > > Subject: [PATCH] imx8qxp: mek: enable dm-spl for pm > > with u-boot,dm-

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

2019-03-18 Thread Heiko Schocher
Hello Tom, rabhakar, Am 17.03.2019 um 04:16 schrieb Tom Rini: On Sun, Mar 17, 2019 at 03:01:32AM +, Prabhakar Kushwaha wrote: -Original Message- From: Tom Rini Sent: Friday, March 15, 2019 9:36 PM To: Prabhakar Kushwaha Cc: u-boot@lists.denx.de; York Sun Subject: Re: mpc85xx, m

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

2019-03-18 Thread Michal Simek
Hi, On 18. 03. 19 9:38, Lukasz Majewski wrote: > 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

[U-Boot] [PATCH 1/3] armv8: ls1028a: Add NXP LS1028A SoC support

2019-03-18 Thread Bhaskar Upadhaya
Overview LS1028A processor integrates two 64-bit Arm Cortex-A72 cores with a GPU and LCD controller, as well as TSN-enabled Ethernet ports and a TSN-enabled switch with four external ports. The high performance Cortex-A72 cores, performing above 16,000 CoreMarks, combined with 2.5 Gbit Et

[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 --- arch/arm/K

[U-Boot] [PATCH 3/3] armv8: ls1028aqds: Add support of LS1028AQDS

2019-03-18 Thread Bhaskar Upadhaya
LS1028A Development System (QDS) is a high-performance computing, evaluation, and development platform that supports LS1028A QorIQ Architecture processor. Signed-off-by: Sudhanshu Gupta Signed-off-by: Rai Harninder Signed-off-by: Rajesh Bhagat Signed-off-by: Bhaskar Upadhaya --- arch/arm/Kcon

[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 any

[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 Zy

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

2019-03-18 Thread Shyam Saini
From: Michael Trimarchi This will improve code readabilty Signed-off-by: Michael Trimarchi Signed-off-by: Shyam Saini --- Changelogs: V1->V2: none V2->V3: Fix use of clrsetbits_le32 and setbits_le32 functions V3->V4: Rebase to original series's patch 2 and 3 --

Re: [U-Boot] [U-BOOT][PATCH V3] sunxi: Use clrsetbits_le32 instead of multiple instruction

2019-03-18 Thread Shyam Saini
Please ignore this patch, I have sent this patch as a part of original series. Sorry for the noise. Thanks and regards, Shyam On Fri, Mar 15, 2019 at 3:27 PM Shyam Saini wrote: > > From: Michael Trimarchi > > This will improve code readabilty > > Signed-off-by: Michael Trimarchi > --- > Chan

[U-Boot] Subject

2019-03-18 Thread Eugeniu Rosca
Hi Marek, Paul, cc: Alex jFYI/FWIW, reverting [1-2] allows getting rid of below warnings on R-Car3, when running basic fastboot commands (e.g. fastboot getvar): [8.035764] status: -104 ep 'ep1' trans: 0 [ 18.744354] status: -104 ep 'ep1' trans: 28 [ 18.748950] status: -104 ep 'ep1' trans:

Re: [U-Boot] Subject

2019-03-18 Thread Paul Kocialkowski
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 fastboot commands (e.g. fastboot getvar): > > [8.035764] status: -104 ep 'ep1' trans: 0 > [ 18.744

Re: [U-Boot] [PATCH 1/3] ARM: rmobile: Switch CPU to non-secure HYP mode for r8a7790 based boards

2019-03-18 Thread Patrick DELAUNAY
Hi, > From: Oleksandr > Sent: jeudi 14 mars 2019 12:37 > > > On 14.03.19 02:16, Marek Vasut wrote: > > On 2/12/19 8:52 PM, Oleksandr wrote: > > > > Hi, > > Hi > > > > > [...] > > > > I was thinking about this whole PSCI situation and how it's all > > implemented today. Basically what we do is

Re: [U-Boot] [PATCH v3] cmd: clk: Handle ENODEV from clk_get_rate

2019-03-18 Thread Ismael Luceno Cortes
On 22/Feb/2019 16:52, Ismael Luceno wrote: > clk_get_rate may return -ENODEV if the clock isn't valid. > > Also, make the error cases go through a single path. > > Fixes: ff8eee0330a6 ("cmd: clk: Add trivial implementation of clock dump > for DM") > > Signed-off-by: Ismael Luceno > Review

Re: [U-Boot] [U-Boot, 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now

2019-03-18 Thread Simon Glass
Hi, On Tue, 12 Mar 2019 at 09:26, Kever Yang wrote: > > > > On 03/11/2019 09:04 PM, Philipp Tomsich wrote: > > Note that the minimum improvement that I’d expect to get this fully > > enabled again would be a clean-up of the Kconfig options, so it is > > easy and (from the documentation) predictab

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

2019-03-18 Thread Ismael Luceno Cortes
On 16/Mar/2019 02:41, Marek Vasut wrote: > On 3/15/19 8:50 PM, Ismael Luceno Cortes wrote: > > On 15/Mar/2019 18:34, Marek Vasut wrote: > >> On 3/14/19 5:19 PM, Ismael Luceno Cortes wrote: > >>> On 14/Mar/2019 16:09, Marek Vasut wrote: > On 3/14/19 1:57 PM, Ismael Luceno Cortes wrote: > >

Re: [U-Boot] [PATCH v3] cmd: clk: Handle ENODEV from clk_get_rate

2019-03-18 Thread Marek Vasut
On 2/22/19 4:52 PM, Ismael Luceno Cortes wrote: > clk_get_rate may return -ENODEV if the clock isn't valid. > > Also, make the error cases go through a single path. > > Fixes: ff8eee0330a6 ("cmd: clk: Add trivial implementation of clock dump > for DM") > > Signed-off-by: Ismael Luceno > R

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

2019-03-18 Thread Marek Vasut
On 3/18/19 1:02 PM, Ismael Luceno Cortes wrote: > On 16/Mar/2019 02:41, Marek Vasut wrote: >> On 3/15/19 8:50 PM, Ismael Luceno Cortes wrote: >>> On 15/Mar/2019 18:34, Marek Vasut wrote: On 3/14/19 5:19 PM, Ismael Luceno Cortes wrote: > On 14/Mar/2019 16:09, Marek Vasut wrote: >> On 3/

Re: [U-Boot] [U-Boot, 2/2] rockchip: Drop call to rockchip_dnl_mode_check() for now

2019-03-18 Thread Philipp Tomsich
Simon, > On 18.03.2019, at 12:58, Simon Glass wrote: > > Hi, > > On Tue, 12 Mar 2019 at 09:26, Kever Yang > wrote: >> >> >> >> On 03/11/2019 09:04 PM, Philipp Tomsich wrote: >>> Note that the minimum improvement that I’d expect to get this fully >>> enabled

Re: [U-Boot] [PATCH] mmc: correct the HS400 initialization process

2019-03-18 Thread Marek Vasut
On 3/18/19 9:23 AM, BOUGH CHEN wrote: > After the commit b9a2a0e2e9c0 ("mmc: Add support for downgrading > HS200/HS400 to HS mode"), it add a parameter in mmc_set_card_speed() > which indicates that the HS200/HS400 to HS downgrade is happening. > > During the HS400 initialization, first select to

[U-Boot] [PATCH v4] cmd: clk: Handle ENODEV from clk_get_rate

2019-03-18 Thread Ismael Luceno Cortes
clk_get_rate may return -ENODEV if the clock isn't valid. Also, make the error cases go through a single path. Fixes: ff8eee0330a6 ("cmd: clk: Add trivial implementation of clock dump for DM") Signed-off-by: Ismael Luceno Reviewed-by: Matthias Brugger Reviewed-by: Marek Vasut --- Not

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

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

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

2019-03-18 Thread Anand Moon
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. U-Boot 2019.04-rc3-00131-g8303467e80d-dirty (Mar 18 2019 - 12:12:23 +) CPU: Exynos4412 @ 1 GHz Model: Odroid based on Exynos4412 Type: u3 DRAM:

Re: [U-Boot] Subject

2019-03-18 Thread Marek Vasut
On 3/18/19 10:56 AM, Eugeniu Rosca wrote: > Hi Marek, Paul, cc: Alex Hi, > jFYI/FWIW, reverting [1-2] allows getting rid of below warnings on > R-Car3, when running basic fastboot commands (e.g. fastboot getvar): Maybe a more constructive approach would be to send a patch fixing the issue instea

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

2019-03-18 Thread Marek Vasut
On 3/18/19 1:31 PM, Ismael Luceno Cortes wrote: > The name assigned to the USB host controller interface is a better > indicator than the counter currently in use (which has no meaning other > than being the order in which the interface is found). > > Example of the original output: >> USB0: USB

[U-Boot] [PATCH v2] env: Update env_addr for mmc environment driver

2019-03-18 Thread Pankit Garg
Signed-off-by: Pankit Garg --- Changes for v2: - Remove CRC calculation as it is already part of env_import - Update env_addr after env_import env/mmc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/env/mmc.c b/env/mmc.c index c3cf35d..d329bea 100644 --- a/env/mmc.c +++ b/en

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 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. > > U-Boot 2019.04-rc3-00131-g8303467e80d-dirty (Mar 18 2019 - 12:12:23 +) > > CPU: Exy

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 hart

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 r

[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 >scann

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 ofdata_to

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 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 am335x-bonebla

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 pat

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] 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 kn

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 > Signed-off-by:

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 par

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 (synopsys

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 >> --- >> >> board/st

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 f

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] [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 yo

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] 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

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 https://android.googlesource.c

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 all

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 Krzys

[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 (boote

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 skip="dt_table_

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] [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 gli

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 Krzys

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 multipl

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 Linaro

[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 patche

[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 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 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 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 deletions(-

[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 b/board/wand

[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 100644

[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 --- a/configs/mx6sabreauto_de

[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 ++ board/w

[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

[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 --- a/configs/apalis_imx6_defc

[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 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 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 --- a/configs/colibri_imx6_de

[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 a/board/wandboard/

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-

[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 trans

[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 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 +++--- arch/arm/include/asm/arch-tegra114/p

  1   2   >