[U-Boot] bootefi regression from v2017.9: GRUB fails to see partitions on NXP LS1043A

2017-11-02 Thread Mathew McBride
Hi all, We are testing EFI support on u-boot for our (Traverse) NXP LS1043 boards, as being able to only maintain one bootloader codebase (u-boot) is very appealing to us. So far it has worked well, but I have had trouble getting it to work under v2017.11-rc*. It works fine on v2017.09.

[U-Boot] [PATCH] armv8: update gd after relocate

2017-11-02 Thread Kever Yang
We need to update gd in assamble code after relocate, this is a fix to: adc421e arm: move gd handling outside of C code Signed-off-by: Kever Yang --- arch/arm/lib/crt0_64.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/lib/crt0_64.S

[U-Boot] [PATCH] m68k: doc: update outdated documentation

2017-11-02 Thread Angelo Dureghello
Update m68k documentation to reflect the current ColdFire architecture support status. Signed-off-by: Angelo Dureghello --- doc/README.m54418twr | 2 + doc/README.m68k | 216 --- 2 files changed, 102 insertions(+), 116

[U-Boot] [PATCH] arm64: support running at addr other than linked to

2017-11-02 Thread Stephen Warren
From: Stephen Warren This is required in the case where U-Boot is typically loaded and run at a particular address, but for some reason the RAM at that location is not available, e.g. due to memory fragmentation loading other boot binaries or firmware, splitting an SMP

Re: [U-Boot] sunxi: broken sun4i_emacs, all boards?

2017-11-02 Thread Artturi Alm
On Sun, Oct 22, 2017 at 11:08:43PM +0300, Artturi Alm wrote: > Hi, > > this has been 'blocking' my attempts to revive the A10-boards i have > since early june, or so. > > now i found this commit abc3e4df59f54cf3dda42a35a75d617fe861f5fe, which > left the drivers/net/Makefile untouched,

Re: [U-Boot] Build failure in u-boot-mmc/master: undefined reference to error

2017-11-02 Thread Stephen Warren
On 10/24/2017 01:54 AM, Jaehoon Chung wrote: On 10/24/2017 12:22 AM, Stephen Warren wrote: On 10/22/2017 08:53 PM, Jaehoon Chung wrote: Dear Stephen, On 10/21/2017 12:47 AM, Stephen Warren wrote: With the latest content of u-boot-mmc/master, 41dc35a149b3 "drivers: mmc: Avoid memory leak in

[U-Boot] [PATCH] board: sysam: stmark2: add missing environment location

2017-11-02 Thread Angelo Dureghello
Signed-off-by: Angelo Dureghello --- configs/stmark2_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stmark2_defconfig b/configs/stmark2_defconfig index 3639aaa9e3..d34ffda260 100644 --- a/configs/stmark2_defconfig +++ b/configs/stmark2_defconfig @@ -18,6

[U-Boot] [PATCH 9/9] arm: zynq: Add board support for cc108

2017-11-02 Thread Michal Simek
cc108 board is wiring uart via PL which is good platform for SPL fpga support. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile| 1 + arch/arm/dts/zynq-cc108.dts | 116 +++ configs/zynq_cc108_defconfig | 54

[U-Boot] [PATCH 6/9] arm: zynq: Enable debug console on zc770 xm010 by default

2017-11-02 Thread Michal Simek
Enable debug console. Signed-off-by: Michal Simek --- configs/zynq_zc770_xm010_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/zynq_zc770_xm010_defconfig b/configs/zynq_zc770_xm010_defconfig index c70ac6bec230..49083e82814e 100644 ---

[U-Boot] [PATCH 7/9] arm: zynq: Enable MACRONIX flash for zc702/zc706/zc770 xm010

2017-11-02 Thread Michal Simek
Enable MACRONIX flash for boards with QSPI enabled. Signed-off-by: Michal Simek --- configs/zynq_zc702_defconfig | 1 + configs/zynq_zc706_defconfig | 1 + configs/zynq_zc770_xm010_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git

[U-Boot] [PATCH 8/9] arm: zynq: Enable qspi for zc770_xm013

2017-11-02 Thread Michal Simek
Enable qspi driver and flashes for this board. Signed-off-by: Michal Simek --- configs/zynq_zc770_xm013_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/zynq_zc770_xm013_defconfig b/configs/zynq_zc770_xm013_defconfig index

[U-Boot] [PATCH 4/9] arm: zynq: Sync location of DT properties with Linux

2017-11-02 Thread Michal Simek
This is trival change which only ensures the same location with Linux kernel. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-7000.dtsi | 2 +- arch/arm/dts/zynq-zybo.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 5/9] arm: zynq: Enable bootz command for Xilinx platforms

2017-11-02 Thread Michal Simek
bootz command is valid way how to boot Linux kernel. Enable it by default. Signed-off-by: Michal Simek --- configs/zynq_zc702_defconfig | 1 + configs/zynq_zc706_defconfig | 1 + configs/zynq_zc770_xm010_defconfig | 1 + configs/zynq_zc770_xm011_defconfig |

[U-Boot] [PATCH 3/9] arm: zynq: Remove empty ifdef env structures from config file

2017-11-02 Thread Michal Simek
All these configs were moved to Kconfig that's why this empty ifdef structure is not needed anymore. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/include/configs/zynq-common.h

[U-Boot] [PATCH 2/9] arm: zynq: Add device-type property for zynq ethernet phy nodes

2017-11-02 Thread Michal Simek
From: Sai Pavan Boddu Mention device-type = "ethernet-phy", as qemu will need this in absence of compatible. Signed-off-by: Sai Pavan Boddu Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc702.dts | 1 +

[U-Boot] [PATCH 1/9] arm: zynq: Add SCL & SDA GPIO entries for recovery

2017-11-02 Thread Michal Simek
From: Chirag Parekh Wire i2c pinmuxing gpio recovery for zc702. Signed-off-by: Chirag Parekh Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc702.dts | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-)

Re: [U-Boot] SPDX License status

2017-11-02 Thread Masahiro Yamada
2017-08-25 16:46 GMT+09:00 Wolfgang Denk : > Dear Tom, > > In message <20170825012557.GK2827@bill-the-cat> you wrote: >> >> Actual code we have to take care with anyhow, but it's still up to the >> person that has to handle the syncing. > > Really? Should we not rather implement a

Re: [U-Boot] [PATCH v2] ARM: zynq: Add support for SYZYGY Hub board

2017-11-02 Thread Tom McLeod
Hi Michal, >Patch looks good but only this prefix needs to be added to the Linux >kernel. It should be present in this file. Please send the patch and >when it is added to linux-next I will add your patch It looks like our vendor prefix has been accepted into linux-next.

Re: [U-Boot] [PATCH] scsi: ceva: Start port in probe

2017-11-02 Thread Mian Yousaf Kaukab
On 11/02/2017 03:53 PM, Michal Simek wrote: The patch: "dm: ahci: Unwind the confusing init code" (sha1: 7cf1afce7fa3fe64189020fe14b93f7326dd0758) introduce bug for ceva sata because port didn't start. On the other hand the dwc_ahci.c was fixed correctly. Do the same change for ceva too.

Re: [U-Boot] [PATCH 1/2] sunxi: binman: Add U-Boot binary size check

2017-11-02 Thread Frank Kunz
Am Donnerstag, 19. Oktober 2017, 16:04:18 CET schrieb Maxime Ripard: > The U-boot binary may trip over its actual allocated size in the storage. > In such a case, the environment will not be readable anymore (because > corrupted when the new image was flashed), and any attempt at using saveenv >

Re: [U-Boot] [PATCH 1/4] arm64: ls1043ardb: Add sd_bootcmd for distro fallback in case of sdboot

2017-11-02 Thread York Sun
On 11/01/2017 04:19 AM, Shengzhou Liu wrote: > > York, > please drop this version, I will update it and send next new version to add > distro secureboot together. > Shengzhou, Do not mark the patch as "superseded" if you haven't sent a new version. You can mark it as "Not Applicable"

Re: [U-Boot] [PATCH v4 2/2] armv8: ls1088: Enable SATA for ls1088

2017-11-02 Thread York Sun
On 11/01/2017 09:20 PM, Ashish Kumar wrote: > Signed-off-by: Ashish Kumar > Signed-off-by: Amrita Kumari > --- > v2: Rebase to top > v3: Consolidate defines in common file > v4: Protect define using CONFIG_SCSI > Andy, Does this set represent the

Re: [U-Boot] [Patch V5 1/2] armv8: ls1088ardb: Add SD boot support for ls1088

2017-11-02 Thread York Sun
On 11/01/2017 09:21 PM, Ashish Kumar wrote: > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Ashish Kumar > Signed-off-by: Raghav Dogra > --- > > v5: > Rewording and incorporation of review comments in README > Move

Re: [U-Boot] [PATCH 1/3] arm64: ls1088ardb: Add distro boot support

2017-11-02 Thread York Sun
On 11/01/2017 10:48 PM, Ashish Kumar wrote: > Disto boot support give flexibility to run distro RFS like ubuntu's s/Disto/Distro s/give/gives S/ubuntu/Ubuntu > being deployed from SD card or USB stick. If it fails > to detect external storage, fall back to qspi/sd boot. > > Signed-off-by:

Re: [U-Boot] [PATCH 2/3] armv8: ls1088ardb: Add CONFIG_DISTRO_DEFAULTS qspi-defconfig

2017-11-02 Thread York Sun
On 11/01/2017 10:48 PM, Ashish Kumar wrote: > Signed-off-by: Ashish Kumar > --- > configs/ls1088ardb_qspi_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs/ls1088ardb_qspi_defconfig > b/configs/ls1088ardb_qspi_defconfig > index db15d31..6ec949c

[U-Boot] [PATCH] ata: Fix ahci wording

2017-11-02 Thread Michal Simek
s/achi_/ahci_/g Signed-off-by: Michal Simek --- drivers/ata/ahci.c | 4 ++-- drivers/ata/dwc_ahci.c | 2 +- drivers/ata/sata_ceva.c | 4 ++-- include/ahci.h | 8 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/ata/ahci.c

[U-Boot] [PATCH] scsi: ceva: Start port in probe

2017-11-02 Thread Michal Simek
The patch: "dm: ahci: Unwind the confusing init code" (sha1: 7cf1afce7fa3fe64189020fe14b93f7326dd0758) introduce bug for ceva sata because port didn't start. On the other hand the dwc_ahci.c was fixed correctly. Do the same change for ceva too. Signed-off-by: Michal Simek

[U-Boot] [PATCH v3] DW SPI: Get clock value from Device Tree

2017-11-02 Thread Eugeniy Paltsev
Add option to set spi controller clock frequency via device tree using standard clock bindings. Old way of setting spi controller clock frequency (via implementation of 'cm_get_spi_controller_clk_hz' function in platform specific code) remains supported for backward compatibility with targets

Re: [U-Boot] Problem with initialize in mmc_initialize in mmc.c

2017-11-02 Thread Faiz Abbas
On Monday 30 October 2017 07:37 PM, Faiz Abbas wrote: > Hi, > > The variable *initialized* in mmc_initialize() is declared as static and > initialised to 0 in the following commit. This makes the compiler put it > in the .bss section of the image. > > commit

[U-Boot] [PATCH] mmc: sdhci: don't clear SDHCI_INT_STATUS register during CMD_INHIBIT

2017-11-02 Thread Jorge Ramirez-Ortiz
Fixes emmc initialization regression on the db410c platform. Clearing this register while SDHCI_PRESENT_STATE reports SDHCI_CMD_INHIBIT leads to undefined behaviour on the db410c. When commit 7dde50 was merged (mmc: sdhci: Wait for SDHCI_INT_DATA_END when transferring), SDHCI transfers

Re: [U-Boot] [PATCH] sunxi: lower the DRAM frequency of Nano Pi NEO2 to 504MHz

2017-11-02 Thread Maxime Ripard
On Thu, Nov 02, 2017 at 11:36:52AM +0800, Icenowy Zheng wrote: > The BSP of Nano Pi NEO2 provided by FriendlyARM uses 504MHz DRAM > frequency, which is much lower than the current 672MHz used in > mainline. > > Switch to use the BSP-provided frequency 504MHz for DRAM. > > Thanks to Thomas

Re: [U-Boot] [PATCH] sunxi: set the default CPUx frequency of H5 to 816MHz

2017-11-02 Thread Maxime Ripard
On Wed, Nov 01, 2017 at 08:31:46AM +0800, Icenowy Zheng wrote: > 在 2017-10-31 21:54,Maxime Ripard 写道: > > On Tue, Oct 31, 2017 at 04:05:36PM +0800, icen...@aosc.io wrote: > > > 在 2017-10-31 15:57,Jagan Teki 写道: > > > > On Tue, Oct 31, 2017 at 5:06 AM, Icenowy Zheng wrote: > > > >

Re: [U-Boot] [PATCH] sunxi: lower the DRAM frequency of Nano Pi NEO2 to 504MHz

2017-11-02 Thread Jagan Teki
On Thu, Nov 2, 2017 at 1:57 PM, Icenowy Zheng wrote: > 在 2017-11-02 16:25,Jagan Teki 写道: >> >> On Thu, Nov 2, 2017 at 9:06 AM, Icenowy Zheng wrote: >>> >>> The BSP of Nano Pi NEO2 provided by FriendlyARM uses 504MHz DRAM >>> frequency, which is much lower than

[U-Boot] problem with configuration

2017-11-02 Thread pranav prakash
Hello Sir, I want networking support in u-boot , In beaglebone black I easily got that. But if i want the same in AM3354BZCZD80 processor I am unable to get that .while booting from SD-card it is working but i am unable to boot from network.can you tell me where and all i have to do the

Re: [U-Boot] [PATCH v2 2/2] video: sunxi: de2: add support for LCD SimpleFB

2017-11-02 Thread Maxime Ripard
On Wed, Nov 01, 2017 at 10:18:07PM +0800, Icenowy Zheng wrote: > Add support for setting up SimpleFB for LCD display output in DE2 > SimpleFB setup code. > > Signed-off-by: Icenowy Zheng Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Free

Re: [U-Boot] [PATCH v2 1/2] video: sunxi: de2: fix SimpleFB node creation when HDMI not initialized

2017-11-02 Thread Maxime Ripard
On Wed, Nov 01, 2017 at 10:18:06PM +0800, Icenowy Zheng wrote: > When HDMI is not initialized (e.g. no monitor is plugged), the current > SimpleFB code will still create a broken SimpleFB node. > > Detect whether HDMI is initialized when creating SimpleFB node. > > Fixes: be5b96f0e411 ("sunxi:

Re: [U-Boot] [PATCH 0/2] Disable hybrid mode for SPANSION S25FS-S family

2017-11-02 Thread Rajat Srivastava
> -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Tuesday, October 31, 2017 1:32 PM > To: Rajat Srivastava > Cc: u-boot@lists.denx.de; York Sun ; Suresh Gupta > > Subject: Re: [PATCH 0/2]

[U-Boot] [PATCH] disk: part_dos: fix part_get_info_extended() function

2017-11-02 Thread Shawn Guo
From: Shawn Guo The check in part_get_info_extended() for a successful partition searching misses a condition for extended partition. In case of (ext_part_sector == 0), we should anyway mark the partition as found, even if it's an extended partition, i.e.

Re: [U-Boot] About the way to fix platform specific issue in source file xhci.c (U-Boot)

2017-11-02 Thread Ran Wang
Hi Bin, > -Original Message- > From: Bin Meng [mailto:bmeng...@gmail.com] > Sent: Thursday, November 02, 2017 4:37 PM > To: Ran Wang > Cc: Marek Vasut ; Marek Vasut > ; open list > Subject: Re: [U-Boot]

Re: [U-Boot] About the way to fix platform specific issue in source file xhci.c (U-Boot)

2017-11-02 Thread Bin Meng
Hi Ran, On Thu, Nov 2, 2017 at 10:29 AM, Ran Wang wrote: > Hi Bin, > >> -Original Message- >> From: Bin Meng [mailto:bmeng...@gmail.com] >> Sent: Wednesday, November 01, 2017 6:08 PM >> To: Marek Vasut >> Cc: Ran Wang ; Marek Vasut

Re: [U-Boot] [PATCH] sunxi: lower the DRAM frequency of Nano Pi NEO2 to 504MHz

2017-11-02 Thread Icenowy Zheng
在 2017-11-02 16:25,Jagan Teki 写道: On Thu, Nov 2, 2017 at 9:06 AM, Icenowy Zheng wrote: The BSP of Nano Pi NEO2 provided by FriendlyARM uses 504MHz DRAM frequency, which is much lower than the current 672MHz used in mainline. Switch to use the BSP-provided frequency 504MHz for

Re: [U-Boot] [PATCH] sunxi: lower the DRAM frequency of Nano Pi NEO2 to 504MHz

2017-11-02 Thread Jagan Teki
On Thu, Nov 2, 2017 at 9:06 AM, Icenowy Zheng wrote: > The BSP of Nano Pi NEO2 provided by FriendlyARM uses 504MHz DRAM > frequency, which is much lower than the current 672MHz used in > mainline. > > Switch to use the BSP-provided frequency 504MHz for DRAM. > > Thanks to Thomas

Re: [U-Boot] [PATCH 1/2] common: Generic file system firmware loader

2017-11-02 Thread Chee, Tien Fong
On Rab, 2017-11-01 at 10:26 +0100, Marek Vasut wrote: > On 11/01/2017 10:18 AM, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Generic firmware loader framework contains some common > > functionality > > which is factored out from splash loader.

Re: [U-Boot] [PATCH] Enable HDMI on i.MX6 without VPU

2017-11-02 Thread Nikolay Petukhov
Hi Stefano, On i.MX6 SoCs without VPU(MCIMX6Q4AVT10AD) the HDMI is not working. That's because hdmi_isfr's parent clock, video_27m, is not correctly ungated. The video_27m clock is gated by CCM_CCGR3[CG8] - mipi_core_cfg_clk_enable. On i.MX6 SoCs with VPU, the HDMI is working thanks to the

Re: [U-Boot] [PATCH 1/3] spl: set SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to 0x4000 for rockchip

2017-11-02 Thread Jagan Teki
On Thu, Nov 2, 2017 at 12:46 PM, Kever Yang wrote: > Rockchip use a 'loader2' partition for U-Boot, so u-boot.bin or > u-boot.itb load by SPL need to locate at0x4000. Detail here: > http://opensource.rock-chips.com/wiki_Boot_option Sorry, I'm not clear is this because

[U-Boot] [PATCH 3/3] rockchip: remove SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR from defconfig

2017-11-02 Thread Kever Yang
Use default value 0x4000 for SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR instead of define a new one. Signed-off-by: Kever Yang --- configs/evb-rk3399_defconfig | 1 - configs/firefly-rk3399_defconfig | 1 - 2 files changed, 2 deletions(-) diff --git

[U-Boot] [PATCH 2/3] rockchip: doc: update U-Boot location info

2017-11-02 Thread Kever Yang
Update rockchip U-Boot location to 0x4000/16384. Signed-off-by: Kever Yang --- doc/README.rockchip | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/README.rockchip b/doc/README.rockchip index 4b7be0b..9d5af3d 100644 ---

[U-Boot] [PATCH 1/3] spl: set SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to 0x4000 for rockchip

2017-11-02 Thread Kever Yang
Rockchip use a 'loader2' partition for U-Boot, so u-boot.bin or u-boot.itb load by SPL need to locate at0x4000. Detail here: http://opensource.rock-chips.com/wiki_Boot_option Signed-off-by: Kever Yang --- common/spl/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1