[U-Boot] ARMv7 EFI loader broken?

2017-02-14 Thread Michal Suchanek
Hello, I tired to build u-boot master for Snow board, install grub, chainload grub. In short, it fails. First, u-boot searches for EFI loader in ${distro_bootpart} which defaults to unset and is interpreted as 1. grub wants the partition it installs to to have the EFI System GUID. So to boot

Re: [U-Boot] [PATCH 8/9] armv8: mmu: Add a function to change mapping attributes

2017-02-14 Thread york sun
On 02/14/2017 07:39 AM, Alexander Graf wrote: > > > On 14/02/2017 04:45, York Sun wrote: >> Function mmu_change_region_attr() is added to change existing mapping >> with updated PXN, UXN and memory type. This is a break-before-make >> process during which the mapping becomes fault (invalid) before

Re: [U-Boot] [PATCH v2 1/6] arm: am57xx: reintroduce the CONFIG_AM57XX symbol

2017-02-14 Thread menon.nisha...@gmail.com
On Mon, Feb 13, 2017 at 7:27 AM, Tom Rini wrote: > On Mon, Feb 13, 2017 at 01:34:52PM +0200, Uri Mashiach wrote: > >> The SOC family symbol CONFIG_AM57XX was removed by the commit >> 3891a54: "ARM: DRA7x/AM57xx: Get rid of CONFIG_AM57XX". >> >> The symbol is needed by the XHCI

Re: [U-Boot] [ANN] U-Boot v2017.03-rc2 released

2017-02-14 Thread Andy Shevchenko
On Tue, Feb 14, 2017 at 7:40 PM, Andy Shevchenko wrote: > On Tue, Feb 14, 2017 at 7:33 PM, Simon Glass wrote: >> Hi Andy, >> >> On 14 February 2017 at 10:21, Andy Shevchenko >> wrote: >>> >>> On Tue, Feb 14, 2017 at 1:01

[U-Boot] [PATCH v2] arm: socfpga: fix issue with warm reset when CSEL is 0

2017-02-14 Thread Dalon Westergreen
When CSEL=0x0 the socfpga bootrom does not touch the clock configuration for the device. This can lead to a boot failure on warm resets. To address this, the bootrom is configured to run a bit of code in the last 4KB of onchip ram on a warm reset. This code puts the PLLs in bypass, disables the

Re: [U-Boot] [PATCH] env_mmc: Allow SPL to use any MMC device to load/save the environment

2017-02-14 Thread Tom Rini
On Tue, Feb 14, 2017 at 02:16:13PM +0100, Jean-Jacques Hiblot wrote: > Hi Tom, > > Have you had a chance to look at the patch below? It looks fine but was too close to the release window (given the potential impact) to merge. Thanks! > > Jean-Jacques > > > On 01/02/2017 11:26, Jean-Jacques

Re: [U-Boot] [ANN] U-Boot v2017.03-rc2 released

2017-02-14 Thread Tom Rini
On Tue, Feb 14, 2017 at 07:25:33AM +0100, Heiko Schocher wrote: > Hello Tom, > > Am 14.02.2017 um 06:38 schrieb Heiko Schocher: > >Hello Tom, > > > >Am 14.02.2017 um 00:01 schrieb Tom Rini: > >>Hey all, > >> > >>It's release day and v2017.03-rc2 is out. I think my patchwork queue is > >>looking

Re: [U-Boot] [PATCH v2 1/6] arm: am57xx: reintroduce the CONFIG_AM57XX symbol

2017-02-14 Thread Nishanth Menon
On 02/14/2017 01:20 PM, Tom Rini wrote: On Tue, Feb 14, 2017 at 01:18:20PM -0600, menon.nisha...@gmail.com wrote: On Mon, Feb 13, 2017 at 7:27 AM, Tom Rini wrote: On Mon, Feb 13, 2017 at 01:34:52PM +0200, Uri Mashiach wrote: The SOC family symbol CONFIG_AM57XX was

[U-Boot] [PATCH v2] net: macb: Fix ETH not found when clock not support

2017-02-14 Thread Wenyou Yang
For the boards such as smartweb on which the clock driver isn't supported, the ethernet fail to be found when booting up with the below log. ---8<--- Net: No ethernet found. --->8--- Signed-off-by: Wenyou Yang Tested-by: Heiko Schocher --- Changes in v2:

Re: [U-Boot] [PATCH 04/10] arm64: a37xx: Handle pin controls in early board init

2017-02-14 Thread Stefan Roese
Hi Kosta, On 13.02.2017 14:38, kos...@marvell.com wrote: From: Konstantin Porotchkin Fix the default pin control values in a board-specific function on early board init stage. This fix allows the NETA driver to work in RGMII mode until the full-featured pin control driver

Re: [U-Boot] [PATCH 04/10] arm64: a37xx: Handle pin controls in early board init

2017-02-14 Thread Konstantin Porotchkin
Hi, Stefan, On 2/14/2017 13:43, Stefan Roese wrote: Hi Kosta, On 13.02.2017 14:38, kos...@marvell.com wrote: From: Konstantin Porotchkin Fix the default pin control values in a board-specific function on early board init stage. This fix allows the NETA driver to work in

Re: [U-Boot] [PATCH 04/10] arm64: a37xx: Handle pin controls in early board init

2017-02-14 Thread Stefan Roese
On 14.02.2017 13:07, Konstantin Porotchkin wrote: Hi, Stefan, On 2/14/2017 13:43, Stefan Roese wrote: Hi Kosta, On 13.02.2017 14:38, kos...@marvell.com wrote: From: Konstantin Porotchkin Fix the default pin control values in a board-specific function on early board init

Re: [U-Boot] [PATCH 3/7] STiH410: Add STi serial driver

2017-02-14 Thread Patrice CHOTARD
Hi Simon On 02/10/2017 05:22 PM, Simon Glass wrote: > Hi Patrice, > > On 2 February 2017 at 10:00, wrote: >> From: Patrice Chotard >> >> This patch adds support to ASC (asynchronous serial controller) >> driver, which is basically a standard

Re: [U-Boot] [PATCH 04/10] arm64: a37xx: Handle pin controls in early board init

2017-02-14 Thread Konstantin Porotchkin
On 2/14/2017 14:21, Stefan Roese wrote: On 14.02.2017 13:07, Konstantin Porotchkin wrote: Hi, Stefan, On 2/14/2017 13:43, Stefan Roese wrote: Hi Kosta, On 13.02.2017 14:38, kos...@marvell.com wrote: From: Konstantin Porotchkin Fix the default pin control values in a

Re: [U-Boot] [PATCH 07/10] mvebu: a37xx: Add init for ESPRESSBin Topaz switch

2017-02-14 Thread Konstantin Porotchkin
Hi, Stefan, On 2/14/2017 13:49, Stefan Roese wrote: Hi Kosta, On 13.02.2017 14:38, kos...@marvell.com wrote: From: Konstantin Porotchkin Implement the board-specific network init function for ESPRESSOBin community board, setting the on-board Topaz switch port to forward

Re: [U-Boot] [PATCH 07/10] mvebu: a37xx: Add init for ESPRESSBin Topaz switch

2017-02-14 Thread Stefan Roese
(added Joe to Cc as network custodian) On 14.02.2017 13:13, Konstantin Porotchkin wrote: Hi, Stefan, On 2/14/2017 13:49, Stefan Roese wrote: Hi Kosta, On 13.02.2017 14:38, kos...@marvell.com wrote: From: Konstantin Porotchkin Implement the board-specific network init

Re: [U-Boot] [PATCH v3 6/9] STiH410: Add STi SDHCI driver

2017-02-14 Thread Patrice CHOTARD
Hi Jaehoon On 02/13/2017 01:29 AM, Jaehoon Chung wrote: > Hi, > > On 02/11/2017 12:04 AM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> Add SDHCI host controller found on STMicroelectronics SoCs >> >> On some ST SoCs, i.e. STiH407/STiH410, the MMC devices

Re: [U-Boot] [PATCH 1/2] rsa: Fix build with OpenSSL 1.1.x

2017-02-14 Thread Peter Robinson
On Mon, Feb 13, 2017 at 9:57 AM, Peter Robinson wrote: > On Mon, Feb 13, 2017 at 9:00 AM, Jelle van der Waa wrote: >> The rsa_st struct has been made opaque in 1.1.x, add forward compatible >> code to access the n, e, d members of rsa_struct. >> >>

[U-Boot] reset on udoo_neo

2017-02-14 Thread Peter Robinson
Hi Breno and Stefano, I finally got around to testing my udoo neo full with upstream u-boot and with 2017.03rc1 (building rc2 now) I'm seeing a reset when it tries to load data (I think). Details below, I'll test 2017.01 and 03rc2 shortly. U-Boot 2017.03-rc1 (Feb 11 2017 - 23:55:08 +) CPU:

Re: [U-Boot] db-88f6820-amc board fails to boot with latest u-boot master

2017-02-14 Thread Mario Six
On Tue, Feb 14, 2017 at 10:26 AM, Chris Packham wrote: > On Tue, Feb 14, 2017 at 7:56 PM, Mario Six wrote: >> On Tue, Feb 14, 2017 at 7:36 AM, Stefan Roese wrote: >>> Hi Chris, >>> >>> On 14.02.2017 02:48, Chris Packham wrote:

Re: [U-Boot] [PATCH v2 2/4] regmap: use fdt address translation

2017-02-14 Thread Jean-Jacques Hiblot
On 14/02/2017 06:23, Simon Glass wrote: Hi, On 13 February 2017 at 08:17, Jean-Jacques Hiblot wrote: In the DTS, the addresses are defined relative to the parent bus. We need to translate them to get the address as seen by the CPU core. Signed-off-by: Jean-Jacques Hiblot

Re: [U-Boot] [PATCH 07/10] mvebu: a37xx: Add init for ESPRESSBin Topaz switch

2017-02-14 Thread Stefan Roese
Hi Kosta, On 13.02.2017 14:38, kos...@marvell.com wrote: From: Konstantin Porotchkin Implement the board-specific network init function for ESPRESSOBin community board, setting the on-board Topaz switch port to forward mode and allow network connection through any of the

Re: [U-Boot] [PATCH 4/7] STiH410: Add STi SDHCI driver

2017-02-14 Thread Patrice CHOTARD
Hi Simon On 02/10/2017 05:22 PM, Simon Glass wrote: > Hi Patrice, > > On 2 February 2017 at 10:00, wrote: >> From: Patrice Chotard >> >> Add SDHCI host controller found on STMicroelctronics SoCs >> >> Signed-off-by: Patrice Chotard

Re: [U-Boot] [PATCH v3 3/9] STiH410: Add STi sysreset driver

2017-02-14 Thread Patrice CHOTARD
Hi Simon On 02/14/2017 06:23 AM, Simon Glass wrote: > On 10 February 2017 at 08:04, wrote: >> From: Patrice Chotard >> >> Signed-off-by: Patrice Chotard >> --- >> drivers/sysreset/Makefile | 1 + >>

Re: [U-Boot] db-88f6820-amc board fails to boot with latest u-boot master

2017-02-14 Thread Chris Packham
On Tue, Feb 14, 2017 at 7:56 PM, Mario Six wrote: > On Tue, Feb 14, 2017 at 7:36 AM, Stefan Roese wrote: >> Hi Chris, >> >> On 14.02.2017 02:48, Chris Packham wrote: >>> >>> I just tried UART booting db-88f6820-amc with the latest u-boot master >>> and it fails

Re: [U-Boot] [PATCH 1/6] arm: am57xx: cl-som-am57x: fix XHCI registers base address

2017-02-14 Thread Uri Mashiach
On 02/13/2017 02:33 PM, Lokesh Vutla wrote: On Monday 13 February 2017 05:42 PM, Uri Mashiach wrote: On 02/13/2017 01:46 PM, Lokesh Vutla wrote: On Sunday 12 February 2017 09:17 PM, Tom Rini wrote: On Sun, Feb 12, 2017 at 10:55:27AM +0200, Uri Mashiach wrote: Hi Tom, On 02/09/2017

Re: [U-Boot] reset on udoo_neo

2017-02-14 Thread Peter Robinson
On Tue, Feb 14, 2017 at 9:19 AM, Peter Robinson wrote: > Hi Breno and Stefano, > > I finally got around to testing my udoo neo full with upstream u-boot > and with 2017.03rc1 (building rc2 now) I'm seeing a reset when it > tries to load data (I think). Details below, I'll

Re: [U-Boot] am335x: musb: mass storage device issue

2017-02-14 Thread Yegor Yefremov
On Tue, Feb 14, 2017 at 7:57 AM, Stefan Roese wrote: > Hi Yegor, > > > On 13.02.2017 16:02, Yegor Yefremov wrote: >> >> On Mon, Feb 13, 2017 at 3:17 PM, Belisko Marek >> wrote: >>> >>> Hi Yegor, >>> >>> On Mon, Feb 13, 2017 at 12:57 PM, Yegor Yefremov >>>

[U-Boot] udoo_neo fix distro boot support

2017-02-14 Thread Peter Robinson
Hi Breno, Francesco and Stefano, The following three patches fix the generic distro boot support for me on the udoo Neo (Full edition tested). I think all three patches are pretty straight forward and self explanatory. Would be good to get them into 2017.03 GA. Thanks, Peter

[U-Boot] Snow: SPI environment used when booting from MMC, SPI driver broken

2017-02-14 Thread Michal Suchanek
Hello, typing saveenv I get: Saving environment to SPI Flash... SF: Detected gd25lq32 with page size 256 Bytes, erase size 4 KiB, total 4 MiB Cannot set speed (err=-1) *** Warning - spi_flash_probe_bus_cs() failed, using defualt environment snow # and now environment is not saved and it seems

[U-Boot] [PATCH] sunxi: makes an invisible option for H3-like DRAM controllers

2017-02-14 Thread Icenowy Zheng
Allwinner SoCs after H3 (e.g. A64, H5, R40, V3s) uses a H3-like DesignWare DRAM controller, which do not have official free DRAM initialization code, but can use modified dram_sun8i_h3.c. Add a invisible option for easier DRAM initialization code reuse. Signed-off-by: Icenowy Zheng

[U-Boot] [PATCH 1/3] mx6sx: udoo_neo: Define the default serial console

2017-02-14 Thread Peter Robinson
Standard boot processes including distro boot generally expect the default console to be defined. Signed-off-by: Peter Robinson --- include/configs/udoo_neo.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/udoo_neo.h b/include/configs/udoo_neo.h index

[U-Boot] [PATCH 2/3] mx6sx: udoo_neo: use different load address for ramdisk

2017-02-14 Thread Peter Robinson
The fdt_addr and ramdisk_addr_r are currently both defined to 0x8300 and that's not going to work well for anyone. Move the ramdisk_addr_r to 0x8400. Signed-off-by: Peter Robinson --- include/configs/udoo_neo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [PATCH 3/3] mx6sx: udoo_neo: Enable distro boot options in config

2017-02-14 Thread Peter Robinson
The include/configs/udoo_neo.h already includes the distro defaults include files so it seems the board was missed in the move to the config file, whether that in initial commit or conversion, so enable the option now and remove duplicated settings. Signed-off-by: Peter Robinson

Re: [U-Boot] [PATCH] env_mmc: Allow SPL to use any MMC device to load/save the environment

2017-02-14 Thread Jean-Jacques Hiblot
Hi Tom, Have you had a chance to look at the patch below? Jean-Jacques On 01/02/2017 11:26, Jean-Jacques Hiblot wrote: SPL has been restricted to use only dev 0 based on the assumption that only one MMC device is registered. This is not always the case and many platforms now register several

[U-Boot] MTD partitions not set on default environment

2017-02-14 Thread Arek Marud
Hi, I'm trying to build a u-boot binary containing default configuration. I created my configuration include file: ``` #define MTDIDS_DEFAULT "nand0=nand_flash" #define MTDPARTS_DEFAULT "mtdparts=nand_flash:256k(bootstrap)ro,512k(uboot)ro,256k(env1),256k(env2),-(sys)" #define

Re: [U-Boot] [PATCH 4/9] armv8: layerscape: Rewrite memory reservation

2017-02-14 Thread york sun
On 02/14/2017 07:31 AM, Alexander Graf wrote: > > > On 14/02/2017 04:45, York Sun wrote: >> For ARMv8 Layerscape SoCs, secure memory and MC memorey are reserved >> at the end of DDR. DDR is spit into two or three banks. This patch >> reverts commit aabd7ddb and simplifies the calculation of

Re: [U-Boot] [ANN] U-Boot v2017.03-rc2 released

2017-02-14 Thread Andy Shevchenko
On Tue, Feb 14, 2017 at 7:33 PM, Simon Glass wrote: > Hi Andy, > > On 14 February 2017 at 10:21, Andy Shevchenko > wrote: >> >> On Tue, Feb 14, 2017 at 1:01 AM, Tom Rini wrote: >> > Hey all, >> > >> > It's release day and

Re: [U-Boot] [PATCH v1] usb: dwc3: gadget: Remove unused header inclusion

2017-02-14 Thread Marek Vasut
On 02/14/2017 03:16 PM, Andy Shevchenko wrote: > From: Vincent Tinelli > > Remove sys_proto.h inclusion which is not used by the driver. > > Signed-off-by: Vincent Tinelli > Signed-off-by: Andy Shevchenko

Re: [U-Boot] [PATCH 8/9] armv8: mmu: Add a function to change mapping attributes

2017-02-14 Thread Alexander Graf
On 14/02/2017 04:45, York Sun wrote: Function mmu_change_region_attr() is added to change existing mapping with updated PXN, UXN and memory type. This is a break-before-make process during which the mapping becomes fault (invalid) before final attributres are set. This is what we have the

Re: [U-Boot] [PATCH v2] net: macb: Fix ETH not found when clock not support

2017-02-14 Thread Joe Hershberger
On Tue, Feb 14, 2017 at 2:24 AM, Wenyou Yang wrote: > For the boards such as smartweb on which the clock driver isn't > supported, the ethernet fail to be found when booting up with > the below log. > ---8<--- > Net: No ethernet found. > --->8--- > > Signed-off-by: Wenyou

Re: [U-Boot] [ANN] U-Boot v2017.03-rc2 released

2017-02-14 Thread Andy Shevchenko
On Tue, Feb 14, 2017 at 1:01 AM, Tom Rini wrote: > Hey all, > > It's release day and v2017.03-rc2 is out. I think my patchwork queue is > looking good currently but I'm open to being told there's important > stuff outstanding. I'm probably going to grab some Kconfig things

Re: [U-Boot] [ANN] U-Boot v2017.03-rc2 released

2017-02-14 Thread Simon Glass
+Bin On 14 February 2017 at 10:33, Simon Glass wrote: > Hi Andy, > > On 14 February 2017 at 10:21, Andy Shevchenko > wrote: >> >> On Tue, Feb 14, 2017 at 1:01 AM, Tom Rini wrote: >> > Hey all, >> > >> > It's release day and

Re: [U-Boot] [ANN] U-Boot v2017.03-rc2 released

2017-02-14 Thread Simon Glass
Hi Andy, On 14 February 2017 at 10:21, Andy Shevchenko wrote: > > On Tue, Feb 14, 2017 at 1:01 AM, Tom Rini wrote: > > Hey all, > > > > It's release day and v2017.03-rc2 is out. I think my patchwork queue is > > looking good currently but I'm open

[U-Boot] [PATCH] arm: socfpga: fix issue with warm reset when CSEL is 0

2017-02-14 Thread Dalon Westergreen
When CSEL=0x0 the socfpga bootrom does not touch the clock configuration for the device. This can lead to a boot failure on warm resets. To address this, the bootrom is configured to run a bit of code in the last 4KB of onchip ram on a warm reset. This code puts the PLLs in bypass, disables the

Re: [U-Boot] [PATCH] arm: socfpga: fix issue with warm reset when CSEL is 0

2017-02-14 Thread Dinh Nguyen
On 02/14/2017 09:23 AM, Dalon Westergreen wrote: > When CSEL=0x0 the socfpga bootrom does not touch the clock > configuration for the device. This can lead to a boot failure > on warm resets. To address this, the bootrom is configured to > run a bit of code in the last 4KB of onchip ram on a

Re: [U-Boot] [PATCH 4/9] armv8: layerscape: Rewrite memory reservation

2017-02-14 Thread Alexander Graf
On 14/02/2017 04:45, York Sun wrote: For ARMv8 Layerscape SoCs, secure memory and MC memorey are reserved at the end of DDR. DDR is spit into two or three banks. This patch reverts commit aabd7ddb and simplifies the calculation of reserved memory, and moves the code into common SoC file.

Re: [U-Boot] [PATCH 07/10] mvebu: a37xx: Add init for ESPRESSBin Topaz switch

2017-02-14 Thread Joe Hershberger
On Tue, Feb 14, 2017 at 6:32 AM, Stefan Roese wrote: > (added Joe to Cc as network custodian) > > > On 14.02.2017 13:13, Konstantin Porotchkin wrote: >> >> Hi, Stefan, >> >> On 2/14/2017 13:49, Stefan Roese wrote: >>> >>> Hi Kosta, >>> >>> On 13.02.2017 14:38, kos...@marvell.com

Re: [U-Boot] [PATCH 4/9] armv8: layerscape: Rewrite memory reservation

2017-02-14 Thread york sun
On 02/14/2017 09:00 AM, york@nxp.com wrote: > On 02/14/2017 07:31 AM, Alexander Graf wrote: >> >> >> On 14/02/2017 04:45, York Sun wrote: >>> For ARMv8 Layerscape SoCs, secure memory and MC memorey are reserved >>> at the end of DDR. DDR is spit into two or three banks. This patch >>> reverts

Re: [U-Boot] [ANN] U-Boot v2017.03-rc2 released

2017-02-14 Thread Simon Glass
Hi Andy, On 14 February 2017 at 10:40, Andy Shevchenko wrote: > On Tue, Feb 14, 2017 at 7:33 PM, Simon Glass wrote: >> Hi Andy, >> >> On 14 February 2017 at 10:21, Andy Shevchenko >> wrote: >>> >>> On Tue, Feb 14, 2017

Re: [U-Boot] [ANN] U-Boot v2017.03-rc2 released

2017-02-14 Thread Andy Shevchenko
On Tue, Feb 14, 2017 at 7:46 PM, Andy Shevchenko wrote: > On Tue, Feb 14, 2017 at 7:40 PM, Andy Shevchenko > wrote: >> On Tue, Feb 14, 2017 at 7:33 PM, Simon Glass wrote: >>> On 14 February 2017 at 10:21, Andy Shevchenko

Re: [U-Boot] [PATCH v2 1/6] arm: am57xx: reintroduce the CONFIG_AM57XX symbol

2017-02-14 Thread Tom Rini
On Tue, Feb 14, 2017 at 01:18:20PM -0600, menon.nisha...@gmail.com wrote: > On Mon, Feb 13, 2017 at 7:27 AM, Tom Rini wrote: > > On Mon, Feb 13, 2017 at 01:34:52PM +0200, Uri Mashiach wrote: > > > >> The SOC family symbol CONFIG_AM57XX was removed by the commit > >> 3891a54:

Re: [U-Boot] Simple Malloc Breaks omap3_logic

2017-02-14 Thread Tom Rini
On Tue, Feb 14, 2017 at 03:03:44PM -0600, Adam Ford wrote: > Tom, > > I noticed there was an update to the omap3_logic_defconfig to use Simple > Malloc > > http://git.denx.de/?p=u-boot.git;a=commit;h=0959649dc6d9e6a371617abd3b03630c5d4d5a72 > > > I didn't see anything in my inbox indicating

Re: [U-Boot] [PATCH v4 1/6] spl: Convert CONFIG_SPL_ABORT_ON_RAW_IMAGE into a positive option

2017-02-14 Thread Tom Rini
On Tue, Feb 14, 2017 at 02:32:42PM -0600, Andrew F. Davis wrote: > On 02/14/2017 02:15 PM, Tom Rini wrote: > > On Mon, Feb 13, 2017 at 12:47:36PM -0600, Andrew F. Davis wrote: > > > >> CONFIG_SPL_ABORT_ON_RAW_IMAGE causes SPL to abort and move on when it > >> encounters RAW images, express this

[U-Boot] Simple Malloc Breaks omap3_logic

2017-02-14 Thread Adam Ford
Tom, I noticed there was an update to the omap3_logic_defconfig to use Simple Malloc http://git.denx.de/?p=u-boot.git;a=commit;h=0959649dc6d9e6a371617abd3b03630c5d4d5a72 I didn't see anything in my inbox indicating the patch, I only noticed it because I pulled the latest from the trunk.

Re: [U-Boot] Simple Malloc Breaks omap3_logic

2017-02-14 Thread Adam Ford
On Feb 14, 2017 3:10 PM, "Tom Rini" wrote: On Tue, Feb 14, 2017 at 03:03:44PM -0600, Adam Ford wrote: > Tom, > > I noticed there was an update to the omap3_logic_defconfig to use Simple Malloc > > http://git.denx.de/?p=u-boot.git;a=commit;h=0959649dc6d9e6a371617abd3b0363

Re: [U-Boot] [PATCH 4/9] armv8: layerscape: Rewrite memory reservation

2017-02-14 Thread Alexander Graf
On 14/02/2017 18:38, york sun wrote: On 02/14/2017 09:00 AM, york@nxp.com wrote: On 02/14/2017 07:31 AM, Alexander Graf wrote: On 14/02/2017 04:45, York Sun wrote: For ARMv8 Layerscape SoCs, secure memory and MC memorey are reserved at the end of DDR. DDR is spit into two or three

Re: [U-Boot] [PATCH v4 3/6] ARM: AM335x: Disable non-FIT based image loading for HS devices

2017-02-14 Thread Tom Rini
On Mon, Feb 13, 2017 at 12:47:38PM -0600, Andrew F. Davis wrote: > Disable support for loading non-FIT images for AM335x platforms using > the high-security (HS) device variant. > > Signed-off-by: Andrew F. Davis > Reviewed-by: Simon Glass Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH v4 2/6] spl: Add option to enable SPL Legacy image support

2017-02-14 Thread Tom Rini
On Mon, Feb 13, 2017 at 12:47:37PM -0600, Andrew F. Davis wrote: > Add a Kconfig option that enables Legacy image support, this allows > boards to explicitly disable this, for instance when needed for > security reasons. > > Signed-off-by: Andrew F. Davis > Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v4 4/6] ARM: AM43xx: Disable non-FIT based image loading for HS devices

2017-02-14 Thread Tom Rini
On Mon, Feb 13, 2017 at 12:47:39PM -0600, Andrew F. Davis wrote: > Disable support for loading non-FIT images for AM43xx platforms using > the high-security (HS) device variant. > > Signed-off-by: Andrew F. Davis > Reviewed-by: Simon Glass Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH v4 1/6] spl: Convert CONFIG_SPL_ABORT_ON_RAW_IMAGE into a positive option

2017-02-14 Thread Andrew F. Davis
On 02/14/2017 02:15 PM, Tom Rini wrote: > On Mon, Feb 13, 2017 at 12:47:36PM -0600, Andrew F. Davis wrote: > >> CONFIG_SPL_ABORT_ON_RAW_IMAGE causes SPL to abort and move on when it >> encounters RAW images, express this same functionality as a positive >> option enabling support for RAW images:

Re: [U-Boot] [PATCH] da850: Add instructions to copy AIS image to an MMC card

2017-02-14 Thread Tom Rini
On Mon, Feb 13, 2017 at 06:49:40PM +0100, Axel Haslam wrote: > The da850 soc's can boot from a external mmc card, but > the AIS image should be written to the correct sector. > > Add instructions to copy the AIS image to a MMC card. > > Signed-off-by: Axel Haslam

Re: [U-Boot] [PATCH v4 5/6] ARM: AM57xx: Disable non-FIT based image loading for HS devices

2017-02-14 Thread Tom Rini
On Mon, Feb 13, 2017 at 12:47:40PM -0600, Andrew F. Davis wrote: > Disable support for loading non-FIT images for AM57xx platforms using > the high-security (HS) device variant. > > Signed-off-by: Andrew F. Davis > Reviewed-by: Simon Glass Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH v4 6/6] ARM: DRA7xx: Disable non-FIT based image loading for HS devices

2017-02-14 Thread Tom Rini
On Mon, Feb 13, 2017 at 12:47:41PM -0600, Andrew F. Davis wrote: > Disable support for loading non-FIT images for DRA7xx platforms using > the high-security (HS) device variant. > > Signed-off-by: Andrew F. Davis > Reviewed-by: Simon Glass Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH v2 1/6] arm: am57xx: reintroduce the CONFIG_AM57XX symbol

2017-02-14 Thread Tom Rini
On Tue, Feb 14, 2017 at 01:26:24PM -0600, Nishanth Menon wrote: > On 02/14/2017 01:20 PM, Tom Rini wrote: > >On Tue, Feb 14, 2017 at 01:18:20PM -0600, menon.nisha...@gmail.com wrote: > >>On Mon, Feb 13, 2017 at 7:27 AM, Tom Rini wrote: > >>>On Mon, Feb 13, 2017 at 01:34:52PM

Re: [U-Boot] [PATCH v4 1/6] spl: Convert CONFIG_SPL_ABORT_ON_RAW_IMAGE into a positive option

2017-02-14 Thread Tom Rini
On Mon, Feb 13, 2017 at 12:47:36PM -0600, Andrew F. Davis wrote: > CONFIG_SPL_ABORT_ON_RAW_IMAGE causes SPL to abort and move on when it > encounters RAW images, express this same functionality as a positive > option enabling support for RAW images: CONFIG_SPL_RAW_IMAGE_SUPPORT > >

Re: [U-Boot] [PATCH 4/9] armv8: layerscape: Rewrite memory reservation

2017-02-14 Thread york sun
On 02/14/2017 11:56 AM, Alexander Graf wrote: > > > On 14/02/2017 18:38, york sun wrote: >> On 02/14/2017 09:00 AM, york@nxp.com wrote: >>> On 02/14/2017 07:31 AM, Alexander Graf wrote: On 14/02/2017 04:45, York Sun wrote: > For ARMv8 Layerscape SoCs, secure memory and MC

Re: [U-Boot] [PATCH 1/2] rsa: Fix build with OpenSSL 1.1.x

2017-02-14 Thread Jelle van der Waa
On 02/14/17 at 12:43pm, Peter Robinson wrote: > On Mon, Feb 13, 2017 at 9:57 AM, Peter Robinson wrote: > > On Mon, Feb 13, 2017 at 9:00 AM, Jelle van der Waa wrote: > >> The rsa_st struct has been made opaque in 1.1.x, add forward compatible > >> code to

Re: [U-Boot] [PATCH 13/13] mips: jz47xx: Add Creator CI20 platform

2017-02-14 Thread Tom Rini
On Sun, Feb 12, 2017 at 12:52:45PM +0100, Andreas Färber wrote: > Hi Marek, > > Am 01.12.2016 um 02:06 schrieb Marek Vasut: > > From: Paul Burton > > > > Add support for the Creator CI20 platform based on the JZ4780 SoC. > > The DTS file comes from Linux 4.6 as of

Re: [U-Boot] [PATCH 13/13] mips: jz47xx: Add Creator CI20 platform

2017-02-14 Thread Marek Vasut
On 02/14/2017 11:58 PM, Tom Rini wrote: > On Sun, Feb 12, 2017 at 12:52:45PM +0100, Andreas Färber wrote: >> Hi Marek, >> >> Am 01.12.2016 um 02:06 schrieb Marek Vasut: >>> From: Paul Burton >>> >>> Add support for the Creator CI20 platform based on the JZ4780 SoC. >>> The

Re: [U-Boot] Simple Malloc Breaks omap3_logic

2017-02-14 Thread Tom Rini
On Tue, Feb 14, 2017 at 03:56:43PM -0600, Adam Ford wrote: > On Feb 14, 2017 3:10 PM, "Tom Rini" wrote: > > On Tue, Feb 14, 2017 at 03:03:44PM -0600, Adam Ford wrote: > > > Tom, > > > > I noticed there was an update to the omap3_logic_defconfig to use Simple > Malloc > > > >

[U-Boot] Assigning u-boot environment variables from memory

2017-02-14 Thread brendan
I am storing some information regarding my board within EEPROM (in memory after I use the >eeprom read command) and I was wondering if it was possible for me to somehow read from memory and store the values into an environment variable. I have done a search but could not find anything of

Re: [U-Boot] db-88f6820-amc board fails to boot with latest u-boot master

2017-02-14 Thread Chris Packham
On Wed, Feb 15, 2017 at 11:56 AM, Chris Packham wrote: > On Tue, Feb 14, 2017 at 11:01 PM, Mario Six wrote: >> On Tue, Feb 14, 2017 at 10:26 AM, Chris Packham >> wrote: >>> On Tue, Feb 14, 2017 at 7:56 PM, Mario Six

Re: [U-Boot] db-88f6820-amc board fails to boot with latest u-boot master

2017-02-14 Thread Chris Packham
On Tue, Feb 14, 2017 at 11:01 PM, Mario Six wrote: > On Tue, Feb 14, 2017 at 10:26 AM, Chris Packham > wrote: >> On Tue, Feb 14, 2017 at 7:56 PM, Mario Six wrote: >>> On Tue, Feb 14, 2017 at 7:36 AM, Stefan Roese

Re: [U-Boot] [PATCH 13/13] mips: jz47xx: Add Creator CI20 platform

2017-02-14 Thread Tom Rini
On Wed, Feb 15, 2017 at 12:03:32AM +0100, Marek Vasut wrote: > On 02/14/2017 11:58 PM, Tom Rini wrote: > > On Sun, Feb 12, 2017 at 12:52:45PM +0100, Andreas Färber wrote: > >> Hi Marek, > >> > >> Am 01.12.2016 um 02:06 schrieb Marek Vasut: > >>> From: Paul Burton > >>> >

[U-Boot] [PATCH] rockchip: firefly: configs: remove config_spl_of_platdata

2017-02-14 Thread Jacob Chen
We should remove config_spl_of_platdata to build u-boot-spl-dtb.bin rather than u-boot-spl-nodtb.bin since we use spl_back_to_brom. I miss it because i forget to clean build-dir.. Signed-off-by: Jacob Chen --- configs/firefly-rk3288_defconfig | 1 - 1 file changed, 1

Re: [U-Boot] [PATCH v1] mmc: pci: only compile on platforms that need it

2017-02-14 Thread Jaehoon Chung
Hi, On 02/13/2017 11:56 PM, Andy Shevchenko wrote: > From: Felipe Balbi > > We should only compile pci_mmc.c on platforms that actually need > this. Some platforms are using generic sdhci through driver model. > > Signed-off-by: Felipe Balbi

[U-Boot] [PATCH] tools: kwboot: don't adjust destaddr when patching the image

2017-02-14 Thread Chris Packham
Commit 94084eea3bd3 ("tools: kwbimage: Fix dest addr") changed kwbimage to do this adjustment. So now the adjustment in kwboot is not needed (and would prevent UART booting for images generated by the new kwbimage). Remove the destaddr adjustment in kwboot. Signed-off-by: Chris Packham

Re: [U-Boot] [PATCH v1 3/3] x86: Intel MID platforms has no microcode update

2017-02-14 Thread Bin Meng
Hi Andy, On Tue, Feb 14, 2017 at 10:47 PM, Andy Shevchenko wrote: > There is no microcode update available for SoCs used on Intel MID > platforms. > > Use conditional to bypass it. > > Signed-off-by: Andy Shevchenko > --- >

Re: [U-Boot] [PATCH v1 2/3] x86: zImage: add Intel MID platforms support

2017-02-14 Thread Bin Meng
On Tue, Feb 14, 2017 at 10:47 PM, Andy Shevchenko wrote: > From: Vincent Tinelli > > Intel MID platform boards have special treatment, such as boot parameter > setting. > > Assign hardware_subarch accordingly if CONFIG_INTEL_MID is

Re: [U-Boot] [PATCH v1 1/3] x86: Introduce INTEL_MID quirk option

2017-02-14 Thread Bin Meng
Hi Andy, On Tue, Feb 14, 2017 at 10:47 PM, Andy Shevchenko wrote: > Intel Mobile Internet Device (MID) platforms have special treatment in > some cases, such as CPU enumeration or boot parameters configuration. > > Here we introduce specific quirk option for

Re: [U-Boot] db-88f6820-amc board fails to boot with latest u-boot master

2017-02-14 Thread Chris Packham
On Wed, Feb 15, 2017 at 11:56 AM, Chris Packham wrote: > On Tue, Feb 14, 2017 at 11:01 PM, Mario Six wrote: >> On Tue, Feb 14, 2017 at 10:26 AM, Chris Packham >> wrote: >>> On Tue, Feb 14, 2017 at 7:56 PM, Mario Six

Re: [U-Boot] [PATCH v1] mmc: tangier: Add Intel Tangier eMMC/SDHCI driver

2017-02-14 Thread Jaehoon Chung
Hi Andy, On 02/14/2017 11:18 PM, Andy Shevchenko wrote: > From: Felipe Balbi > > This patch adds Intel Tangier eMMC/SDHCI driver. > > Signed-off-by: Vincent Tinelli > Signed-off-by: Felipe Balbi >

Re: [U-Boot] [PATCH] rockchip: firefly: configs: remove config_spl_of_platdata

2017-02-14 Thread Kever Yang
Hi Jacob, On 02/15/2017 11:06 AM, Jacob Chen wrote: We should remove config_spl_of_platdata to build u-boot-spl-dtb.bin rather than u-boot-spl-nodtb.bin since we use spl_back_to_brom. Have you try with CONFIG_SPL_OF_PLATDATA on and without SPL_BACK_TO_BROM? If this works on firefly, then we

Re: [U-Boot] [PATCH v2] arm: socfpga: fix issue with warm reset when CSEL is 0

2017-02-14 Thread Chin Liang See
On Sel, 2017-02-14 at 10:28 -0800, Dalon Westergreen wrote: > When CSEL=0x0 the socfpga bootrom does not touch the clock > configuration for the device.  This can lead to a boot failure > on warm resets.  To address this, the bootrom is configured to > run a bit of code in the last 4KB of onchip

Re: [U-Boot] [PATCH v1] mmc: pci: only compile on platforms that need it

2017-02-14 Thread Felipe Balbi
Hi, Jaehoon Chung writes: > On 02/13/2017 11:56 PM, Andy Shevchenko wrote: >> From: Felipe Balbi >> >> We should only compile pci_mmc.c on platforms that actually need >> this. Some platforms are using generic sdhci through driver model.

Re: [U-Boot] db-88f6820-amc board fails to boot with latest u-boot master

2017-02-14 Thread Stefan Roese
On 15.02.2017 01:57, Chris Packham wrote: On Wed, Feb 15, 2017 at 11:56 AM, Chris Packham wrote: On Tue, Feb 14, 2017 at 11:01 PM, Mario Six wrote: On Tue, Feb 14, 2017 at 10:26 AM, Chris Packham wrote: On Tue, Feb 14,

Re: [U-Boot] [PATCH] rockchip: firefly: configs: remove config_spl_of_platdata

2017-02-14 Thread Jacob Chen
Hi Kever, Kever Yang wrote on 2017年02月15日 14:13: Hi Jacob, On 02/15/2017 11:06 AM, Jacob Chen wrote: We should remove config_spl_of_platdata to build u-boot-spl-dtb.bin rather than u-boot-spl-nodtb.bin since we use spl_back_to_brom. Have you try with CONFIG_SPL_OF_PLATDATA on and without

Re: [U-Boot] [PATCH v1 0/6] Introduce DCU support for Vybrid

2017-02-14 Thread maitysanchayan
Ping? On 17-02-06 13:00:28, Sanchayan Maity wrote: > Hello, > > This patchset adds support for the Freescale/NXP Display > Controller Unit (DCU4) found on the LS1021A and Vybrid > SoC. > > Patch series is based on top of latest u-boot master. > > First patch in the series renames existing

Re: [U-Boot] [PATCH v1] mmc: tangier: Add Intel Tangier eMMC/SDHCI driver

2017-02-14 Thread Felipe Balbi
Hi, Jaehoon Chung writes: > Hi Andy, > > On 02/14/2017 11:18 PM, Andy Shevchenko wrote: >> From: Felipe Balbi >> >> This patch adds Intel Tangier eMMC/SDHCI driver. >> >> Signed-off-by: Vincent Tinelli >>

[U-Boot] [PATCH v1] usb: dwc3: gadget: Remove unused header inclusion

2017-02-14 Thread Andy Shevchenko
From: Vincent Tinelli Remove sys_proto.h inclusion which is not used by the driver. Signed-off-by: Vincent Tinelli Signed-off-by: Andy Shevchenko --- drivers/usb/dwc3/gadget.c | 1 - 1 file changed, 1

[U-Boot] [PATCH v1] mmc: tangier: Add Intel Tangier eMMC/SDHCI driver

2017-02-14 Thread Andy Shevchenko
From: Felipe Balbi This patch adds Intel Tangier eMMC/SDHCI driver. Signed-off-by: Vincent Tinelli Signed-off-by: Felipe Balbi Signed-off-by: Andy Shevchenko ---

[U-Boot] [PATCH v4 0/9] Add STMicroelectronics STiH410-B2260 board

2017-02-14 Thread patrice.chotard
From: Patrice Chotard v4: _ fix STi serial driver to be fully DT compliant _ remove arch/arm/include/asm/arch-stih410/sti.h and include/dm/platform_data/serial_sti_asc.h which became useless _ board file cleanup _ fix some nits in sti_sdhci.c _

[U-Boot] [PATCH v4 5/9] gpio: do not include for ARCH_STI

2017-02-14 Thread patrice.chotard
From: Patrice Chotard As no gpio.h is defined in arch/arm/include/asm/arch-stih410, to avoid compilation failure, do not include asm/arch/gpio.h. This is needed for example when including sdhci.h, which include asm/gpio.h>. Signed-off-by: Patrice Chotard

[U-Boot] [PATCH v4 2/9] STiH410: Add STi timer driver

2017-02-14 Thread patrice.chotard
From: Patrice Chotard Add ARM global timer based timer Signed-off-by: Patrice Chotard --- v3 : _ convert previous arch/arm/mach-sti/timer.c into STi timer driver drivers/timer/Kconfig | 7 + drivers/timer/Makefile| 1 +

[U-Boot] [PATCH v4 7/9] STiH410: Add STi pinctrl driver

2017-02-14 Thread patrice.chotard
From: Patrice Chotard Add STMicroelectronics STiH410 pinctrl driver Signed-off-by: Patrice Chotard Reviewed-by: Tom Rini --- drivers/pinctrl/Kconfig | 10 ++ drivers/pinctrl/Makefile | 1 +

[U-Boot] [PATCH v1 3/3] x86: Intel MID platforms has no microcode update

2017-02-14 Thread Andy Shevchenko
There is no microcode update available for SoCs used on Intel MID platforms. Use conditional to bypass it. Signed-off-by: Andy Shevchenko --- arch/x86/cpu/mp_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/cpu/mp_init.c

[U-Boot] [PATCH v4 9/9] board: Add STMicroelectronics STiH410-B2260 support

2017-02-14 Thread patrice.chotard
From: Patrice Chotard This is a 96Board compliant board based on STiH410 SoC: - 1GB DDR - On-Board USB combo WiFi/Bluetooth RTL8723BU with PCB soldered antenna - Ethernet 1000-BaseT - SATA - HDMI - 2 x USB2.0 type A - 1 x USB2.0 type micro-AB - SD card

[U-Boot] [PATCH v1 2/3] x86: zImage: add Intel MID platforms support

2017-02-14 Thread Andy Shevchenko
From: Vincent Tinelli Intel MID platform boards have special treatment, such as boot parameter setting. Assign hardware_subarch accordingly if CONFIG_INTEL_MID is set. Signed-off-by: Vincent Tinelli Signed-off-by: Andy Shevchenko

[U-Boot] [PATCH v4 8/9] STiH410-B2260: Add device tree

2017-02-14 Thread patrice.chotard
From: Patrice Chotard This device tree has been extracted from v4.9 kernel Signed-off-by: Patrice Chotard Reviewed-by: Tom Rini --- v4 : _ Add mising "stdout-path" property in arch/arm/dts/stih410-b2260.dts which

  1   2   >