Re: [U-Boot] [PATCH v2 1/2] sunxi-mmc: use new mode on A64

2018-05-14 Thread Maxime Ripard
On Mon, May 14, 2018 at 08:27:22AM -0700, Vasily Khoruzhick wrote: > That is necessary for using automatic calibration on A64 eMMC. > > Signed-off-by: Vasily khoruzhick Acked-by: Maxime Ripard Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering ht

Re: [U-Boot] [PATCH v4 1/2] pwm: sunxi: add support for PWM found on Allwinner A64

2018-05-14 Thread Jagan Teki
On Mon, May 14, 2018 at 8:46 PM, Vasily Khoruzhick wrote: > This commit adds basic support for PWM found on Allwinner A64. > It can be used for pwm_backlight driver (e.g. for Pinebook) > > Signed-off-by: Vasily Khoruzhick > --- > arch/arm/include/asm/arch-sunxi/gpio.h | 1 + > arch/arm/include

Re: [U-Boot] [PATCH v2 2/2] mmc: sunxi: run calibration on A64

2018-05-14 Thread Maxime Ripard
On Mon, May 14, 2018 at 08:27:23AM -0700, Vasily Khoruzhick wrote: > Along with using new mode it fixes eMMC instability on Pinebook > > Signed-off-by: Vasily Khoruzhick Acked-by: Maxime Ripard Thanks! Maxime -- Maxime Ripard, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engin

Re: [U-Boot] [PATCH v4 0/2] sunxi: add PWM driver for A64

2018-05-14 Thread Anatolij Gustschin
On Mon, 14 May 2018 08:16:19 -0700 Vasily Khoruzhick anars...@gmail.com wrote: > This series introduces a PWM driver for Allwinner A64. > > This driver can be used to control backlight on Pinebook > > v4: use the same binding as in Linux > > Vasily Khoruzhick (2): > pwm: sunxi: add support fo

Re: [U-Boot] [PATCH] arm: zynq: Add initial support for Avnet MiniZed

2018-05-14 Thread Michal Simek
On 14.5.2018 23:49, Ibai Erkiaga wrote: > Initial support for Avnet MiniZed board. Tested UART1 (serial console), > QSPI(Flash), SDHCI1 (eMMC), USB. > > Signed-off-by: Ibai Erkiaga > --- > arch/arm/dts/Makefile |1 + > arch/arm/dts/zynq-minized.dts | 106 > +++

Re: [U-Boot] [PATCH] image: fit: Allow booting Aarch64 from arm

2018-05-14 Thread Michal Simek
On 14.5.2018 23:33, Ramon Fried wrote: > Snapdragon bootloader needs to jump from 32bit to 64bit > Allow booting in these cases when CONFIG_AARCH32_SUPPORT_ARM64 is defined. > > Signed-off-by: Ramon Fried > --- > common/image-fit.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-)

Re: [U-Boot] [PATCH v2 0/2] video: dw_hdmi: fix HSYNC and VSYNC polarity settings

2018-05-14 Thread Anatolij Gustschin
Hi, On Mon, 14 May 2018 13:49:51 -0700 Vasily Khoruzhick anars...@gmail.com wrote: > Previous attempt to fix HSYNC and VSYNC polarity settings for dw_hdmi on sunxi > wasn't completely correct - there's another bug in dw_hdmi driver. > This series fixes hsync/vsync settings in sunxi glue driver an

Re: [U-Boot] [PATCH v2 2/2] video: dw_hdmi: fix HSYNC and VSYNC polarity settings

2018-05-14 Thread Jernej Škrabec
Hi, Dne ponedeljek, 14. maj 2018 ob 22:49:53 CEST je Vasily Khoruzhick napisal(a): > Currently dw_hdmi configures HSYNC polarity using VSYNC setting from > EDID and vice versa. Fix it, since it breaks displays where HSYNC > and VSYNC polarity differs > > Signed-off-by: Vasily Khoruzhick Reviewe

Re: [U-Boot] [PATCH v2 1/2] sunxi: video: HDMI: use correct bits for HSYNC and VSYNC polarity.

2018-05-14 Thread Jernej Škrabec
Hi! Dne ponedeljek, 14. maj 2018 ob 22:49:52 CEST je Vasily Khoruzhick napisal(a): > HSYNC is bit 8, and VSYNC is bit 9. > > Signed-off-by: Vasily Khoruzhick Reviewed-by: Jernej Skrabec Best regards, Jernej > --- > drivers/video/sunxi/sunxi_dw_hdmi.c | 4 ++-- > 1 file changed, 2 insertions

[U-Boot] arm: Raspberry Pi Compile warnings

2018-05-14 Thread Duncan Hare
Hi Simon Is this is problem? arch/arm/dts/bcm2835-rpi-a-plus.dtb: Warning (phys_property): Missing property '#phy-cells' in node /phy or bad phandle (referred from /soc/usb@7e98:phys[0]) repeated about 6 - 8 times make[2]:'arch/arm/dts/bcm2837-rpi-3-b.dtb' is up to date. __

[U-Boot] [PATCH] ARM: mvebu: a38x: Add missing SPDX license identfier

2018-05-14 Thread Chris Packham
mv_ddr_build_message.c is generated in Marvell's standalone mv_ddr code. When imported into u-boot we need to add the appropriate SPDX tag and re-format it slightly. Signed-off-by: Chris Packham --- drivers/ddr/marvell/a38x/mv_ddr_build_message.c | 4 +++- 1 file changed, 3 insertions(+), 1 del

Re: [U-Boot] Please pull u-boot-marvell/master

2018-05-14 Thread Chris Packham
Hi Tom, Stefan, On Tue, May 15, 2018 at 3:16 AM Stefan Roese wrote: > Hi Tom, > (Cc'ing Chris) > On 14.05.2018 17:11, Tom Rini wrote: > > On Mon, May 14, 2018 at 01:58:59PM +0200, Stefan Roese wrote: > > > >> Hi Tom, > >> > >> please pull the following MVEBU related patches from Marek and > >>

Re: [U-Boot] [PULL] Please pull u-boot-rockchip/master

2018-05-14 Thread Tom Rini
On Mon, May 14, 2018 at 05:32:25PM +0200, Dr. Philipp Tomsich wrote: > Tom, > > I have two fixes for regressions (that unfortunately ended up in the last > release) in my tree, > ready for a merge onto master. > > Thanks, > Philipp. > > > The following changes since commit ca70cbabdcd19bf157a

[U-Boot] [PATCH] arm: zynq: Add initial support for Avnet MiniZed

2018-05-14 Thread Ibai Erkiaga
Initial support for Avnet MiniZed board. Tested UART1 (serial console), QSPI(Flash), SDHCI1 (eMMC), USB. Signed-off-by: Ibai Erkiaga --- arch/arm/dts/Makefile |1 + arch/arm/dts/zynq-minized.dts | 106 configs/zynq_minized_defconfig | 66

[U-Boot] [PATCH] arm: zynq: Add initial support for Avnet MiniZed

2018-05-14 Thread Ibai Erkiaga
Initial support for Avnet MiniZed board. Tested UART1 (serial console), QSPI(Flash), SDHCI1 (eMMC), USB. Signed-off-by: Ibai Erkiaga --- Changes for v3: -dts formating refactor -CONFIG_DISPLAY_CPUINFO removed from config -CONFIG_OF_EMBED removed from config Changes for v2

Re: [U-Boot] [PATCH 2/2] ARM: Add a new arch + board for QEMU's 'virt' machine

2018-05-14 Thread Tuomas Tynkkynen
Hi, On Wed, 9 May 2018 12:56:46 +0200 Paulo Neves wrote: > Hello I have successfully built u-boot and launched qemu with the > flags proposed by the patch. My problems start when I try to boot the > kernel > > What is the linux kernel defconfig that should be used to boot this > machine? multi

[U-Boot] [PATCH] block: Have BLOCK_CACHE default to y in some cases

2018-05-14 Thread Tom Rini
When dealing with filesystems that come from block devices we can get a noticeable performance gain in some use cases from having the block cache enabled. Do so by default for btrfs/ext4/FAT. Signed-off-by: Tom Rini --- In general this grows U-Boot itself by ~2KiB and does grow SPL by ~540 bytes

Re: [U-Boot] [PATCH v2] Makefile: adopt --std=gnu11 for HOSTCFLAGS on Linux

2018-05-14 Thread Tom Rini
On Mon, May 14, 2018 at 10:58:49PM +0200, Mark Kettenis wrote: > > Date: Mon, 14 May 2018 10:57:12 -0400 > > From: Tom Rini > > > > On Mon, May 14, 2018 at 04:53:49PM +0200, Mark Kettenis wrote: > > > > From: Philipp Tomsich > > > > Date: Mon, 14 May 2018 15:22:06 +0200 > > > > > > > > Followin

Re: [U-Boot] [PATCH] arm: socfpga: fix CONFIG_SPL_MAX_SIZE (less than SRAM)

2018-05-14 Thread Marek Vasut
On 05/14/2018 11:02 PM, Simon Goldschmidt wrote: > The boot ROMs of the socfpga platform limit the size of the > SPL to copy to less than the available SRAM. > (See "Intel SoC FPGA Embedded Development Suite User Guide") > > According to this document, Cyclone V and Arria V allow 60KB > maximum wh

Re: [U-Boot] [PATCH] arm: socfpga: correctly reserve SRAM for boot counter

2018-05-14 Thread Marek Vasut
On 05/14/2018 10:58 PM, Goldschmidt Simon wrote: > Bootcounter for is1 and sr1500 boards somewhat relied on struct global data > alignment gap > at the end of internal SRAM. Let's fix this by explicitly reserving some > bytes. > > Signed-off-by: Simon Goldschmidt This should be reserved somewh

Re: [U-Boot] [PATCH] soc: zynqmp: Update required API version to 1.0

2018-05-14 Thread Marek Vasut
On 05/14/2018 03:39 PM, Michal Simek wrote: > From: Rajan Vaja > > Existing EEMI version is to as 1.0 (available from xilinx v2018.1 > version). Update required API version to match with EEMI API version. Not sure I understand this sentence. > New PMUFW version is required for operations with p

Re: [U-Boot] [PATCH] ARM: socfpga: Put stack at the end of SRAM

2018-05-14 Thread Marek Vasut
On 05/14/2018 09:43 PM, Simon Goldschmidt wrote: > > > On 14.05.2018 17:51, Stefan Roese wrote: >> On 14.05.2018 11:06, Marek Vasut wrote: >>> On 05/14/2018 11:01 AM, Simon Goldschmidt wrote: On 14.05.2018 10:17, Marek Vasut wrote: > On 05/14/2018 10:03 AM, Simon Goldschmidt wr

[U-Boot] [PATCH] image.h Allow booting Aarch64 from arm

2018-05-14 Thread Ramon Fried
Snapdragon bootloader needs to jump from 32bit to 64bit Allow booting in these cases when CONFIG_AARCH32_SUPPORT_ARM64 is defined. Signed-off-by: Ramon Fried --- include/image.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/image.h b/include/image.h index df701e3470..598c6617

[U-Boot] [PATCH] image: fit: Allow booting Aarch64 from arm

2018-05-14 Thread Ramon Fried
Snapdragon bootloader needs to jump from 32bit to 64bit Allow booting in these cases when CONFIG_AARCH32_SUPPORT_ARM64 is defined. Signed-off-by: Ramon Fried --- common/image-fit.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/common/image-fit.c b/common/image-fit.c

Re: [U-Boot] [PATCH 5/7] mach-snapdragon: Introduce pinctrl driver

2018-05-14 Thread Ramon Fried
On Mon, May 14, 2018 at 10:51 PM, Simon Glass wrote: > Hi Ramon, > > On 14 May 2018 at 01:10, Ramon Fried wrote: >> On Mon, May 14, 2018 at 1:00 AM, Simon Glass wrote: >>> Hi Ramon, >>> >>> On 12 May 2018 at 20:15, Ramon Fried wrote: This patch adds pinmux and pinctrl driver for TLMM

Re: [U-Boot] [PATCH v3 13/13] net: fastboot: Merge AOSP UDP fastboot

2018-05-14 Thread Alex Kiernan
On Mon, May 14, 2018 at 8:53 PM Simon Glass wrote: > Hi Alex, > On 14 May 2018 at 03:09, Alex Kiernan wrote: > > Merge UDP fastboot support from AOSP: > > > > https://android.googlesource.com/platform/external/u-boot/+/android-o-mr1-iot-preview-8 > > > > Signed-off-by: Alex Kiernan > > Signed-

Re: [U-Boot] [U-Boot,3/3] mmc: support writing sparse images

2018-05-14 Thread Alex Kiernan
On Mon, May 14, 2018 at 9:50 PM Tom Rini wrote: > On Mon, May 14, 2018 at 05:14:42PM +0100, Alex Kiernan wrote: > > On Mon, May 14, 2018 at 3:47 PM Tom Rini wrote: > > > > > On Mon, May 14, 2018 at 06:42:41PM +0530, Jassi Brar wrote: > > > > Hi Tom, > > > > > > > > On Tue, May 8, 2018 at 10:45 P

Re: [U-Boot] [PATCH v2] Makefile: adopt --std=gnu11 for HOSTCFLAGS on Linux

2018-05-14 Thread Mark Kettenis
> From: "Dr. Philipp Tomsich" > Date: Mon, 14 May 2018 17:02:43 +0200 > > > On 14 May 2018, at 16:53, Mark Kettenis wrote: > > > >> From: Philipp Tomsich > >> Date: Mon, 14 May 2018 15:22:06 +0200 > >> > >> Following the conversion of the SPDX license tags, a number of files > >> compiled wit

[U-Boot] [PATCH] arm: socfpga: fix CONFIG_SPL_MAX_SIZE (less than SRAM)

2018-05-14 Thread Simon Goldschmidt
The boot ROMs of the socfpga platform limit the size of the SPL to copy to less than the available SRAM. (See "Intel SoC FPGA Embedded Development Suite User Guide") According to this document, Cyclone V and Arria V allow 60KB maximum while Arria 10 allows 200KB. In both cases, this is less than

Re: [U-Boot] [PATCH v2] Makefile: adopt --std=gnu11 for HOSTCFLAGS on Linux

2018-05-14 Thread Mark Kettenis
> Date: Mon, 14 May 2018 10:57:12 -0400 > From: Tom Rini > > On Mon, May 14, 2018 at 04:53:49PM +0200, Mark Kettenis wrote: > > > From: Philipp Tomsich > > > Date: Mon, 14 May 2018 15:22:06 +0200 > > > > > > Following the conversion of the SPDX license tags, a number of files > > > compiled wit

[U-Boot] [PATCH] arm: socfpga: correctly reserve SRAM for boot counter

2018-05-14 Thread Goldschmidt Simon
Bootcounter for is1 and sr1500 boards somewhat relied on struct global data alignment gap at the end of internal SRAM. Let's fix this by explicitly reserving some bytes. Signed-off-by: Simon Goldschmidt --- include/configs/socfpga_common.h | 6 +- include/configs/socfpga_is1.h| 3 ++- i

[U-Boot] [PATCH] PCI: Document pciauto_region_allocate()

2018-05-14 Thread Tuomas Tynkkynen
Add a doc comment for pciauto_region_allocate(). Signed-off-by: Tuomas Tynkkynen --- This patch depends on [PATCH 2/2] PCI: autoconfig: Don't allocate 64-bit addresses to 32-bit only resources. --- include/pci.h | 13 + 1 file changed, 13 insertions(+) diff --git a/include/pci.h b/i

Re: [U-Boot] [U-Boot,3/3] mmc: support writing sparse images

2018-05-14 Thread Tom Rini
On Mon, May 14, 2018 at 05:14:42PM +0100, Alex Kiernan wrote: > On Mon, May 14, 2018 at 3:47 PM Tom Rini wrote: > > > On Mon, May 14, 2018 at 06:42:41PM +0530, Jassi Brar wrote: > > > Hi Tom, > > > > > > On Tue, May 8, 2018 at 10:45 PM, Tom Rini wrote: > > > > On Fri, Apr 06, 2018 at 12:05:24PM

[U-Boot] [PATCH v2 2/2] video: dw_hdmi: fix HSYNC and VSYNC polarity settings

2018-05-14 Thread Vasily Khoruzhick
Currently dw_hdmi configures HSYNC polarity using VSYNC setting from EDID and vice versa. Fix it, since it breaks displays where HSYNC and VSYNC polarity differs Signed-off-by: Vasily Khoruzhick --- drivers/video/dw_hdmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/d

Re: [U-Boot] [PATCH] tools: adopt --std=gnu99 where C99 comments are needed

2018-05-14 Thread Tom Rini
On Mon, May 14, 2018 at 02:07:27PM +0200, Dr. Philipp Tomsich wrote: > While it’s not directly related to this patch, we should clearly state that > the U-Boot code base (with the possible exception of the tools/ directory, > which I have started touching here) has _implicitly_ moved to GNU11 > (

[U-Boot] [PATCH v2 1/2] sunxi: video: HDMI: use correct bits for HSYNC and VSYNC polarity.

2018-05-14 Thread Vasily Khoruzhick
HSYNC is bit 8, and VSYNC is bit 9. Signed-off-by: Vasily Khoruzhick --- drivers/video/sunxi/sunxi_dw_hdmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/sunxi/sunxi_dw_hdmi.c b/drivers/video/sunxi/sunxi_dw_hdmi.c index c78e33b947..9dbea649a0 100644 ---

[U-Boot] [PATCH v2 0/2] video: dw_hdmi: fix HSYNC and VSYNC polarity settings

2018-05-14 Thread Vasily Khoruzhick
Previous attempt to fix HSYNC and VSYNC polarity settings for dw_hdmi on sunxi wasn't completely correct - there's another bug in dw_hdmi driver. This series fixes hsync/vsync settings in sunxi glue driver and applies proper fix to dw_hdmi v2: don't revert earlier fix, just use correct bits for hs

[U-Boot] GPL clarification needed

2018-05-14 Thread Burt Janz
Long time u-boot user... (since the ppc days). Need a clarification from WD re. GPL2: do Makefiles and header files in include/config fall within the u-boot GPL? NO, I do not want to link with any u-boot libraries.  I'm writing code that uses the jump table to add my "extensions", but would l

Re: [U-Boot] [PATCH v3 10/13] fastboot: Extract common definitions from USB fastboot

2018-05-14 Thread Alex Kiernan
On Mon, May 14, 2018 at 8:53 PM Simon Glass wrote: > Hi, > On 14 May 2018 at 03:09, Alex Kiernan wrote: > > Move strcmp_l1() to include/common.h so we can can call it from elsewhere. > > Move FASTBOOT_VERSION to include/fastboot.h so when we merge the UDP code > > we only have one definition. >

Re: [U-Boot] [PATCH] ARM: socfpga: Put stack at the end of SRAM

2018-05-14 Thread Simon Goldschmidt
On 14.05.2018 21:43, Simon Goldschmidt wrote: On 14.05.2018 17:51, Stefan Roese wrote: On 14.05.2018 11:06, Marek Vasut wrote: On 05/14/2018 11:01 AM, Simon Goldschmidt wrote: On 14.05.2018 10:17, Marek Vasut wrote: On 05/14/2018 10:03 AM, Simon Goldschmidt wrote: On 12.05.2018 22:27,

Re: [U-Boot] [PATCH v3 10/13] fastboot: Extract common definitions from USB fastboot

2018-05-14 Thread Simon Glass
Hi, On 14 May 2018 at 03:09, Alex Kiernan wrote: > Move strcmp_l1() to include/common.h so we can can call it from elsewhere. > Move FASTBOOT_VERSION to include/fastboot.h so when we merge the UDP code > we only have one definition. > > Signed-off-by: Alex Kiernan > --- > > Changes in v3: > - ne

Re: [U-Boot] [PATCH 1/2] PCI: Add newlines to debug prints in pci_auto_common.c

2018-05-14 Thread Simon Glass
On 14 May 2018 at 10:38, Tuomas Tynkkynen wrote: > All of the debug output from this file is squished to one line. Fix > it. > > Signed-off-by: Tuomas Tynkkynen > --- > drivers/pci/pci_auto_common.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH v3 12/13] fs: Add fs_get_type_name to return current filesystem name

2018-05-14 Thread Simon Glass
On 14 May 2018 at 03:09, Alex Kiernan wrote: > Add fs_get_type_name so we can get the current filesystem type. > > Signed-off-by: Alex Kiernan > --- > > Changes in v3: > - new > > Changes in v2: None > > fs/fs.c | 5 + > include/fs.h | 5 + > 2 files changed, 10 insertions(+) > Rev

Re: [U-Boot] [PATCH v3 13/13] net: fastboot: Merge AOSP UDP fastboot

2018-05-14 Thread Simon Glass
Hi Alex, On 14 May 2018 at 03:09, Alex Kiernan wrote: > Merge UDP fastboot support from AOSP: > > > https://android.googlesource.com/platform/external/u-boot/+/android-o-mr1-iot-preview-8 > > Signed-off-by: Alex Kiernan > Signed-off-by: Alex Deymo > Signed-off-by: Jocelyn Bohr > --- > > Cha

Re: [U-Boot] [PATCH 2/2] PCI: autoconfig: Don't allocate 64-bit addresses to 32-bit only resources

2018-05-14 Thread Simon Glass
Hi Tuomas, On 14 May 2018 at 10:38, Tuomas Tynkkynen wrote: > Currently, if we happen to allocate an address requiring 64 bits to a > device only supporting 32-bit BARs, the address eventually gets silently > truncated to 32 bits. Avoid this by adding a new flag to > pciauto_region_allocate() to

Re: [U-Boot] [PATCH v3 11/13] ti: fastboot: Move weak overrides to board files

2018-05-14 Thread Simon Glass
On 14 May 2018 at 03:09, Alex Kiernan wrote: > Overriding fastboot_set_reboot_flag() in arch/arm/mach-omap2/boot-common.c > leaves it applying all boards that derive from this, not just the ones which > have support for Android bootloader flow. Move the weak function override to > the relevant boa

Re: [U-Boot] [PATCH v3 08/13] fastboot: Fix parameter types in _fb_nand_write

2018-05-14 Thread Simon Glass
On 14 May 2018 at 03:09, Alex Kiernan wrote: > Compiling on a 64 bit target the arguments to _fb_nand_write are > incompatible: > > drivers/fastboot/fb_nand.c: In function ‘_fb_nand_write’: > drivers/fastboot/fb_nand.c:101:42: warning: passing argument 3 of > ‘nand_write_skip_bad’ from incomp

Re: [U-Boot] [PATCH 3/3] doc: qemu-arm: Drop highmem=off references

2018-05-14 Thread Simon Glass
On 14 May 2018 at 09:47, Tuomas Tynkkynen wrote: > Now that U-Boot works fine with highmem enabled, there is no need to > tell users to disable highmem. > > Signed-off-by: Tuomas Tynkkynen > --- > doc/README.qemu-arm | 7 +++ > 1 file changed, 3 insertions(+), 4 deletions(-) Reviewed-by: Si

Re: [U-Boot] [PATCH v3 09/13] fastboot: Rename fb_set_reboot_flag to fastboot_set_reboot_flag

2018-05-14 Thread Simon Glass
On 14 May 2018 at 03:09, Alex Kiernan wrote: > Rename fb_set_reboot_flag to fastboot_set_reboot_flag so it matches > all other fastboot code in the global name space. Fix the guards around > them so that they're dependent on FASTBOOT, not just USB_FUNCTION_FASTBOOT. > > Move the weak implementatio

Re: [U-Boot] [PATCH v2 4/6] scripts/dtc: Update to upstream version v1.4.6-9-gaadd0b65c987

2018-05-14 Thread Simon Glass
Hi, On 13 May 2018 at 16:45, Eugeniu Rosca wrote: > Hi Simon, > > On Mon, May 14, 2018 at 08:00:40AM +1000, Simon Glass wrote: >> Hi, >> >> On 13 May 2018 at 03:13, Eugeniu Rosca wrote: >> > From: Rob Herring >> > >> > This adds the following commits from upstream: >> > >> > aadd0b65c987 checks

Re: [U-Boot] [PATCH v3 07/13] fastboot: Remove FIXME for CONFIG_FASTBOOT_...NAME

2018-05-14 Thread Simon Glass
On 14 May 2018 at 03:09, Alex Kiernan wrote: > CONFIG_FASTBOOT_GPT_NAME and CONFIG_FASTBOOT_MBR_NAME are always defined > by Kconfig if you're compiling this code, so remove these redundant > defaults. > > Signed-off-by: Alex Kiernan > --- > > Changes in v3: > - new > > Changes in v2: None > > d

Re: [U-Boot] net: [PATCH v10 3/3] Adding wget

2018-05-14 Thread Simon Glass
Hi Duncan, On 14 May 2018 at 09:26, Duncan Hare wrote: > From: Simon Glass > > > To: Duncan Hare > Cc: "joe.hershber...@ni.com" ; U-Boot Mailing List > > Sent: Sunday, May 13, 2018 3:00 PM > Subject: Re: net: [U-Boot] [PATCH v10 3/3] Adding wget > > >Please setup a test that can run in

Re: [U-Boot] [PATCH 1/3] PCI: dm: Ignore 64-bit memory regions if CONFIG_SYS_PCI_64BIT not set

2018-05-14 Thread Simon Glass
On 14 May 2018 at 09:47, Tuomas Tynkkynen wrote: > Currently, qemu_arm_defconfig and qemu_arm64_defconfig only work with > the 'highmem=off' parameter passed to QEMU's virt machine. The reason is > that when 'highmem' is not disabled, QEMU appends 64-bit a memory > resource to the PCI controller's

Re: [U-Boot] [PATCH 2/3] ARM: qemu-arm: Bump RAM size in AArch64 MMU table

2018-05-14 Thread Simon Glass
On 14 May 2018 at 09:47, Tuomas Tynkkynen wrote: > Now that PCI devices work with highmem-enabled QEMU emulation, bump up > the RAM size in the MMU tables to gain access to the full 255 GB of RAM > potential instead of the puny 3 GB. > > Signed-off-by: Tuomas Tynkkynen > --- > board/emulation/qe

Re: [U-Boot] [PATCH] spl: Add full fitImage support

2018-05-14 Thread Simon Glass
Hi Marek, On 13 May 2018 at 16:22, Marek Vasut wrote: > On 05/14/2018 12:02 AM, Simon Glass wrote: >> On 13 May 2018 at 08:23, Marek Vasut wrote: >>> Add support for loading U-Boot and optionally FDT from a fitImage >>> in SPL by using the full fitImage support from U-Boot. While we do >>> have

Re: [U-Boot] [PATCH 5/7] mach-snapdragon: Introduce pinctrl driver

2018-05-14 Thread Simon Glass
Hi Ramon, On 14 May 2018 at 01:10, Ramon Fried wrote: > On Mon, May 14, 2018 at 1:00 AM, Simon Glass wrote: >> Hi Ramon, >> >> On 12 May 2018 at 20:15, Ramon Fried wrote: >>> This patch adds pinmux and pinctrl driver for TLMM >>> subsystem in snapdragon chipsets. >>> Currently, supporting only

Re: [U-Boot] [PATCH v2] arm: zynq: Add initial support for Avnet MiniZed

2018-05-14 Thread Ibai Erkiaga Elorza
Hi Michal, > -Original Message- > From: Michal Simek [mailto:michal.si...@xilinx.com] > Sent: 10 May 2018 09:21 > To: Ibai Erkiaga Elorza ; u-boot@lists.denx.de > Cc: michal.si...@xilinx.com > Subject: Re: [PATCH v2] arm: zynq: Add initial support for Avnet MiniZed > > On 9.5.2018 17:56,

Re: [U-Boot] [PATCH] ARM: socfpga: Put stack at the end of SRAM

2018-05-14 Thread Simon Goldschmidt
On 14.05.2018 17:51, Stefan Roese wrote: On 14.05.2018 11:06, Marek Vasut wrote: On 05/14/2018 11:01 AM, Simon Goldschmidt wrote: On 14.05.2018 10:17, Marek Vasut wrote: On 05/14/2018 10:03 AM, Simon Goldschmidt wrote: On 12.05.2018 22:27, Marek Vasut wrote: The global data are in the .d

Re: [U-Boot] [PATCH v3 03/25] tpm: disociate TPMv1.x specific and generic code

2018-05-14 Thread Tom Rini
On Mon, May 14, 2018 at 08:01:57PM +0200, Miquel Raynal wrote: > Hi Simon, > > On Wed, 2 May 2018 20:31:48 -0600, Simon Glass wrote: > > > Hi Miquel, > > > > On 2 May 2018 at 02:59, Miquel Raynal wrote: > > > There are no changes in this commit unless: > > > 1/ a new organization of the code a

Re: [U-Boot] [PATCH v2 1/6] kconfig: re-sync with Linux 4.17-rc4

2018-05-14 Thread Petr Vorel
Hi Eugeniu, Masahiro, > > So, it seems like all the trailing white-space from above files > > disappeared on your branch, after applying the patches from the > > email client (who did this?...). > > I didn't expect that trailing white-space to be of any value for the > > test results, but it turn

Re: [U-Boot] [PATCH v3 03/25] tpm: disociate TPMv1.x specific and generic code

2018-05-14 Thread Miquel Raynal
Hi Simon, On Wed, 2 May 2018 20:31:48 -0600, Simon Glass wrote: > Hi Miquel, > > On 2 May 2018 at 02:59, Miquel Raynal wrote: > > There are no changes in this commit unless: > > 1/ a new organization of the code as follow. > > 2/ some *very* basic checkpatch.pl corrections that polluated my re

[U-Boot] u-boot on raspberry pi cm3

2018-05-14 Thread Jan Leonhardt
Hello List, i am new here and in embedded development (more a Javascript/Java developer) currently i have to port android to an raspberry pi cm3 and like to use u-boot. what works already: * boot into u-boot * boot into android * boot into u-boot into android so far so good. now i have to store

[U-Boot] [PATCH 2/2] PCI: autoconfig: Don't allocate 64-bit addresses to 32-bit only resources

2018-05-14 Thread Tuomas Tynkkynen
Currently, if we happen to allocate an address requiring 64 bits to a device only supporting 32-bit BARs, the address eventually gets silently truncated to 32 bits. Avoid this by adding a new flag to pciauto_region_allocate() to bail out in such situations. Signed-off-by: Tuomas Tynkkynen --- dr

[U-Boot] [PATCH 1/2] PCI: Add newlines to debug prints in pci_auto_common.c

2018-05-14 Thread Tuomas Tynkkynen
All of the debug output from this file is squished to one line. Fix it. Signed-off-by: Tuomas Tynkkynen --- drivers/pci/pci_auto_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci_auto_common.c b/drivers/pci/pci_auto_common.c index 1d202ae2ef..d90dbc

Re: [U-Boot] [U-Boot,3/3] mmc: support writing sparse images

2018-05-14 Thread Alex Kiernan
On Mon, May 14, 2018 at 3:47 PM Tom Rini wrote: > On Mon, May 14, 2018 at 06:42:41PM +0530, Jassi Brar wrote: > > Hi Tom, > > > > On Tue, May 8, 2018 at 10:45 PM, Tom Rini wrote: > > > On Fri, Apr 06, 2018 at 12:05:24PM +0530, jassisinghb...@gmail.com wrote: > > > > > >> From: Jassi Brar > > >>

Re: [U-Boot] [PATCH 3/3] rockchip: fix incorrect detection of ram size

2018-05-14 Thread Dr. Philipp Tomsich
I had a bit more time to look into this and it looks as if we have two problem-spots... First, there's a type-mismatch between ram_info.size (a size_t) and gd.ram_size (phys_size_t). While we can increase the size of a phys_size_t to 64bit (by defining CONFIG_PHYS_64BIT), the size_t will always

Re: [U-Boot] [PATCH] ARM: socfpga: Put stack at the end of SRAM

2018-05-14 Thread Stefan Roese
On 14.05.2018 11:06, Marek Vasut wrote: On 05/14/2018 11:01 AM, Simon Goldschmidt wrote: On 14.05.2018 10:17, Marek Vasut wrote: On 05/14/2018 10:03 AM, Simon Goldschmidt wrote: On 12.05.2018 22:27, Marek Vasut wrote: The global data are in the .data section, so there's no point in reservin

[U-Boot] [PATCH 3/3] doc: qemu-arm: Drop highmem=off references

2018-05-14 Thread Tuomas Tynkkynen
Now that U-Boot works fine with highmem enabled, there is no need to tell users to disable highmem. Signed-off-by: Tuomas Tynkkynen --- doc/README.qemu-arm | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/README.qemu-arm b/doc/README.qemu-arm index 6f6f07d8bb..26016

[U-Boot] [PATCH 2/3] ARM: qemu-arm: Bump RAM size in AArch64 MMU table

2018-05-14 Thread Tuomas Tynkkynen
Now that PCI devices work with highmem-enabled QEMU emulation, bump up the RAM size in the MMU tables to gain access to the full 255 GB of RAM potential instead of the puny 3 GB. Signed-off-by: Tuomas Tynkkynen --- board/emulation/qemu-arm/qemu-arm.c | 2 +- 1 file changed, 1 insertion(+), 1 del

[U-Boot] [PATCH 1/3] PCI: dm: Ignore 64-bit memory regions if CONFIG_SYS_PCI_64BIT not set

2018-05-14 Thread Tuomas Tynkkynen
Currently, qemu_arm_defconfig and qemu_arm64_defconfig only work with the 'highmem=off' parameter passed to QEMU's virt machine. The reason is that when 'highmem' is not disabled, QEMU appends 64-bit a memory resource to the PCI controller's regions property in DT in addition to the 32-bit PCI memo

[U-Boot] [PATCH] net: nfs: don't fail when nfs_read_reply returns -NFS_RPC_DROP

2018-05-14 Thread Vasily Khoruzhick
That can happen if duplicate UDP packet arrived, and that's not uncommon. Anyway, we ignore packets with rpc_id lower than last we sent for other requests, so it makes sense to do that for read request as well. Signed-off-by: Vasily Khoruzhick --- net/nfs.c | 2 ++ 1 file changed, 2 insertions(+

Re: [U-Boot] [PULL] Please pull u-boot-rockchip/master

2018-05-14 Thread Dr. Philipp Tomsich
Travis report (prior to a final rebase onto your latest master) is at https://travis-ci.org/ptomsich/u-boot-rockchip/builds/378666041 > On 14 May 2018, at 17:32, Dr. Philipp Tomsich > wrote: > > Tom, > > I have two fixes for regressions (that unfortunately ended up in the last > relea

[U-Boot] [PULL] Please pull u-boot-rockchip/master

2018-05-14 Thread Dr. Philipp Tomsich
Tom, I have two fixes for regressions (that unfortunately ended up in the last release) in my tree, ready for a merge onto master. Thanks, Philipp. The following changes since commit ca70cbabdcd19bf157ae4fa984559b126071ccff: Merge git://git.denx.de/u-boot-marvell (2018-05-14 08:52:48 -0400)

[U-Boot] [PATCH v2 2/2] mmc: sunxi: run calibration on A64

2018-05-14 Thread Vasily Khoruzhick
Along with using new mode it fixes eMMC instability on Pinebook Signed-off-by: Vasily Khoruzhick --- arch/arm/include/asm/arch-sunxi/mmc.h | 6 +- drivers/mmc/sunxi_mmc.c | 11 +++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch

[U-Boot] [PATCH v2 1/2] sunxi-mmc: use new mode on A64

2018-05-14 Thread Vasily Khoruzhick
That is necessary for using automatic calibration on A64 eMMC. Signed-off-by: Vasily khoruzhick --- arch/arm/mach-sunxi/Kconfig | 1 + drivers/mmc/sunxi_mmc.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index

[U-Boot] [PATCH v2 0/2] sunxi: fix eMMC stability issues on A64

2018-05-14 Thread Vasily Khoruzhick
eMMC seems to require new clocking mode and calibration on A64, otherwise it is pretty unstable on some boards (e.g. Pinebook) with some eMMCs. v2: - improve comment about calibration for eMMC on A64 - simplify ifdef-s around configuring delays Vasily Khoruzhick (2): sunxi-mmc: use new mode

Re: [U-Boot] net: [PATCH v10 3/3] Adding wget

2018-05-14 Thread Duncan Hare
From: Simon Glass To: Duncan Hare Cc: "joe.hershber...@ni.com" ; U-Boot Mailing List Sent: Sunday, May 13, 2018 3:00 PM Subject: Re: net: [U-Boot] [PATCH v10 3/3] Adding wget Please setup a test that can run in an environment without the Internet. That is critical for uni

Re: [U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache

2018-05-14 Thread Tom Rini
On Mon, May 14, 2018 at 05:21:38PM +0200, Marek Vasut wrote: > On 05/14/2018 05:14 PM, Evan Thompson wrote: > > On Sun, May 13, 2018 at 12:03 PM, Marek Vasut wrote: > >> > >> btw doesn't CONFIG_BLOCK_CACHE offer similar service, but for everyone > >> and on block level ? I recall looking for ext4

Re: [U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache

2018-05-14 Thread Marek Vasut
On 05/14/2018 05:14 PM, Evan Thompson wrote: > On Sun, May 13, 2018 at 12:03 PM, Marek Vasut wrote: >> >> btw doesn't CONFIG_BLOCK_CACHE offer similar service, but for everyone >> and on block level ? I recall looking for ext4 fs speed up , but then >> ultimately used CONFIG_BLOCK_CACHE which did

[U-Boot] [PATCH v4 2/2] dts: sunxi: add PWM node for sun50i

2018-05-14 Thread Vasily Khoruzhick
Add PWM definition to sun50i-a64.dtsi Signed-off-by: Vasily Khoruzhick --- arch/arm/dts/sun50i-a64.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts/sun50i-a64.dtsi b/arch/arm/dts/sun50i-a64.dtsi index 65a344d9ce..a82a3d89af 100644 --- a/arch/arm/dts/sun50i-a64.dtsi

Re: [U-Boot] Please pull u-boot-marvell/master

2018-05-14 Thread Stefan Roese
Hi Tom, (Cc'ing Chris) On 14.05.2018 17:11, Tom Rini wrote: On Mon, May 14, 2018 at 01:58:59PM +0200, Stefan Roese wrote: Hi Tom, please pull the following MVEBU related patches from Marek and Chris. Thanks, Stefan The following changes since commit 62d77cea31216cad526e5f45c88e8377efc6fcae

[U-Boot] [PATCH v4 1/2] pwm: sunxi: add support for PWM found on Allwinner A64

2018-05-14 Thread Vasily Khoruzhick
This commit adds basic support for PWM found on Allwinner A64. It can be used for pwm_backlight driver (e.g. for Pinebook) Signed-off-by: Vasily Khoruzhick --- arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/include/asm/arch-sunxi/pwm.h | 12 ++ drivers/pwm/Kconfig

[U-Boot] [PATCH v4 0/2] sunxi: add PWM driver for A64

2018-05-14 Thread Vasily Khoruzhick
This series introduces a PWM driver for Allwinner A64. This driver can be used to control backlight on Pinebook v4: use the same binding as in Linux Vasily Khoruzhick (2): pwm: sunxi: add support for PWM found on Allwinner A64 dts: sunxi: add PWM node for sun50i arch/arm/dts/sun50i-a64.dts

Re: [U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache

2018-05-14 Thread Evan Thompson
On Sun, May 13, 2018 at 12:03 PM, Marek Vasut wrote: > > btw doesn't CONFIG_BLOCK_CACHE offer similar service, but for everyone > and on block level ? I recall looking for ext4 fs speed up , but then > ultimately used CONFIG_BLOCK_CACHE which did it for me. I was unaware of the existence of CONFI

Re: [U-Boot] Please pull u-boot-marvell/master

2018-05-14 Thread Tom Rini
On Mon, May 14, 2018 at 01:58:59PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following MVEBU related patches from Marek and > Chris. > > Thanks, > Stefan > > The following changes since commit 62d77cea31216cad526e5f45c88e8377efc6fcae: > > mmc: Improve tinification (2018-05-13

Re: [U-Boot] [PATCH v2] Makefile: adopt --std=gnu11 for HOSTCFLAGS on Linux

2018-05-14 Thread Dr. Philipp Tomsich
> On 14 May 2018, at 16:53, Mark Kettenis wrote: > >> From: Philipp Tomsich >> Date: Mon, 14 May 2018 15:22:06 +0200 >> >> Following the conversion of the SPDX license tags, a number of files >> compiled with -pedantic now generate warnings similar to the following >> for using C99-style '//'

Re: [U-Boot] [PATCH v2] Makefile: adopt --std=gnu11 for HOSTCFLAGS on Linux

2018-05-14 Thread Tom Rini
On Mon, May 14, 2018 at 04:53:49PM +0200, Mark Kettenis wrote: > > From: Philipp Tomsich > > Date: Mon, 14 May 2018 15:22:06 +0200 > > > > Following the conversion of the SPDX license tags, a number of files > > compiled with -pedantic now generate warnings similar to the following > > for using

Re: [U-Boot] [PATCH v2] Makefile: adopt --std=gnu11 for HOSTCFLAGS on Linux

2018-05-14 Thread Mark Kettenis
> From: Philipp Tomsich > Date: Mon, 14 May 2018 15:22:06 +0200 > > Following the conversion of the SPDX license tags, a number of files > compiled with -pedantic now generate warnings similar to the following > for using C99-style '//' comments in ISO C90 code: > > tools/gen_eth_addr.c:1:1: w

Re: [U-Boot] [PATCH v2] Makefile: adopt --std=gnu11 for HOSTCFLAGS on Linux

2018-05-14 Thread Tom Rini
On Mon, May 14, 2018 at 03:22:06PM +0200, Philipp Tomsich wrote: > Following the conversion of the SPDX license tags, a number of files > compiled with -pedantic now generate warnings similar to the following > for using C99-style '//' comments in ISO C90 code: > > tools/gen_eth_addr.c:1:1: war

Re: [U-Boot] [GIT PULL] Xilinx changes for v2018.07

2018-05-14 Thread Tom Rini
On Mon, May 14, 2018 at 03:31:03PM +0200, Michal Simek wrote: > On 11.5.2018 21:22, Tom Rini wrote: > > On Fri, May 11, 2018 at 03:16:56PM +0200, Michal Simek wrote: > > > >> Hi Tom, > >> > >> please pull these changes to your tree. > >> Buildman looks good and travis build is not showing any issu

Re: [U-Boot] [U-Boot,3/3] mmc: support writing sparse images

2018-05-14 Thread Tom Rini
On Mon, May 14, 2018 at 06:42:41PM +0530, Jassi Brar wrote: > Hi Tom, > > On Tue, May 8, 2018 at 10:45 PM, Tom Rini wrote: > > On Fri, Apr 06, 2018 at 12:05:24PM +0530, jassisinghb...@gmail.com wrote: > > > >> From: Jassi Brar > >> > >> Provide an alternate path for sparse-images to be > >> writ

[U-Boot] [PATCH] Revert "sunxi: binman: Add U-Boot binary size check"

2018-05-14 Thread Maxime Ripard
This reverts commit 819f1e081c527d2d02cdaeec0027384688cf5de0. This check was introduced in order to cope with the size limitation we had when we were still using the raw environment in MMC. However, this introduces padding as well, which can result in an overly huge binary if one wants to flash th

Re: [U-Boot] rockchip: clk: rk3288: handle clk_enable requests for GMAC

2018-05-14 Thread Philipp Tomsich
> Since b0ba1e7e9d9b9441a18048ec67a3b3100c096975 > (rockchip: clk: rk3288: add clk_enable function and support USB HOST0/HSIC) > Ethernet no longer probes on RK3288. > > Add no-ops for GMAC clocks observed to be requested which match the > clk_enable cases in RK3368 and RK3399. > > Signed-off-by:

[U-Boot] [PATCH v2 09/10] ARM: dts: stm32: Add quadspi reset for stm32f746

2018-05-14 Thread Patrice Chotard
Add missing reset property in quadspi node. Signed-off-by: Patrice Chotard --- Changes in v2: None arch/arm/dts/stm32f746.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi index 8581df9a2778..4845279ccfca 100644 --- a/arch/arm/dt

[U-Boot] [PATCH v2 07/10] spi: stm32_qspi: Use dev_read_xxx API

2018-05-14 Thread Patrice Chotard
Use dev_read_xxx() instead of old manner fdt_xxx() API Signed-off-by: Patrice Chotard --- Changes in v2: None drivers/spi/stm32_qspi.c | 17 ++--- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/drivers/spi/stm32_qspi.c b/drivers/spi/stm32_qspi.c index 56ea5911239a..

[U-Boot] [PATCH v2 06/10] spi: stm32_qspi: Add chip select management

2018-05-14 Thread Patrice Chotard
From: Christophe Kerello Quad-SPI interface is able to manage 2 spi nor devices. FSEL bit selects the flash memory to be addressed in single flash mode. Signed-off-by: Christophe Kerello Signed-off-by: Patrice Chotard --- Changes in v2: None drivers/spi/stm32_qspi.c | 15 +++ 1

[U-Boot] [PATCH v2 08/10] spi: stm32_qspi: Add reset support

2018-05-14 Thread Patrice Chotard
In some situation, QSPI controller is already configured by an early boot stage, adding reset support will insure that QSPI controller is started from a pristine state. Signed-off-by: Patrice Chotard --- Changes in v2: None drivers/spi/stm32_qspi.c | 15 +++ 1 file changed, 15 inse

[U-Boot] [PATCH v2 04/10] spi: stm32_qspi: Align reg-names with kernel 4.12 RC1

2018-05-14 Thread Patrice Chotard
From: Christophe Kerello Align qspi bindings following kernel dt-bindings Documentation/devicetree/bindings/mtd/stm32-quadspi.txt from kernel v4.12-rc1. Signed-off-by: Christophe Kerello Signed-off-by: Patrice Chotard --- Changes in v2: None drivers/spi/stm32_qspi.c | 4 ++-- 1 file changed

[U-Boot] [PATCH v2 10/10] ARM: dts: stm32: Update qspi bindings for stm32f746

2018-05-14 Thread Patrice Chotard
Align qspi bindings following kernel dt-bindings Documentation/devicetree/bindings/mtd/stm32-quadspi.txt from kernel v4.17-rc1. Signed-off-by: Patrice Chotard --- Changes in v2: _ remove "update mode management" patch, will be reworked and submitted separately arch/arm/dts/stm32f746.dtsi |

[U-Boot] [PATCH v2 05/10] spi: stm32_qspi: Add st, stm32f469-qspi compatible string

2018-05-14 Thread Patrice Chotard
From: Christophe Kerello Add "st,stm32f469-qspi" compatible which is used on kernel side. This will be necessary when DT will be synchronised from kernel. Signed-off-by: Christophe Kerello Signed-off-by: Patrice Chotard --- Changes in v2: None drivers/spi/stm32_qspi.c | 1 + 1 file changed,

  1   2   >