[U-Boot] [RFC PATCH] usb: dwc2: handle bcm2835 phys->virt address translations

2015-03-12 Thread Stephen Warren
BCM2835 bus addresses use the top 2 bits to determine whether peripherals use or bypass the GPU L1 and L2 cache. BCM2835-ARM-Peripherals.pdf states that: 0: L1 & L2 cached 4: L2 cache coherent (non allocaing) 8: L2 cached only c: Direct uncached. That document also states that "Software accessing

[U-Boot] Patch to mkenvimage to handle text files with length that exceed env size

2015-03-12 Thread Brian McFarland
The current head revision of mkenvimage (e72be8947e129f5ab274c0a9f235d2cc0014b2ea) will prevent you from creating an env image from a text file that is larger than the env length specified by the '-s' option. That doesn't make sense given that the tool now allows comments and blank lines. This pa

[U-Boot] Wrong clocks computed when PCI_HOST disabled on MPC8313

2015-03-12 Thread ir. Tjeerd Pinkert
Hello, I'm doing some work on the MPC8313, while not using the PCI bus. In order to compute the correct clocks I must set HRCWH_PCI_HOST in my configuration in order to compute the correct clock values (U-Boot clocks command, and startup message). I can live with PCI_HOST, so I will leave thi

Re: [U-Boot] Question about board-specific Makefile actions

2015-03-12 Thread Masahiro Yamada
Hi Simon, 2015-03-13 3:55 GMT+09:00 Simon Glass : >> >> 2) More generally, I'd like to be able to add some arbitrary make steps that >> are peculiar to my boards Makefile, but I can't figure this out either, so >> far. >> >> I've tried adding my_all to extra-y and then adding steps for my_all, >

Re: [U-Boot] Question about board-specific Makefile actions

2015-03-12 Thread Masahiro Yamada
Hi James, 2015-03-13 3:35 GMT+09:00 James Chargin : > I could still use some help with this from someone who really knows how the > make system works. > > Tom and Simon provided hints that were helpful, as I note below. > > > On 03/09/2015 08:34 AM, James Chargin wrote: >> >> So, is no one willi

Re: [U-Boot] [PATCH] autoboot.c: Add feature to stop autobooting via SHA256 encrypted password

2015-03-12 Thread Simon Glass
Hi, On 11 March 2015 at 08:36, Tom Rini wrote: > > On Wed, Mar 11, 2015 at 09:51:37AM +0100, Stefan Roese wrote: > > > This patch adds the feature to only stop the autobooting, and therefor > > boot into the U-Boot prompt, when the input string / password matches > > a values that is encypted via

Re: [U-Boot] [PATCH v2] T2080QDS/PCIe: Soft Reset PCIe for down-training issue

2015-03-12 Thread qiang.z...@freescale.com
> -Original Message- > From: Kushwaha Prabhakar-B32579 > Sent: Wednesday, March 11, 2015 8:12 PM > To: Zhao Qiang-B45475; u-boot@lists.denx.de; Sun York-R58495 > Cc: Zhao Qiang-B45475 > Subject: RE: [U-Boot] [PATCH v2] T2080QDS/PCIe: Soft Reset PCIe for down- > training issue > > Hi Zhao,

Re: [U-Boot] [PATCH 2/2] x86: galileo: Enable saving environment in SPI flash

2015-03-12 Thread Bin Meng
Hi Simon, On Fri, Mar 13, 2015 at 6:15 AM, Simon Glass wrote: > On 11 March 2015 at 02:22, Bin Meng wrote: >> Saving U-Boot's environment in SPI flash on Intel Galileo board. >> >> Signed-off-by: Bin Meng >> --- >> >> include/configs/galileo.h | 8 >> 1 file changed, 8 insertions(+) >

Re: [U-Boot] [PATCH] Odroid-XU3: Undefine TRACE CONFIGs in Odroid XU3

2015-03-12 Thread Inha Song
Hi, Simon, On Thu, 12 Mar 2015 15:11:05 -0700 Simon Glass wrote: > Hi, > > On 12 March 2015 at 00:27, Sjoerd Simons > wrote: > > > > On Thu, 2015-03-12 at 14:32 +0900, Inha Song wrote: > > > This patch undefines Trace configs in Odroidx XU3. > > > Trace configs are defined in exynos5-common.h

Re: [U-Boot] MinnowBoard Max uboot

2015-03-12 Thread Simon Glass
Hi Thomas, On 11 March 2015 at 05:06, Beaman, Thomas wrote: > Thank you, can you keep me updated if possible. OK I'll see if I can copy you on the patches. Regards, Simon > > Tom > > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Tu

Re: [U-Boot] Clearing silent environment variable not taking affect at boot

2015-03-12 Thread Simon Glass
Hi Chris, On 10 March 2015 at 20:22, Chris Packham wrote: > Hi, > > I have a board using SPI flash for it's boot-loader and environment, > I'm currently based of u-boot 2014.01. In my boards config file I have > the following > > #define CONFIG_SILENT_CONSOLE > #define CONFIG_SILENT_U_BOOT_ONLY >

Re: [U-Boot] [PATCH 2/2] x86: galileo: Enable saving environment in SPI flash

2015-03-12 Thread Simon Glass
On 11 March 2015 at 02:22, Bin Meng wrote: > Saving U-Boot's environment in SPI flash on Intel Galileo board. > > Signed-off-by: Bin Meng > --- > > include/configs/galileo.h | 8 > 1 file changed, 8 insertions(+) > > diff --git a/include/configs/galileo.h b/include/configs/galileo.h > i

Re: [U-Boot] [PATCH 1/2] x86: crownbay: Enable saving environment in SPI flash

2015-03-12 Thread Simon Glass
On 11 March 2015 at 02:22, Bin Meng wrote: > Saving U-Boot's environment in SPI flash on Intel CrownBay board. > > Signed-off-by: Bin Meng > --- > > include/configs/crownbay.h | 8 > 1 file changed, 8 insertions(+) > > diff --git a/include/configs/crownbay.h b/include/configs/crownbay.h

Re: [U-Boot] [PATCH] x86: quark: Enable on-chip ethernet controllers

2015-03-12 Thread Simon Glass
Hi Bin, On 10 March 2015 at 20:25, Bin Meng wrote: > Intel Quark SoC integrates two 10/100 ethernet controllers which can > be connected to an external RMII PHY. The MAC IP is from Designware. > Enable this support with the existing U-Boot Designware MAC driver > so that the ethernet port on Inte

Re: [U-Boot] [PATCH] Odroid-XU3: Undefine TRACE CONFIGs in Odroid XU3

2015-03-12 Thread Simon Glass
Hi, On 12 March 2015 at 00:27, Sjoerd Simons wrote: > > On Thu, 2015-03-12 at 14:32 +0900, Inha Song wrote: > > This patch undefines Trace configs in Odroidx XU3. > > Trace configs are defined in exynos5-common.h > > Would be great to explain why you want to disable trace on this specific > board

[U-Boot] [PATCH] config: peach: Correct memory layout environment settings

2015-03-12 Thread Sjoerd Simons
The peach boards have their SDRAM start address at 0x2000 instead of 0x4000 which seems common for all other exynos5 based boards. This means the layout set in exynos5-common.h causes the kernel be loaded more then 128MB (at 0x4200) away from memory start which breaks booting kernels wi

[U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-12 Thread Dileep Katta
g_dnl_gadget_register() fails for dra7xx dwc3 gadget when running cmd_fastboot. Calling board_usb_init() to fix this. fastboot command is now added with an optional controller index argument with default value as 0, to facilitate configurable controller index. Signed-off-by: Angela Stegmaier Sign

Re: [U-Boot] [PATCH v1 1/4] ARM: DRA7XX: Add config file for Android with fastboot support

2015-03-12 Thread Tom Rini
On Thu, Mar 12, 2015 at 12:01:15PM +0530, Dileep Katta wrote: > Hi Tom and Lukasz, > > On 4 March 2015 at 22:22, Tom Rini wrote: > > > On Tue, Mar 03, 2015 at 04:40:41PM +0530, Dileep Katta wrote: > > > > > Signed-off-by: Angela Stegmaier > > > Signed-off-by: Dileep Katta > > > --- > > > arch

Re: [U-Boot] Question about board-specific Makefile actions

2015-03-12 Thread Simon Glass
+Masahiro Hi James, On 12 March 2015 at 12:35, James Chargin wrote: > I could still use some help with this from someone who really knows how the > make system works. > > Tom and Simon provided hints that were helpful, as I note below. > > > On 03/09/2015 08:34 AM, James Chargin wrote: >> >> So,

Re: [U-Boot] Question about board-specific Makefile actions

2015-03-12 Thread James Chargin
I could still use some help with this from someone who really knows how the make system works. Tom and Simon provided hints that were helpful, as I note below. On 03/09/2015 08:34 AM, James Chargin wrote: So, is no one willing to offer a hint? Thanks, Jim On 03/03/2015 01:39 PM, James Chargi

Re: [U-Boot] [PATCH] fastboot: check for alias when looking up partition by name

2015-03-12 Thread Steve Rae
On 15-03-12 10:17 AM, Michael Scott wrote: On 03/12/2015 09:23 AM, Steve Rae wrote: On 15-03-11 10:02 AM, Michael Scott wrote: Implement an alias name check for devices where GPT limitations prevent user-friendly partition names such as "boot", "system" and "cache". Or, where the actual pa

Re: [U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-12 Thread Marek Vasut
On Thursday, March 12, 2015 at 09:55:57 AM, Lukasz Majewski wrote: Hi! [...] > > We are not getting controller Index as an argument for fastboot > > function. Might have to add extra logic to get the same. > > But do we need configurable index here for fastboot? > > Experts, please advise. > >

Re: [U-Boot] [PATCH] fastboot: check for alias when looking up partition by name

2015-03-12 Thread Michael Scott
On 03/12/2015 09:23 AM, Steve Rae wrote: On 15-03-11 10:02 AM, Michael Scott wrote: Implement an alias name check for devices where GPT limitations prevent user-friendly partition names such as "boot", "system" and "cache". Or, where the actual partition name doesn't match a standard partitio

Re: [U-Boot] [PATCH v4 2/8] lpc32xx: mtd: nand: add MLC NAND controller

2015-03-12 Thread Albert ARIBAUD
Le Thu, 12 Mar 2015 16:48:43 +0100, "Albert ARIBAUD (3ADEV)" a écrit : > The controller's Reed-Solomon ECC hardware is > used except of course for raw reads and writes. > It covers in- and out-of-band data together. > > The SPL framework is supported. > > Signed-off-by: Albert ARIBAUD (3ADEV)

Re: [U-Boot] [PATCH 4/4] common/lcd_console: introduce display/framebuffer rotation

2015-03-12 Thread Hannes Petermaier
On 2015-03-12 13:26, Igor Grinberg wrote: Hi Hannes, Hi Igor, thanks for response. #endif - /* Paint the logo and retrieve LCD base address */ - debug("[LCD] Drawing the logo...\n"); -#if defined(CONFIG_LCD_LOGO) && !defined(CONFIG_LCD_INFO_BELOW_LOGO) - console_rows = (pan

Re: [U-Boot] [PATCH] fastboot: check for alias when looking up partition by name

2015-03-12 Thread Steve Rae
On 15-03-11 10:02 AM, Michael Scott wrote: Implement an alias name check for devices where GPT limitations prevent user-friendly partition names such as "boot", "system" and "cache". Or, where the actual partition name doesn't match a standard partition name used commonly with fastboot. To set

[U-Boot] [PATCH v4 5/8] lpc32xx: add LPC32xx SSP support (SPI mode)

2015-03-12 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) --- Changes in v4: None Changes in v3: - move regs and functions in private struct Changes in v2: - added MUX setting for SSP0 arch/arm/cpu/arm926ejs/lpc32xx/devices.c | 14 +++ arch/arm/include/asm/arch-lpc32xx/clk.h | 3 + arch/arm/include/

Re: [U-Boot] [PATCH 3/3 v2] arm: mx6: tqma6: Extract baseboard configs into separate config file

2015-03-12 Thread Markus Niebel
Am 12.03.2015 um 16:34 schrieb Stefan Roese: > This patch extracts all baseboard specific defines into a separate config > file. > This makes it easier to add other baseboards that use the TQMa6 SoM. > > This patch will be used by the upcoming WRU-IV board support which also > uses the TQMa6 SoM.

[U-Boot] [PATCH v4 1/8] lpc32xx: add Ethernet support

2015-03-12 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/arm926ejs/lpc32xx/cpu.c | 9 + arch/arm/cpu/arm926ejs/lpc32xx/devices.c | 7 + arch/arm/include/asm/arch-lpc32xx/config.h| 3 + arch/arm/include/asm/arch-lp

[U-Boot] [PATCH v4 2/8] lpc32xx: mtd: nand: add MLC NAND controller

2015-03-12 Thread Albert ARIBAUD (3ADEV)
The controller's Reed-Solomon ECC hardware is used except of course for raw reads and writes. It covers in- and out-of-band data together. The SPL framework is supported. Signed-off-by: Albert ARIBAUD (3ADEV) --- Changes in v4: - remove two debugging statements - add __iomem to regs struct - re

[U-Boot] [PATCH v4 6/8] dtt: add ds620 support

2015-03-12 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) --- Changes in v4: None Changes in v3: None Changes in v2: - cosmetic: added a blank line before copyright drivers/hwmon/Makefile | 1 + drivers/hwmon/ds620.c | 65 ++ include/dtt.h | 15 ++-

[U-Boot] [PATCH v4 4/8] lpc32xx: add GPIO support

2015-03-12 Thread Albert ARIBAUD (3ADEV)
This driver only supports Driver Model, not legacy model. Signed-off-by: Albert ARIBAUD (3ADEV) --- Changes in v4: None Changes in v3: - move DM dependency constraint into Kconfig - move regs pointer and function cache into private struct - discourage readers from using functions implementation

[U-Boot] [PATCH v4 8/8] lpc32xx: add support for board work_92105

2015-03-12 Thread Albert ARIBAUD (3ADEV)
Work_92105 from Work Microwave is an LPC3250- based board with the following features: - 64MB SDR DRAM - 1 GB SLC NAND, managed through MLC controller. - Ethernet - Ethernet + PHY SMSC8710 - I2C: - EEPROM (24M01-compatible) - RTC (DS1374-compatible) - Temperature sensor (DS620) - DACs (2 x

[U-Boot] [PATCH v4 3/8] lpc32xx: i2c: add LPC32xx I2C interface support

2015-03-12 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/arm926ejs/lpc32xx/devices.c | 11 ++ arch/arm/include/asm/arch-lpc32xx/clk.h | 4 + arch/arm/include/asm/arch-lpc32xx/cpu.h | 2 + arch/arm/include/asm/arch-l

[U-Boot] [PATCH v4 7/8] lpc32xx: add lpc32xx-spl.bin boot image target

2015-03-12 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) --- Changes in v4: None Changes in v3: - remove script/Makefile.spl change Changes in v2: - move boot image generation to mkimage framework common/image.c | 1 + include/image.h | 1 + tools/Makefile | 1 + tools/lpc32xximage.c | 178

[U-Boot] [PATCH v4 0/8] Extend LPC32xx functionality and add LPC32xx-based work_92015 board

2015-03-12 Thread Albert ARIBAUD (3ADEV)
This series extends functionality for the LPC32xx platform and introduces the WORK Microwave work_92105 board which makes use of the extended functionality. NOTES: A - I2C driver remains non-DM During v2 review, it was suggested to move to DM for I2C. However, this caused issues with the 'date',

Re: [U-Boot] [PATCH] mx6: Set shared override bit in PL310 AUX_CTRL register

2015-03-12 Thread Nishanth Menon
On Thu, Mar 12, 2015 at 10:15 AM, Fabio Estevam wrote: > On Thu, Mar 12, 2015 at 11:43 AM, Nishanth Menon wrote: > >> I dont think this works for OMAP4 (which also uses A9, PL310) - we use >> an smc #0 with service 0x109 (I have to reconfirm) to set l2 aux_ctrl. >> >> https://git.kernel.org/cgit/

[U-Boot] [PATCH 3/3 v2] arm: mx6: tqma6: Extract baseboard configs into separate config file

2015-03-12 Thread Stefan Roese
This patch extracts all baseboard specific defines into a separate config file. This makes it easier to add other baseboards that use the TQMa6 SoM. This patch will be used by the upcoming WRU-IV board support which also uses the TQMa6 SoM. Signed-off-by: Stefan Roese Cc: Markus Niebel Cc: Stef

Re: [U-Boot] [PATCH] powerpc/t1023rdb: add ddr support for t1023rdb

2015-03-12 Thread York Sun
Shengzhou, On 03/12/2015 02:43 AM, Shengzhou Liu wrote: > Tested on the discrete DDR4 MT40A512M8HX with raw timing on T1023RDB. > > Signed-off-by: Shengzhou Liu > --- > board/freescale/t102xrdb/ddr.c | 78 > +- > 1 file changed, 77 insertions(+), 1 delet

Re: [U-Boot] [PATCH 3/3] arm: mx6: tqma6: Extract baseboard configs into separate config file

2015-03-12 Thread Stefan Roese
Hi Markus, On 12.03.2015 15:17, Markus Niebel wrote: I like the idea - did not know at time when we brought it to > mainline that splitting configs is an allowed way. No, I'm not aware of such a thing. This proposed config file addition for the baseboard makes integration of multiple basebo

Re: [U-Boot] [PATCH 2/3] arm: mx6: tqma6: Update to optionally configure an alternative SPI setup

2015-03-12 Thread Stefan Roese
Hi Markus, On 12.03.2015 15:25, Markus Niebel wrote: Am 12.03.2015 um 13:34 schrieb Stefan Roese: By making the tqma6_iomuxc_spi() weak, this patch adds the possibility to add a different function for this SPI configuration. This can be used by other baseboards, that might have a different SPI

Re: [U-Boot] [PATCH] mx6: Set shared override bit in PL310 AUX_CTRL register

2015-03-12 Thread Fabio Estevam
On Thu, Mar 12, 2015 at 11:43 AM, Nishanth Menon wrote: > I dont think this works for OMAP4 (which also uses A9, PL310) - we use > an smc #0 with service 0x109 (I have to reconfirm) to set l2 aux_ctrl. > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/mach-omap2/om

Re: [U-Boot] [PATCH] mx6: Set shared override bit in PL310 AUX_CTRL register

2015-03-12 Thread Nishanth Menon
On 03/12/2015 09:25 AM, Fabio Estevam wrote: > Tom/Nishanth, > > On Thu, Mar 12, 2015 at 10:57 AM, Fabio Estevam wrote: >> On Thu, Mar 12, 2015 at 10:41 AM, Tom Rini wrote: >> >>> We should put this somewhere a bit more common that other A9 cores can >>> also call into like OMAP4, SoCFPGA and ma

[U-Boot] [PATCH] dfu: cmd: trigger watchdog before calling usb_gadget_handle_interrupts

2015-03-12 Thread Heiko Schocher
trigger watchdog before calling usb_gadget_handle_interrupts() This prevents board resets when calling dfu command on boards which have a watchdog. Signed-off-by: Heiko Schocher --- common/cmd_dfu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/cmd_dfu.c b/common/cmd_dfu.c index

Re: [U-Boot] [PATCH 2/3] arm: mx6: tqma6: Update to optionally configure an alternative SPI setup

2015-03-12 Thread Markus Niebel
Hello Stefan, Am 12.03.2015 um 13:34 schrieb Stefan Roese: > By making the tqma6_iomuxc_spi() weak, this patch adds the possibility to > add a different function for this SPI configuration. This can be used > by other baseboards, that might have a different SPI setup. > > This patch will be used

Re: [U-Boot] [PATCH 3/3] arm: mx6: tqma6: Extract baseboard configs into separate config file

2015-03-12 Thread Markus Niebel
Hello Stefan, I like the idea - did not know at time when we brought it to mainline that splitting configs is an allowed way. See comment. Am 12.03.2015 um 13:34 schrieb Stefan Roese: > This patch extracts all baseboard specific defines into a separate config > file. > This makes it easier to a

Re: [U-Boot] [PATCH] mx6: Set shared override bit in PL310 AUX_CTRL register

2015-03-12 Thread Fabio Estevam
Tom/Nishanth, On Thu, Mar 12, 2015 at 10:57 AM, Fabio Estevam wrote: > On Thu, Mar 12, 2015 at 10:41 AM, Tom Rini wrote: > >> We should put this somewhere a bit more common that other A9 cores can >> also call into like OMAP4, SoCFPGA and maybe zynq later (based on a >> quick git grep pl310). >

Re: [U-Boot] 4K padding of ARM DT blob

2015-03-12 Thread Yehuda Yitschak
Thanks a lot Masahiro Yehuda > -Original Message- > From: Masahiro Yamada [mailto:yamada.masah...@socionext.com] > Sent: Thursday, March 12, 2015 11:50 > To: Yehuda Yitschak > Cc: Tom Rini; Hanna Hawa; u-boot@lists.denx.de > Subject: Re: [U-Boot] 4K padding of ARM DT blob > > Hi. > > >

Re: [U-Boot] [PATCH] mx6: Set shared override bit in PL310 AUX_CTRL register

2015-03-12 Thread Nishanth Menon
On 03/11/2015 03:12 PM, Fabio Estevam wrote: > From: Fabio Estevam > > Having bit 22 cleared in the PL310 Auxiliary Control register (shared > attribute override enable) has the side effect of transforming Normal > Shared Non-cacheable reads into Cacheable no-allocate reads. > > Coherent DMA buf

Re: [U-Boot] [PATCH 1/3] arm: mx6: tqma6: Fix USB and add other filesystems

2015-03-12 Thread Markus Niebel
Am 12.03.2015 um 13:34 schrieb Stefan Roese: > This patch fixes the USB EHCI support on the TQMa6 SoM. Additionally > some filesystems are added, included the generic FS commands (e.g. > ls...). > > Signed-off-by: Stefan Roese > Cc: Markus Niebel > Cc: Stefano Babic > --- > include/configs/tqm

Re: [U-Boot] [PATCH] mx6: Set shared override bit in PL310 AUX_CTRL register

2015-03-12 Thread Fabio Estevam
On Thu, Mar 12, 2015 at 10:41 AM, Tom Rini wrote: > We should put this somewhere a bit more common that other A9 cores can > also call into like OMAP4, SoCFPGA and maybe zynq later (based on a > quick git grep pl310). I thought about it as well, but I didn't find a suitable common place for putt

Re: [U-Boot] [PATCH v5 01/14] sun7i: Remove duplicate call to psci_arch_init

2015-03-12 Thread Jan Kiszka
Am 2015-03-12 um 13:28 schrieb Tom Rini: > On Thu, Mar 12, 2015 at 08:34:34AM +0100, Jan Kiszka wrote: >> Am 2015-03-11 um 16:11 schrieb Tom Rini: >>> On Mon, Mar 09, 2015 at 08:00:11AM +0100, Jan Kiszka wrote: >>> This is already invoked a few cycles later in monitor mode by _secure_moni

Re: [U-Boot] [PATCH] mx6: Set shared override bit in PL310 AUX_CTRL register

2015-03-12 Thread Tom Rini
On Wed, Mar 11, 2015 at 05:12:12PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Having bit 22 cleared in the PL310 Auxiliary Control register (shared > attribute override enable) has the side effect of transforming Normal > Shared Non-cacheable reads into Cacheable no-allocate reads. >

Re: [U-Boot] "Writing to MMC(%d)... failed"

2015-03-12 Thread Nathan
I had tried another card with the same result. I didn't think it would be a problem since the hardkernel's release still works. I expanded the output by defining "DEBUG" and am updating my thread with my new findings: ... Bound device i2c@138d to root_driver - ignoring disabled device

[U-Boot] [PATCH 1/3] arm: mx6: tqma6: Fix USB and add other filesystems

2015-03-12 Thread Stefan Roese
This patch fixes the USB EHCI support on the TQMa6 SoM. Additionally some filesystems are added, included the generic FS commands (e.g. ls...). Signed-off-by: Stefan Roese Cc: Markus Niebel Cc: Stefano Babic --- include/configs/tqma6.h | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(

[U-Boot] [PATCH 3/3] arm: mx6: tqma6: Extract baseboard configs into separate config file

2015-03-12 Thread Stefan Roese
This patch extracts all baseboard specific defines into a separate config file. This makes it easier to add other baseboards that use the TQMa6 SoM. This patch will be used by the upcoming WRU-IV board support which also uses the TQMa6 SoM. Signed-off-by: Stefan Roese Cc: Markus Niebel Cc: Stef

[U-Boot] [PATCH 2/3] arm: mx6: tqma6: Update to optionally configure an alternative SPI setup

2015-03-12 Thread Stefan Roese
By making the tqma6_iomuxc_spi() weak, this patch adds the possibility to add a different function for this SPI configuration. This can be used by other baseboards, that might have a different SPI setup. This patch will be used by the upcoming WRU-IV board support which also uses the TQMa6 SoM. S

Re: [U-Boot] [PATCH v5 08/14] virt-dt: Allow reservation of secure region when in a RAM carveout

2015-03-12 Thread Tom Rini
On Thu, Mar 12, 2015 at 09:18:01AM +0100, Thierry Reding wrote: > On Wed, Mar 11, 2015 at 11:12:25AM -0400, Tom Rini wrote: > > * PGP Signed by an unknown key > > > > On Mon, Mar 09, 2015 at 08:00:18AM +0100, Jan Kiszka wrote: > > > > > In this case the secure code lives in RAM, and hence the mem

Re: [U-Boot] [PATCH v5 01/14] sun7i: Remove duplicate call to psci_arch_init

2015-03-12 Thread Tom Rini
On Thu, Mar 12, 2015 at 08:34:34AM +0100, Jan Kiszka wrote: > Am 2015-03-11 um 16:11 schrieb Tom Rini: > > On Mon, Mar 09, 2015 at 08:00:11AM +0100, Jan Kiszka wrote: > > > >> This is already invoked a few cycles later in monitor mode by > >> _secure_monitor. Drop it here, it serves no purpose. >

Re: [U-Boot] [PATCH 4/4] common/lcd_console: introduce display/framebuffer rotation

2015-03-12 Thread Igor Grinberg
Hi Hannes, On 03/11/15 14:57, Hannes Petermaier wrote: > From: Hannes Petermaier > > Sometimes, for example if the display is mounted in portrait mode or even if > it > mounted landscape but rotated by 180 degrees, we need to rotate our content of > the display respectively the framebuffer, so

Re: [U-Boot] [PATCH 1/2][v2] pci/layerscape: remove unnecessary pcie_layerscape.h

2015-03-12 Thread Tom Rini
On Thu, Mar 12, 2015 at 10:58:48AM +0800, Minghuan Lian wrote: > The patch uses the common function name ft_pci_setup to replace > ft_pcie_setup, then removes unnecessary pcie_layerscape.h because > all the functions have been declared in common.h. > > Signed-off-by: Minghuan Lian Thanks for re

Re: [U-Boot] [PATCH v2] misc: led: Add PCA9551 LED driver

2015-03-12 Thread Fabio Estevam
On Thu, Mar 12, 2015 at 7:22 AM, Stefan Roese wrote: > This patch adds a driver for the PCA9551 LED controller. > > Originated-by: Timo Herbrecher > Signed-off-by: Stefan Roese > Reviewed-by: Tom Rini > Cc: Fabio Estevam Reviewed-by: Fabio Estevam

Re: [U-Boot] [PATCH] mx6: Set shared override bit in PL310 AUX_CTRL register

2015-03-12 Thread Catalin Marinas
On Thu, Mar 12, 2015 at 01:04:31AM +, Russell King - ARM Linux wrote: > On Wed, Mar 11, 2015 at 05:12:12PM -0300, Fabio Estevam wrote: > > From: Fabio Estevam > > > > Having bit 22 cleared in the PL310 Auxiliary Control register (shared > > attribute override enable) has the side effect of tr

Re: [U-Boot] [PATCH] mx6: Set shared override bit in PL310 AUX_CTRL register

2015-03-12 Thread Catalin Marinas
On Wed, Mar 11, 2015 at 08:12:12PM +, Fabio Estevam wrote: > From: Fabio Estevam > > Having bit 22 cleared in the PL310 Auxiliary Control register (shared > attribute override enable) has the side effect of transforming Normal > Shared Non-cacheable reads into Cacheable no-allocate reads. >

[U-Boot] [PATCH] net/phy: Add support for realtek RTL8211F

2015-03-12 Thread Shengzhou Liu
RTL8211F has different registers from RTL8211E. This patch adds support for RTL8211F PHY which can be found on Freescale's T1023 RDB board. Signed-off-by: Shengzhou Liu --- drivers/net/phy/realtek.c | 84 +++ 1 file changed, 84 insertions(+) diff --gi

[U-Boot] [PATCH v2] misc: led: Add PCA9551 LED driver

2015-03-12 Thread Stefan Roese
This patch adds a driver for the PCA9551 LED controller. Originated-by: Timo Herbrecher Signed-off-by: Stefan Roese Reviewed-by: Tom Rini Cc: Fabio Estevam --- v2: - Removed __packed fromstruct pca9551_blink_rate as it doesn't seem to be needed - Removed PCA9551 dependency from Kconfig to a

[U-Boot] [PATCH v2] autoboot.c: Add feature to stop autobooting via SHA256 encrypted password

2015-03-12 Thread Stefan Roese
This patch adds the feature to only stop the autobooting, and therefor boot into the U-Boot prompt, when the input string / password matches a values that is encypted via a SHA256 hash and saved in the environment. This feature is enabled by defined these config options: CONFIG_AUTOBOOT_KEYED

[U-Boot] [PATCH] powerpc/t1023rdb: add ddr support for t1023rdb

2015-03-12 Thread Shengzhou Liu
Tested on the discrete DDR4 MT40A512M8HX with raw timing on T1023RDB. Signed-off-by: Shengzhou Liu --- board/freescale/t102xrdb/ddr.c | 78 +- 1 file changed, 77 insertions(+), 1 deletion(-) diff --git a/board/freescale/t102xrdb/ddr.c b/board/freescale/t1

[U-Boot] [PATCH] powerpc/t1023rdb: Add T1023 RDB board support

2015-03-12 Thread Shengzhou Liu
T1023RDB is a Freescale Reference Design Board that hosts the T1023 SoC. T1023RDB board Overview --- - T1023 SoC integrating two 64-bit e5500 cores up to 1.4GHz - CoreNet fabric supporting coherent and noncoherent transactions with prioritization and bandwidth allocation - SD

[U-Boot] [RFC PATCH] PMIC: add act8865 series support

2015-03-12 Thread Bo Shen
Add Active-Semi act8865 series PMU support. Signed-off-by: Bo Shen --- drivers/power/Makefile | 1 + drivers/power/act8865.c | 104 include/act8865.h | 54 + 3 files changed, 159 insertions(+) create mode 100644

Re: [U-Boot] 4K padding of ARM DT blob

2015-03-12 Thread Masahiro Yamada
Hi. 2015-03-12 17:58 GMT+09:00 Yehuda Yitschak : > Thanks Masahiro > > Actually, I am considering to modify u-boot's own FDT to reflect changes in > configurable boards like development boards. > So maybe the padding is good for my needs after all :) > > Do you see any issue with such an approa

Re: [U-Boot] [PATCH v1 1/1] fastboot: Add support for flashing zImage

2015-03-12 Thread Lukasz Majewski
Hi Dileep, > This patch adds support to flash zImage to the boot partition on eMMC. > Usage: fastboot flash zImage > > Signed-off-by: Angela Stegmaier > > Signed-off-by: Dileep Katta > --- > drivers/usb/gadget/f_fastboot.c | 152 > 1 file changed, 152

Re: [U-Boot] No console output once kernel starts loading.

2015-03-12 Thread DaveKucharczyk
To update anyone who comes across this issue... Yes, a stripped version of the dts, like above, is all that is necessary to see console output. You just have to setup your uart pads correctly in imx53.dtsi. My main issue was the uart setting in .config. I had earlyprintk turned on and the uart

Re: [U-Boot] MIPS UHI spec

2015-03-12 Thread Daniel Schwierzeck
Am 09.03.2015 um 18:04 schrieb Andrew Bresticker: > Hi Daniel, > > On Thu, Feb 26, 2015 at 4:37 AM, Daniel Schwierzeck > wrote: >> 2015-02-26 11:17 GMT+01:00 Paul Burton : >>> On Thu, Feb 19, 2015 at 01:50:23PM +, Matthew Fortune wrote: Hi Daniel, The spec for MIPS Unified Ho

Re: [U-Boot] [PATCH] odroid: defconfig: fix build break caused by missing dts

2015-03-12 Thread Lukasz Majewski
Hi Tom, > The build break was caused by one of my previous commit: > 'odroid: defconfig: disable memset at malloc init' > > It removes the dts from odroid defconfig - rebase mistake. > > Signed-off-by: Przemyslaw Marczak > Cc: Minkyu Kang > --- > configs/odroid_defconfig | 1 + > 1 file chang

[U-Boot] [PATCH] kconfig: remove meaningless prefixes in defconfig files

2015-03-12 Thread Masahiro Yamada
Since commit e02ee2548afe (kconfig: switch to single .config configuration), the prefixes in defconfig files such as "+S:", "+ST:", etc., are meaningless. This commit was generated by the following command: find configs -name '*_defconfig' | xargs sed -i 's/^+*S*T*://' Signed-off-by: Masahiro

Re: [U-Boot] 4K padding of ARM DT blob

2015-03-12 Thread Yehuda Yitschak
Thanks Masahiro Actually, I am considering to modify u-boot's own FDT to reflect changes in configurable boards like development boards. So maybe the padding is good for my needs after all :) Do you see any issue with such an approach ? Thanks Yehuda > -Original Message- > From: Ma

Re: [U-Boot] [PATCH] config_distro_bootcmd.h: add note on error handling

2015-03-12 Thread Stephen Warren
On 03/11/2015 09:51 AM, Tom Rini wrote: On Tue, Mar 10, 2015 at 03:40:58PM -0600, Stephen Warren wrote: From: Stephen Warren This should make it more clear why there appear to be C pre-processor symbols in the file that contain mixed case. They're really error messages. Suggested-by: Simon G

Re: [U-Boot] [PATCH v2 2/4] fastboot: call board_usb_init() to enable usb

2015-03-12 Thread Lukasz Majewski
Hi Dileep, Marek > On 5 March 2015 at 20:07, Tom Rini wrote: > > > On Thu, Mar 05, 2015 at 12:36:57AM +0530, Dileep Katta wrote: > > > On 4 March 2015 at 23:59, Tom Rini wrote: > > > > > > > On Wed, Mar 04, 2015 at 05:05:11PM +, Stegmaier, Angela > > > > wrote: > > > > > Hi Dileep, > > > >

Re: [U-Boot] [PATCH] mmc: fsl_esdhc fix register offset

2015-03-12 Thread Fabio Estevam
On Wed, Mar 11, 2015 at 10:55 AM, Pantelis Antoniou wrote: > Although I agree with fixing this, I’m kinda scared about how fragile > structs for describing hardware registers are. Agreed! > But we’re stuck with it I guess. Yes, it seems this is mandatory in U-boot. Kernel does not have such r

Re: [U-Boot] [PATCH V6 07/11] ARM: OMAP3: Get rid of omap3_gp_romcode_call and replace with omap_smc1

2015-03-12 Thread Nishanth Menon
On Wed, Mar 11, 2015 at 10:48 AM, Tom Rini wrote: > On Mon, Mar 09, 2015 at 05:12:05PM -0500, Nishanth Menon wrote: > >> omap_smc1 is now generic enough to remove duplicate >> omap3_gp_romcode_call logic that omap3 introduced. >> >> As part of this change, move to using the generic lowlevel_init.S

Re: [U-Boot] [PATCH V6 10/11] ARM: OMAP3: Enable workaround for ARM errata 454179, 430973, 621766

2015-03-12 Thread Tom Rini
On Mon, Mar 09, 2015 at 05:12:08PM -0500, Nishanth Menon wrote: > Enable the OMAP3 specific errata code for 454179, 430973, 621766 > and while at it, remove legacy non-revision checked errata logic. > > Signed-off-by: Nishanth Menon Reviewed-by: Tom Rini -- Tom signature.asc Description: D

Re: [U-Boot] [PATCH V6 01/11] ARM: Introduce erratum workaround for 798870

2015-03-12 Thread Tom Rini
On Mon, Mar 09, 2015 at 05:11:59PM -0500, Nishanth Menon wrote: > Add workaround for Cortex-A15 ARM erratum 798870 which says > "If back-to-back speculative cache line fills (fill A and fill B) are > issued from the L1 data cache of a CPU to the L2 cache, the second > request (fill B) is then canc

[U-Boot] [PATCH 0/4] Introduce lcd_console rotation.

2015-03-12 Thread Hannes Petermaier
Sometimes, for example if the display is mounted in portrait mode or even if it mounted landscape but rotated by 180 degree, we need to rotate our content of the display respectively the framebuffer, so that user can read the messages who are printed out. For this we introduce the feature called

Re: [U-Boot] [PATCH v5 14/14] tegra: Set CNTFRQ for secondary CPUs

2015-03-12 Thread Tom Rini
On Mon, Mar 09, 2015 at 08:00:24AM +0100, Jan Kiszka wrote: > We only set CNTFRQ in arch_timer_init for the boot CPU. But this has to > happen for all cores. > > Fixing this resolves problems of KVM with emulating the generic > timer/counter. > > Signed-off-by: Jan Kiszka Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH v5 03/14] ARM: Factor out reusable psci_cpu_off_common

2015-03-12 Thread Tom Rini
On Mon, Mar 09, 2015 at 08:00:13AM +0100, Jan Kiszka wrote: > Move parts of sunxi's psci_cpu_off into psci_cpu_off_common, namely > cache disabling and flushing, clrex and the disabling of SMP for the > dying CPU. These steps are apparently generic for ARMv7 and will be > reused for Tegra124 suppo

Re: [U-Boot] [PATCH v5 05/14] ARM: Factor out reusable psci_get_cpu_stack_top

2015-03-12 Thread Tom Rini
On Mon, Mar 09, 2015 at 08:00:15AM +0100, Jan Kiszka wrote: > This algorithm will be useful on Tegra as well, plus we will need it for > making _psci_target_pc per-CPU. > > CC: Marc Zyngier > Signed-off-by: Jan Kiszka Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signatu

Re: [U-Boot] [PATCH v5 00/14] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-03-12 Thread Tom Rini
On Mon, Mar 09, 2015 at 08:00:10AM +0100, Jan Kiszka wrote: > Changes in v4: > - rebased over master > - implemented psci_get_cpu_id as weak function > - implemented psci_disable/enable_smp as weak functions > - adjusted register interface of psci_get_cpu_stack_top > > This version (+ the non

Re: [U-Boot] [PATCH] autoboot.c: Add feature to stop autobooting via SHA256 encrypted password

2015-03-12 Thread Stefan Roese
Hi Tom, On 11.03.2015 15:36, Tom Rini wrote: On Wed, Mar 11, 2015 at 09:51:37AM +0100, Stefan Roese wrote: This patch adds the feature to only stop the autobooting, and therefor boot into the U-Boot prompt, when the input string / password matches a values that is encypted via a SHA256 hash an

Re: [U-Boot] [PATCH] cmd_led: Extend led command to support blinking and more leds

2015-03-12 Thread Tom Rini
On Wed, Mar 11, 2015 at 09:51:39AM +0100, Stefan Roese wrote: > This patch extends the U-Boot "led" command to support automatic blinking > by setting a blink frequency in milliseconds. Additionally the number of > supported LEDs is increased to 6 (0...5). > > This will be used by the PCA9551 LED

Re: [U-Boot] [PATCH] mmc: fsl_esdhc fix register offset

2015-03-12 Thread Joakim Tjernlund
On Wed, 2015-03-11 at 15:55 +0200, Pantelis Antoniou wrote: > Hi Peng, > > > > On Mar 11, 2015, at 04:17 , Peng Fan wrote: > > > > Hi, Marek > > > > On 3/11/2015 10:03 AM, Marek Vasut wrote: > > > On Wednesday, March 11, 2015 at 01:58:37 AM, Peng Fan wrote: > > > > Hi, Marek > > > Hi! > > > >

Re: [U-Boot] Please pull u-boot-tegra.git/master

2015-03-12 Thread Tom Rini
On Tue, Mar 10, 2015 at 07:12:29PM -0700, Tom Warren wrote: > Thanks, Tom. Should I send future PRs to you instead of Albert? Yeah, and CC the list as always. -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.d

Re: [U-Boot] [PATCH 1/2] mx6_common: Do not select esdhc DDR mode for all boards

2015-03-12 Thread Stefan Roese
On 12.03.2015 02:52, Fabio Estevam wrote: From: Fabio Estevam CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE should be selected only by boards that really have a DDR-capable eMMC, so remove this option from common code to avoid regressions. Reported-by: Stefan Roese Signed-off-by: Fabio Estevam These 2

Re: [U-Boot] [PATCH] Vexpress64: Fix the compiling error when CONFIG_ARMV8_MULTIENTRY defined

2015-03-12 Thread FengHua
> -Original Messages- > From: "Linus Walleij" > Sent Time: 2015-03-10 18:08:03 (Tuesday) > To: "David Feng" > Cc: "U-Boot Mailing List" , "Tom Rini" , > "Albert ARIBAUD" > Subject: Re: [PATCH] Vexpress64: Fix the compiling error when > CONFIG_ARMV8_MULTIENTRY defined > > On Tue, Ma

Re: [U-Boot] [PATCH v5 08/14] virt-dt: Allow reservation of secure region when in a RAM carveout

2015-03-12 Thread Thierry Reding
On Wed, Mar 11, 2015 at 11:12:25AM -0400, Tom Rini wrote: > * PGP Signed by an unknown key > > On Mon, Mar 09, 2015 at 08:00:18AM +0100, Jan Kiszka wrote: > > > In this case the secure code lives in RAM, and hence the memory node in > > the device tree needs to be adjusted. This avoids that the O

Re: [U-Boot] 4K padding of ARM DT blob

2015-03-12 Thread Masahiro Yamada
Hi. 2015-03-12 15:46 GMT+09:00 Yehuda Yitschak : > Hey Simon > > Thanks for the clarification > > Just out of curiosity, how can the padding help modify the FDT in u-boot ? If you insert a new node/property, or change a property for a longer value, the FDT blob will get longer. So, you need some

Re: [U-Boot] [PATCH v2] common/board_f.c: Enable IMX watchdog in init_func_watchdog_init()

2015-03-12 Thread Heiko Schocher
Hello Stefan, Am 10.03.2015 08:04, schrieb Stefan Roese: Without this patch, the IMX watchdog will not be initialized. And therefor not active. This patch fixes this by calling hw_watchdog_init() also when CONFIG_IMX_WATCHDOG is defined. Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Fabio E

Re: [U-Boot] [PATCH v5 00/14] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-03-12 Thread Ian Campbell
On Wed, 2015-03-11 at 08:56 +, Ian Campbell wrote: > On Mon, 2015-03-09 at 08:00 +0100, Jan Kiszka wrote: > > Changes in v4: > > - rebased over master > > - implemented psci_get_cpu_id as weak function > > - implemented psci_disable/enable_smp as weak functions > > - adjusted register inter

Re: [U-Boot] MinnowBoard Max uboot

2015-03-12 Thread Simon Glass
Hi Tom, On 10 March 2015 at 05:24, Beaman, Thomas wrote: > Hi Simon, > > Do you know what will be the timeframe of when someone may be able to look at > this in more detail. I will be able to help test any updates if needed > I will take a look once I have things lined up for the next release,

Re: [U-Boot] [PATCH V6 07/11] ARM: OMAP3: Get rid of omap3_gp_romcode_call and replace with omap_smc1

2015-03-12 Thread Tom Rini
On Wed, Mar 11, 2015 at 10:53:41AM -0500, Nishanth Menon wrote: > On Wed, Mar 11, 2015 at 10:48 AM, Tom Rini wrote: > > On Mon, Mar 09, 2015 at 05:12:05PM -0500, Nishanth Menon wrote: > > > >> omap_smc1 is now generic enough to remove duplicate > >> omap3_gp_romcode_call logic that omap3 introduce

  1   2   >