Re: [U-Boot] [PATCH] arm: dts: socfpga: fix DTC unit name warnings

2016-04-18 Thread Heiko Schocher
Hello Marek, Am 18.04.2016 um 19:52 schrieb Marek Vasut: On 04/18/2016 05:46 PM, Tom Rini wrote: On Mon, Apr 18, 2016 at 05:37:02PM +0200, Marek Vasut wrote: On 04/18/2016 05:31 PM, Tom Rini wrote: On Fri, Apr 15, 2016 at 12:41:02PM +0200, Heiko Schocher wrote: Fix following DTC warnings fo

Re: [U-Boot] [PATCH] arm: dts: socfpga: fix DTC unit name warnings

2016-04-18 Thread Heiko Schocher
Hello Tom, Am 18.04.2016 um 17:46 schrieb Tom Rini: On Mon, Apr 18, 2016 at 05:37:02PM +0200, Marek Vasut wrote: On 04/18/2016 05:31 PM, Tom Rini wrote: On Fri, Apr 15, 2016 at 12:41:02PM +0200, Heiko Schocher wrote: Fix following DTC warnings for all socfpga boards: We're going to defer o

Re: [U-Boot] [PATCH RESEND] armv8: LSCH2 early and final mmu needs matching NS attribute

2016-04-18 Thread Huan Wang
Hi, York, > On 03/28/2016 02:16 PM, Ed Swarthout wrote: > > When switching between the early and final mmu tables, the stack will > > get corrupted if the Non-Secure attribute is different. For ls1043a, > > this issue is currently masked because flush_dcache_all is called > > before the switch wh

[U-Boot] [PATCH] armv8: ls2080a: update eth prime

2016-04-18 Thread Prabhakar Kushwaha
As per new PHY framework, DPNI naming convetion is no more used. Use new naming convention. Signed-off-by: Prabhakar Kushwaha --- include/configs/ls2080aqds.h | 2 +- include/configs/ls2080ardb.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/ls2080aqds.h

Re: [U-Boot] SAMA5D2 xplained SD/eMMC boot

2016-04-18 Thread Yang, Wenyou
Hi Marek, > -Original Message- > From: Marek Vasut [mailto:marek.va...@gmail.com] > Sent: 2016年4月18日 23:30 > To: Yang, Wenyou > Cc: u-boot@lists.denx.de > Subject: SAMA5D2 xplained SD/eMMC boot > > Hi! > > I've been playing around with latest mainline u-boot on sama5d2 xplained > ultra

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-04-18 Thread Marek Vasut
On 04/15/2016 02:13 PM, Diego wrote: > In data venerdì 15 aprile 2016 12:53:36, Marek Vasut ha scritto: >> On 04/14/2016 03:20 PM, Diego wrote: >>> On 18.02.2016, Schrempf Frieder wrote: At the moment I have two sticks with the same chip around for which setting USB_MAX_XFER_BLK from 6553

Re: [U-Boot] [PATCH 03/16] arm: Kconfig: Add support for AM43xx SoC specific Kconfig

2016-04-18 Thread Andreas Dannenberg
On Mon, Apr 18, 2016 at 04:03:58PM -0500, Andreas Dannenberg wrote: > On Fri, Apr 15, 2016 at 04:27:45PM +0530, Lokesh Vutla wrote: > > On Tuesday 12 April 2016 05:07 AM, Daniel Allred wrote: > > > From: Madan Srinivas > > > > > > Adding support for AM43xx secure devices require the addition > >

Re: [U-Boot] SAMA5D2 xplained SD/eMMC boot

2016-04-18 Thread James Chargin
On 04/18/2016 09:54 AM, Andreas Bießmann wrote: Hi Marek, On 2016-04-18 17:30, Marek Vasut wrote: Hi! I've been playing around with latest mainline u-boot on sama5d2 xplained ultra. I noticed that if I want to boot the board from SD card (SDHCI1), the board will indeed load the SPL from it, bu

Re: [U-Boot] [PATCH v4 1/3] net: designware: fix descriptor layout and warnings on 64-bit archs

2016-04-18 Thread Beniamino Galvani
On Mon, Apr 18, 2016 at 01:55:55PM +0200, Andreas Färber wrote: > > + if ((unsigned long long)priv + sizeof(*priv) > (1ULL << 32)) { > > >=? I think ">" is correct, the (unfortunate) case priv + size == (1 << 32) is still acceptable because the last byte used by the structure would be (priv

Re: [U-Boot] [PATCH v4 3/3] arm: meson: implement calls to secure monitor

2016-04-18 Thread Beniamino Galvani
On Sun, Apr 17, 2016 at 12:00:59PM +0200, Marek Vasut wrote: > > +#define MIN(a, b) ((a) < (b) ? (a) : (b)) > > See include/linux/kernel.h for min macro Ah, I missed it, thanks! Beniamino ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] [PATCH v4 1/3] net: designware: fix descriptor layout and warnings on 64-bit archs

2016-04-18 Thread Alexander Graf
On 18.04.16 23:38, Beniamino Galvani wrote: > On Mon, Apr 18, 2016 at 01:06:37PM +0200, Alexander Graf wrote: >> Hmm, this is going to get very interesting with efi_loader support. By >> default we allocate memory at the highest possible free address, so payloads >> will probably (unless they spe

Re: [U-Boot] [PATCH v4 3/3] arm: meson: implement calls to secure monitor

2016-04-18 Thread Beniamino Galvani
On Sun, Apr 17, 2016 at 11:48:34AM +0200, Alexander Graf wrote: > Shouldn't reboot be available as psci call? We could then have a > generic reset function for systems with working psci in atf. Yes, the 0x8409 function ID used to reset the board seems to be actually a PSCI call, so probably a

Re: [U-Boot] [PATCH v4 1/3] net: designware: fix descriptor layout and warnings on 64-bit archs

2016-04-18 Thread Beniamino Galvani
On Mon, Apr 18, 2016 at 01:06:37PM +0200, Alexander Graf wrote: > Hmm, this is going to get very interesting with efi_loader support. By > default we allocate memory at the highest possible free address, so payloads > will probably (unless they specify limits) have their buffers above 32bit on > th

Re: [U-Boot] [PATCH 03/16] arm: Kconfig: Add support for AM43xx SoC specific Kconfig

2016-04-18 Thread Andreas Dannenberg
On Fri, Apr 15, 2016 at 04:27:45PM +0530, Lokesh Vutla wrote: > > > On Tuesday 12 April 2016 05:07 AM, Daniel Allred wrote: > > From: Madan Srinivas > > > > Adding support for AM43xx secure devices require the addition > > of some SOC specific config options like the amount of memory > > used b

Re: [U-Boot] [PATCH 2/3] drivers/gpio/pm8916_gpio.c: Make pid be uint32_t

2016-04-18 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 18.04.2016 22:23, Mateusz Kulikowski wrote: > Hi, > > Sorry for slow reply. > > On 12.04.2016 21:11, Tom Rini wrote: >> If get_dev_addr fails it will return FDT_ADDR_T_NONE and: > "priv->pid == 4294967295U" is always false regardless of

Re: [U-Boot] [PATCH 2/3] drivers/gpio/pm8916_gpio.c: Make pid be uint32_t

2016-04-18 Thread Mateusz Kulikowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, Sorry for slow reply. On 12.04.2016 21:11, Tom Rini wrote: > If get_dev_addr fails it will return FDT_ADDR_T_NONE and: "priv->pid == 4294967295U" is always false regardless of the values of its operands. This occurs as the logica

[U-Boot] [PATCH] sandbox: Set CONFIG_SYS_CPU

2016-04-18 Thread Tom Rini
Give a valid value here as well to allow things which want CONFIG_ENV_VARS_UBOOT_CONFIG to build Signed-off-by: Tom Rini --- I need this for the patch to have EFI have be able to create a fall back FDT to try in config_distro_bootcmd so I'll be applying this shortly. arch/sandbox/Kconfig | 3 +

Re: [U-Boot] [PATCH] arm: dts: socfpga: fix DTC unit name warnings

2016-04-18 Thread Marek Vasut
On 04/18/2016 05:46 PM, Tom Rini wrote: > On Mon, Apr 18, 2016 at 05:37:02PM +0200, Marek Vasut wrote: >> On 04/18/2016 05:31 PM, Tom Rini wrote: >>> On Fri, Apr 15, 2016 at 12:41:02PM +0200, Heiko Schocher wrote: >>> Fix following DTC warnings for all socfpga boards: >>> >>> We're going to de

Re: [U-Boot] [PATCH] ARM: dts: uniphier: move aliases node up to make fdtgrep happy

2016-04-18 Thread Simon Glass
HI Masahiro, On 18 April 2016 at 00:50, Masahiro Yamada wrote: > > Hi Simon, > > No news about fdtgrep? > > I will apply this patch in a few days, though I am not happy about it. No sorry I have not got back to it. I recently did some buildman fixes. I should get to it in the next few weeks but

Re: [U-Boot] [PATCH] usb: gadget: Disable gadget options in SPL

2016-04-18 Thread Tom Rini
On Fri, Apr 15, 2016 at 05:40:56PM +0300, Sam Protsenko wrote: > During Kconfig migrating process we missed to check some gadget options > for SPL_BUILD. Do it now to properly disable gadget in SPL build for > those platforms that disabled it before migrating options to Kconfig. > > Signed-off-by

Re: [U-Boot] [PATCH] usb: gadget: Disable gadget options in SPL

2016-04-18 Thread Sam Protsenko
On Mon, Apr 18, 2016 at 1:59 PM, Lukasz Majewski wrote: > Hi Sam, > >> During Kconfig migrating process we missed to check some gadget >> options for SPL_BUILD. Do it now to properly disable gadget in SPL >> build for those platforms that disabled it before migrating options >> to Kconfig. >> >> S

Re: [U-Boot] SAMA5D2 xplained SD/eMMC boot

2016-04-18 Thread Andreas Bießmann
Hi Marek, On 2016-04-18 17:30, Marek Vasut wrote: Hi! I've been playing around with latest mainline u-boot on sama5d2 xplained ultra. I noticed that if I want to boot the board from SD card (SDHCI1), the board will indeed load the SPL from it, but SPL will try to load u-boot.img from eMMC (SD

[U-Boot] [PATCH] ARM: atmel: Enable FIT image support for SAMA5Dx

2016-04-18 Thread Marek Vasut
Enable the fitImage support for the entire SAMA5Dx lineup of CPUs. The fitImage is superior image format to uImage and it is useful to have it available. Signed-off-by: Marek Vasut Cc: Andreas Bießmann Cc: Wenyou Yang --- configs/sama5d2_xplained_mmc_defconfig | 1 + configs/sama5d2_xpla

Re: [U-Boot] [PATCH] efi_loader: Add debug output for efi_add_memory_map()

2016-04-18 Thread Tom Rini
On Wed, Apr 13, 2016 at 05:33:50AM +0200, Andreas Färber wrote: > Tracing the arguments has been helpful for pinpointing overflows. > > Cc: Alexander Graf > Signed-off-by: Andreas Färber > --- > lib/efi_loader/efi_memory.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/lib/efi_

[U-Boot] [PATCH v2 8/9] arm: exynos: add support for Exynos7420 SoC

2016-04-18 Thread Thomas Abraham
From: Thomas Abraham Add support for Exynos7420 SoC. The Exynos7420 SoC has four Cortex-A57 and four Cortex-A53 CPUs and includes various peripheral controllers. Signed-off-by: Thomas Abraham --- arch/arm/dts/exynos7420.dtsi| 82 arch/arm/mach-exynos/Kconfig

[U-Boot] [PATCH v2 7/9] arm: exynos: realign the code to allow support for newer 64-bit platforms

2016-04-18 Thread Thomas Abraham
From: Thomas Abraham The existing Exynos 32-bit platform support needs to be realigned in order to support newer 64-bit Exynos platforms. The driver model will be utlized for drivers on the 64-bit Exynos platforms and so some of the older platform support code would not be required for the newer

Re: [U-Boot] [PATCH] arm: dts: socfpga: fix DTC unit name warnings

2016-04-18 Thread Tom Rini
On Mon, Apr 18, 2016 at 05:37:02PM +0200, Marek Vasut wrote: > On 04/18/2016 05:31 PM, Tom Rini wrote: > > On Fri, Apr 15, 2016 at 12:41:02PM +0200, Heiko Schocher wrote: > > > >> Fix following DTC warnings for all socfpga boards: > > > > We're going to defer on this patch for now, thanks. > > >

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-18 Thread Steve Rae
On Mon, Apr 18, 2016 at 6:55 AM, Roger Quadros wrote: > On 18/04/16 16:47, Lukasz Majewski wrote: >> Hi Roger, Steve, >> >>> +Lukazs >>> >>> On 18/04/16 10:56, Roger Quadros wrote: On 15/04/16 22:44, Steve Rae wrote: > > > On Thu, Apr 14, 2016 at 3:18 AM, Roger Quadros

Re: [U-Boot] [PATCH] arm: dts: socfpga: fix DTC unit name warnings

2016-04-18 Thread Marek Vasut
On 04/18/2016 05:31 PM, Tom Rini wrote: > On Fri, Apr 15, 2016 at 12:41:02PM +0200, Heiko Schocher wrote: > >> Fix following DTC warnings for all socfpga boards: > > We're going to defer on this patch for now, thanks. > Can you elaborate please? -- Best regards, Marek Vasut ___

Re: [U-Boot] [PATCH] arm: dts: amX/draX: fix DTC unit name warnings

2016-04-18 Thread Tom Rini
On Fri, Apr 15, 2016 at 12:58:57PM +0200, Heiko Schocher wrote: > Fi all DTC warnings for TI boards. We're going to defer on this patch for now, thanks. -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.d

Re: [U-Boot] [PATCH] mips: fix DTC unit warnings

2016-04-18 Thread Tom Rini
On Fri, Apr 15, 2016 at 12:59:36PM +0200, Heiko Schocher wrote: > Fix following warnings for all mips based boards: > mips: + pic32mzdask > +Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, > but no unit name > +Warning (unit_address_vs_reg): Node /cpus/cpu@0 has

Re: [U-Boot] [PATCH] arm: dts: vf6: fix DTC unit warnings

2016-04-18 Thread Tom Rini
On Fri, Apr 15, 2016 at 12:58:15PM +0200, Heiko Schocher wrote: > Fix following warnings for all vf6 based boards: We're going to defer on this patch for now, thanks. -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot

Re: [U-Boot] [PATCH] x86: dts: fix DTC unit name warnings

2016-04-18 Thread Tom Rini
On Fri, Apr 15, 2016 at 12:57:57PM +0200, Heiko Schocher wrote: > Fix following DTC warnings for all x86 boards. We're going to defer on this patch for now, thanks. -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@l

Re: [U-Boot] [PATCH] arm: dts: socfpga: fix DTC unit name warnings

2016-04-18 Thread Tom Rini
On Fri, Apr 15, 2016 at 12:41:02PM +0200, Heiko Schocher wrote: > Fix following DTC warnings for all socfpga boards: We're going to defer on this patch for now, thanks. -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Bo

[U-Boot] SAMA5D2 xplained SD/eMMC boot

2016-04-18 Thread Marek Vasut
Hi! I've been playing around with latest mainline u-boot on sama5d2 xplained ultra. I noticed that if I want to boot the board from SD card (SDHCI1), the board will indeed load the SPL from it, but SPL will try to load u-boot.img from eMMC (SDHCI0) and fail, as my eMMC is blank. This is a result o

Re: [U-Boot] [PATCH] mips: fix DTC unit warnings

2016-04-18 Thread Tom Rini
On Mon, Apr 18, 2016 at 07:38:36AM +0200, Heiko Schocher wrote: > Hello Stephen, > > Am 15.04.2016 um 18:56 schrieb Stephen Warren: > >On 04/15/2016 10:30 AM, Tom Rini wrote: > >>On Fri, Apr 15, 2016 at 05:23:54PM +0200, Andreas Färber wrote: > >>>Am 15.04.2016 um 12:59 schrieb Heiko Schocher: > >

Re: [U-Boot] [PATCH 01/10] drivers: usb: dwc3: remove devm_zalloc from linux_compact

2016-04-18 Thread Simon Glass
Hi Mugunthan, On 18 April 2016 at 00:36, Mugunthan V N wrote: > On Friday 15 April 2016 07:43 PM, Simon Glass wrote: >> Hi Mugunthan, >> >> On 15 March 2016 at 07:59, Tom Rini wrote: >>> >>> On Tue, Mar 15, 2016 at 05:44:10PM +0530, Mugunthan V N wrote: >>> devm_zalloc() is already defined

Re: [U-Boot] [PATCH 7/9] arm: exynos: realign the code to allow support for newer 64-bit platforms

2016-04-18 Thread Thomas Abraham
Hi Mr. Kang, On Mon, Apr 18, 2016 at 4:39 PM, Minkyu Kang wrote: > Dear Thomas Abraham, > > On 13/04/16 19:43, Thomas Abraham wrote: >> From: Thomas Abraham >> >> The existing Exynos 32-bit platform support needs to be realigned in >> order to support newer 64-bit Exynos platforms. The driver mo

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-18 Thread Roger Quadros
On 18/04/16 16:47, Lukasz Majewski wrote: > Hi Roger, Steve, > >> +Lukazs >> >> On 18/04/16 10:56, Roger Quadros wrote: >>> On 15/04/16 22:44, Steve Rae wrote: On Thu, Apr 14, 2016 at 3:18 AM, Roger Quadros >>> > wrote: Hi, On 13/04/

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-18 Thread Lukasz Majewski
Hi Roger, Steve, > +Lukazs > > On 18/04/16 10:56, Roger Quadros wrote: > > On 15/04/16 22:44, Steve Rae wrote: > >> > >> > >> On Thu, Apr 14, 2016 at 3:18 AM, Roger Quadros >> > wrote: > >> > >> Hi, > >> > >> On 13/04/16 19:56, Sam Protsenko wrote: > >> > On Wed

[U-Boot] test/py - test OS boot

2016-04-18 Thread Michal Simek
Hi Stephen and Simon, have you thought how to use test/py for testing OS boot? I am not experienced with python to quickly hack it myself but in general I think we should support boot till OS (to test OS handoff, legacy, fit formats, bootm subcommands, go, etc) till certain point and then do reset

Re: [U-Boot] [PATCH] MIPS: bootm: Add fixup of '/memory' node.

2016-04-18 Thread Daniel Schwierzeck
2016-04-18 15:01 GMT+02:00 Purna Chandra Mandal : > MIPS arch do not update 'reg' property of /memory node. > As a result Linux bootup will not work unless board.dts > file contains right /memory offset-size information or > board implements required memory fixup. > Fixing by renaming (unused) _arc

Re: [U-Boot] [PATCH 1/2] arm: socfpga: Fix typos in DT files (environmnet -> environment)

2016-04-18 Thread Marek Vasut
On 04/18/2016 02:22 PM, Stefan Roese wrote: > Fix a small typo in some of the SoCFPGA dts files that has spread via > copy-and-paste. > > Signed-off-by: Stefan Roese > Cc: Marek Vasut > Cc: Dinh Nguyen > Cc: Chin Liang See Acked-by: Marek Vasut > --- > arch/arm/dts/socfpga_arria5_socdk.dts

Re: [U-Boot] [PATCH 2/2] arm: socfpga: socrates: Add eth0 alias to enable ethernet

2016-04-18 Thread Marek Vasut
On 04/18/2016 02:22 PM, Stefan Roese wrote: > This enables full ethernet usage, including U-Boot to write the board > specific MAC address (ethaddr) into the DT blob before passing it to > Linux. > > Without this, the ethaddr is not detected in U-Boot at all, resulting > in this error upon bootup:

[U-Boot] [PATCH 2/2] Add initial support for Technexion's PICO-IMX6UL-EMMC board

2016-04-18 Thread Fabio Estevam
Add support for Technexion's PICO-IMX6UL-EMMC board. For information about this board, please visit: http://www.technexion.com/products/pico/pico-som/pico-imx6-emmc Signed-off-by: Richard Hu Signed-off-by: Fabio Estevam --- arch/arm/cpu/armv7/mx6/Kconfig | 5 ++ board/technexion/

[U-Boot] [PATCH 1/2] MX6UL: Add definition for UART6 base address

2016-04-18 Thread Fabio Estevam
Define the UART6_BASE_ADDR for MX6UL. Signed-off-by: Fabio Estevam --- arch/arm/include/asm/arch-mx6/imx-regs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h index 53488be..3ab04bf 100644 --- a/arch/arm/in

[U-Boot] [PATCH] MIPS: bootm: Add fixup of '/memory' node.

2016-04-18 Thread Purna Chandra Mandal
MIPS arch do not update 'reg' property of /memory node. As a result Linux bootup will not work unless board.dts file contains right /memory offset-size information or board implements required memory fixup. Fixing by renaming (unused) _arch_fixup_memory_node_ to _arch_fixup_fdt_ in arch/mips/lib/b

Re: [U-Boot] [PATCH] mips: fix DTC unit warnings

2016-04-18 Thread Purna Chandra Mandal
On 04/15/2016 08:53 PM, Andreas Färber wrote: > Am 15.04.2016 um 12:59 schrieb Heiko Schocher: >> Fix following warnings for all mips based boards: >> mips: + pic32mzdask >> +Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, >> but no unit name >> +Warning (unit_ad

[U-Boot] [PATCH 2/2] arm: socfpga: socrates: Add eth0 alias to enable ethernet

2016-04-18 Thread Stefan Roese
This enables full ethernet usage, including U-Boot to write the board specific MAC address (ethaddr) into the DT blob before passing it to Linux. Without this, the ethaddr is not detected in U-Boot at all, resulting in this error upon bootup: ... Model: EBV SOCrates Net: Error: ethernet@ff702000

[U-Boot] [PATCH 1/2] arm: socfpga: Fix typos in DT files (environmnet -> environment)

2016-04-18 Thread Stefan Roese
Fix a small typo in some of the SoCFPGA dts files that has spread via copy-and-paste. Signed-off-by: Stefan Roese Cc: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- arch/arm/dts/socfpga_arria5_socdk.dts| 2 +- arch/arm/dts/socfpga_cyclone5_socdk.dts | 2 +- arch/arm/dts/socfpga_cyclo

[U-Boot] [PATCH] powerpc/mpc85xx: set L2PE in L2CSR0 before enabling L2 cache

2016-04-18 Thread Aneesh Bansal
While enabling L2 cache, the value of L2PE (L2 cache parity/ECC error checking enable) must not be changed while the L2 cache is enabled. So, L2PE must be set before enabling L2 cache. Signed-off-by: Aneesh Bansal --- arch/powerpc/cpu/mpc85xx/start.S | 23 +++ 1 file changed,

Re: [U-Boot] [PATCH 2/2] serial_sh: Add standrad SCI (w/o FIFO) support

2016-04-18 Thread Andreas Färber
$subject: "standard" Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listi

Re: [U-Boot] [PATCH v4 1/3] net: designware: fix descriptor layout and warnings on 64-bit archs

2016-04-18 Thread Andreas Färber
Am 17.04.2016 um 09:48 schrieb Beniamino Galvani: > All members of the DMA descriptor must be 32-bit, even on 64-bit > architectures: change the type to u32 to ensure this. Also, fix > other warnings. > > Signed-off-by: Beniamino Galvani > --- > drivers/net/designware.c | 59 > +

Re: [U-Boot] [PATCH] env_ext4: fix build error.

2016-04-18 Thread Andreas Färber
Am 18.04.2016 um 09:55 schrieb Yoshinori Sato: > Signed-off-by: Yoshinori Sato > --- > common/env_ext4.c | 20 +++- > 1 file changed, 11 insertions(+), 9 deletions(-) > > diff --git a/common/env_ext4.c b/common/env_ext4.c > index ce748ed..5683890 100644 > --- a/common/env_ext4.c

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-18 Thread Roger Quadros
+Lukazs On 18/04/16 10:56, Roger Quadros wrote: > On 15/04/16 22:44, Steve Rae wrote: >> >> >> On Thu, Apr 14, 2016 at 3:18 AM, Roger Quadros > > wrote: >> >> Hi, >> >> On 13/04/16 19:56, Sam Protsenko wrote: >> > On Wed, Apr 13, 2016 at 3:32 PM, Roger Quadros > <

Re: [U-Boot] [PATCH 00/12] Introduce layout aware eeprom commands

2016-04-18 Thread Marek Vasut
On 04/18/2016 10:22 AM, Nikita Kiryanov wrote: > On Sun, Apr 17, 2016 at 11:00:09PM +0200, Marek Vasut wrote: >> On 04/17/2016 12:33 PM, Nikita Kiryanov wrote: >>> Hi Marek, >>> >>> On Sun, Apr 17, 2016 at 11:47:23AM +0200, Marek Vasut wrote: On 04/16/2016 04:55 PM, Nikita Kiryanov wrote:

Re: [U-Boot] [PATCH] arm: dts: socfpga: fix DTC unit name warnings

2016-04-18 Thread Marek Vasut
On 04/18/2016 01:20 PM, Heiko Schocher wrote: > Hello Marek, > > Am 18.04.2016 um 12:36 schrieb Marek Vasut: >> On 04/18/2016 06:55 AM, Heiko Schocher wrote: >>> Hello Marek, >>> >>> Am 15.04.2016 um 16:18 schrieb Marek Vasut: On 04/15/2016 12:41 PM, Heiko Schocher wrote: > Fix following

Re: [U-Boot] [PATCH] arm: dts: socfpga: fix DTC unit name warnings

2016-04-18 Thread Heiko Schocher
Hello Marek, Am 18.04.2016 um 12:36 schrieb Marek Vasut: On 04/18/2016 06:55 AM, Heiko Schocher wrote: Hello Marek, Am 15.04.2016 um 16:18 schrieb Marek Vasut: On 04/15/2016 12:41 PM, Heiko Schocher wrote: Fix following DTC warnings for all socfpga boards: Warning (unit_address_vs_reg): Node

Re: [U-Boot] [PATCH] arm: dts: socfpga: fix DTC unit name warnings

2016-04-18 Thread Marek Vasut
On 04/18/2016 12:00 PM, Pavel Machek wrote: > Hi! > >>> Hi! >>> Warning (unit_address_vs_reg): Node /soc/usbphy@0 has a unit name, but no reg property >>> >>> I don't know who produces the warnings, but perhaps fix the tool, >>> instead? >> >> This warnigns poping up with new DTC compil

Re: [U-Boot] [PATCH] arm: dts: socfpga: fix DTC unit name warnings

2016-04-18 Thread Marek Vasut
On 04/18/2016 06:55 AM, Heiko Schocher wrote: > Hello Marek, > > Am 15.04.2016 um 16:18 schrieb Marek Vasut: >> On 04/15/2016 12:41 PM, Heiko Schocher wrote: >>> Fix following DTC warnings for all socfpga boards: >>> Warning (unit_address_vs_reg): Node /memory has a reg or ranges >>> property, but

Re: [U-Boot] [PATCH 3/4] i2c: cdns: Support different bus speeds

2016-04-18 Thread Michal Simek
On 18.4.2016 09:08, Heiko Schocher wrote: > Hello Michal, > > Am 14.04.2016 um 14:15 schrieb Michal Simek: >> 400kHz is maximum freq which can be used on Xilinx ZynqMP. >> Support it with standard divider calculator. >> Input freq is hardcoded to 100MHz input freq till we have clock driver >> whic

Re: [U-Boot] [PATCH 7/9] arm: exynos: realign the code to allow support for newer 64-bit platforms

2016-04-18 Thread Minkyu Kang
Dear Thomas Abraham, On 13/04/16 19:43, Thomas Abraham wrote: > From: Thomas Abraham > > The existing Exynos 32-bit platform support needs to be realigned in > order to support newer 64-bit Exynos platforms. The driver model will > be utlized for drivers on the 64-bit Exynos platforms and so som

Re: [U-Boot] [PATCH] arm: dts: socfpga: fix DTC unit name warnings

2016-04-18 Thread Heiko Schocher
Hello Pavel, Am 18.04.2016 um 12:00 schrieb Pavel Machek: Hi! Hi! Warning (unit_address_vs_reg): Node /soc/usbphy@0 has a unit name, but no reg property I don't know who produces the warnings, but perhaps fix the tool, instead? This warnigns poping up with new DTC compilers, introduced

Re: [U-Boot] [PATCH v4 1/3] net: designware: fix descriptor layout and warnings on 64-bit archs

2016-04-18 Thread Alexander Graf
On 04/18/2016 12:57 PM, Beniamino Galvani wrote: On Sun, Apr 17, 2016 at 10:59:11PM +0200, Marek Vasut wrote: On 04/17/2016 01:14 PM, Beniamino Galvani wrote: On Sun, Apr 17, 2016 at 11:56:58AM +0200, Marek Vasut wrote: - desc_p->dmamac_addr = &txbuffs[idx * CONFIG_ETH_BUFSIZE];

Re: [U-Boot] [PATCH] usb: gadget: Disable gadget options in SPL

2016-04-18 Thread Lukasz Majewski
Hi Sam, > During Kconfig migrating process we missed to check some gadget > options for SPL_BUILD. Do it now to properly disable gadget in SPL > build for those platforms that disabled it before migrating options > to Kconfig. > > Signed-off-by: Sam Protsenko > --- > include/configs/am43xx_evm.

Re: [U-Boot] [PATCH v4 1/3] net: designware: fix descriptor layout and warnings on 64-bit archs

2016-04-18 Thread Beniamino Galvani
On Sun, Apr 17, 2016 at 10:59:11PM +0200, Marek Vasut wrote: > On 04/17/2016 01:14 PM, Beniamino Galvani wrote: > > On Sun, Apr 17, 2016 at 11:56:58AM +0200, Marek Vasut wrote: > >>> - desc_p->dmamac_addr = &txbuffs[idx * CONFIG_ETH_BUFSIZE]; > >>> - desc_p->dmamac_next = &desc_tabl

[U-Boot] [PATCH] arc/cache: really do flush_dcache_all() even if IOC exists

2016-04-18 Thread Alexey Brodkin
flush_dcache_all() is used in the very end of U-Boot self relocation to write back all copied and then patched code and data to their new location in the very end of available memory space. Since that has nothing to do with IO (i.e. no external DMA happens here) IOC won't help here and we need to

Re: [U-Boot] [PATCH] arm: dts: vf6: fix DTC unit warnings

2016-04-18 Thread Bhuvanchandra DV
On 04/18/2016 10:23 AM, Heiko Schocher wrote: Hello Bhuvanchandra DV, Am 15.04.2016 um 16:09 schrieb Bhuvanchandra DV: On 04/15/2016 04:28 PM, Heiko Schocher wrote: Fix following warnings for all vf6 based boards: Warning (unit_address_vs_reg): Node /soc/ifc@153/board-control@3,0/mdio-mux

Re: [U-Boot] [PATCH] arm: dts: socfpga: fix DTC unit name warnings

2016-04-18 Thread Pavel Machek
Hi! > >Hi! > > > >>Warning (unit_address_vs_reg): Node /soc/usbphy@0 has a unit name, > >> but no reg property > > > >I don't know who produces the warnings, but perhaps fix the tool, > >instead? > > This warnigns poping up with new DTC compilers, introduced from dtc > commit: IMO compiler shou

Re: [U-Boot] [PATCH v2] arm: dts: vf6: fix DTC unit warnings

2016-04-18 Thread Bhuvanchandra DV
On 04/18/2016 02:56 PM, Heiko Schocher wrote: Fix following warnings for all vf6 based boards: Freescale Vybrid and ls1021xx are different SoCs, may be we can split this patchset. Apart from that. Reviewed-by: Bhuvanchandra DV Warning (unit_address_vs_reg): Node /soc/ifc@153/board-co

[U-Boot] [PATCH 2/2 v2] powerpc:t4240: MAC9 and MAC10 should not be identified as 1G interface in some case

2016-04-18 Thread ying.zhang
From: Ying Zhang When using rcw protocols to support 10G on MAC9 and MAC10, these MACs should not be identified as 1G interface, otherwise, one MAC will be listed as two Ethernet ports. For example, MAC9 will be listed as FM1@TGEC1 and FM1@DTSEC9. Signed-off-by: Ying Zhang --- [changed from v1]

[U-Boot] [PATCH 1/2 v2] powerpc:t4240rdb: Disable the non-existent ethernet port on T4240RDB

2016-04-18 Thread ying.zhang
From: Ying Zhang There are 12 ethernet port on T4240RDB, but there need to set 16 MAC addressed for ethernets. There need to disable non-existent ethernet ports in U-boot Signed-off-by: Ying Zhang --- [changed from v1]: --- update the title. board/freescale/t4rdb/eth.c | 5 + 1 file chan

[U-Boot] [PATCH v2] arm: dts: vf6: fix DTC unit warnings

2016-04-18 Thread Heiko Schocher
Fix following warnings for all vf6 based boards: Warning (unit_address_vs_reg): Node /soc/ifc@153/board-control@3,0/mdio-mux-emi1 has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /soc/aips-bus@4000 has a unit name, but no reg property Warning (unit_addr

Re: [U-Boot] [PATCH] arm: dts: vf6: fix DTC unit warnings

2016-04-18 Thread Heiko Schocher
Hello Bhuvanchandra DV, Am 18.04.2016 um 10:37 schrieb Bhuvanchandra DV: On 04/18/2016 10:23 AM, Heiko Schocher wrote: Hello Bhuvanchandra DV, Am 15.04.2016 um 16:09 schrieb Bhuvanchandra DV: On 04/15/2016 04:28 PM, Heiko Schocher wrote: Fix following warnings for all vf6 based boards: Warn

Re: [U-Boot] SYS_MALLOC_SIMPLE versus SPL_SYS_MALLOC_SIMPLE?

2016-04-18 Thread Hans de Goede
Hi, On 16-04-16 10:58, Robert P. J. Day wrote: (WARNING: many potentially dumb questions coming this weekend as i try to put together a u-boot tutorial for some upcoming presentations. please be patient ... ) i had a much longer question about the config option SYS_MALLOC_SIMPLE until i

Re: [U-Boot] [PATCH 00/12] Introduce layout aware eeprom commands

2016-04-18 Thread Nikita Kiryanov
On Sun, Apr 17, 2016 at 11:00:09PM +0200, Marek Vasut wrote: > On 04/17/2016 12:33 PM, Nikita Kiryanov wrote: > > Hi Marek, > > > > On Sun, Apr 17, 2016 at 11:47:23AM +0200, Marek Vasut wrote: > >> On 04/16/2016 04:55 PM, Nikita Kiryanov wrote: > >>> This series introduces eeprom layout aware capa

[U-Boot] [PATCH] env_ext4: fix build error.

2016-04-18 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- common/env_ext4.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/common/env_ext4.c b/common/env_ext4.c index ce748ed..5683890 100644 --- a/common/env_ext4.c +++ b/common/env_ext4.c @@ -25,6 +25,7 @@ #include #include

[U-Boot] [PATCH 2/2] serial_sh: Add standrad SCI (w/o FIFO) support

2016-04-18 Thread Yoshinori Sato
Add support for standard type SCI (without FIFO) port. Signed-off-by: Yoshinori Sato --- doc/device-tree-bindings/serial/sh.txt | 2 +- drivers/serial/serial_sh.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/device-tree-bindings/serial/sh.txt b/doc/devi

[U-Boot] [PATCH 1/2] serial_sh: Device Tree support

2016-04-18 Thread Yoshinori Sato
Add Device Tree bindings. Signed-off-by: Yoshinori Sato --- doc/device-tree-bindings/serial/sh.txt | 6 ++ drivers/serial/serial_sh.c | 28 2 files changed, 34 insertions(+) create mode 100644 doc/device-tree-bindings/serial/sh.txt diff --git a/doc

[U-Boot] [PATCH] pci: Device scanning range fix.

2016-04-18 Thread Yoshinori Sato
Don't lookup pci device 1f.7 Signed-off-by: Yoshinori Sato --- drivers/pci/pci-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c index c7fbf7b..32590ce 100644 --- a/drivers/pci/pci-uclass.c +++ b/drivers/pci/pci-uclas

Re: [U-Boot] [PATCH] fastboot: Fix OUT transaction length alignment

2016-04-18 Thread Roger Quadros
On 15/04/16 22:44, Steve Rae wrote: > > > On Thu, Apr 14, 2016 at 3:18 AM, Roger Quadros > wrote: > > Hi, > > On 13/04/16 19:56, Sam Protsenko wrote: > > On Wed, Apr 13, 2016 at 3:32 PM, Roger Quadros > wrote: > >> Hi, > >> >

Re: [U-Boot] [PATCH 4/4] i2c: muxes: Add support for TI PCA954X mux

2016-04-18 Thread Heiko Schocher
Hello Michal, Am 14.04.2016 um 14:15 schrieb Michal Simek: Add support for common TI i2c mux which is available on ZynqMP zcu102 board. DM i2c mux core code is selecting/deselecting bus before/after every command is performed that's why only one channel is active at a time. That's also the reaso

Re: [U-Boot] [PATCH 3/4] i2c: cdns: Support different bus speeds

2016-04-18 Thread Heiko Schocher
Hello Michal, Am 14.04.2016 um 14:15 schrieb Michal Simek: 400kHz is maximum freq which can be used on Xilinx ZynqMP. Support it with standard divider calculator. Input freq is hardcoded to 100MHz input freq till we have clock driver which can provide this information for exact configuration. S

Re: [U-Boot] [PATCH] ARM: always perform per-CPU GIC init

2016-04-18 Thread Masahiro Yamada
2016-04-16 5:40 GMT+09:00 Stephen Warren : > From: Stephen Warren > > The current code in ARMv8's lowlevel_init() skips the per-CPU GIC > initialization ifndef CONFIG_ARMV8_MULTIENTRY. However, the per-CPU init > should always occur; it's just the one-time init that should only happen > on the mas