Re: [U-Boot] [EXT] Re: [PATCH 1/4] ata: mvebu: move mvebu sata driver to drivers/ata directory

2018-05-23 Thread Ken Ma
Dear Simon Thanks a lot for your kind help and review. Previously I did not use patman and generated my patches as below: 1. used "git mv arch/arm/mach-mvebu/sata.c drivers/ata/ahci_mvebu.c" to do the file renaming with makefiles and Kconfig file updating. 2. After the 4 patches are all finished

Re: [U-Boot] [PATCH 1/2] ARM: dts: exynos5: remove the duplicated nodes

2018-05-23 Thread Minkyu Kang
Hi, 2018년 5월 16일 (수) 11:30, Minkyu Kang 님이 작성: > > > 2018년 5월 9일 (수) 12:53, Anand Moon 님이 작성: > >> Hi Jaehoon, >> >> On 12 January 2018 at 16:37, Jaehoon Chung >> wrote: >> > Remove the duplicated gic and combiner nodes in exynos5.dtsi. >> > >> > Signed-off-by: Jaehoon Chung >> > --- >> > arch

[U-Boot] [PATCH] gadget: f_thor: Fix memory leaks of usb request and its buffer

2018-05-23 Thread Seung-Woo Kim
There are memory leaks of usb request and its buffer for ep0, in_ep, and out ep. Fix memory leaks of usb request and its buffer. Signed-off-by: Seung-Woo Kim --- drivers/usb/gadget/f_thor.c | 34 +- 1 file changed, 25 insertions(+), 9 deletions(-) diff --git a/

Re: [U-Boot] [PATCH] sunxi: Enable fitImage support on OrangePi Zero

2018-05-23 Thread Maxime Ripard
Hi, On Wed, May 23, 2018 at 12:50:53AM +0200, Marek Vasut wrote: > On 05/22/2018 04:22 PM, Maxime Ripard wrote: > > On Fri, May 18, 2018 at 06:22:25PM +0200, Marek Vasut wrote: > >> On 05/18/2018 05:29 PM, Maxime Ripard wrote: > >>> On Fri, May 18, 2018 at 01:54:38PM +0200, Marek Vasut wrote: > >>

[U-Boot] [PATCH v3 00/10] Add Intel Stratix 10 SoC support

2018-05-23 Thread Ley Foon Tan
This is 3rd version of patchset to adds support for Intel Stratix 10 SoC. This patchset is work on top of uboot.git/master and patchset in [1]. Changes: - rebase on uboot.git/master - update reviewed-by Patchset history: [v1]: https://patchwork.ozlabs.org/cover/900499/ [v2]: https://patchwork.ozl

[U-Boot] [PATCH v3 01/10] arm: socfpga: misc: Move bridge command to misc common

2018-05-23 Thread Ley Foon Tan
Move bridge command to misc common driver, in preparation to used by other platforms. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/misc.h |2 + arch/arm/mach-socfpga/misc.c | 32 + arch/arm/mach-socfpga/misc_gen5.c |

[U-Boot] [PATCH v3 05/10] arm: socfpga: Restructure the SPL file

2018-05-23 Thread Ley Foon Tan
Restructure the SPL so each devices such as CV, A10 and S10 will have their own dedicated SPL file. SPL file determine the HW initialization flow which is device specific Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile |5 +- arch/ar

[U-Boot] [PATCH v3 03/10] arm: socfpga: stratix10: Add mailbox support for Stratix10 SoC

2018-05-23 Thread Ley Foon Tan
Add mailbox support for Stratix SoC Signed-off-by: Ley Foon Tan Signed-off-by: Chin Liang See Reviewed-by: Marek Vasut --- arch/arm/mach-socfpga/Makefile |1 + arch/arm/mach-socfpga/include/mach/mailbox_s10.h | 144 arch/arm/mach-socfpga/mailbox_s10.c

[U-Boot] [PATCH v3 04/10] arm: socfpga: stratix10: Add MMU support for Stratix10 SoC

2018-05-23 Thread Ley Foon Tan
Add MMU memory mapping table for Stratix SoC. Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan Acked-by: Marek Vasut --- arch/arm/mach-socfpga/Makefile|1 + arch/arm/mach-socfpga/mmu-arm64_s10.c | 71 + 2 files changed, 72 insertions(+), 0

[U-Boot] [PATCH v3 10/10] arm: socfpga: stratix10: Enable Stratix10 SoC build

2018-05-23 Thread Ley Foon Tan
Add build support for Stratix SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan Conflicts: arch/arm/Kconfig arch/arm/mach-socfpga/Kconfig --- arch/arm/Kconfig | 10 +- arch/arm/mach-socfpga/Kconfig | 13 ++ configs/socfpga_s

[U-Boot] [PATCH v3 09/10] board: altera: stratix10: Add socdk board support for Stratix10 SoC

2018-05-23 Thread Ley Foon Tan
Add socdk board support for Stratix SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- board/altera/stratix10-socdk/MAINTAINERS |7 +++ board/altera/stratix10-socdk/Makefile|7 +++ board/altera/stratix10-socdk/socfpga.c |7 +++ 3 files changed, 21 in

[U-Boot] [PATCH v3 08/10] ddr: altera: stratix10: Add DDR support for Stratix10 SoC

2018-05-23 Thread Ley Foon Tan
Add DDR support for Stratix SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/sdram_s10.h | 183 +++ arch/arm/mach-socfpga/misc.c | 11 +- drivers/ddr/altera/Makefile|1 + drivers/ddr/altera/

[U-Boot] [PATCH v3 07/10] arm: socfpga: stratix10: Add timer support for Stratix10 SoC

2018-05-23 Thread Ley Foon Tan
Add timer support for Stratix SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan Reviewed-by: Marek Vasut --- arch/arm/mach-socfpga/Makefile|4 +++- arch/arm/mach-socfpga/timer_s10.c | 26 ++ 2 files changed, 29 insertions(+), 1 deletions(-) create

[U-Boot] [PATCH v3 02/10] arm: socfpga: stratix10: Add misc support for Stratix10 SoC

2018-05-23 Thread Ley Foon Tan
Add misc support such as EMAC and cpu info printout for Stratix SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile |1 + arch/arm/mach-socfpga/misc_s10.c | 133 ++ 2 files changed, 134 insertions(+), 0 dele

[U-Boot] [PATCH v3 06/10] arm: socfpga: stratix10: Add SPL driver for Stratix10 SoC

2018-05-23 Thread Ley Foon Tan
Add SPL driver support for Stratix SoC Signed-off-by: Chin Liang See Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile|4 + arch/arm/mach-socfpga/include/mach/firewall_s10.h | 120 + arch/arm/mach-socfpga/spl_s10.c | 199 +

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

2018-05-23 Thread Michal Simek
On 22.5.2018 18:03, Ibai Erkiaga wrote: > Initial support for Avnet MiniZed board. Tested UART1 (serial console), > QSPI(Flash), SDHCI1 (eMMC), USB. > > Signed-off-by: Ibai Erkiaga > --- > > Changes in v3: > -dts formating refactor > -CONFIG_DISPLAY_CPUINFO removed from config >

[U-Boot] [PATCH v1] x86: acpi: Adopt new version of iASL compiler

2018-05-23 Thread Andy Shevchenko
The commit f9a88a4c1cd0 ("iASL: Enhance the -tc option (create AML hex file in C)") in ACPICA project changed a template of the a of variable that is used in the generated C-file. Now, instead of hard coded "AmlCode" the "%s_aml_code" is in use, where the prefix is a lowered case base name of t

Re: [U-Boot] [PATCH] x86: tsc: add support for reading CPU freq from cpuid

2018-05-23 Thread Bin Meng
On Mon, May 14, 2018 at 5:32 PM, Christian Gmeiner wrote: > Starting with cpuid level 0x16 (Skylake-based processors) > it is possible to get CPU base freq via cpuid. > > This fixes booting on a skylake based system. > > Signed-off-by: Christian Gmeiner > --- > drivers/timer/tsc_timer.c | 31 +++

Re: [U-Boot] [PATCH] disk: efi: Correct backing up the MBR boot code

2018-05-23 Thread Andy Shevchenko
On Tue, May 22, 2018 at 2:04 AM, Sam Protsenko wrote: > In commit e163a931af34 ("cmd: gpt: backup boot code before writing MBR") > there was added the procedure for storing old boot code when doing "gpt > write". But instead of storing just backup code, the whole MBR was > stored, and only specifi

[U-Boot] [PATCH 1/3] board: Kconfig: Re-Arrangement of PPA firmware and header addresses

2018-05-23 Thread Bhaskar Upadhaya
ppa firmware and header address may vary depending upon different boards, configure ppa firmware and header address in board specific kconfig Signed-off-by: Vinitha V Pillai Signed-off-by: Jagdish Gediya Signed-off-by: Bhaskar Upadhaya --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 34 ---

[U-Boot] [PATCH 2/3] board: ls1012a: FRWY-LS1012A board support

2018-05-23 Thread Bhaskar Upadhaya
FRWY-LS1012A belongs to LS1012A family with features 2 1G SGMII PFE MAC, Micro SD, USB 3.0, DDR, QuadSPI, Audio, UART. Signed-off-by: Bhaskar Upadhaya --- arch/arm/Kconfig | 12 +++ arch/arm/cpu/armv8/Kconfig| 1 + arch/arm/dts/Makefile

[U-Boot] [PATCH 3/3] LS1012AFRWY: Add Secure Boot support

2018-05-23 Thread Bhaskar Upadhaya
From: Vinitha V Pillai Added the following: 1. defconfig for LS1012AFRWY Secure boot 2. PfE Validation support Signed-off-by: Vinitha V Pillai --- arch/arm/Kconfig | 1 + board/freescale/ls1012afrdm/Kconfig| 8 board/freescale/ls1012afrdm/MAINTA

Re: [U-Boot] [PATCH v1] x86: acpi: Adopt new version of iASL compiler

2018-05-23 Thread Bin Meng
Hi Andy, On Wed, May 23, 2018 at 5:38 PM, Andy Shevchenko wrote: > The commit > > f9a88a4c1cd0 ("iASL: Enhance the -tc option (create AML hex file in C)") > > in ACPICA project changed a template of the a of variable that is used a template of the a of variable? Cannot understand this. > in t

Re: [U-Boot] [PATCH v1] x86: acpi: Adopt new version of iASL compiler

2018-05-23 Thread Andy Shevchenko
On Wed, 2018-05-23 at 18:22 +0800, Bin Meng wrote: > Hi Andy, > > On Wed, May 23, 2018 at 5:38 PM, Andy Shevchenko > wrote: > > The commit > > > > f9a88a4c1cd0 ("iASL: Enhance the -tc option (create AML hex file > > in C)") > > > > in ACPICA project changed a template of the a of variable tha

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

2018-05-23 Thread Manjukumar Harthikote Matha
Hi Marek, > -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Tuesday, May 22, 2018 4:28 AM > To: Manjukumar Harthikote Matha ; Rajan Vaja > > Cc: mon...@monstr.eu; Albert Aribaud ; Jolly Shah > ; Michal Simek ; u- > b...@lists.denx.de; Moritz Fischer > Subject: Re: [

Re: [U-Boot] [PATCH v2] add FIT data-position & data-offset property support

2018-05-23 Thread Kelvin Cheung
Hi Simon, 2018-05-23 7:30 GMT+08:00 Simon Glass : > Hi, > > On 18 May 2018 at 01:56, Kelvin Cheung wrote: > > Add FIT data-position & data-offset property support for bootm, > > which were already supported in SPL. > > > > Signed-off-by: Kelvin Cheung > > --- > > > > Changes for v2: > >cre

[U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-23 Thread Xiaoliang Yang
Support watchdog driver for layerscape. If you want to use it, please define CONFIG_IMX_WATCHDOG, CONFIG_HW_WATCHDOG, define CONFIG_WATCHDOG_TIMEOUT_MSECS to set watchdog timeout. Signed-off-by: Xiaoliang Yang --- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2 | 10 ++ drivers/watc

[U-Boot] [PATCH 2/2] watchdog: Kconfig: add config to disable wdog reset

2018-05-23 Thread Xiaoliang Yang
Add Kconfig support for CONFIG_WATCHDOG_RESET_DISABLE, use this config to disable watchdog reset in imx_watchdog driver, so that the watchdog will not be fed in u-boot. Signed-off-by: Xiaoliang Yang --- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2 |3 +++ drivers/watchdog/Kconfig

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

2018-05-23 Thread Marek Vasut
On 05/22/2018 06:44 PM, Manjukumar Harthikote Matha wrote: [...] >> So I should use this pmu-firmware from meta-xilinx-bsp rel-v2018.1 (the >> one on github, not the one on git.yoctoproject) without version which >> provides the ABI 1.0 rather than the v2017.03 one from meta-xilinx >> rel-v2018.1.

Re: [U-Boot] [PATCH v3 00/10] Add Intel Stratix 10 SoC support

2018-05-23 Thread Marek Vasut
On 05/23/2018 06:17 PM, Ley Foon Tan wrote: > This is 3rd version of patchset to adds support for Intel Stratix 10 SoC. > This patchset is work on top of uboot.git/master and patchset in [1]. > > Changes: > - rebase on uboot.git/master > - update reviewed-by > > Patchset history: > [v1]: https://

[U-Boot] [PATCH 1/2] dm: pci: make ranges dt property optional

2018-05-23 Thread Christian Gmeiner
If we use u-boot as coreboot payload with a generic dts without any ranges specified we fail in pci pre_probe and our pci bus is not usable. So convert decode_regions(..) into a void function and do the simple error handling there. Signed-off-by: Christian Gmeiner --- drivers/pci/pci-uclass.c |

[U-Boot] [PATCH 2/2] dm: pci: use a 1:1 mapping for bus <-> phy addresses

2018-05-23 Thread Christian Gmeiner
If u-boot gets used as coreboot payload all pci resources got assigned by coreboot. If a dts without any pci ranges gets used the dm is not able to access pci device memory. To get things working make use of a 1:1 mapping for bus <-> phy addresses. This change makes it possible to get the e1000 u-

Re: [U-Boot] [PATCH] x86: tsc: add support for reading CPU freq from cpuid

2018-05-23 Thread Christian Gmeiner
Am Mi., 23. Mai 2018 um 11:48 Uhr schrieb Bin Meng : > On Mon, May 14, 2018 at 5:32 PM, Christian Gmeiner > wrote: > > Starting with cpuid level 0x16 (Skylake-based processors) > > it is possible to get CPU base freq via cpuid. > > > > This fixes booting on a skylake based system. > > > > Signed-

[U-Boot] [PATCH v2 2/5] video_osd: Add ihs_video_out driver

2018-05-23 Thread Mario Six
Add a driver for IHS OSDs on IHS FPGAs. Signed-off-by: Mario Six --- v1 -> v2: * Renamed x and y parameters to col and row * Removed duplicate IHS_VIDEO_OUT definition * Switched error return code of ihs_video_out_set_mem to E2BIG * Dropped blank lines between dev_read_u32_default calls * Docum

[U-Boot] [PATCH v2 1/5] drivers: Add OSD uclass

2018-05-23 Thread Mario Six
Some devices offer a text-based OSD (on-screen display) that can be programmatically controlled (i.e. text displayed on). Add a uclass to support such devices. Signed-off-by: Mario Six --- v1 -> v2: * Use singular case for UCLASS_VIDEO_OSD description * Expanded description of video_osd_set_me

[U-Boot] [PATCH v2 4/5] lib: Import hexdump.c from Linux

2018-05-23 Thread Mario Six
Especially for commands, it is useful to be able to turn a hexadecimal string into its binary representation. Hence, import the hex_to_bin, bin2hex, and hex2bin functions from the Linux kernel. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- include/linux/kernel.h | 4 + lib/Makefile

[U-Boot] [PATCH v2 3/5] video_osd: Add osd sandbox driver and tests

2018-05-23 Thread Mario Six
Add sandbox driver and tests for the new OSD uclass. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- arch/sandbox/dts/test.dts | 4 + configs/sandbox64_defconfig| 3 + configs/sandbox_defconfig | 3 + configs/sandbox_flattree_defconfig | 3 + configs/san

[U-Boot] [PATCH v2 5/5] cmd: Add osd commands

2018-05-23 Thread Mario Six
Add command to query information from and write text to on-screen display (OSD) devices. Signed-off-by: Mario Six --- v1 -> v2: * Added explanation for what a OSD is * Added explanation of the color parameter * Moved GDSYS_LEGACY_OSD_CMDS to gdsys Kconfig --- board/gdsys/mpc8308/Kconfig | 11

[U-Boot] [PATCH v2 1/7] drivers: Add AXI uclass

2018-05-23 Thread Mario Six
Add a uclass for AXI (Advanced eXtensible Interface) busses, and a driver for the gdsys IHS AXI bus on IHS FPGAs. Signed-off-by: Mario Six --- v1 -> v2: * Spelled out all abbreviations in the Kconfig help * Split commit into uclass addition and driver addition --- drivers/Kconfig |

[U-Boot] [PATCH v2 5/7] test: Add AXI test

2018-05-23 Thread Mario Six
Add tests for the AXI uclass. Signed-off-by: Mario Six --- v1 -> v2: * Fixed asserts (moved expected values first) --- test/dm/Makefile | 1 + test/dm/axi.c| 74 2 files changed, 75 insertions(+) create mode 100644 test/dm/axi.c

[U-Boot] [PATCH v2 2/7] axi: Add ihs_axi driver

2018-05-23 Thread Mario Six
Add a driver for the gdsys IHS AXI bus used on IHS FPGAs. Signed-off-by: Mario Six --- v1 -> v2: New in v2 --- drivers/axi/Kconfig | 12 drivers/axi/Makefile | 1 + drivers/axi/ihs_axi.c | 179 ++ 3 files changed, 192 insertions(+) c

[U-Boot] [PATCH v2 6/7] cmd: Add axi command

2018-05-23 Thread Mario Six
Add a command to debug the AXI bus. Signed-off-by: Mario Six --- v1 -> v2: No changes --- cmd/Kconfig | 8 ++ cmd/Makefile | 1 + cmd/axi.c| 310 +++ 3 files changed, 319 insertions(+) create mode 100644 cmd/axi.c diff --git a

[U-Boot] [PATCH v2 3/7] axi: Add AXI sandbox driver and simple emulator

2018-05-23 Thread Mario Six
Add test infrastructure and tests for the AXI uclass. Signed-off-by: Mario Six --- v1 -> v2: * Spelled out abbreviations in Kconfig help * Expanded emulation documentation * Renamed storage pointer to storep * Expanded AXI emulator usage documentation * Switched AXI emulator to aligned access

[U-Boot] [PATCH v2 7/7] video_display: Add Xilinx LogiCore DP TX

2018-05-23 Thread Mario Six
Add a driver for the Xilinx LogiCORE DisplayPort IP core, which is a pure DP transmitter core for Xiling FPGA (no display capabilities). Signed-off-by: Mario Six --- v1 -> v2: * Switch to display_enable * Mentioned that the LogiCORE has no display capabilities --- drivers/video/Kconfig

[U-Boot] [PATCH v2 4/7] sandbox: Add and build AXI bus and device

2018-05-23 Thread Mario Six
Add test AXI drivers to the sandbox. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v1 -> v2: No changes --- arch/sandbox/dts/sandbox.dts | 11 +++ arch/sandbox/dts/test.dts| 11 +++ configs/sandbox_defconfig| 3 +++ 3 files changed, 25 insertions(+) diff --g

Re: [U-Boot] [PATCH 1/2] dm: pci: make ranges dt property optional

2018-05-23 Thread Bin Meng
Hi Christian, On Wed, May 23, 2018 at 8:00 PM, Christian Gmeiner wrote: > If we use u-boot as coreboot payload with a generic dts without > any ranges specified we fail in pci pre_probe and our pci bus > is not usable. > What do you mean by "a generic dts"? The coreboot payload needs to specify

Re: [U-Boot] [PATCH 0/5] Add KConfig option for cache maintenance availability

2018-05-23 Thread Emmanuel Vadot
Hi Faiz, On Tue, 22 May 2018 11:47:41 +0530 Faiz Abbas wrote: > Hi, > > On Monday 30 April 2018 02:03 PM, Emmanuel Vadot wrote: > > Hi, > > > > In order to correctly exectute some binaries on some arch we need to flush > > the data cache or instructions cache. Some arch offer helper function

Re: [U-Boot] [PATCH 1/2] dm: pci: make ranges dt property optional

2018-05-23 Thread Christian Gmeiner
Hi Bin, Am Mi., 23. Mai 2018 um 15:10 Uhr schrieb Bin Meng : > Hi Christian, > On Wed, May 23, 2018 at 8:00 PM, Christian Gmeiner > wrote: > > If we use u-boot as coreboot payload with a generic dts without > > any ranges specified we fail in pci pre_probe and our pci bus > > is not usable. > >

[U-Boot] [PATCH v3 3/3] misc: Add gdsys_ioep driver

2018-05-23 Thread Mario Six
Add driver for the IHS IO endpoint on IHS FPGAs. Signed-off-by: Mario Six --- v2 -> v3: No changes v1 -> v2: * Switched to regmap usage (instead of fpgamap) --- drivers/misc/Kconfig | 6 ++ drivers/misc/Makefile | 1 + drivers/misc/gdsys_ioep.c | 155

[U-Boot] [PATCH v3 1/3] misc: docs: Fix comments in misc.h

2018-05-23 Thread Mario Six
The comments in misc.h are not in kernel-doc format. Correct the format. Signed-off-by: Mario Six --- v2 -> v3: New in v3 --- include/misc.h | 66 +++--- 1 file changed, 35 insertions(+), 31 deletions(-) diff --git a/include/misc.h b/includ

[U-Boot] [PATCH v3 2/3] misc: uclass: Add enable/disable function

2018-05-23 Thread Mario Six
Add generic enable/disable function to the misc uclass. Signed-off-by: Mario Six --- v2 -> v3: * Now return old state from misc_set_enabled v1 -> v2: * Merged the two functions into one function * Explained the semantics of enabling/disabling more throughly --- drivers/misc/misc-uclass.c | 1

Re: [U-Boot] [U-Boot, PATCHv3, 1/3] at91: Minor tweaks to SPL logic for space savings on smartweb

2018-05-23 Thread Tom Rini
On Thu, May 10, 2018 at 07:15:52AM -0400, Tom Rini wrote: > - spl_board_init is empty on smartweb so drop that function > - When CONFIG_AT91SAM9_WATCHDOG is set we do not disable the watchdog in > SPL and instead let full U-Boot handle it. Instead of an empty > function just do not call a fun

Re: [U-Boot] [U-Boot, PATCHv3, 3/3] .travis.yml: Further optimizations

2018-05-23 Thread Tom Rini
On Thu, May 10, 2018 at 07:15:54AM -0400, Tom Rini wrote: > - Xilinx aarch64 is caught in the general xilinx arm job, exclude from > the general aarch64 job. > - Give the generic aarch64 job a better name > - Re-sort the PowerPC jobs so that we can complete them a bit quicker. > > Signed-off-by

Re: [U-Boot] [U-Boot, PATCHv3, 2/3] buildman: support newer gcc versions from kernel.org

2018-05-23 Thread Tom Rini
On Thu, May 10, 2018 at 07:15:53AM -0400, Tom Rini wrote: > From: Daniel Schwierzeck > > Add support for gcc versions 7.3.0, 6.4.0 and 4.9.4. > > Also use a regex for matching the tarball names. Some gcc versions > use '-ARCH-' instead of '_ARCH-'. > > As part of this, we switch TravisCI to al

Re: [U-Boot] [EXT] Re: [PATCH 1/4] ata: mvebu: move mvebu sata driver to drivers/ata directory

2018-05-23 Thread Simon Glass
Hi Ken, On 23 May 2018 at 01:06, Ken Ma wrote: > Dear Simon > > Thanks a lot for your kind help and review. > > Previously I did not use patman and generated my patches as below: > 1. used "git mv arch/arm/mach-mvebu/sata.c drivers/ata/ahci_mvebu.c" to do > the file renaming with makefiles and K

Re: [U-Boot] [PATCH 2/2] dm: pci: use a 1:1 mapping for bus <-> phy addresses

2018-05-23 Thread Simon Glass
Hi Christian, On 23 May 2018 at 06:00, Christian Gmeiner wrote: > If u-boot gets used as coreboot payload all pci resources got U-Boot (please use this consistently) > assigned by coreboot. If a dts without any pci ranges gets used > the dm is not able to access pci device memory. To get thing

Re: [U-Boot] [PATCH v2 3/5] video_osd: Add osd sandbox driver and tests

2018-05-23 Thread Simon Glass
Hi Mario, On 23 May 2018 at 06:09, Mario Six wrote: > Add sandbox driver and tests for the new OSD uclass. > > Signed-off-by: Mario Six > > --- > > v1 -> v2: > New in v2 > > --- > arch/sandbox/dts/test.dts | 4 + > configs/sandbox64_defconfig| 3 + > configs/sandbox_defconf

Re: [U-Boot] [PATCH] malloc: Use malloc simple before malloc is fully initialized in memalign()

2018-05-23 Thread Simon Glass
Hi, On 23 May 2018 at 00:32, Ley Foon Tan wrote: > On Sat, May 19, 2018 at 10:37 PM, Simon Glass wrote: >> Hi Ley, >> >> On 18 May 2018 at 04:03, Ley Foon Tan wrote: >>> Follow implementation in mALLOc(). Check GD_FLG_FULL_MALLOC_INIT flag and >>> use >>> malloc_simple if GD_FLG_FULL_MALLOC_IN

Re: [U-Boot] [PATCH v2 2/5] video_osd: Add ihs_video_out driver

2018-05-23 Thread Simon Glass
Hi Mario, On 23 May 2018 at 06:09, Mario Six wrote: > Add a driver for IHS OSDs on IHS FPGAs. > > Signed-off-by: Mario Six > > --- > > v1 -> v2: > * Renamed x and y parameters to col and row > * Removed duplicate IHS_VIDEO_OUT definition > * Switched error return code of ihs_video_out_set_mem to

Re: [U-Boot] [PATCH v2 5/5] cmd: Add osd commands

2018-05-23 Thread Simon Glass
Hi Mario, On 23 May 2018 at 06:09, Mario Six wrote: > Add command to query information from and write text to on-screen > display (OSD) devices. > > Signed-off-by: Mario Six > > --- > > v1 -> v2: > * Added explanation for what a OSD is > * Added explanation of the color parameter > * Moved GDSYS

Re: [U-Boot] [PATCH v2 1/5] drivers: Add OSD uclass

2018-05-23 Thread Simon Glass
On 23 May 2018 at 06:09, Mario Six wrote: > Some devices offer a text-based OSD (on-screen display) that can be > programmatically controlled (i.e. text displayed on). > > Add a uclass to support such devices. > > Signed-off-by: Mario Six > > --- > > v1 -> v2: > * Use singular case for UCLASS_VID

Re: [U-Boot] [PATCH v2 4/5] lib: Import hexdump.c from Linux

2018-05-23 Thread Simon Glass
Hi Mario, On 23 May 2018 at 06:09, Mario Six wrote: > Especially for commands, it is useful to be able to turn a hexadecimal > string into its binary representation. > > Hence, import the hex_to_bin, bin2hex, and hex2bin functions from the > Linux kernel. > > Signed-off-by: Mario Six > > --- > >

Re: [U-Boot] [PATCH v2] add FIT data-position & data-offset property support

2018-05-23 Thread Simon Glass
Hi Kelvin, On 22 May 2018 at 19:34, Kelvin Cheung wrote: > Hi Simon, > > > 2018-05-23 7:30 GMT+08:00 Simon Glass : >> >> Hi, >> >> On 18 May 2018 at 01:56, Kelvin Cheung wrote: >> > Add FIT data-position & data-offset property support for bootm, >> > which were already supported in SPL. >> > >>

Re: [U-Boot] usb: Fail to get descriptor for USB 2.0 device

2018-05-23 Thread Marek Vasut
On 05/23/2018 07:00 PM, DATACOM - Paulo.Zaneti wrote: > Hi, Hi, > When trying to migrate a board from u-boot version 2016.09 to version > 2018.03, I found a problem with a USB 2.0 device which used to work on > version 2016.09. Does it still happen in u-boot/master ? > In u-boot version 2016.09

Re: [U-Boot] usb: Fail to get descriptor for USB 2.0 device

2018-05-23 Thread Marek Vasut
On 05/23/2018 07:37 PM, DATACOM - Paulo.Zaneti wrote: > > > On 23/05/2018 14:03, Marek Vasut wrote: >> On 05/23/2018 07:00 PM, DATACOM - Paulo.Zaneti wrote: >>> Hi, >> Hi, >> >>> When trying to migrate a board from u-boot version 2016.09 to version >>> 2018.03, I found a problem with a USB 2.0 de

Re: [U-Boot] QUERY:U-boot DM:SERIAL:Multiple On-chip UART Controller Support

2018-05-23 Thread Simon Glass
On 23 May 2018 at 11:56, Vabhav Sharma wrote: > Hello Everyone, > > I am working on integrating generic PL011 driver in u-boot and linux for > ARMv8 NXP SoC and facing issue with multiple UART console enablement in > u-boot using DM model > > Kindly provide your valuable feedback and experts comm

Re: [U-Boot] usb: Fail to get descriptor for USB 2.0 device

2018-05-23 Thread Marek Vasut
On 05/23/2018 07:52 PM, DATACOM - Paulo.Zaneti wrote: > > > On 23/05/2018 14:43, Marek Vasut wrote: >> On 05/23/2018 07:37 PM, DATACOM - Paulo.Zaneti wrote: >>> >>> On 23/05/2018 14:03, Marek Vasut wrote: On 05/23/2018 07:00 PM, DATACOM - Paulo.Zaneti wrote: > Hi, Hi, > Whe

Re: [U-Boot] [PATCH v1] x86: acpi: Adopt new version of iASL compiler

2018-05-23 Thread Moore, Robert
> -Original Message- > From: Andy Shevchenko [mailto:andriy.shevche...@linux.intel.com] > Sent: Wednesday, May 23, 2018 3:30 AM > To: Bin Meng > Cc: Simon Glass ; U-Boot Mailing List b...@lists.denx.de>; Moore, Robert ; Sami > Mujawar ; Evan Lloyd > Subject: Re: [PATCH v1] x86: acpi: A

[U-Boot] usb: Fail to get descriptor for USB 2.0 device

2018-05-23 Thread DATACOM - Paulo.Zaneti
Hi, When trying to migrate a board from u-boot version 2016.09 to version 2018.03, I found a problem with a USB 2.0 device which used to work on version 2016.09. In u-boot version 2016.09 the device appears like this: 2: Mass Storage,  USB Revision 2.0  - SanDisk Cruzer Blade 200443243002FB5

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

2018-05-23 Thread Manjukumar Harthikote Matha
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Wednesday, May 23, 2018 2:49 AM > To: Manjukumar Harthikote Matha ; Rajan Vaja > > Cc: mon...@monstr.eu; Albert Aribaud ; Jolly Shah > ; Michal Simek ; u- > b...@lists.denx.de; Moritz Fischer > Subject: Re: [PATCH]

Re: [U-Boot] usb: Fail to get descriptor for USB 2.0 device

2018-05-23 Thread DATACOM - Paulo.Zaneti
On 23/05/2018 14:03, Marek Vasut wrote: On 05/23/2018 07:00 PM, DATACOM - Paulo.Zaneti wrote: Hi, Hi, When trying to migrate a board from u-boot version 2016.09 to version 2018.03, I found a problem with a USB 2.0 device which used to work on version 2016.09. Does it still happen in u-boot

Re: [U-Boot] usb: Fail to get descriptor for USB 2.0 device

2018-05-23 Thread DATACOM - Paulo.Zaneti
On 23/05/2018 14:43, Marek Vasut wrote: On 05/23/2018 07:37 PM, DATACOM - Paulo.Zaneti wrote: On 23/05/2018 14:03, Marek Vasut wrote: On 05/23/2018 07:00 PM, DATACOM - Paulo.Zaneti wrote: Hi, Hi, When trying to migrate a board from u-boot version 2016.09 to version 2018.03, I found a pro

Re: [U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-23 Thread Martin Kelly
On 05/17/2018 05:01 AM, Maxime Ripard wrote: On Tue, May 01, 2018 at 05:46:41PM -0700, Martin Kelly wrote: Currently, sunxi-common.h ignores CONFIG_DEFAULT_FDT_FILE and assumes the kernel fdtfile and the u-boot devicetree names are the same. Although this is typically the case, sometimes you mig

Re: [U-Boot] QUERY:U-boot DM:SERIAL:Multiple On-chip UART Controller Support

2018-05-23 Thread Simon Glass
Hi, On 23 May 2018 at 12:04, Simon Glass wrote: > On 23 May 2018 at 11:56, Vabhav Sharma wrote: >> Hello Everyone, >> >> I am working on integrating generic PL011 driver in u-boot and linux for Note, it is 'U-Boot' >> ARMv8 NXP SoC and facing issue with multiple UART console enablement in >>

[U-Boot] [PATCH] dlmalloc: ensure gd is set for early free

2018-05-23 Thread Eugeniu Rosca
This fix seems to be a twin of v2015.01 commit 854d2b9753e4 ("dlmalloc: ensure gd is set for early alloc"). Here is a gdb backtrace to make them look even more similar (sandbox build): (gdb) run Starting program: /path/to/u-boot [Thread debugging using libthread_db enabled] Using host libthread_db

Re: [U-Boot] [PATCH] dlmalloc: ensure gd is set for early free

2018-05-23 Thread Stephen Warren
On 05/23/2018 01:07 PM, Eugeniu Rosca wrote: This fix seems to be a twin of v2015.01 commit 854d2b9753e4 ("dlmalloc: ensure gd is set for early alloc"). Here is a gdb backtrace to make them look even more similar (sandbox build): ... Interestingly, this issue appears on a very old v2015.04 U-bo

[U-Boot] [PATCH] mmc: Unirqify bcm2835_sdhost and fix writes

2018-05-23 Thread Alexander Graf
The bcm2835 sdhost driver has a problem with "write multiple" commands. It seems to boil down to the fact that the controller dislikes its FIFO to get drained at the end of a block when a write multiple blocks command is in flight. The easy fix is to simply get rid of all the IRQ driven logic and

Re: [U-Boot] [PATCH] dlmalloc: ensure gd is set for early free

2018-05-23 Thread Eugeniu Rosca
Hi Stephen, On Wed, May 23, 2018 at 01:32:53PM -0600, Stephen Warren wrote: > On 05/23/2018 01:07 PM, Eugeniu Rosca wrote: > >This fix seems to be a twin of v2015.01 commit 854d2b9753e4 ("dlmalloc: > >ensure gd is set for early alloc"). Here is a gdb backtrace to make them > >look even more simila

Re: [U-Boot] usb: Fail to get descriptor for USB 2.0 device

2018-05-23 Thread DATACOM - Paulo.Zaneti
On 23/05/2018 15:00, Marek Vasut wrote: On 05/23/2018 07:52 PM, DATACOM - Paulo.Zaneti wrote: On 23/05/2018 14:43, Marek Vasut wrote: On 05/23/2018 07:37 PM, DATACOM - Paulo.Zaneti wrote: On 23/05/2018 14:03, Marek Vasut wrote: On 05/23/2018 07:00 PM, DATACOM - Paulo.Zaneti wrote: Hi, Hi

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-23 Thread York Sun
On 05/23/2018 12:52 AM, Xiaoliang Yang wrote: > Support watchdog driver for layerscape. If you want to use it, > please define CONFIG_IMX_WATCHDOG, CONFIG_HW_WATCHDOG, > define CONFIG_WATCHDOG_TIMEOUT_MSECS to set watchdog timeout. > > Signed-off-by: Xiaoliang Yang > --- > arch/arm/cpu/armv8/fsl

Re: [U-Boot] usb: Fail to get descriptor for USB 2.0 device

2018-05-23 Thread Bin Meng
Hi, On Thu, May 24, 2018 at 4:51 AM, DATACOM - Paulo.Zaneti wrote: > > > On 23/05/2018 15:00, Marek Vasut wrote: >> >> On 05/23/2018 07:52 PM, DATACOM - Paulo.Zaneti wrote: >>> >>> >>> On 23/05/2018 14:43, Marek Vasut wrote: On 05/23/2018 07:37 PM, DATACOM - Paulo.Zaneti wrote: > >>

Re: [U-Boot] usb: Fail to get descriptor for USB 2.0 device

2018-05-23 Thread Marek Vasut
On 05/23/2018 10:51 PM, DATACOM - Paulo.Zaneti wrote: > > > On 23/05/2018 15:00, Marek Vasut wrote: >> On 05/23/2018 07:52 PM, DATACOM - Paulo.Zaneti wrote: >>> >>> On 23/05/2018 14:43, Marek Vasut wrote: On 05/23/2018 07:37 PM, DATACOM - Paulo.Zaneti wrote: > On 23/05/2018 14:03, Marek

Re: [U-Boot] [PATCH 1/1] board: arm: Add support for Broadcom BCM7445D0

2018-05-23 Thread Thomas Fitzsimmons
Tom Rini writes: > On Sun, May 06, 2018 at 07:09:22AM -0400, Thomas Fitzsimmons wrote: > >> Add support for loading U-Boot on the Broadcom 7445D0 SoC. This port >> assumes Broadcom's BOLT bootloader is acting as the second stage >> bootloader, and U-Boot is acting as the third stage bootloader,

[U-Boot] [PATCH 1/2] riscv: dts: Sync DT with Linux Kernel

2018-05-23 Thread Andes
From: Rick Chen Use same dts to boot U-Boot and RISC-V Linux Kernel v4.16-rc2 in ax25-ae350 platform. Signed-off-by: Rick Chen Signed-off-by: Rick Chen Cc: Greentime Hu --- arch/riscv/dts/ae350.dts | 204 --- 1 file changed, 122 insertions(+), 82 d

[U-Boot] [PATCH 2/2] mmc: ftsdc010_mci: Sync compatible with DT mmc node

2018-05-23 Thread Andes
From: Rick Chen The compatible string of ftsdc010_mci.c is different from the mmc driver in Linux Kernel. Modify it for consistency. Signed-off-by: Rick Chen Signed-off-by: Rick Chen Cc: Greentime Hu --- drivers/mmc/ftsdc010_mci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[U-Boot] [PATCH v2 0/1] board: arm: Add support for Broadcom BCM7445

2018-05-23 Thread Thomas Fitzsimmons
Add support for Broadcom BCM7445 Changes for v2: - Reorganize Kconfig to create ARCH_BCMSTB - Use generic bcmstb SoC name wherever possible - Eliminate crt0.S changes by moving relocation logic to bcmstb.c - Use debug() macro where appropriate - Read bcmstb_spi register base address

[U-Boot] [PATCH v2 1/1] board: arm: Add support for Broadcom BCM7445

2018-05-23 Thread Thomas Fitzsimmons
Add support for loading U-Boot on the Broadcom 7445 SoC. This port assumes Broadcom's BOLT bootloader is acting as the second stage bootloader, and U-Boot is acting as the third stage bootloader, loaded as an ELF program by BOLT. Signed-off-by: Thomas Fitzsimmons Cc: Stefan Roese Cc: Tom Rini

Re: [U-Boot] [PATCH] ehci: msm: Replace board_prepare_usb with board_usb_init

2018-05-23 Thread Ramon Fried
On Wed, May 23, 2018 at 2:30 AM, Simon Glass wrote: > Hi Ramon, > On 20 May 2018 at 13:04, Ramon Fried wrote: >> Use standard board_usb_init() instead of the specific board_prepare_usb. > > You should mention why... > > For any patch: > - what the problem is / motivation > - what your patch does

Re: [U-Boot] [U-Boot-DM] QUERY:U-boot DM:SERIAL:Multiple On-chip UART Controller Support

2018-05-23 Thread Andreas Dannenberg
Vabhav, Simon, On Wed, May 23, 2018 at 12:55:41PM -0600, Simon Glass wrote: > Hi, > > On 23 May 2018 at 12:04, Simon Glass wrote: > > On 23 May 2018 at 11:56, Vabhav Sharma wrote: > >> Hello Everyone, > >> > >> I am working on integrating generic PL011 driver in u-boot and linux for > > Note,

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-23 Thread Xiaoliang Yang
Hi york, Yes, I sent it two days ago, but it's failed to send to u-boot list, so I resend it. Xiaoliang Yang -Original Message- From: York Sun Sent: 2018年5月24日 6:58 To: Xiaoliang Yang ; u-boot@lists.denx.de Subject: Re: [PATCH 1/2] watchdog: driver support for layerscape On 05/23/2018

Re: [U-Boot] [PATCH v3 00/10] Add Intel Stratix 10 SoC support

2018-05-23 Thread Ley Foon Tan
On Wed, May 23, 2018 at 6:00 PM, Marek Vasut wrote: > On 05/23/2018 06:17 PM, Ley Foon Tan wrote: >> This is 3rd version of patchset to adds support for Intel Stratix 10 SoC. >> This patchset is work on top of uboot.git/master and patchset in [1]. >> >> Changes: >> - rebase on uboot.git/master >>

[U-Boot] [PATCH 1/4] configs: ax25-ae350: Support cfi flash

2018-05-23 Thread Andes
From: Rick Chen Enable cfi flash driver and setup flash parameters to support parallel nor flash which type is JS28F00A-M29EWH. Verification: Size detection, data read, erase and write are all ok. Signed-off-by: Rick Chen Signed-off-by: Rick Chen Cc: Greentime Hu --- configs/ax25-ae350_defc

[U-Boot] [PATCH 3/4] board: ax25-ae350: Support cfi flash

2018-05-23 Thread Andes
From: Rick Chen Add smc_init() to get register base from dts and deal with atfsmc020 controler initialzation job. Write protect is enabled by default. So WP shall be disabled when startup, then cfi flash can be detected and erasing and writing can be executed. Adp-ae3xx and adp-ag101p both do s

[U-Boot] [PATCH 4/4] mtd: ftsmc020: Drop unsed code

2018-05-23 Thread Andes
From: Rick Chen ftsmc020_init is not used anymore. So it can be removed. Signed-off-by: Rick Chen Signed-off-by: Rick Chen Cc: Greentime Hu --- drivers/mtd/Makefile | 1 - drivers/mtd/ftsmc020.c | 38 -- 2 files changed, 39 deletions(-) mode change 100

[U-Boot] [PATCH 2/4] riscv: dts: Support cfi flash

2018-05-23 Thread Andes
From: Rick Chen Add nor node for cfi-flash driver and smc node for smc(aftsmc020) controller. Signed-off-by: Rick Chen Signed-off-by: Rick Chen Cc: Greentime Hu --- arch/riscv/dts/ae350.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/riscv/dts/ae350.dts b/arch/risc

[U-Boot] [PATCH v2 2/4] ata: ahci_mvebu: a8040 a0: remove bad port register offsets workarounds

2018-05-23 Thread make
From: David Sniatkiwicz This workaround was added for A8040/7040 A0. A8040/7040 A0 is no longer supported so this workaround can be removed. Signed-off-by: David Sniatkiwicz Signed-off-by: Ken Ma --- Changes in v2: None drivers/ata/ahci_mvebu.c | 8 1 file changed, 8 deletions(-)

[U-Boot] [PATCH v2 3/4] ata: ahci_mvebu: add scsi support

2018-05-23 Thread make
From: Ken Ma Mvebu AHCI is AHCI driver which uses SCSI under the hood. This patch adjusts AHCI setup to support SCSI by creating a SCSI device as a child. Signed-off-by: Ken Ma --- Changes in v2: None drivers/ata/ahci_mvebu.c | 17 - 1 file changed, 16 insertions(+), 1 deleti

[U-Boot] [PATCH v2 4/4] arm64: mvebu: defconfig: enable CONFIG_AHCI_MVEBU

2018-05-23 Thread make
From: Ken Ma This patch enables the new ahci mvebu driver for marvell arm64 platform SOCs(A3k and A8k). Signed-off-by: Ken Ma --- Changes in v2: None configs/mvebu_db-88f3720_defconfig | 1 + configs/mvebu_db_armada8k_defconfig | 1 + configs/mvebu_espressobin-88f3720_defcon

[U-Boot] [PATCH v2 1/4] ata: mvebu: move mvebu sata driver to drivers/ata directory

2018-05-23 Thread make
From: Ken Ma Currently mvebu sata driver is in arch/arm/mach_mvebu directory, this patch moves it to drivers/ata directory with renaming "sata.c" to "ahci_mvebu.c" which is aligned to Linux. New ahci driver's kconfig option is added as AHCI_MVEBU which selects DM_SCSI. Signed-off-by: Ken Ma ---

[U-Boot] [PATCH v2 0/4] ahci mvebu driver updates

2018-05-23 Thread make
From: Ken Ma These patches move ahci mvebu driver to drivers/ata directory with bug fixing and scsi supporting. Changes in v2: - Add MAINTAINERS updating David Sniatkiwicz (1): ata: ahci_mvebu: a8040 a0: remove bad port register offsets workarounds Ken Ma (3): ata: mvebu: move mvebu s

  1   2   >