[U-Boot] [PATCH] arm: ls1021a: improve the core frequency to 1.2GHZ

2016-11-08 Thread Yuan Yao
From: Yuan Yao LS1021A is working stability with 1.2GHZ, so as a performance requirements we can improve the core frequency to 1.2GHZ for SD boot and NAND boot. Signed-off-by: Yuan Yao --- board/freescale/ls1021aqds/ls102xa_rcw_nand.cfg| 2 +- board/freescale/ls1021aqds/ls102xa_rcw_sd_ifc.

[U-Boot] [PATCH v2 4/4] colibri_pxa270: transition to driver model for serial

2016-11-08 Thread Marcel Ziswiler
Add serial platform data to board file. Enable driver model for PXA serial driver. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Drop baudrate checks. - Use panic instead of just hang() to more gracefully handle failure case. - Drop superfluous parenthesis around plat->base. - Capitalis

[U-Boot] [PATCH v2 3/4] colibri_pxa270: drop edit, elf, fpga, hush, regex et al. for space reason

2016-11-08 Thread Marcel Ziswiler
With em humble DM and Kconfig migraters U-Boot binary size keeps increasing. Drop a bunch of less needed stuff to save another precious 20+ KB. Signed-off-by: Marcel Ziswiler --- Changes in v2: - Introduce new patch saving more precious space. configs/colibri_pxa270_defconfig | 6 +- incl

[U-Boot] [PATCH v2 2/4] serial: pxa: integrate optional driver model handling

2016-11-08 Thread Marcel Ziswiler
Optional driver model handling integration. Signed-off-by: Marcel Ziswiler --- Changes in v2: None drivers/serial/serial_pxa.c | 184 +- include/dm/platform_data/serial_pxa.h | 56 +++ 2 files changed, 170 insertions(+), 70 deletions(-) creat

[U-Boot] [PATCH v2 1/4] serial: pxa: use kconfig for serial configuration

2016-11-08 Thread Marcel Ziswiler
Migrate the PXA serial driver to be configured via Kconfig. Signed-off-by: Marcel Ziswiler --- Changes in v2: None configs/colibri_pxa270_defconfig | 1 + configs/h2200_defconfig | 1 + configs/zipitz2_defconfig| 1 + drivers/serial/Kconfig | 6 ++ include/config

[U-Boot] [PATCH v2 0/4] serial: pxa: kconfig and optional driver model integration

2016-11-08 Thread Marcel Ziswiler
This series integrates both Kconfig as well as optional driver model support for the PXA serial driver. As I do not have any of the other hardware available for testing for now I only transitioned the Colibri PXA270 to actually make use of DM_SERIAL. As space on this mostly NOR based hardware is r

[U-Boot] [PATCH 0/4] enable the host controller for rk3036

2016-11-08 Thread Kever Yang
To enable usb host function, you need: - enable the host port power, usually controled by a gpio named vbus_drv; - enable the controller driver like dwc2; - enable the usb framework like CONFIG_CMD_USB and CONFIG_USB; - enable the usb function like storage or ether; Kever Yang (4): config:

[U-Boot] [PATCH 2/4] config: rk3036: enable fix regulator

2016-11-08 Thread Kever Yang
usb host vbus power is using gpio fix regulator, enable it. Signed-off-by: Kever Yang --- configs/kylin-rk3036_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/kylin-rk3036_defconfig b/configs/kylin-rk3036_defconfig index 5a8b85a..631d1f5 100644 --- a/configs/kylin-rk3036_d

[U-Boot] [PATCH 4/4] rk3036: enable the vbus regulator when borad_init

2016-11-08 Thread Kever Yang
enable the vbus for usb host in board_init(). Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3036-board.c | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/mach-rockchip/rk3036-board.c b/arch/arm/mach-rockchip/rk3036-board.c index bf2b268..90d3d33 10064

[U-Boot] [PATCH 1/4] config: rk3036: enable configs for USB HOST

2016-11-08 Thread Kever Yang
rk3036 using dwc2 usb controller, need enable relate configs for it. Signed-off-by: Kever Yang --- configs/kylin-rk3036_defconfig | 3 +++ include/configs/rk3036_common.h | 7 +++ 2 files changed, 10 insertions(+) diff --git a/configs/kylin-rk3036_defconfig b/configs/kylin-rk3036_defconfi

[U-Boot] [PATCH 3/4] dts: arm: rk3036: add usb vbus node

2016-11-08 Thread Kever Yang
add fix regulator node for usb vbus power control. Signed-off-by: Kever Yang --- arch/arm/dts/rk3036-sdk.dts | 37 + 1 file changed, 33 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/rk3036-sdk.dts b/arch/arm/dts/rk3036-sdk.dts index 1c9ddf9..bdc7b9

[U-Boot] [PATCH RESEND 1/9] fdtdec: Fix alias retrieval

2016-11-08 Thread Maxime Ripard
When the subsystem in u-boot ends up with a number, the alias parsing mechanism was off, being confused between the actual number, and the alias number. Fix the code to start parsing the alias at the end of our subsystem name. Signed-off-by: Maxime Ripard --- lib/fdtdec.c | 3 ++- 1 file change

[U-Boot] [PATCH RESEND 8/9] sunxi: Add CHIP's DIP support

2016-11-08 Thread Maxime Ripard
The NextThing CHIP comes with expansion boards called DIPs. These DIPs comes with a 1-Wire EEPROM used to enumerate and identify the DIPs currently attached. Once we know what is connected, we need to do various things, such a load and apply an overlay if relevant, adjust the U-boot environment a

[U-Boot] [PATCH RESEND 0/9] sunxi: chip: Enable the DIP auto-detection

2016-11-08 Thread Maxime Ripard
The NextThing's C.H.I.P. can have expansion boards called DIPs. Those DIPs are connected through the external headers, and comes with an identification mechanism based on 1-Wire EEPROMs. That auto-detection works great, because 1-Wire allows the enumeration, and the EEPROMs are guaranteed to have

[U-Boot] [PATCH RESEND 4/9] w1: Add 1-Wire gpio driver

2016-11-08 Thread Maxime Ripard
Add a bus driver for bitbanging a 1-Wire bus over a GPIO. Signed-off-by: Maxime Ripard --- drivers/w1/Kconfig | 6 ++- drivers/w1/Makefile | 1 +- drivers/w1/w1-gpio.c | 160 - 3 files changed, 167 insertions(+), 0 deletions(-) create mode 1006

[U-Boot] [PATCH RESEND 3/9] w1: Add 1-Wire uclass

2016-11-08 Thread Maxime Ripard
We might want to use 1-Wire devices connected on boards such as EEPROMs in U-Boot. Provide a framework to be able to do that. Signed-off-by: Maxime Ripard --- drivers/Kconfig| 2 +- drivers/Makefile | 1 +- drivers/w1/Kconfig | 17 +++- drivers/w1/Makefile| 2 +- dr

[U-Boot] [PATCH RESEND 5/9] EEPROM: Add an EEPROM uclass

2016-11-08 Thread Maxime Ripard
We might want to access data stored onto EEPROMs. Create a framework to provide a consistent API. Signed-off-by: Maxime Ripard --- drivers/Kconfig| 2 +- drivers/Makefile | 1 +- drivers/eeprom/Kconfig | 17 ++- drivers/eeprom/Makefile| 2

[U-Boot] [PATCH RESEND 9/9] config: chip: Enable DIP support

2016-11-08 Thread Maxime Ripard
Signed-off-by: Maxime Ripard --- configs/CHIP_defconfig | 5 + 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/configs/CHIP_defconfig b/configs/CHIP_defconfig index 65d0c9847a02..2f22e857b4a7 100644 --- a/configs/CHIP_defconfig +++ b/configs/CHIP_defconfig @@ -7,6 +7,7 @@ CONFIG

[U-Boot] [PATCH RESEND 2/9] sunxi: chip: Add 1-wire node

2016-11-08 Thread Maxime Ripard
The CHIP uses on PD2 (a pin incorrectly called LCD_D2) a bitbanged 1-Wire bus to discover the adapters plug into it. Add that bus to the device tree. Signed-off-by: Maxime Ripard --- arch/arm/dts/sun5i-r8-chip.dts | 15 +++ 1 file changed, 15 insertions(+), 0 deletions(-) diff --gi

[U-Boot] [PATCH RESEND 6/9] eeprom: Add DS2431 support

2016-11-08 Thread Maxime Ripard
Add a driver for the Maxim DS2431 1-Wire EEPROM Signed-off-by: Maxime Ripard --- drivers/eeprom/Kconfig | 6 ++ drivers/eeprom/Makefile | 1 + drivers/eeprom/ds2431.c | 38 ++ 3 files changed, 45 insertions(+), 0 deletions(-) create mode 100644 drivers

[U-Boot] [PATCH RESEND 7/9] video: Allow board hook before video init

2016-11-08 Thread Maxime Ripard
Some boards might need to some additional setup right before initialising the video console. Add some hook to allow that. Signed-off-by: Maxime Ripard --- drivers/video/cfb_console.c | 9 + 1 file changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/video/cfb_console.c b/driv

Re: [U-Boot] [PATCH v2] rpi: passthrough of the firmware provided FDT blob

2016-11-08 Thread Cédric Schieli
2016-11-08 4:14 GMT+01:00 Stephen Warren : > Please note that for this to work the U-Boot binary must be tagged >> with a recent version of the mkknlimg script found in the Rasperry >> Fundation's kernel tree: >> >> /scripts/mkknlimg --dtok /u-boot.bin /boot/u-boot.bin >> >> [1] https://www.raspbe

[U-Boot] [PATCH 1/3 v3] fsl/ddr: Revise erratum a009942 and clean related erratum

2016-11-08 Thread Shengzhou Liu
- add additional function erratum_a009942_check_cpo to check if the board needs tuning CPO calibration for optimal setting. - move ERRATUM_A009942(with revision to check cpo_sample option) from fsl_ddr_gen4.c to ctrl_regs.c for reuse on all DDR4/DDR3 parts. - move ERRATUM_A008378 from fsl_ddr_g

Re: [U-Boot] [PATCH] armv8: ls2080aqds: fix SGMII repeater settings

2016-11-08 Thread Prabhakar Kushwaha
Hi York, > -Original Message- > From: york sun > Sent: Tuesday, November 08, 2016 12:12 AM > To: Prabhakar Kushwaha > Cc: shh@gmail.com; u-boot@lists.denx.de; S.H. Xie > Subject: Re: [PATCH] armv8: ls2080aqds: fix SGMII repeater settings > > On 10/17/2016 01:33 AM, shh@gmail.co

Re: [U-Boot] [PATCH v2] armv8: fsl-layerscape: Add Readme for deploy QSPI image

2016-11-08 Thread Yao Yuan
On 11/08/2016 12:46 PM, York Sun wrote: > On 11/07/2016 07:52 PM, Yuan Yao wrote: > > From: Yuan Yao > > > > Signed-off-by: Yuan Yao > > --- > > Changed in v2: > > Move the readme for QSPI deploy out of only for ls2080aqds. > > --- > > .../arm/cpu/armv8/fsl-layerscape/doc/README.deploy | 44

Re: [U-Boot] [PATCH v2] rpi: passthrough of the firmware provided FDT blob

2016-11-08 Thread Jonathan Liu
Hi Stephen, On 8 November 2016 at 14:14, Stephen Warren wrote: > On 11/07/2016 07:44 AM, Cédric Schieli wrote: >> >> Raspberry firmware used to pass a FDT blob at a fixed address (0x100), >> but this is not true anymore. The address now depends on both the >> memory size and the blob size [1]. >>

Re: [U-Boot] [PATCH] driver: net: fsl-mc: Use aligned address for MC FW load

2016-11-08 Thread Ashish Kumar
Hello York, Please see inline. Regards Ashish -Original Message- From: york sun Sent: Tuesday, November 08, 2016 12:23 AM To: Priyanka Jain ; u-boot@lists.denx.de Cc: Prabhakar Kushwaha ; Ashish Kumar Subject: Re: [PATCH] driver: net: fsl-mc: Use aligned address for MC FW load On 10/

Re: [U-Boot] [PATCH 1/3] fsl/ddr: Revise erratum a009942 and clean related erratum

2016-11-08 Thread Shengzhou Liu
> -Original Message- > From: york sun > Sent: Tuesday, November 08, 2016 1:04 AM > To: Shengzhou Liu ; u-boot@lists.denx.de > Subject: Re: [PATCH 1/3] fsl/ddr: Revise erratum a009942 and clean related > erratum > > > > York, > > > > This change(moving to ctrl_regs.c) has the same effect as

[U-Boot] Pull request, u-boot-tegra/master

2016-11-08 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! All Tegra builds are OK, and Stephen's automated test system reports that all tests pass. The following changes since commit 4b6035da482cccda06aeb419634f99937c9fc783: mx6sabresd: Make Ethernet functional again (2016-11-06 06:59:

[U-Boot] [PATCH 0/7] sunxi: Add support for the CHIP Pro

2016-11-08 Thread Maxime Ripard
The CHIP Pro is a SoM made by NextThing Co, and that embeds a GR8 SIP, an AXP209 PMIC, a WiFi BT chip and a 512MB SLC NAND. Since the first Allwinner device coming whit an SLC NAND that doesn't have the shortcomings (and breakages) the MLC NAND has, we can finally enable the NAND support on a boar

[U-Boot] [PATCH 1/7] sunxi: Sync GR8 DTS and AXP209 with the kernel

2016-11-08 Thread Maxime Ripard
Those DT will be part of 4.10, sync them so we can have our own config. Signed-off-by: Maxime Ripard --- arch/arm/dts/Makefile |1 +- arch/arm/dts/axp209.dtsi |6 +- arch/arm/dts/ntc-gr8-chip-pro.dts | 266 +++- arch/arm/dts/ntc-gr8.dtsi | 1132 +

[U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-08 Thread Maxime Ripard
From: Hans de Goede Enable the NAND and UBI support in the configuration header so that we can (finally) use it. Signed-off-by: Hans de Goede Signed-off-by: Maxime Ripard --- include/configs/sunxi-common.h | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH 2/7] mtd: nand: add support for the TC58NVG2S0H chip

2016-11-08 Thread Maxime Ripard
From: Boris Brezillon Add the description of the Toshiba TC58NVG2S0H SLC nand to the nand_ids table so we can use the NAND ECC infos and the ONFI timings. Signed-off-by: Boris Brezillon Signed-off-by: Maxime Ripard --- drivers/mtd/nand/nand_ids.c | 3 +++ 1 file changed, 3 insertions(+), 0 de

[U-Boot] [PATCH 5/7] nand: sunxi: Add options for the SPL NAND configuration

2016-11-08 Thread Maxime Ripard
The SPL image needs to be built with a different ECC configuration than the U-Boot binary. Add Kconfig options with defaults to provide a value that should work for anyone, but is still configurable if needs be. Signed-off-by: Maxime Ripard --- drivers/mtd/nand/Kconfig | 16 1

[U-Boot] [PATCH 6/7] scripts: sunxi: Build an raw SPL image

2016-11-08 Thread Maxime Ripard
Introduce a new sunxi-spl-with-ecc.bin image with already the right header, ECC, randomizer and padding for the BROM to be able to read it. It needs to be flashed using a raw access to the NAND so that the controller doesn't change a thing to it, since we already have all the right parameters. Si

[U-Boot] [PATCH 7/7] sunxi: Add support for the CHIP Pro

2016-11-08 Thread Maxime Ripard
The CHIP Pro is a SoM that features the GR8 SIP, an AXP209, a BT/WiFi chip and a 512MiB SLC NAND. This it's an SLC NAND, it doesn't suffer the same drawbacks than found on the MLC NANDs, and we can enable it right away. Signed-off-by: Maxime Ripard --- configs/CHIP_pro_defconfig | 27 ++

[U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-08 Thread Maxime Ripard
This program generates raw SPL images that can be flashed on the NAND with the ECC and randomizer properly set up. Signed-off-by: Maxime Ripard --- tools/.gitignore|1 +- tools/Makefile |1 +- tools/sunxi-spl-image-builder.c | 1113 +++

Re: [U-Boot] [PATCH 6/7] scripts: sunxi: Build an raw SPL image

2016-11-08 Thread Boris Brezillon
On Tue, 8 Nov 2016 17:21:16 +0100 Maxime Ripard wrote: > Introduce a new sunxi-spl-with-ecc.bin image with already the right header, > ECC, randomizer and padding for the BROM to be able to read it. > > It needs to be flashed using a raw access to the NAND so that the > controller doesn't chang

Re: [U-Boot] Loading kernel from SD card slow on MinnowBoard Turbot since v2016.09

2016-11-08 Thread Raschen Josef
Hi, > From my tests it should be somewhere between these two commits: > 1c62d999528da1f052cb4b07cbb540b148c52537OK > ceec08f50b66df0c988033842ec057a32658cfe0NOK I did some more tests and it looks like commit 14bed52d276afd36b9674ee7aa2c2ad9d2f4e59e introduced the issue. From the code I

[U-Boot] [PATCH 01/11] net: dw: Add read_rom_hwaddr net_op hook

2016-11-08 Thread Olliver Schinagl
Add the read_rom_hwaddr net_op hook so that it can be called from boards to read the mac from a ROM chip. Signed-off-by: Olliver Schinagl --- drivers/net/designware.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index

[U-Boot] [PATCH 11/11] tools: Add tool to add crc8 to a mac address

2016-11-08 Thread Olliver Schinagl
This patch adds a little tool that takes a generic MAC address and generates a CRC byte for it. The output is the full MAC address without any separators, ready written into an EEPROM. Signed-off-by: Olliver Schinagl --- tools/.gitignore| 1 + tools/Makefile | 4 tools/ge

[U-Boot] [PATCH 03/11] net: sunxi-emac: Add write_hwaddr net_op hook

2016-11-08 Thread Olliver Schinagl
Expose enetaddr writing via net_ops so that it can be hooked into. Signed-off-by: Olliver Schinagl --- drivers/net/sunxi_emac.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c index 99339db..dcf832e 100644 --- a/drivers/net/sunxi_e

[U-Boot] [PATCH 05/11] net: Add ability to set MAC address via EEPROM to Kconfig

2016-11-08 Thread Olliver Schinagl
This patch allows Kconfig to enable and set parameters to make it possible to read the MAC address from an EEPROM. This patch only sets up some environment variables, it is up to the specific boards to actually use these defines. Besides the various tuneables as to how to access the eeprom (bus, a

[U-Boot] [PATCH 10/11] tools: Allow crc8 to be used

2016-11-08 Thread Olliver Schinagl
This patch enables crc8 to be used from within the tools directory using u-boot/crc.h. Signed-off-by: Olliver Schinagl Reviewed-by: Joe Hershberger --- include/u-boot/crc.h | 3 +++ tools/Makefile | 1 + 2 files changed, 4 insertions(+) diff --git a/include/u-boot/crc.h b/include/u-boot/

[U-Boot] [PATCH 08/11] net: sunxi: Allow sunxi boards to set the MAC from an EEPROM

2016-11-08 Thread Olliver Schinagl
This patch uses the newly introduced Kconfig options to use the net_op read_rom_hwaddr to retrieve the MAC from an EEPROM. This will be especially useful for the Olimex OLinuXino series of sunxi boards as they all have an 2k i2c eeprom chip. The MAC address in the eeprom is ignored (if enabled) if

[U-Boot] [PATCH 07/11] net: sunxi: Do not inject ethernet addresses into the env

2016-11-08 Thread Olliver Schinagl
Currently we inject 5 ethernet addresses into the environment, just in case we may need them. We do this because some boards have no eeprom (programmed) with a proper ethernet address. With the recent addition of reading actual ethernet addresses from the eeprom via the net_op we should not inject

[U-Boot] [PATCH 02/11] net: sunxi-emac: Write HW address via function

2016-11-08 Thread Olliver Schinagl
Currently the mac address is programmed directly in _sunxi_emac_eth_init making it a one time inflexible operation. By moving it into a separate function, we can now use this more flexibly. Signed-off-by: Olliver Schinagl --- drivers/net/sunxi_emac.c | 19 +++ 1 file changed, 15

Re: [U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-08 Thread Boris Brezillon
On Tue, 8 Nov 2016 17:21:13 +0100 Maxime Ripard wrote: > From: Hans de Goede > > Enable the NAND and UBI support in the configuration header so that we can > (finally) use it. > > Signed-off-by: Hans de Goede > Signed-off-by: Maxime Ripard > --- > include/configs/sunxi-common.h | 26 ++

Re: [U-Boot] [PATCH 3/7] sunxi: Enable UBI and NAND support

2016-11-08 Thread Boris Brezillon
On Tue, 8 Nov 2016 17:21:13 +0100 Maxime Ripard wrote: > From: Hans de Goede > > Enable the NAND and UBI support in the configuration header so that we can > (finally) use it. > > Signed-off-by: Hans de Goede > Signed-off-by: Maxime Ripard > --- > include/configs/sunxi-common.h | 26 ++

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-08 Thread Boris Brezillon
On Tue, 8 Nov 2016 17:21:14 +0100 Maxime Ripard wrote: > This program generates raw SPL images that can be flashed on the NAND with > the ECC and randomizer properly set up. > Maybe you should mention that this file has been copied from the sunxi-tools project. Otherwise, Acked-by: Boris Bre

[U-Boot] [PATCH 2/3] net: phy: realtek: make define more concistent

2016-11-08 Thread Olliver Schinagl
All internal defines in the realtek phy are with a small X, except MIIM_RTL8211X_CTRL1000T_MASTER. Make this more concistent Signed-off-by: Olliver Schinagl --- drivers/net/phy/realtek.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy/realtek.c b/drivers/n

[U-Boot] [PATCH 3/3] net: phy: realtek: Only force master mode on rtl8211b/c

2016-11-08 Thread Olliver Schinagl
Commit 525d187af ("net: phy: Optionally force master mode for RTL PHY") added the define to force the PHY into master mode. Unfortunatly this is an all or nothing switch. So it applies to either all PHY's or no PHY's. The bug that define tried to solve was a buggy PLL in the RTL8211C only. The Ol

[U-Boot] [PATCH] Do not force master mode on unaffected PHY's

2016-11-08 Thread Olliver Schinagl
The current implementation to force the PHY into master mode is to have a define which affects all realtek PHY's. This is not needed as the problem only exists in the RTL8211C chips. Let us thus turn this into a quirk flag instead. ___ U-Boot mailing lis

[U-Boot] [PATCH 1/3] net: phy: realtek: Use the BIT() macro

2016-11-08 Thread Olliver Schinagl
The BIT macro is the preferred method to set bits. This patch adds the bit macro and converts bit invocations. Signed-off-by: Olliver Schinagl --- drivers/net/phy/realtek.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realte

Re: [U-Boot] [PATCH v2] rpi: passthrough of the firmware provided FDT blob

2016-11-08 Thread Stephen Warren
On 11/08/2016 04:50 AM, Jonathan Liu wrote: On 8 November 2016 at 14:14, Stephen Warren wrote: On 11/07/2016 07:44 AM, Cédric Schieli wrote: Raspberry firmware used to pass a FDT blob at a fixed address (0x100), but this is not true anymore. The address now depends on both the memory size and

Re: [U-Boot] [PATCH 5/7] nand: sunxi: Add options for the SPL NAND configuration

2016-11-08 Thread Boris Brezillon
On Tue, 8 Nov 2016 17:21:15 +0100 Maxime Ripard wrote: > The SPL image needs to be built with a different ECC configuration than the > U-Boot binary. > > Add Kconfig options with defaults to provide a value that should work for > anyone, but is still configurable if needs be. > > Signed-off-by

[U-Boot] 2016.09: FIT Image

2016-11-08 Thread Vered Zvi
Hello, I carefully read the files in doc\uImage.FIT It seems that the boot file (kernel, complete rootfs) can be signed for secure boot, but not encrypted. Am I right ? If not, can you please instruct me how to encrypt the boot file ? Thank you, Z.V The information contained in this communica

[U-Boot] [PATCH 09/11] net: sunxi: Enable eeprom on OLinuXino Lime boards

2016-11-08 Thread Olliver Schinagl
This patch enables the I2C EEPROM to be probed for a MAC address on the OLinuXino Lime1 and Lime2 boards. Other boards surely qualify as well but where not tested yet. Signed-off-by: Olliver Schinagl --- configs/A10-OLinuXino-Lime_defconfig | 3 +++ configs/A20-OLinuXino-Lime2_defconfig | 3 +++

Re: [U-Boot] [PATCH v2] rpi: passthrough of the firmware provided FDT blob

2016-11-08 Thread Stephen Warren
On 11/08/2016 03:32 AM, Cédric Schieli wrote: 2016-11-08 4:14 GMT+01:00 Stephen Warren mailto:swar...@wwwdotorg.org>>: Please note that for this to work the U-Boot binary must be tagged with a recent version of the mkknlimg script found in the Rasperry Fundation's kernel

[U-Boot] [PATCH v3] Retrieve MAC address from EEPROM

2016-11-08 Thread Olliver Schinagl
This patch-series introduces methods to retrieve the MAC address from an onboard EEPROM using the read_rom_hwaddr hook. The reason we might want to read the MAC address from an EEPROM instead of storing the entire environment is mostly a size thing. Our default environment already is bigger then t

[U-Boot] [PATCH 04/11] net: sunxi-emac: Add read_rom_hwaddr net_op hook

2016-11-08 Thread Olliver Schinagl
Add the read_rom_hwaddr net_op hook so that it can be called from boards to read the mac from a ROM chip. Signed-off-by: Olliver Schinagl --- drivers/net/sunxi_emac.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c index

[U-Boot] [PATCH 06/11] arm: sunxi: Use read_rom_hwaddr() to obtain MAC address

2016-11-08 Thread Olliver Schinagl
With the newly introduced hooks, we can now set the MAC address at the lowest level properly. The user is still free to override it via a u-boot environment variable. Signed-off-by: Olliver Schinagl --- arch/arm/include/asm/arch-sunxi/sys_proto.h | 8 +++ board/sunxi/board.c

[U-Boot] [PATCH v3 1/1] ARM: ts4600: add basic board support

2016-11-08 Thread Sebastien Bourdelin
This commit adds basic support including: MMC, Serial console Signed-off-by: Sebastien Bourdelin --- arch/arm/Kconfig | 6 ++ board/technologic/ts4600/Kconfig | 15 board/technologic/ts4600/MAINTAINERS | 6 ++ board/technologic/ts4600/Makefile| 11 +++ boar

[U-Boot] [PATCH v4 1/1] ARM: ts4600: add basic board support

2016-11-08 Thread Sebastien Bourdelin
This commit adds basic support including: MMC, Serial console Signed-off-by: Sebastien Bourdelin --- Changes v3 -> v4: - add missing Changes in git message Changes v2 -> v3: - adjust DRAM timing settings (based on recommandation by Mark Featherston and Kris Bahnsen) - rename

Re: [U-Boot] [PATCH 1/3] fsl/ddr: Revise erratum a009942 and clean related erratum

2016-11-08 Thread york sun
On 11/08/2016 02:39 AM, Shengzhou Liu wrote: > >> -Original Message- >> From: york sun >> Sent: Tuesday, November 08, 2016 1:04 AM >> To: Shengzhou Liu ; u-boot@lists.denx.de >> Subject: Re: [PATCH 1/3] fsl/ddr: Revise erratum a009942 and clean related >> erratum >>> >>> York, >>> >>> This

Re: [U-Boot] [PATCH v5 01/21] sf: Adopt flash table INFO macro from Linux

2016-11-08 Thread york sun
On 11/07/2016 08:52 PM, york@nxp.com wrote: > On 10/30/2016 10:47 AM, Jagan Teki wrote: >> INFO macro make flash table entries more adjustable like >> adding new flash_info attributes, update ID length bytes >> and so on and more over it will sync to Linux way of defining >> flash_info attribut

[U-Boot] [PATCH v3] rpi: passthrough of the firmware provided FDT blob

2016-11-08 Thread Cédric Schieli
Raspberry firmware used to pass a FDT blob at a fixed address (0x100), but this is not true anymore. The address now depends on both the memory size and the blob size [1]. If one wants to passthrough this FDT blob to the kernel, the most reliable way is to save its address from the r2/x0 register

Re: [U-Boot] U-Boot overlaps BSS and initrd on arm64

2016-11-08 Thread Tom Rini
On Tue, Nov 08, 2016 at 09:41:13AM -0800, Dmitry Vyukov wrote: > Hello, > > We've got a boot problem on arm64 devices. Here is boot log: > https://storage.kernelci.org/mainline/v4.9-rc4/arm64-defconfig+CONFIG_KASAN=y/lab-baylibre-seattle/boot-juno-r2.txt > https://kernelci.org/boot/id/581ece5a59b5

Re: [U-Boot] U-Boot overlaps BSS and initrd on arm64

2016-11-08 Thread Tom Rini
On Tue, Nov 08, 2016 at 06:01:42PM +, Will Deacon wrote: > On Tue, Nov 08, 2016 at 12:51:44PM -0500, Tom Rini wrote: > > On Tue, Nov 08, 2016 at 09:41:13AM -0800, Dmitry Vyukov wrote: > > > Hello, > > > > > > We've got a boot problem on arm64 devices. Here is boot log: > > > https://storage.ke

Re: [U-Boot] [PATCH] driver: net: fsl-mc: Use aligned address for MC FW load

2016-11-08 Thread york sun
On 11/07/2016 09:37 PM, Ashish Kumar wrote: > Hello York, > > Please see inline. > > Regards > Ashish > > -Original Message- > From: york sun > Sent: Tuesday, November 08, 2016 12:23 AM > To: Priyanka Jain ; u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; Ashish Kumar > > Subject: Re: [PA

Re: [U-Boot] [PATCH] armv8: QSPI: Add AHB bus 16MB+ size support

2016-11-08 Thread york sun
On 11/07/2016 10:03 PM, Yao Yuan wrote: > On 11/08/2016 02:27 AM, York Sun wrote: >> On 10/25/2016 07:10 PM, Yuan Yao wrote: >>> From: Yuan Yao >>> >>> The default configuration for QSPI AHB bus can't support 16MB+. >>> But some flash on NXP layerscape board are more than 16MB. >> >> So what do yo

Re: [U-Boot] U-Boot overlaps BSS and initrd on arm64

2016-11-08 Thread Will Deacon
On Tue, Nov 08, 2016 at 12:51:44PM -0500, Tom Rini wrote: > On Tue, Nov 08, 2016 at 09:41:13AM -0800, Dmitry Vyukov wrote: > > Hello, > > > > We've got a boot problem on arm64 devices. Here is boot log: > > https://storage.kernelci.org/mainline/v4.9-rc4/arm64-defconfig+CONFIG_KASAN=y/lab-baylibre-

Re: [U-Boot] [PATCH 1/3] fsl/ddr: Revise erratum a009942 and clean related erratum

2016-11-08 Thread york sun
On 11/08/2016 09:03 AM, york@nxp.com wrote: > On 11/08/2016 02:39 AM, Shengzhou Liu wrote: >> >>> -Original Message- >>> From: york sun >>> Sent: Tuesday, November 08, 2016 1:04 AM >>> To: Shengzhou Liu ; u-boot@lists.denx.de >>> Subject: Re: [PATCH 1/3] fsl/ddr: Revise erratum a009942

Re: [U-Boot] U-Boot overlaps BSS and initrd on arm64

2016-11-08 Thread Will Deacon
On Tue, Nov 08, 2016 at 01:04:40PM -0500, Tom Rini wrote: > On Tue, Nov 08, 2016 at 06:01:42PM +, Will Deacon wrote: > > On Tue, Nov 08, 2016 at 12:51:44PM -0500, Tom Rini wrote: > > > On Tue, Nov 08, 2016 at 09:41:13AM -0800, Dmitry Vyukov wrote: > > > > Hello, > > > > > > > > We've got a boo

Re: [U-Boot] U-Boot overlaps BSS and initrd on arm64

2016-11-08 Thread Tom Rini
On Tue, Nov 08, 2016 at 07:34:34PM +, Will Deacon wrote: > On Tue, Nov 08, 2016 at 01:04:40PM -0500, Tom Rini wrote: > > On Tue, Nov 08, 2016 at 06:01:42PM +, Will Deacon wrote: > > > On Tue, Nov 08, 2016 at 12:51:44PM -0500, Tom Rini wrote: > > > > On Tue, Nov 08, 2016 at 09:41:13AM -0800,

Re: [U-Boot] [PATCH v2] armv8: fsl-layerscape: Add Readme for deploy QSPI image

2016-11-08 Thread york sun
On 11/07/2016 09:44 PM, Yao Yuan wrote: > On 11/08/2016 12:46 PM, York Sun wrote: >> On 11/07/2016 07:52 PM, Yuan Yao wrote: >>> From: Yuan Yao >>> >>> Signed-off-by: Yuan Yao >>> --- >>> Changed in v2: >>> Move the readme for QSPI deploy out of only for ls2080aqds. >>> --- >>> .../arm/cpu/a

Re: [U-Boot] [PATCH 4/7] tools: sunxi: Add spl image builder

2016-11-08 Thread Maxime Ripard
On Tue, Nov 08, 2016 at 05:29:47PM +0100, Boris Brezillon wrote: > On Tue, 8 Nov 2016 17:21:14 +0100 > Maxime Ripard wrote: > > > This program generates raw SPL images that can be flashed on the NAND with > > the ECC and randomizer properly set up. > > > > Maybe you should mention that this fi

Re: [U-Boot] Pull request: u-boot-net.git master

2016-11-08 Thread Tom Rini
On Mon, Nov 07, 2016 at 11:29:02AM -0600, Joe Hershberger wrote: > Hi Tom, > > The following changes since commit 4b6035da482cccda06aeb419634f99937c9fc783: > > mx6sabresd: Make Ethernet functional again (2016-11-06 06:59:27 -0500) > > are available in the git repository at: > > git://git.d

Re: [U-Boot] Pull request, u-boot-tegra/master

2016-11-08 Thread Tom Rini
On Tue, Nov 08, 2016 at 08:34:04AM -0700, Tom Warren wrote: > Tom, > > Please pull u-boot-tegra/master into U-Boot/master. Thanks! > > All Tegra builds are OK, and Stephen's automated test system reports that > all tests pass. > > The following changes since commit 4b6035da482cccda06aeb419634f9

[U-Boot] MMC write failed - Can't read partition table

2016-11-08 Thread DaveKucharczyk
Hi, we've been using a new SD card for 6+ months without issues, but recently noticed issues with newer releases. I'm not sure if it's the SD cards, our burner stations or our build process. Were using U-Boot 2014.07 The problem is that we can't read/write to the SD card during boot. This happens

Re: [U-Boot] U-Boot overlaps BSS and initrd on arm64

2016-11-08 Thread Will Deacon
On Tue, Nov 08, 2016 at 02:47:30PM -0500, Tom Rini wrote: > On Tue, Nov 08, 2016 at 07:34:34PM +, Will Deacon wrote: > > On Tue, Nov 08, 2016 at 01:04:40PM -0500, Tom Rini wrote: > > > On Tue, Nov 08, 2016 at 06:01:42PM +, Will Deacon wrote: > > > > On Tue, Nov 08, 2016 at 12:51:44PM -0500,

Re: [U-Boot] Issues coupling am335x with VSC8601 PHY

2016-11-08 Thread Alex
On 11/05/2016 12:07 AM, Alex wrote: Hi, I'm trying to enable ethernet on a custom board with an am335x soc, and a VSC8601 connected through RGMII. The plan is to use u-boot as a first stage loader to load a proprietary application (called "the app"). The app already has its own ethernet stack an

Re: [U-Boot] [linux-sunxi] [PATCH 2/3] net: phy: realtek: make define more concistent

2016-11-08 Thread Emilio López
Small nitpick: El 08/11/16 a las 13:38, Olliver Schinagl escribió: > All internal defines in the realtek phy are with a small X, > except MIIM_RTL8211X_CTRL1000T_MASTER. Make this more concistent s/concistent/consistent/ both here and on the subject :) Cheers! Emilio

[U-Boot] [PATCH 4/4] image: Combine image_sig_algo with image_sign_info

2016-11-08 Thread aduda
From: Andrew Duda Remove the need to explicitly add SHA/RSA pairings. Invalid SHA/RSA pairings will still fail on verify operations when the hash length is longer than the key length. Follow the same naming scheme "checksum,crytpo" without explicitly defining the string. Indirectly adds support

[U-Boot] [PATCH v2] arm: ls1021a: improve the core frequency to 1.2GHZ

2016-11-08 Thread Yuan Yao
From: Yuan Yao Change core clock to 1.2GHz in the configurations for SD and NAND boot. Signed-off-by: Yuan Yao --- Changed in v2: Updated the commit message. --- board/freescale/ls1021aqds/ls102xa_rcw_nand.cfg| 2 +- board/freescale/ls1021aqds/ls102xa_rcw_sd_ifc.cfg | 4 ++-- boar

[U-Boot] [PATCH 2/4] rsa: Verify RSA padding programatically

2016-11-08 Thread aduda
From: Andrew Duda Padding verification was done against static SHA/RSA pair arrays which take up a lot of static memory, are mostly 0xff, and cannot be reused for additional SHA/RSA pairings. The padding can be easily computed according to PKCS#1v2.1 as: EM = 0x00 || 0x01 || PS || 0x00 || T w

Re: [U-Boot] [PATCH RESEND 0/9] sunxi: chip: Enable the DIP auto-detection

2016-11-08 Thread Tom Rini
On Tue, Nov 08, 2016 at 11:19:20AM +0100, Maxime Ripard wrote: [snip] > I think the biggest drawback at the moment is that we maintain a list of > DIPs and the actions needed directly into the C code, which will make it > quite hard to customise for end users and tedious to maintain in the long >

[U-Boot] [PATCH v3] armv8: fsl-layerscape: Add Readme for deploy QSPI image

2016-11-08 Thread Yuan Yao
From: Yuan Yao Signed-off-by: Yuan Yao --- Changed in v3: Rename README.deploy to README.qspi Changed in v2: Move the readme for QSPI deploy out of only for ls2080aqds. --- arch/arm/cpu/armv8/fsl-layerscape/doc/README.qspi | 42 +++ 1 file changed, 42 inserti

[U-Boot] [PATCH 3/4] image: Add crypto_algo struct for RSA info

2016-11-08 Thread aduda
From: Andrew Duda Cut down on the repetition of algorithm information by defining separate checksum and crypto structs. image_sig_algos are now simply pairs of unique checksum and crypto algos. Signed-off-by: Andrew Duda Signed-off-by: aduda --- common/image-sig.c | 46

Re: [U-Boot] [PATCH v2] armv8: fsl-layerscape: Add Readme for deploy QSPI image

2016-11-08 Thread Yao Yuan
On 11/09/2016 02:10 AM, York Sun wrote: > On 11/07/2016 09:44 PM, Yao Yuan wrote: > > On 11/08/2016 12:46 PM, York Sun wrote: > >> On 11/07/2016 07:52 PM, Yuan Yao wrote: > >>> From: Yuan Yao > >>> > >>> Signed-off-by: Yuan Yao > >>> --- > >>> Changed in v2: > >>> Move the readme for QSPI deplo

Re: [U-Boot] [PATCH 1/3] fsl/ddr: Revise erratum a009942 and clean related erratum

2016-11-08 Thread Shengzhou Liu
> -Original Message- > From: york sun > Sent: Wednesday, November 09, 2016 1:04 AM > To: Shengzhou Liu ; u-boot@lists.denx.de > Subject: Re: [PATCH 1/3] fsl/ddr: Revise erratum a009942 and clean related > erratum > > On 11/08/2016 02:39 AM, Shengzhou Liu wrote: > > > >> -Original Mess

[U-Boot] [PATCH] armv8: fsl-layerscape, ccn504: Set forced-order mode in RNI-6, RNI-20

2016-11-08 Thread Priyanka Jain
It is recommended to set forced-order mode in RNI-6, RNI-20 for performance optimization in LS2088A. Both LS2080A, LS2088A families has CONFIG_LS2080A define. As above update is required only for LS2088A, skip this for LS2080A SoC family Signed-off-by: Priyanka Jain --- arch/arm/cpu/armv8/fsl-l

[U-Boot] [PATCH 0/3] Enable the host controller and hub on PopMetal board

2016-11-08 Thread Kever Yang
The PopMetal board based on rk3288 SoC have 3 USB 2.0 host ports from a usb 2.0 hub which connect to the rk3288 usb host1. This patch set enable those ports by enable the rk3288 usb host controller driver and usb host function like storage and ether, enable the port power and de-assert the hub re

[U-Boot] [PATCH 1/3] dts: popmetal: add usb host power supply node

2016-11-08 Thread Kever Yang
The popmetal board using a HOST_VBUS_DRV gpio signal to control the USB host port 5V power, add a fix regulator and pinctrl for it, and enable the USB host1 controller at the same time. Signed-off-by: Kever Yang --- arch/arm/dts/rk3288-popmetal.dtsi | 22 ++ 1 file changed,

[U-Boot] [PATCH 2/3] config: popmetal: enable the USB host controller and function

2016-11-08 Thread Kever Yang
RK3288 using the dwc2 USB host controller, enable it and other usb host funtion like storage and ether. Signed-off-by: Kever Yang --- configs/popmetal-rk3288_defconfig | 3 +++ include/configs/rk3288_common.h | 7 +++ 2 files changed, 10 insertions(+) diff --git a/configs/popmetal-rk3288

[U-Boot] [PATCH 3/3] board: popmetal: enable the usb host port power in board init

2016-11-08 Thread Kever Yang
Enable the usb host port 5V power by enable the fix regulator. The PopMetal board have a on board FE1.1 usb 2.0 hub which connect to the usb host port, we need to de-assert its reset pin at the same time. Signed-off-by: Kever Yang --- board/chipspark/popmetal_rk3288/popmetal-rk3288.c | 31 +

Re: [U-Boot] Rockchip USB driver

2016-11-08 Thread Kever Yang
Hi Simon, I have send patch for rk3036 kylin and rk3288 PopMetal to enable the usb host, both have test with U-Disk, you can enable usb host for other boards with reference to my patches if you want. Thanks, - Kever On 11/07/2016 10:59 AM, Simon Glass wrote: Hi Kever, On 3 November 2016

Re: [U-Boot] [PATCH 0/7] sunxi: Add support for the CHIP Pro

2016-11-08 Thread Heiko Schocher
Hello Maxime, Am 08.11.2016 um 17:21 schrieb Maxime Ripard: The CHIP Pro is a SoM made by NextThing Co, and that embeds a GR8 SIP, an AXP209 PMIC, a WiFi BT chip and a 512MB SLC NAND. Since the first Allwinner device coming whit an SLC NAND that doesn't have the shortcomings (and breakages) the