Re: [U-Boot] [PATCH] mtd: cfi: Fix checking status register feature

2017-12-02 Thread Marek Vasut
On 11/18/2017 08:09 PM, York Sun wrote: > Commit 72443c7f7d21 ("mtd: cfi: Add support for status register > polling") added a feature check to determine if status register > is available for certain flash chips. The "lower software bits" > register used to determine this feature is not backward

Re: [U-Boot] mtd: cfi: Add support for status register polling

2017-12-02 Thread Marek Vasut
On 11/18/2017 08:11 PM, York Sun wrote: > On 11/18/2017 02:24 AM, Marek Vasut wrote: >> On 11/17/2017 10:48 PM, York Sun wrote: >>> On 11/17/2017 12:59 PM, York Sun wrote: On 11/17/2017 11:04 AM, Marek Vasut wrote: > On 11/17/2017 08:02 PM, Marek Vasut wrote: >> On 11/17/2017 05:43

[U-Boot] [RFC] CONFIG_DM_MMC should depend on CONFIG_MMC

2017-12-02 Thread Heinrich Schuchardt
Hello Simon, do you remember reason why you chose that CONFIG_DM_MMC should not depend on CONFIG_MMC? [PATCH] dm: mmc: Add an MMC uclass e7ecf7cb5a6b873daf2d88daf03034d51fad4acc My gut feeling is that it should have that dependency like DM_USB depends on USB and DM_PCI depends PCI. The same

[U-Boot] [PATCH 0/3] efi_loader: correct media device paths

2017-12-02 Thread Heinrich Schuchardt
For each disk we need partition device path with partion number 0. The device node texts should match the UEFI spec. Heinrich Schuchardt (3): efi_loader: correctly determine if an MMC device is an SD-card efi_loader: correctly setup device paths for block devices efi_loader: correct

[U-Boot] [PATCH 3/3] efi_loader: correct DeviceNodeToText for media types

2017-12-02 Thread Heinrich Schuchardt
When converting device nodes and paths to text we should stick to the UEFI spec. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_device_path_to_text.c | 30 +++--- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git

[U-Boot] [PATCH 1/3] efi_loader: correctly determine if an MMC device is an SD-card

2017-12-02 Thread Heinrich Schuchardt
The SD cards and eMMC devices have different device nodes. The current coding interpretes all MMC devices as eMMC. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_device_path.c | 24 +--- 1 file changed, 21 insertions(+), 3 deletions(-) diff

Re: [U-Boot] [PATCH 1/1] arm: sunxi: Allwinner A10 SPI driver

2017-12-02 Thread Maxime Ripard
Hi Stefan, On Fri, Dec 01, 2017 at 10:27:12AM +0200, Stefan Mavrodiev wrote: > Add spi driver for sun4i, sun5i and sun7i SoCs. The driver is > adapted from mailine kernel (currently 4.15.0-rc1). > > Signed-off-by: Stefan Mavrodiev > --- > Tested with A20-OLinuXino-Lime2 with

Re: [U-Boot] U-boot configuration

2017-12-02 Thread Lukasz Majewski
On Thu, 30 Nov 2017 13:21:24 + (UTC) "A.W.C." wrote: > Hello, > > Linux embedded file system (Linux v. 2.6.26.5) running on raw NAND > flash, and use Full Image's RootFS. I need to access to linux shell > when Linux kernel already is fully loaded and make some changes.

[U-Boot] [PATCH] omap3_logic: Increase CMD_SPL_WRITE_SIZE

2017-12-02 Thread Adam Ford
The SPL-OS partition is 0x2, so let's make CONFIG_CMD_SPL_WRITE_SIZE same size. This should allow for better falcon mode operation. Signed-off-by: Adam Ford diff --git a/configs/omap3_logic_defconfig b/configs/omap3_logic_defconfig index 8801268..db72e6f 100644 ---

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

2017-12-02 Thread Jagan Teki
On Mon, Nov 6, 2017 at 1:40 PM, Jagan Teki wrote: > On Fri, Nov 3, 2017 at 10:00 PM, Maxime Ripard > wrote: >> On Fri, Nov 03, 2017 at 02:21:51PM +0530, Jagan Teki wrote: >>> On Thu, Nov 2, 2017 at 7:26 PM, Maxime Ripard >>>

[U-Boot] [PATCH] drivers: spmi-msm: fix scanning for peripherals

2017-12-02 Thread Jorge Ramirez-Ortiz
A typo in the probe function causes not all peripherals to be scanned (in the case of the Dragonboard820c - work in progress - it wont find pmic0). --- drivers/spmi/spmi-msm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spmi/spmi-msm.c b/drivers/spmi/spmi-msm.c

[U-Boot] [PATCH 2/3] efi_loader: correctly setup device paths for block devices

2017-12-02 Thread Heinrich Schuchardt
For each block device we have to setup: - a device path for the block device - a partition device path for the block device with partition number 0 - a partition device path for each partition Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_device_path.c | 11

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

2017-12-02 Thread Jagan Teki
On Thu, Nov 2, 2017 at 5:54 PM, Maxime Ripard wrote: > 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

Re: [U-Boot] [PATCH] sunxi: video: HDMI: split VSYNC and HSYNC polarity settings

2017-12-02 Thread Jagan Teki
On Wed, Nov 29, 2017 at 2:31 PM, Maxime Ripard wrote: > On Tue, Nov 28, 2017 at 10:33:27PM -0800, Vasily Khoruzhick wrote: >> These are actually different bits, and since some monitors (Benq BL2420PT) >> have modes with different HSYNC and VSYNC polarity, we

Re: [U-Boot] [PATCH v3] x86: lib: Implement standalone __udivdi3 etc instead of libgcc ones

2017-12-02 Thread Ferry Toth
Op Wed, 29 Nov 2017 16:23:31 +0100, schreef Stefan Roese: > This patch removes the inclusion of the libgcc math functions and > replaces them by functions coded in C, taken from the coreboot project. > This makes U-Boot building more independent from the toolchain installed > / available on the

[U-Boot] [PATCH 3/4] arm64: a37xx: defconfigs: enable CONFIG_DISTRO_DEFAULTS

2017-12-02 Thread Andre Heider
Signed-off-by: Andre Heider --- configs/mvebu_db-88f3720_defconfig | 1 + configs/mvebu_espressobin-88f3720_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/mvebu_db-88f3720_defconfig b/configs/mvebu_db-88f3720_defconfig index

[U-Boot] [PATCH 2/4] arm64: a37xx: add distro compatible env vars

2017-12-02 Thread Andre Heider
the values of dt_addr_r/kernel_addr_r/ramdisk_addr_r are taken from the downstream 'u-boot-2017.03-armada-17.10' release. the chosen values of scriptaddr and pxefile_addr_r are below fdt_addr_r, in 1MB steps. Signed-off-by: Andre Heider ---

[U-Boot] [PATCH 4/4] arm64: a37xx: use distro bootcmd

2017-12-02 Thread Andre Heider
Signed-off-by: Andre Heider --- include/configs/mvebu_armada-37xx.h | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h index 383e6dfaf4..f5b4f72118 100644 ---

Re: [U-Boot] [RFC] CONFIG_DM_MMC should depend on CONFIG_MMC

2017-12-02 Thread Tom Rini
On Sat, Dec 02, 2017 at 11:07:53AM +0100, Heinrich Schuchardt wrote: > Hello Simon, > > do you remember reason why you chose that CONFIG_DM_MMC should not depend on > CONFIG_MMC? > > [PATCH] dm: mmc: Add an MMC uclass > e7ecf7cb5a6b873daf2d88daf03034d51fad4acc > > My gut feeling is that it

[U-Boot] GCC 6.0+

2017-12-02 Thread Adam Ford
When will this be enforced? *** Your GCC is older than 6.0 and will not be supported starting in v2018.01. I assume RC1 will come out soon. adam ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] arm64: a37xx: add distro boot compability

2017-12-02 Thread Andre Heider
Hi, this small set improves the usability to ease booting distro shipped kernels. Tested on espressobin with debian's flash-kernel. I could successfully boot from usb. Thanks, Andre ps: please keep me cc:'ed, not subscribed ___ U-Boot mailing list

[U-Boot] [PATCH 1/4] arm64: a37xx: use disto defaults

2017-12-02 Thread Andre Heider
Signed-off-by: Andre Heider --- include/configs/mvebu_armada-37xx.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/configs/mvebu_armada-37xx.h b/include/configs/mvebu_armada-37xx.h index 1b2e0d71b4..3e1ff02ed7 100644 ---

Re: [U-Boot] GCC 6.0+

2017-12-02 Thread Tom Rini
On Sat, Dec 02, 2017 at 06:52:19PM -0600, Adam Ford wrote: > When will this be enforced? > > *** Your GCC is older than 6.0 and will not be supported starting in > v2018.01. > > I assume RC1 will come out soon. Thanks for the reminder :) -- Tom signature.asc Description: PGP signature

[U-Boot] [PATCH] arm: Make gcc 6.0 or later a hard requirement now.

2017-12-02 Thread Tom Rini
Move the warning to an error as we have been promising would happen in this release. Signed-off-by: Tom Rini --- arch/arm/config.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/config.mk b/arch/arm/config.mk index