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

2016-11-10 Thread Stephen Warren
On 11/08/2016 10:47 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]. If one wants to passthrough this FDT blob to the kernel, the most reliable

Re: [U-Boot] [PATCH] mx6ull_14x14_evk: Add README file

2016-11-10 Thread Peng Fan
Hi Diego, > -Original Message- > From: Diego Dorta [mailto:diego.do...@nxp.com] > Sent: Friday, November 11, 2016 1:06 AM > To: sba...@denx.de; Peng Fan ; u-boot@lists.denx.de > Cc: Diego Dorta > Subject: [PATCH] mx6ull_14x14_evk: Add README file >

[U-Boot] [PATCH] SPI: add support for the EON EN25Q80B flash chip

2016-11-10 Thread Angus Ainslie
add a new jedec id for the EN25Q80B --- drivers/mtd/spi/sf_params.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c index 5b50114..df15b3d 100644 --- a/drivers/mtd/spi/sf_params.c +++ b/drivers/mtd/spi/sf_params.c @@ -27,6 +27,7 @@

[U-Boot] [PATCH] imx7: SPI: add suport for SPI flash in mikroBUS slot

2016-11-10 Thread Angus Ainslie
Enable the escpi3 nets attached to the mikroBUS slot on the i.MX7 Sabre evalution board. Also enble the SPI flash commands to work with the "flash click" board. This is V2 of this patch with changes recommended by the maintainer CC: Jagan Teki ---

Re: [U-Boot] [PATCH] arm: sunxi: do not force USB for arch-sunxi

2016-11-10 Thread Yann E. MORIN
Hans, All, On 2016-11-10 20:10 +0100, Hans de Goede spake thusly: > On 10-11-16 19:00, Yann E. MORIN wrote: > >Ian, Hans, All, > > > >On 2016-10-31 22:33 +0100, Yann E. MORIN spake thusly: > >>Currently, USB is forced-enabled for the sunxi familly, and there is no > >>way to disable it. > >> >

Re: [U-Boot] [PATCH v2 5/5] Makefile: preserve output for images that can contain HAB Blocks

2016-11-10 Thread George McCollister
On Sun, Nov 6, 2016 at 9:37 AM, Sven Ebenfeld wrote: > To being able to sign created binaries, we need to know the HAB Blocks > for that image. Especially for the imximage type the HAB Blocks are > only available during creation of the image. We want to preserve the >

Re: [U-Boot] [PATCH v2 4/5] doc: imx6: add section for secure boot with SPL

2016-11-10 Thread George McCollister
On Sun, Nov 6, 2016 at 9:37 AM, Sven Ebenfeld wrote: > Cc: sba...@denx.de > > Signed-off-by: Sven Ebenfeld > --- > doc/README.imx6 | 48 > 1 file changed, 48 insertions(+) > Reviewed-by: George

Re: [U-Boot] [PATCH v2 3/5] tools: mkimage: add firmware-ivt image type for HAB verification

2016-11-10 Thread George McCollister
On Sun, Nov 6, 2016 at 9:37 AM, Sven Ebenfeld wrote: > When we want to use Secure Boot with HAB from SPL over U-Boot.img, > we need to append the IVT to the image and leave space for the CSF. > Images generated as firmware_ivt can directly be signed using the > Freescale

Re: [U-Boot] [PATCH v2 2/5] arm: imx: add HAB authentication of image to SPL boot

2016-11-10 Thread George McCollister
On Sun, Nov 6, 2016 at 9:37 AM, Sven Ebenfeld wrote: > When using HAB as secure boot mechanism on Wandboard, the chain of > trust breaks immediately after the SPL. As this is not checking > the authenticity of the loaded image before jumping to it. > > The HAB status

Re: [U-Boot] [PATCH v2 1/5] arm: imx: remove bmode , hdmidet and dek commands from SPL

2016-11-10 Thread George McCollister
On Sun, Nov 6, 2016 at 9:37 AM, Sven Ebenfeld wrote: > These files are blowing up the SPL and should not be required > there as the SPL delivers no command console. Because building fails > for mx27 and mx31 machines with SPL build, we remove the linker flag > for them

Re: [U-Boot] [PATCH] davinci: omapl138_lcdk: keep booting even when MAC address is invalid

2016-11-10 Thread Tom Rini
On Thu, Nov 10, 2016 at 05:16:35PM +0100, Fabien Parent wrote: > If the MAC address specified on the EEPROM is invalid (multicast or > zero address), then u-boot fails to boot. Having a bad MAC address > in the EEPROM should not prevent the system from booting. > > This commit changes the error

Re: [U-Boot] [PATCH] arm: sunxi: do not force USB for arch-sunxi

2016-11-10 Thread Hans de Goede
Hi, On 10-11-16 19:00, Yann E. MORIN wrote: Ian, Hans, All, On 2016-10-31 22:33 +0100, Yann E. MORIN spake thusly: Currently, USB is forced-enabled for the sunxi familly, and there is no way to disable it. However, USB takes a long time to initiliase, delaying the boot by up to 5 seconds

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

2016-11-10 Thread york sun
On 11/08/2016 02:55 AM, Shengzhou Liu wrote: > - 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

Re: [U-Boot] [PATCH] arm: sunxi: do not force USB for arch-sunxi

2016-11-10 Thread Yann E. MORIN
Ian, Hans, All, On 2016-10-31 22:33 +0100, Yann E. MORIN spake thusly: > Currently, USB is forced-enabled for the sunxi familly, and there is no > way to disable it. > > However, USB takes a long time to initiliase, delaying the boot by up to > 5 seconds (without any USB device attached!). This

Re: [U-Boot] [PATCH] mx6ull_14x14_evk: Add README file

2016-11-10 Thread Fabio Estevam
On Thu, Nov 10, 2016 at 3:05 PM, Diego Dorta wrote: > Add a README file to help users getting started with the board. > > Signed-off-by: Diego Dorta Looks good: Reviewed-by: Fabio Estevam

[U-Boot] [PATCH] davinci: omapl138_lcdk: keep booting even when MAC address is invalid

2016-11-10 Thread Fabien Parent
If the MAC address specified on the EEPROM is invalid (multicast or zero address), then u-boot fails to boot. Having a bad MAC address in the EEPROM should not prevent the system from booting. This commit changes the error path to just print an error messages in case of bad MAC address.

[U-Boot] [PATCH] serial: ns16550: Fix Debug UART initialization for AM335x

2016-11-10 Thread Jacob Siverskog
Fixed the init sequence in debug_uart_init() to match the one in NS16550_init(). Without this I was unable to get debug UART working on AM335x. Based on a patch by Vasili Galka. Signed-off-by: Jacob Siverskog --- drivers/serial/ns16550.c | 13 + 1 file

[U-Boot] Encryption of FIT image

2016-11-10 Thread Zvi Vered
Hello, Can you tell if this is possible ? How ? Thank you, Zvika Vered ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

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

2016-11-10 Thread Priit Laes
On Tue, 2016-11-08 at 17:38 +0100, Olliver Schinagl wrote: > 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

[U-Boot] [PATCH] mx6ull_14x14_evk: Add README file

2016-11-10 Thread Diego Dorta
Add a README file to help users getting started with the board. Signed-off-by: Diego Dorta --- board/freescale/mx6ullevk/README | 36 1 file changed, 36 insertions(+) create mode 100644 board/freescale/mx6ullevk/README diff --git

Re: [U-Boot] [PATCH 1/2] imx7: SPI: add suport for SPI flash in mikroBUS slot

2016-11-10 Thread Jagan Teki
On Thu, Nov 10, 2016 at 9:34 PM, Angus Ainslie wrote: > Enable the escpi3 nets attached to the mikroBUS slot > on the i.MX7 Sabre evalution board. Also enble the SPI flash > commands to work with the "flash click" board. > --- > board/freescale/mx7dsabresd/mx7dsabresd.c | 24

[U-Boot] [PATCH 2/2] SPI: add support for the EON EN25Q80B flash

2016-11-10 Thread Angus Ainslie
jedec id for the 8Mb EN25Q80B flash --- drivers/mtd/spi/sf_params.c | 1 + 1 file changed, 1 insertion(+) CC: Stefano Babic CC: Jagan Teki diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c index 5b50114..df15b3d 100644 ---

[U-Boot] Add mikroBUS flash click support to the imx7

2016-11-10 Thread Angus Ainslie
In-Reply-To: Add support for the "flash click" and probably other SPI mikroBUS click boards on i.MX7 Sabre evaluation board. board/freescale/mx7dsabresd/mx7dsabresd.c | 24 configs/mx7dsabresd_secure_defconfig |2 ++ drivers/mtd/spi/sf_params.c

[U-Boot] [PATCH 1/2] imx7: SPI: add suport for SPI flash in mikroBUS slot

2016-11-10 Thread Angus Ainslie
Enable the escpi3 nets attached to the mikroBUS slot on the i.MX7 Sabre evalution board. Also enble the SPI flash commands to work with the "flash click" board. --- board/freescale/mx7dsabresd/mx7dsabresd.c | 24 configs/mx7dsabresd_secure_defconfig | 2 ++

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

2016-11-10 Thread Michal Simek
On 8.11.2016 11:19, Maxime Ripard wrote: > 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

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

2016-11-10 Thread Michal Simek
On 10.11.2016 13:43, Olliver Schinagl wrote: > On 10-11-16 13:37, Michal Simek wrote: >> On 10.11.2016 13:31, Olliver Schinagl wrote: >>> On 10-11-16 13:26, Michal Simek wrote: On 10.11.2016 13:08, Olliver Schinagl wrote: > Hi Michal, > > On 10-11-16 12:37, Michal Simek wrote:

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

2016-11-10 Thread Michal Simek
On 10.11.2016 13:31, Olliver Schinagl wrote: > On 10-11-16 13:26, Michal Simek wrote: >> On 10.11.2016 13:08, Olliver Schinagl wrote: >>> Hi Michal, >>> >>> On 10-11-16 12:37, Michal Simek wrote: On 8.11.2016 16:54, Olliver Schinagl wrote: > This patch-series introduces methods to

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

2016-11-10 Thread Olliver Schinagl
On 10-11-16 13:37, Michal Simek wrote: On 10.11.2016 13:31, Olliver Schinagl wrote: On 10-11-16 13:26, Michal Simek wrote: On 10.11.2016 13:08, Olliver Schinagl wrote: Hi Michal, On 10-11-16 12:37, Michal Simek wrote: On 8.11.2016 16:54, Olliver Schinagl wrote: This patch-series introduces

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

2016-11-10 Thread Olliver Schinagl
On 10-11-16 13:26, Michal Simek wrote: On 10.11.2016 13:08, Olliver Schinagl wrote: Hi Michal, On 10-11-16 12:37, Michal Simek wrote: On 8.11.2016 16:54, Olliver Schinagl wrote: This patch-series introduces methods to retrieve the MAC address from an onboard EEPROM using the read_rom_hwaddr

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

2016-11-10 Thread Michal Simek
On 10.11.2016 13:08, Olliver Schinagl wrote: > Hi Michal, > > On 10-11-16 12:37, Michal Simek wrote: >> On 8.11.2016 16:54, Olliver Schinagl wrote: >>> This patch-series introduces methods to retrieve the MAC address from an >>> onboard EEPROM using the read_rom_hwaddr hook. >>> >>> The reason we

[U-Boot] [PATCH] tools: fix mksunxiboot build for tools-all target

2016-11-10 Thread Andre Przywara
Commit fed329aebe3a ("tools: add mksunxiboot to tools-all target") added mksunxiboot to the tools-all target, but used the CONFIG_SUNXI symbol to enable its build. Now commit aec9a0f19f64 ("sunxi: Rename CONFIG_SUNXI to CONFIG_ARCH_SUNXI"), merged before that, renamed that symbol, so that the

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

2016-11-10 Thread Olliver Schinagl
Hi Michal, On 10-11-16 12:51, Michal Simek wrote: On 8.11.2016 16:54, Olliver Schinagl wrote: 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

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

2016-11-10 Thread Olliver Schinagl
Hi Michal, On 10-11-16 12:37, Michal Simek wrote: On 8.11.2016 16:54, Olliver Schinagl wrote: 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

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

2016-11-10 Thread Heiko Schocher
Hello Maxime, Am 09.11.2016 um 15:44 schrieb Maxime Ripard: Hi Heiko, On Wed, Nov 09, 2016 at 08:47:12AM +0100, Heiko Schocher wrote: 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

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

2016-11-10 Thread Michal Simek
On 8.11.2016 16:54, Olliver Schinagl wrote: > 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. > >

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

2016-11-10 Thread Michal Simek
On 8.11.2016 16:54, Olliver Schinagl wrote: > 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

[U-Boot] [PATCHv2 14/15] armv8: ls2080a: Enable PCIe in defconfigs

2016-11-10 Thread Zhiqiang Hou
From: Minghuan Lian The patch enables PCIe in ls2080a defconfigs and removes unused PCIe related macro defines. Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V2: - Moved PCIe related configs macro to defconfig

[U-Boot] [PATCHv2 15/15] pci: layerscape: remove unnecessary legacy code

2016-11-10 Thread Zhiqiang Hou
From: Minghuan Lian All Layerscape SoCs have supported new PCIe driver based on DM. The lagecy PCIe driver code is unused and can be removed. Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V2: - No change

[U-Boot] [PATCHv2 05/15] arm: ls1012a: add PCIe dts node

2016-11-10 Thread Zhiqiang Hou
From: Minghuan Lian Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V2: - No change arch/arm/dts/fsl-ls1012a.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git

[U-Boot] [PATCHv2 01/15] configs: ls1021a: enable DT and DM support

2016-11-10 Thread Zhiqiang Hou
From: Hou Zhiqiang Enable DT to support Driver Model. Signed-off-by: Hou Zhiqiang --- V2: - New patch configs/ls1021aqds_nand_defconfig | 3 +++ configs/ls1021aqds_nor_SECURE_BOOT_defconfig| 2 ++

[U-Boot] [PATCHv2 02/15] dm: pci: return the real controller in pci_bus_to_hose()

2016-11-10 Thread Zhiqiang Hou
From: Minghuan Lian for the legacy PCI driver, the function pci_bus_to_hose() returns the real PCIe controller. To keep consistency, this function is changed to return the PCIe controller pointer of the root bus instead of the current PCIe bus. Signed-off-by: Minghuan

[U-Boot] [PATCHv2 04/15] arm: ls1021a: add PCIe dts node

2016-11-10 Thread Zhiqiang Hou
From: Minghuan Lian Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V2: - No change arch/arm/dts/ls1021a.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git

[U-Boot] [PATCHv2 12/15] armv8: ls1043a: Enable PCIe and E1000 in defconfigs

2016-11-10 Thread Zhiqiang Hou
From: Minghuan Lian The patch enables PCIe and E1000 in ls1043a defconfigs and removes unused PCIe related macro defines. Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V2: - Moved PCIe related configs macro to

[U-Boot] [PATCHv2 11/15] arm: ls1012a: Enable PCIe and E1000 in defconfigs

2016-11-10 Thread Zhiqiang Hou
From: Minghuan Lian The patch enables PCIe and E1000 in ls1012a defconfigs and removes unused PCIe related macro defines Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V2: - Moved PCIe related configs macro to

[U-Boot] [PATCHv2 13/15] armv8: ls1046a: Enable PCIe and E1000 in defconfigs

2016-11-10 Thread Zhiqiang Hou
From: Minghuan Lian The patch enables PCIe and E1000 in ls1046a related defconfigs. Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V2: - Moved PCIe related configs macro to defconfig

[U-Boot] [PATCHv2 10/15] arm: ls1021a: Enable PCIe in defconfigs

2016-11-10 Thread Zhiqiang Hou
From: Minghuan Lian The patch enables PCIe in ls1021a defconfigs and removes unused PCIe related macro defines. Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V2: - Moved PCIe related configs macro to defconfig

[U-Boot] [PATCHv2 08/15] armv8: ls2080a: add PCIe dts node

2016-11-10 Thread Zhiqiang Hou
From: Minghuan Lian Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V2: - No change arch/arm/dts/fsl-ls2080a.dtsi | 60 +++ 1 file changed, 60 insertions(+) diff --git

[U-Boot] [PATCHv2 06/15] armv8: ls1043a: add PCIe dts node

2016-11-10 Thread Zhiqiang Hou
From: Minghuan Lian Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V2: - No change arch/arm/dts/fsl-ls1043a.dtsi | 46 +++ 1 file changed, 46 insertions(+) diff --git

[U-Boot] [PATCHv2 07/15] armv8: ls1046a: add PCIe dts node

2016-11-10 Thread Zhiqiang Hou
From: Minghuan Lian Signed-off-by: Minghuan Lian Signed-off-by: Hou Zhiqiang --- V2: - No change arch/arm/dts/fsl-ls1046a.dtsi | 49 +++ 1 file changed, 49 insertions(+) diff --git

[U-Boot] [PATCHv2 09/15] pci: layerscape: add pci driver based on DM

2016-11-10 Thread Zhiqiang Hou
From: Minghuan Lian There are more than five kinds of Layerscape SoCs. unfortunately, PCIe controller of each SoC is a little bit different. In order to avoid too many macro definitions, the patch addes a new implementation of PCIe driver based on DM. PCIe dts node is used

[U-Boot] [PATCHv2 03/15] dm: pci: remove pci_bus_to_hose(0) calling

2016-11-10 Thread Zhiqiang Hou
From: Minghuan Lian There may be multiple PCIe controllers in a SoC. It is not correct that always calling pci_bus_to_hose(0) to get the first PCIe controller for the PCIe device connected other controllers. We just remove this calling because hose always point the correct

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

2016-11-10 Thread S.H. Xie
Hi York, Please see inline. > -Original Message- > From: york sun > Sent: Tuesday, November 08, 2016 2:42 AM > To: Prabhakar Kushwaha > Cc: shh@gmail.com; u-boot@lists.denx.de; S.H. Xie > Subject: Re: [PATCH] armv8: ls2080aqds: fix