Re: [U-Boot] [PATCH v4 1/4] dts: add support for Rockchip rk3399 soc

2016-07-18 Thread Simon Glass
On 18 July 2016 at 02:46, Kever Yang wrote: > These files are from kernel upstream with some modification > need by U-Boot: > - chosen with stdout-path to uart2. > > Signed-off-by: Kever Yang > Acked-by: Simon Glass > ---

Re: [U-Boot] [PATCH] rockchip: update fastboot usage

2016-07-18 Thread Simon Glass
On 18 July 2016 at 05:56, Simon Glass wrote: > On 17 July 2016 at 19:56, Ziyuan Xu wrote: >> Introduce how to use fastboot feature on rk3288. >> >> Signed-off-by: Ziyuan Xu >> --- >> >> doc/README.rockchip | 26

Re: [U-Boot] [PATCH] mmc: rockchip: add SDHCI driver support for rockchip soc

2016-07-18 Thread Simon Glass
On 18 July 2016 at 05:56, Simon Glass wrote: > On 18 July 2016 at 03:00, Kever Yang wrote: >> Rockchip rk3399 using arasan sdhci-5.1 controller. >> This patch add the controller support to enable mmc device >> with full driver-model support, tested

Re: [U-Boot] [PATCH v4 3/4] config: add config file for evb-rk3399

2016-07-18 Thread Simon Glass
On 18 July 2016 at 05:56, Simon Glass wrote: > On 18 July 2016 at 02:46, Kever Yang wrote: >> This patch add basic config option for evb-rk3399 board. >> >> Signed-off-by: Kever Yang >> --- >> >> Changes in v4: >> move

Re: [U-Boot] [PATCH] wandboard: move environment partition farther from u-boot.img

2016-07-18 Thread Fabio Estevam
Hi Stefano, On Sat, Jul 9, 2016 at 9:42 AM, Alexey Brodkin wrote: > Recently I started to notice that u-boot.img built for Wandboard > by some toolchains becomes so large that it basically overlaps with > U-Boot environment area on SD-card. > > According to >

Re: [U-Boot] [PATCH v4 2/4] ARM64: rockchip: add support for rk3399 SoC based evb

2016-07-18 Thread Andreas Färber
Am 18.07.2016 um 10:46 schrieb Kever Yang: > RK3399 is a SoC from Rockchip with dual-core Cortex-A72 > and quad-core Cortex-A53 CPU. It supports two USB3.0 > type-C ports and two USB2.0 EHCI ports. Other interfaces > are very much like RK3288, the DRAM are 32bit width address > and support address

Re: [U-Boot] [PATCH 13/14] defconfig: am57xx_evm: enable i2c driver model

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:11:08PM +0530, Mugunthan V N wrote: > Enable i2c driver model for am57xx_evm as omap i2c > supports driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 12/14] defconfig: dra7xx_hs_evm: enable i2c driver model

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:11:07PM +0530, Mugunthan V N wrote: > Enable i2c driver model for dra7xx_hs_evm as omap i2c > supports driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [mips][cfi] Unable to write into flash under qemu

2016-07-18 Thread Daniel Schwierzeck
Hi Stefan, 2016-07-18 10:38 GMT+02:00 Stefan Roese : > > Daniel, could you please send a proper patch (non-inlined) for this so > that I can push it to upstream? Or did I miss this patch? > done http://patchwork.ozlabs.org/patch/649511/ -- - Daniel

Re: [U-Boot] [PATCH 1/4] dm: clk: Add a way to find a clock by its driver

2016-07-18 Thread Simon Glass
On 17 July 2016 at 15:23, Simon Glass wrote: > Some SoCs have a single clock device. Provide a way to find it given its > driver name. This is handled by the linker so will fail if the name is not > found, avoiding strange errors when names change and do not match. It is > also

Re: [U-Boot] [PATCH 2/4] rockchip: Add a way to obtain the main clock device

2016-07-18 Thread Simon Glass
On 17 July 2016 at 15:23, Simon Glass wrote: > On Rockchip SoCs we typically have a main clock device that uses the Soc > clock driver. There is also a fixed clock for the oscillator. Add a function > to obtain the core clock. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v4 2/4] ARM64: rockchip: add support for rk3399 SoC based evb

2016-07-18 Thread Simon Glass
On 18 July 2016 at 05:56, Simon Glass wrote: > On 18 July 2016 at 02:46, Kever Yang wrote: >> RK3399 is a SoC from Rockchip with dual-core Cortex-A72 >> and quad-core Cortex-A53 CPU. It supports two USB3.0 >> type-C ports and two USB2.0 EHCI ports.

Re: [U-Boot] [PATCH v2] mkimage: rockchip: add suport for rk33 serial

2016-07-18 Thread Simon Glass
On 18 July 2016 at 05:56, Simon Glass wrote: > On 17 July 2016 at 19:35, Kever Yang wrote: >> Add support for rockchip rk33 series Soc like rk3368 and rk3399 >> >> Signed-off-by: Kever Yang >> --- >> >> Changes in v2: >>

Re: [U-Boot] [PATCH 5/9] rockchip: rk3288: fix FREF_MIN_HZ constant

2016-07-18 Thread Simon Glass
On 17 July 2016 at 08:13, Simon Glass wrote: > On 15 July 2016 at 16:17, Heiko Stuebner wrote: >> According to the TRM the minimum FREF frequency is 269kHz not MHz. >> Adapt the constant accordingly. >> >> Signed-off-by: Heiko Stuebner >> ---

Re: [U-Boot] [PATCH 3/4] rockchip: Use rockchip_get_clk() to obtain the SoC clock

2016-07-18 Thread Simon Glass
On 17 July 2016 at 16:17, Anatolij Gustschin wrote: > On Sun, 17 Jul 2016 15:23:17 -0600 > Simon Glass s...@chromium.org wrote: > >> The current code picks the first available clock. In U-Boot proper this is >> the oscillator device, not the SoC clock device. As a result the HDMI

Re: [U-Boot] [PATCH v4 1/4] dts: add support for Rockchip rk3399 soc

2016-07-18 Thread Andreas Färber
Am 18.07.2016 um 10:46 schrieb Kever Yang: > These files are from kernel upstream with some modification > need by U-Boot: > - chosen with stdout-path to uart2. > > Signed-off-by: Kever Yang > Acked-by: Simon Glass > --- > > Changes in v4: None

Re: [U-Boot] [PATCH v4 1/4] dts: add support for Rockchip rk3399 soc

2016-07-18 Thread Simon Glass
Hi Kever, On 18 July 2016 at 07:21, Andreas Färber wrote: > Am 18.07.2016 um 10:46 schrieb Kever Yang: >> These files are from kernel upstream with some modification >> need by U-Boot: >> - chosen with stdout-path to uart2. >> >> Signed-off-by: Kever Yang

Re: [U-Boot] [PATCH 0/9] rockchip: cosmetics, a fix and first steps on the rk3188

2016-07-18 Thread Heiko Stübner
Hi Simon, Am Montag, 18. Juli 2016, 06:16:33 schrieb Simon Glass: > On 17 July 2016 at 09:27, Simon Glass wrote: > > On 17 July 2016 at 09:20, Heiko Stübner wrote: > >> Am Sonntag, 17. Juli 2016, 08:14:06 schrieb Simon Glass: > >>> Hi Heiko, > >>> > >>> On

Re: [U-Boot] [PATCH v2] rockchip: sdram: Fix register layout for Linux

2016-07-18 Thread Simon Glass
On 17 July 2016 at 08:13, Simon Glass wrote: > On 15 July 2016 at 10:33, John Keeping wrote: >> The ChromeOS kernel reads the RAM settings from PMU_SYS_REG2 and expects >> the bootloader to store the necessary information there. We're using >> the same

Re: [U-Boot] [PATCH 02/14] omap5/dra7: i2c: correct register offset for sync register

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:10:57PM +0530, Mugunthan V N wrote: > The register offset of i2c_sysc offset is not correct as per > omap5[1]/dra7[2] TRM, correct the offsets as per the > documentation. > > [1] - http://www.ti.com/lit/pdf/swpu249 > [2] - http://www.ti.com/lit/pdf/spruhz6 > >

Re: [U-Boot] [PATCH 01/14] omap4: i2c: correct register offset for sync register

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:10:56PM +0530, Mugunthan V N wrote: > The register offset of i2c_sysc offset is not correct as per > omap4 TRM [1], correct the offsets as per the documentation. > > [1] - http://www.ti.com/lit/ug/swpu235ab/swpu235ab.pdf > > Signed-off-by: Mugunthan V N

Re: [U-Boot] [PATCH 04/14] ti_armv7_common: i2c: do not define DM_I2C for spl

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:10:59PM +0530, Mugunthan V N wrote: > Since omap's spl doesn't support DM currently, do not define > DM_I2C for spl build. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH 07/14] defconfig: am335x_boneblack_vboot: enable i2c driver model

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:11:02PM +0530, Mugunthan V N wrote: > Enable i2c driver model for am335x_boneblack_vboot as omap i2c > supports driver model. Also enable CONFIG_DM_I2C_COMPAT for > legacy drivers of i2c devices. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom

[U-Boot] [PATCH] x86: baytrail: Add SIO HS-UART clock setup

2016-07-18 Thread Stefan Roese
To support the BayTrail internal SIO HS UART, the internal UART clock needs to get configured. This patch adds support for this clock configuration which will be done, if the PCI device(s) are found. Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng

Re: [U-Boot] [PATCH 9/9] rockchip: rk3188: Add clock driver

2016-07-18 Thread Simon Glass
Hi Heiko, On 17 July 2016 at 09:48, Simon Glass wrote: > Hi Heiko, > > On 17 July 2016 at 09:33, Heiko Stübner wrote: >> Am Sonntag, 17. Juli 2016, 08:13:58 schrieb Simon Glass: >>> Hi Heiko, >>> >>> On 15 July 2016 at 16:17, Heiko Stuebner

Re: [U-Boot] [PATCH v3 2/5] ARM64: rockchip: add support for rk3399 SoC based evb-board

2016-07-18 Thread Andreas Färber
Hi Kever, Am 18.07.2016 um 06:54 schrieb Kever Yang: > Hi Andreas, > > Thanks for you comments, I will apply them one by one except some > confuse below. > > On 07/18/2016 07:26 AM, Andreas Färber wrote: >> Hi, >> >> Isn't evb short for evaluation board? That makes board board then. ;) >>

Re: [U-Boot] [PATCH 2/2] ARM64: rockchip: Add initial support for RK3368 based GeekBox

2016-07-18 Thread Heiko Stübner
Hi Andreas, Am Montag, 18. Juli 2016, 03:06:07 schrieb Andreas Färber: > The RK3368 is an octa-core Cortex-A53 SoC from Rockchip. > > The GeekBox is a TV box from GeekBuying, based on an MXM3 module. > The module can be used with base boards such as the GeekBox Landingship. > > This adds basic

Re: [U-Boot] [PATCH 2/9] cosmetic: rockchip: rk3036: pinctrl: fix config symbol naming

2016-07-18 Thread Simon Glass
On 17 July 2016 at 08:13, Simon Glass wrote: > On 15 July 2016 at 16:17, Heiko Stuebner wrote: >> Rockchip socs are always named rk in all places, as also shown >> by the naming of the rk3036 pinctrl file itself. >> Therefore also name the config symbol

Re: [U-Boot] [PATCH 4/9] cosmetic: rockchip: rk3288: rename rkclk_configure_cpu

2016-07-18 Thread Simon Glass
On 17 July 2016 at 08:13, Simon Glass wrote: > On 15 July 2016 at 16:17, Heiko Stuebner wrote: >> The function is very specific to the rk3288 in its arguments >> referencing the rk3288 cru and grf and every other rockchip soc >> has differing cru and grf

Re: [U-Boot] [PATCH 0/9] rockchip: cosmetics, a fix and first steps on the rk3188

2016-07-18 Thread Simon Glass
Hi Heiko, On 17 July 2016 at 09:27, Simon Glass wrote: > Hi Heiko, > > On 17 July 2016 at 09:20, Heiko Stübner wrote: >> Am Sonntag, 17. Juli 2016, 08:14:06 schrieb Simon Glass: >>> Hi Heiko, >>> >>> On 15 July 2016 at 16:17, Heiko Stuebner

Re: [U-Boot] [PATCH 3/9] cosmetic: rockchip: sort socs according to numbers

2016-07-18 Thread Simon Glass
On 17 July 2016 at 08:13, Simon Glass wrote: > On 15 July 2016 at 16:17, Heiko Stuebner wrote: >> Having some sort of ordering proofed helpful in a lot of other places >> already. So for a larger number of rockchip socs it might be helpful >> as well instead

Re: [U-Boot] [PATCH 1/9] cosmetic: rockchip: rk3288: pinctrl: fix config symbol naming

2016-07-18 Thread Simon Glass
On 17 July 2016 at 08:13, Simon Glass wrote: > On 15 July 2016 at 16:17, Heiko Stuebner wrote: >> The rk3288 pinctrl is very specific to this soc, so should >> not hog the generic rockchip naming. >> >> Signed-off-by: Heiko Stuebner >> --- >>

Re: [U-Boot] [PATCH 2/3] serial: zynq: Read information about clock from DT

2016-07-18 Thread Moritz Fischer
On Sun, Jul 17, 2016 at 7:12 AM, Simon Glass wrote: > On 14 July 2016 at 07:19, Michal Simek wrote: >> Read information about clock frequency from DT. >> >> Signed-off-by: Michal Simek >> --- >> >>

Re: [U-Boot] [PATCH 09/14] defconfig: am43xx_evm: enable i2c driver model

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:11:04PM +0530, Mugunthan V N wrote: > Enable i2c driver model for am43xx_evm as omap i2c > supports driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 11/14] defconfig: dra7xx_evm: enable i2c driver model

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:11:06PM +0530, Mugunthan V N wrote: > Enable i2c driver model for dra7xx_evm as omap i2c > supports driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 10/14] defconfig: am43xx_hs_evm: enable i2c driver model

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:11:05PM +0530, Mugunthan V N wrote: > Enable i2c driver model for am43xx_hs_evm as omap i2c > supports driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH 08/14] defconfig: am335x_evm: enable i2c driver model

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:11:03PM +0530, Mugunthan V N wrote: > Enable i2c driver model for am335x_evm as omap i2c > supports driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

[U-Boot] [PATCH] rockchip: add a dummy byte for the sdram-channel property

2016-07-18 Thread Ziyuan Xu
Add an extra byte so that this data is not byteswapped. Signed-off-by: Ziyuan Xu --- arch/arm/dts/rk3288-evb.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/rk3288-evb.dts b/arch/arm/dts/rk3288-evb.dts index caf24ee..3e1ee58 100644

Re: [U-Boot] supported image compression types?

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 06:16:15AM -0400, Robert P. J. Day wrote: > > reading u-boot wiki page on image formats: > > http://www.denx.de/wiki/view/DULG/UBootImages > > wherein one reads: > > "Compression Type (Provisions for uncompressed, gzip, bzip2, lzo; > Currently supported:

Re: [U-Boot] [PATCH] common: fit: Allow U-Boot images to be booted

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 02:05:42PM +0200, Mario Six wrote: > In certain circumstances it comes in handy to be able to boot into a second > U-Boot. But as of now it is not possible to boot a U-Boot binary that is > inside > a FIT image, which is problematic for projects that e.g. need to

Re: [U-Boot] keystone: k2h/e/l: Fix DMA coherency for QM PDSP

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 11:42:48AM -0400, Murali Karicheri wrote: > commit 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid > #ifdeffery") refactored code, however K2HKLE_MSMC_SEGMENT_QM_PDSP is > left under a macro KS2_MSMC_SEGMENT_QM_PDSP which is no longer valid. > This, in effect

[U-Boot] keystone: k2h/e/l: Fix DMA coherency for QM PDSP

2016-07-18 Thread Murali Karicheri
commit 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid #ifdeffery") refactored code, however K2HKLE_MSMC_SEGMENT_QM_PDSP is left under a macro KS2_MSMC_SEGMENT_QM_PDSP which is no longer valid. This, in effect disabled DMA coherency for QM PDSP. Given that msmc_k2hkle_common_setup is

Re: [U-Boot] [PATCH] test: Adjust the of-platdata test run condition

2016-07-18 Thread Stephen Warren
On 07/16/2016 07:01 PM, Tom Rini wrote: On Sat, Jul 16, 2016 at 06:36:44PM -0600, Simon Glass wrote: This should be spl_of_platdata, since otherwise it will try to run on boards that don't support of-platdata. Signed-off-by: Simon Glass Applied to u-boot/master, thanks!

[U-Boot] [PATCH] test/py: use absolute dts path in vboot test

2016-07-18 Thread Stephen Warren
From: Stephen Warren Without this, the test fails if the test is run with a cwd other than the root of the U-Boot source tree. Fixes: 8729d582595d ("test: Convert the vboot test to test/py") Signed-off-by: Stephen Warren --- test/py/tests/test_vboot.py

[U-Boot] [PATCH] mx6: clock: Fix the logic for reading axi_alt_sel

2016-07-18 Thread Fabio Estevam
According to the IMX6DQRM Reference Manual, the description of bit 7 (axi_alt_sel) of the CCM_CBCDR register is: "AXI alternative clock select 0 pll2 396MHz PFD will be selected as alternative clock for AXI root clock 1 pll3 540MHz PFD will be selected as alternative clock for AXI root clock "

[U-Boot] [PATCH] cosmetic: rockchip: rk3288: pinctrl: fix config symbol naming

2016-07-18 Thread Ziyuan Xu
Revise config to CONFIG_ROCKCHIP_RK3288_PINCTRL. Signed-off-by: Ziyuan Xu --- configs/evb-rk3288_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/evb-rk3288_defconfig b/configs/evb-rk3288_defconfig index 41cfedd..93be4a5 100644 ---

[U-Boot] [PATCH v3] armv8: spl: Call board_init_r from crt0_64 in SPL

2016-07-18 Thread Jeremy Hunt
As part of the startup process for boards using the SPL, the meaning of board_init_f changed such that it should return normally rather than calling board_init_r directly. (see db910353a126d84fe8dff7a694ea792f50fcfb6a ) This was fixed in 32-bit arm, but broke when SPL was added to 64 bit arm. This

Re: [U-Boot] keystone: k2h/e/l: Fix DMA coherency for QM PDSP

2016-07-18 Thread Nishanth Menon
On 07/18/2016 10:42 AM, Murali Karicheri wrote: commit 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid #ifdeffery") refactored code, however K2HKLE_MSMC_SEGMENT_QM_PDSP is left under a macro KS2_MSMC_SEGMENT_QM_PDSP which is no longer valid. This, in effect disabled DMA coherency

Re: [U-Boot] [PATCH 1/4] dm: clk: Add a way to find a clock by its driver

2016-07-18 Thread Stephen Warren
On 07/17/2016 03:23 PM, Simon Glass wrote: Some SoCs have a single clock device. Provide a way to find it given its driver name. This is handled by the linker so will fail if the name is not found, avoiding strange errors when names change and do not match. It is also faster than a string

[U-Boot] [PATCH] ARM: tegra: add IVC protocol implementation

2016-07-18 Thread Stephen Warren
From: Stephen Warren IVC (Inter-VM Communication) protocol is a Tegra-specific IPC (Inter Processor Communication) framework. Within the context of U-Boot, it is typically used for communication between the main CPU and various auxiliary processors. In particular, it will be

Re: [U-Boot] [PATCH v2 3/5] mpc85xx/powerpc: P2041: Apply errata A006261 for P2041

2016-07-18 Thread york sun
Same comment to the subject. On 07/17/2016 08:47 PM, Sriram Dash wrote: > Apply USB errata A006261 for P2041, P2040. > > Signed-off-by: Sriram Dash > Signed-off-by: Rajesh Bhagat > --- > drivers/usb/common/fsl-errata.c | 3 ++- > 1 file changed, 2

[U-Boot] [PATCH 2/3] ARM: tegra: split p2771-0000 build

2016-07-18 Thread Stephen Warren
From: Stephen Warren There are multiple versions of p2771- board. There are SW visible incompatible differences between the versions, and they are relevant to U-Boot. Create separate "A02" and "B00" defconfigs (named after the first and/or only board rev they defconfig

[U-Boot] [PATCH 1/3] ARM: tegra: fix Tegra186 DT GPIO binding header

2016-07-18 Thread Stephen Warren
From: Stephen Warren Tegra186 uses different GPIO port IDs compared to previous chips. Make sure the SoC DT file includes the correct GPIO binding header. Signed-off-by: Stephen Warren --- arch/arm/dts/tegra186.dtsi | 2 +- 1 file changed, 1

[U-Boot] [PATCH 3/3] ARM: tegra: unify Tegra186 Makefile a bit

2016-07-18 Thread Stephen Warren
From: Stephen Warren Many files in arch/arm/mach-tegra are compiled conditionally based on Kconfig variables, or applicable to all platforms. We can let the main Tegra Makefile handle compiling (or not) those files to avoid each SoC- specific Makefile needing to duplicate

Re: [U-Boot] [PATCH v2 1/5] mpc85xx/powerpc:cpu_init: Modified the errata A006261 according to endianness

2016-07-18 Thread york sun
Sriram, Please pay attention to the language. "errata" is the plural noun of "erratum". You are dealing with one erratum, aren't you? And you are modifying the workaround, not the erratum itself. The tags in the subject should be separated by either "/", or ":", but not both. I don't believe

[U-Boot] [PATCH 1/1] configs/wandboard.h: fix dtb file name for findfdt.

2016-07-18 Thread Adam Duskett
With the release of kernel 4.1.15 for the imx6 line of processors, wandboard now uses imx6q-wandboard-revc1.dtb and imx6dl-wandboard-revc1.dtb. This patch fixes the naming convention to work with kernel 4.1.15 Signed-off-by: Adam Duskett --- include/configs/wandboard.h

[U-Boot] [PATCH] ARM: tegra: p2371-2180: A03 board PMIC config update

2016-07-18 Thread Stephen Warren
From: Stephen Warren Rev A03 of P2180 requires some PMIC programming adjustments, yet the PMIC's own OTP has not been updated. Consequently, U-Boot must make these changes itself. NVIDIA's syseng team has confirmed that these changes can be enabled on all board revisions

Re: [U-Boot] [PATCH 1/1] configs/wandboard.h: fix dtb file name for findfdt.

2016-07-18 Thread Robert Nelson
Hi Adam, On Mon, Jul 18, 2016 at 10:45 AM, Adam Duskett wrote: > With the release of kernel 4.1.15 for the imx6 line of processors, > wandboard now uses imx6q-wandboard-revc1.dtb and > imx6dl-wandboard-revc1.dtb. > This patch fixes the naming convention to work with

Re: [U-Boot] [PATCH v2 0/5] Modified the errata A006261 according to endianness

2016-07-18 Thread york sun
On 07/18/2016 02:36 AM, Marek Vasut wrote: > On 07/18/2016 05:47 AM, Sriram Dash wrote: >> Modifies errata implementation due to the fact that P3041, >> P5020, and P5040 are all big endian for the USB PHY registers, but >> they were specified little endian. >> Applies the errata for P1010, P2041,

Re: [U-Boot] [PATCH 1/1] configs/wandboard.h: fix dtb file name for findfdt.

2016-07-18 Thread Fabio Estevam
On Mon, Jul 18, 2016 at 4:30 PM, Robert Nelson wrote: > NAK, This breaks mainline: > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/Makefile?id=refs/tags/v4.7-rc7#n338 > > imx6dl-wandboard.dtb \ >

Re: [U-Boot] online wiki page for "fdt" commands full of FDT_ERR_BADMAGIC msgs

2016-07-18 Thread Wolfgang Denk
Dear Robert, In message you wrote: > > i'm sure i mentioned this before but the denx wiki page describing > the "fdt" command is loaded with pretty much nothing but error > messages: > > http://www.denx.de/wiki/view/DULG/UBootCmdFDT

Re: [U-Boot] [PATCH v2 5/5] mpc85xx/powerpc: Do not apply errata A006261 for T4160, T1040, T2080

2016-07-18 Thread york sun
On 07/17/2016 08:47 PM, Sriram Dash wrote: > Do not apply errata A006261 for T4160 and T4080(rev 1.0, 2.0), > T1040(rev 1.0), T2080(rev 1.0), T2081(rev 1.0). I don't see mentioning the revision numbers helps here. Your patch is removing the erratum from T4160, T4080, T1040, T1042, T1020, T1022,

Re: [U-Boot] is minicom still discouraged as the serial comms program?

2016-07-18 Thread Wolfgang Denk
Dear Robert, In message you wrote: > > i know that minicom has been discouraged for quite some time WRT > u-boot, is that still the case? The recommendation to avoid minicom even predates U-Boot; it comes from the time when it was

Re: [U-Boot] is minicom still discouraged as the serial comms program?

2016-07-18 Thread Wolfgang Denk
Dear Måns, In message you wrote: > > It's an opinion shared by many. Minicom appears to be mainly intended > for use with an actual modem, and when there isn't one involved, those > features tend to get in the way. Right - now you mention it I remember that

Re: [U-Boot] what is with the "#if 0"ed part of ARP hdr in include/net.h?

2016-07-18 Thread Wolfgang Denk
Dear "Robert P. J. Day", In message you wrote: > > was poking around in include/net.h, and noticed this snippet: ... > is it doing anything, like acting as a comment or something? Probably. Sorry, I dont remember the details. >

Re: [U-Boot] more "#if 0" pedantry related to moving macros in header files

2016-07-18 Thread Wolfgang Denk
Dear "Robert P. J. Day", In message you wrote: > > but this brings up the question, where should content like that > properly be defined? it seems awkward to break the bit flag > definitions for a single register over two header files

Re: [U-Boot] [PATCH 1/1] configs/wandboard.h: fix dtb file name for findfdt.

2016-07-18 Thread Wolfgang Denk
Dear Adam Duskett, In message you wrote: > With the release of kernel 4.1.15 for the imx6 line of processors, > wandboard now uses imx6q-wandboard-revc1.dtb and imx6dl-wandboard-revc1.dtb. > This patch fixes the naming convention to work with

[U-Boot] erasing u-boot from u-boot

2016-07-18 Thread Mike.Worster
I'm working with a 2015.04 version of U-Boot, I have it flashed on a i.MX6 DualLite based device in eMMC. I'm now trying to blow away that version of U-Boot from within U-Boot itself (so the device goes back into Serial Download mode). I've tried erasing the mmc0 (eMMC), the command works, but

Re: [U-Boot] [PATCH 1/1] configs/wandboard.h: fix dtb file name for findfdt.

2016-07-18 Thread Adam Duskett
Dear Wolfgang Denk > To: adamdusk...@outlook.com > CC: u-boot@lists.denx.de > From: w...@denx.de > Subject: Re: [U-Boot] [PATCH 1/1] configs/wandboard.h: fix dtb file name for > findfdt. > Date: Mon, 18 Jul 2016 21:47:05 +0200 > > Dear Adam Duskett, > > In message

Re: [U-Boot] is minicom still discouraged as the serial comms program?

2016-07-18 Thread Robert P. J. Day
On Mon, 18 Jul 2016, Wolfgang Denk wrote: > Dear Måns, > > In message you wrote: > > > > It's an opinion shared by many. Minicom appears to be mainly intended > > for use with an actual modem, and when there isn't one involved, those > > features tend to get

Re: [U-Boot] [PATCH v2 5/9] mx7: set soc environment according to exact SoC type

2016-07-18 Thread Fabio Estevam
On Wed, Jul 13, 2016 at 4:25 AM, Stefan Agner wrote: > From: Stefan Agner > > This can be useful if the same U-Boot binary is used for boards > available with a i.MX 7Solo and i.MX 7Dual. > > Signed-off-by: Stefan Agner >

Re: [U-Boot] [PATCH v2 5/9] mx7: set soc environment according to exact SoC type

2016-07-18 Thread Stefan Agner
On 2016-07-18 15:19, Fabio Estevam wrote: > On Wed, Jul 13, 2016 at 4:25 AM, Stefan Agner wrote: >> From: Stefan Agner >> >> This can be useful if the same U-Boot binary is used for boards >> available with a i.MX 7Solo and i.MX 7Dual. >> >>

Re: [U-Boot] [PATCH v2 5/9] mx7: set soc environment according to exact SoC type

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:21:39PM -0700, Stefan Agner wrote: > On 2016-07-18 15:19, Fabio Estevam wrote: > > On Wed, Jul 13, 2016 at 4:25 AM, Stefan Agner wrote: > >> From: Stefan Agner > >> > >> This can be useful if the same U-Boot binary is used for

[U-Boot] [PATCH] mmc: dw_mmc: reduce timeout detection cycle

2016-07-18 Thread Ziyuan Xu
It's no need to speed 10 seconds to wait the mmc device out from busy status. 500 milliseconds enough. Signed-off-by: Ziyuan Xu --- drivers/mmc/dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c index

Re: [U-Boot] erasing u-boot from u-boot

2016-07-18 Thread Peng Fan
On Mon, Jul 18, 2016 at 06:23:10PM +, mike.wors...@emerson.com wrote: >I'm working with a 2015.04 version of U-Boot, I have it flashed on a i.MX6 >DualLite based device in eMMC. I'm now trying to blow away that version of >U-Boot from within U-Boot itself (so the device goes back into Serial

Re: [U-Boot] [PATCH v2 4/5] mpc85xx/powerpc: P5040: Apply errata A006261 for P5040

2016-07-18 Thread york sun
Same comment to the subject line. On 07/17/2016 08:47 PM, Sriram Dash wrote: > Apply USB errata A006261 for P5040. Please add explanation the same erratum applies to P5040 rev 2.0. > > Signed-off-by: Sriram Dash > Signed-off-by: Rajesh Bhagat > ---

Re: [U-Boot] erasing u-boot from u-boot

2016-07-18 Thread Fabio Estevam
Hi Peng, On Mon, Jul 18, 2016 at 10:48 PM, Peng Fan wrote: > If you burned u-boot using mfgtool, the uboot will be burned into boot > partition. > However when uboot boots up, it will switch to user partition. > You need to switch to read/write/erase boot partition in

Re: [U-Boot] [PATCH v2] misc: Add simple driver for some Nuvoton NCT6102D devices

2016-07-18 Thread Bin Meng
On Mon, Jul 18, 2016 at 4:16 PM, Stefan Roese wrote: > This simple driver provides some functions to control some of the > integrated devices. The watchdog is enabled per default. This driver > adds a function to disable the watchdog. Also the internal legacy > UART (io address

[U-Boot] [PATCH] usb: Kconfig: Add Kconfigs entry USB_EHCI_ZYNQ

2016-07-18 Thread Siva Durga Prasad Paladugu
Add Kconfig entry config option for USB_EHCI_ZYNQ and update the same to enable for all zynq boards which supports USB Signed-off-by: Siva Durga Prasad Paladugu --- - This series is based on latest mainline Changes for v2: - Moved CONFIG_USB_EHCI_ZYNQ to Kconfig and removed

[U-Boot] [PATCH v3] misc: Add simple driver for some Nuvoton NCT6102D devices

2016-07-18 Thread Stefan Roese
This simple driver provides some functions to control some of the integrated devices. The watchdog is enabled per default. This driver adds a function to disable the watchdog. Also the internal legacy UART (io address 0x3f8/0x2f8) is enabled per default. Signed-off-by: Stefan Roese

[U-Boot] [PATCH] Revert "rockchip: Move the MMC setup check earlier"

2016-07-18 Thread Ziyuan Xu
Boot Rom wouldn't initialize sdmmc while booting from eMMC. We need to setup sdmmc gpio, otherwise we will hit an error below: =>mmc info blk_get_device: if_type=6, devnum=0: dw...@ff0c.blk, 6, 0 uclass_find_device_by_seq: 0 -1 uclass_find_device_by_seq: 0 0 - -1 -1 - -1 0 - found

Re: [U-Boot] [PATCH] x86: cache.h: Add default for CONFIG_SYS_CACHELINE_SIZE

2016-07-18 Thread Bin Meng
On Mon, Jul 18, 2016 at 6:53 PM, Stefan Roese wrote: > Don't just define ARCH_DMA_MINALIGN but also CONFIG_SYS_CACHELINE_SIZE > if its undefined. This is needed for the xhci driver to compile. nits: it's I can fix this when applying. > > Signed-off-by: Stefan Roese

Re: [U-Boot] [PATCH] x86: baytrail: Add SIO HS-UART clock setup

2016-07-18 Thread Bin Meng
Hi Stefan, On Mon, Jul 18, 2016 at 8:25 PM, Stefan Roese wrote: > To support the BayTrail internal SIO HS UART, the internal UART clock > needs to get configured. This patch adds support for this clock > configuration which will be done, if the PCI device(s) are found. > >

[U-Boot] [PATCH 1/2] zynq: config: Enable CONFIG_SYS_NO_FLASH through defconfig

2016-07-18 Thread Siva Durga Prasad Paladugu
Enable config CONFIG_SYS_NO_FLASH through defconfig for all zynq boards. Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v2: - None --- configs/zynq_microzed_defconfig| 1 + configs/zynq_picozed_defconfig | 1 + configs/zynq_zc702_defconfig | 1 +

Re: [U-Boot] [PATCH 2/2] x86: Add theadorable-x86-dfi-bt700 board support

2016-07-18 Thread Bin Meng
On Wed, Jul 13, 2016 at 2:04 PM, Stefan Roese wrote: > This patch adds support for the BayTrail based theadorable-x86-dfi-bt700 > board which uses the DFI BT700 BayTrail Qseven SoM on a custom baseboard. > The main difference to the DFI baseboard is, that it isn't equipped > with a

Re: [U-Boot] [PATCH v2 0/9] mx7: add Colibri iMX7S/iMX7D support

2016-07-18 Thread Stefan Agner
On 2016-07-13 00:25, Stefan Agner wrote: > From: Stefan Agner > > This patchset adds support for the Toradex i.MX 7Solo and 7Dual > based computer on modules Colibri iMX7S/iMX7D. > > It also brings several smaller i.MX 7 related fixes/cleanups. Is there anything

Re: [U-Boot] erasing u-boot from u-boot

2016-07-18 Thread Peng Fan
Hi Fabio, On Mon, Jul 18, 2016 at 10:59:43PM -0300, Fabio Estevam wrote: >Hi Peng, > >On Mon, Jul 18, 2016 at 10:48 PM, Peng Fan wrote: > >> If you burned u-boot using mfgtool, the uboot will be burned into boot >> partition. >> However when uboot boots up, it will switch

Re: [U-Boot] [PATCH] x86: doc: Add note about the debug FSP usage on BayTrail

2016-07-18 Thread Bin Meng
On Wed, Jul 13, 2016 at 5:35 PM, Bin Meng wrote: > On Wed, Jul 13, 2016 at 2:23 PM, Stefan Roese wrote: >> The debug FSP image is bigger in size than the normal FSP image. This >> patch adds a small description on how to use this FSP debug version >> by changing

[U-Boot] [PATCH 1/2 v3] x86: Add DFI BT700 BayTrail board support

2016-07-18 Thread Stefan Roese
This patch adds support for the DFI BayTrail BT700 QSeven SoM installed on the DFI Q7X-151 baseboard. The baseboard is equipped with the Nuvoton NCT6102D Super IO chip providing the UART as console. Signed-off-by: Stefan Roese Cc: Simon Glass Reviewed-by: Bin

[U-Boot] [PATCH] ARM: uniphier: fix doubled tftpboot commands

2016-07-18 Thread Masahiro Yamada
This downloads the same file twice for nothing. Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index 4ebaf84..169c197 100644 ---

Re: [U-Boot] [PATCH 3/3] x86: Mention running U-Boot in 64-bit mode in the README

2016-07-18 Thread Bin Meng
On Mon, Jul 18, 2016 at 9:27 AM, Bin Meng wrote: > On Sun, Jul 17, 2016 at 3:23 PM, Simon Glass wrote: >> This feature is not supported. Document this, and add some details on how it >> might be implemented. >> >> Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 1/3] x86: Mention how to boot a 64-bit kernel from U-Boot

2016-07-18 Thread Bin Meng
On Mon, Jul 18, 2016 at 9:24 AM, Bin Meng wrote: > On Sun, Jul 17, 2016 at 3:22 PM, Simon Glass wrote: >> The README indicates that this is not supported, but this is no-longer true. >> Update the text to indicate this and describe the FIT changes required.

Re: [U-Boot] [PATCH 2/3] x86: Add a reference to README.efi

2016-07-18 Thread Bin Meng
On Mon, Jul 18, 2016 at 9:27 AM, Bin Meng wrote: > On Sun, Jul 17, 2016 at 3:23 PM, Simon Glass wrote: >> UEFI is commonly used on x86. Add a reference to U-Boot's support for this >> in the x86 README. >> >> Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH] i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail)

2016-07-18 Thread Bin Meng
Simon, Heiko, On Tue, Jul 12, 2016 at 1:22 PM, Bin Meng wrote: > Hi Simon, > > On Tue, Jun 28, 2016 at 9:44 PM, Stefan Roese wrote: >> This patch adds support for the SMBus block read/write functionality. >> Other protocols like the SMBus quick command need to

Re: [U-Boot] [PATCH v2 5/9] mx7: set soc environment according to exact SoC type

2016-07-18 Thread Stefan Agner
On 2016-07-18 17:36, Tom Rini wrote: > On Mon, Jul 18, 2016 at 03:21:39PM -0700, Stefan Agner wrote: >> On 2016-07-18 15:19, Fabio Estevam wrote: >> > On Wed, Jul 13, 2016 at 4:25 AM, Stefan Agner wrote: >> >> From: Stefan Agner >> >> >> >> This can be

Re: [U-Boot] [PATCH] mmc: dw_mmc: reduce timeout detection cycle

2016-07-18 Thread Ziyuan Xu
Hi Jaehoon, On 2016年07月19日 10:03, Jaehoon Chung wrote: Hi Ziyuan, On 07/19/2016 10:38 AM, Ziyuan Xu wrote: It's no need to speed 10 seconds to wait the mmc device out from busy status. 500 milliseconds enough. I agreed that 10 seconds is too big.. Could you explain more how you get 500ms and

Re: [U-Boot] u-boot: x86: interrupt mapping

2016-07-18 Thread Bin Meng
+Jian, Simon, ML, this info might be useful for other guys on the ML. Hi Christian, On Mon, Jul 18, 2016 at 11:02 PM, Christian Gmeiner wrote: > Hi Bin, > > > 2016-06-28 3:15 GMT+02:00 Bin Meng : >> Hi Christian, >> >> On Mon, Jun 27, 2016 at

Re: [U-Boot] [PATCH 2/2] fs/fat/fat: Optimizes memory size with single global variable instead of 3

2016-07-18 Thread Tien Fong Chee
On Fri, 2016-07-15 at 01:37 +0200, Benoît Thébaudeau wrote: > Dear Tien Fong, > > On Thu, Jul 14, 2016 at 12:48 PM, Tien Fong Chee > wrote: > > Dear Benoît, > > > > On Wed, 2016-07-13 at 12:56 +0200, Benoît Thébaudeau wrote: > > > Dear Tien Fong Chee, > > > > > > On Jul 13,

Re: [U-Boot] [PATCH 1/2 v2] x86: Add DFI BT700 BayTrail board support

2016-07-18 Thread Bin Meng
Hi Stefan, On Mon, Jul 18, 2016 at 4:24 PM, Stefan Roese wrote: > This patch adds support for the DFI BayTrail BT700 QSeven SoM installed > on the DFI Q7X-151 baseboard. The baseboard is equipped with the Nuvoton > NCT6102D Super IO chip providing the UART as console. > >

Re: [U-Boot] [PATCH] mmc: dw_mmc: reduce timeout detection cycle

2016-07-18 Thread Jaehoon Chung
Hi Ziyuan, On 07/19/2016 11:33 AM, Ziyuan Xu wrote: > Hi Jaehoon, > > On 2016年07月19日 10:03, Jaehoon Chung wrote: >> Hi Ziyuan, >> >> On 07/19/2016 10:38 AM, Ziyuan Xu wrote: >>> It's no need to speed 10 seconds to wait the mmc device out from busy >>> status. 500 milliseconds enough. >> I agreed

  1   2   >