[U-Boot] [PATCH 1/2][v6] powerpc/mpc85xx: SECURE BOOT- NAND secure boot target for P3041

2015-03-04 Thread Aneesh Bansal
Secure Boot Target is added for NAND for P3041. Changes: In PowerPC, the core begins execution from address 0xFFFC. In case of secure boot, this default address maps to Boot ROM. The Boot ROM code requires that the bootloader(U-boot) must lie in 0 to 3.5G address space i.e. 0x0 - 0xDFFF. I

[U-Boot] [PATCH 2/2][v6] powerpc/mpc85xx: SECURE BOOT- NAND secure boot target for P5020 and P5040

2015-03-04 Thread Aneesh Bansal
Secure Boot Target is added for NAND for P5020 and P5040. The Secure boot target has already been added for P3041 by enabling CONFIG_SYS_RAMBOOT and configuring CPC as SRAM. The targets for P5020 and P5040 are added in the same manner. Signed-off-by: Ruchika Gupta Signed-off-by: Aneesh Bansal -

Re: [U-Boot] [RFC] sunxi: Support uploading 'boot.scr' to RAM over USB OTG in FEL mode

2015-03-04 Thread Ian Campbell
On Wed, 2015-03-04 at 16:18 +0200, Siarhei Siamashka wrote: > On Tue, 03 Mar 2015 08:31:17 + > Ian Campbell wrote: > > > On Sun, 2015-03-01 at 23:37 +0200, Siarhei Siamashka wrote: > > > On Fri, 27 Feb 2015 16:39:45 + > > > Ian Campbell wrote: > > > > > > > On Tue, 2015-02-24 at 04:48 +

Re: [U-Boot] [U-Boot, 1/2, v4] powerpc/mpc85xx: SECURE BOOT- NAND secure boot target for P3041

2015-03-04 Thread aneesh.ban...@freescale.com
> -Original Message- > From: Wood Scott-B07421 > Sent: Thursday, March 05, 2015 2:41 AM > To: Bansal Aneesh-B39320 > Cc: u-boot@lists.denx.de; Sun York-R58495; Gupta Ruchika-R66431 > Subject: Re: [U-Boot, 1/2, v4] powerpc/mpc85xx: SECURE BOOT- NAND > secure boot target for P3041 > > On Thu

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

2015-03-04 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 v3 7/8] lpc32xx: add lpc32xx-spl.bin boot image target

2015-03-04 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) --- 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 v3 5/8] lpc32xx: add LPC32xx SSP support (SPI mode)

2015-03-04 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) --- 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/asm/arch-lpc32xx/sys

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

2015-03-04 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) --- 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 ++-- 3 files changed,

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

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

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

2015-03-04 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) --- 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-lpc32xx/sys_proto.h |

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

2015-03-04 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 v3: None Changes in v2: None arch/arm/cpu/arm926ejs/lpc32xx/devices.c

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

2015-03-04 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',

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

2015-03-04 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) --- 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-lpc32xx/sys_proto.h |

Re: [U-Boot] [PATCH] am33xx, spl, siemens: enable debug uart output again

2015-03-04 Thread Heiko Schocher
Hello Tom, Am 04.03.2015 17:40, schrieb Tom Rini: On Wed, Mar 04, 2015 at 08:42:58AM +0100, Heiko Schocher wrote: Hello Tom, Am 02.03.2015 14:59, schrieb Tom Rini: On Mon, Mar 02, 2015 at 07:56:41AM +0100, Heiko Schocher wrote: Hello Simon, Am 24.02.2015 14:31, schrieb Simon Glass: Hi Heik

Re: [U-Boot] [PATCH] buildman: Correct toolchain download feature

2015-03-04 Thread Heiko Schocher
Hello Simon, Am 03.03.2015 01:05, schrieb Simon Glass: Commit d908898 updated the ScanPath() function but not its documentation and not all its callers. This breaks the toolchain check after it is downloaded. Fix it. Signed-off-by: Simon Glass --- tools/buildman/toolchain.py | 10 +++--

Re: [U-Boot] [PATCH RFC v2 0/6] usb: host: Add driver model support

2015-03-04 Thread Simon Glass
Hi Vivek, On 25 February 2015 at 00:54, Vivek Gautam wrote: > Hi Simon, > > > On Tue, Feb 24, 2015 at 10:17 PM, Simon Glass wrote: >> Hi Vivek, >> >> On 18 February 2015 at 06:30, Vivek Gautam wrote: >>> Hi Simon, >>> >>> >>> On Wed, Feb 18, 2015 at 6:45 PM, Simon Glass wrote: +mailing li

Re: [U-Boot] [PATCH 05/22] RFC: x86: Split up arch_cpu_init()

2015-03-04 Thread Simon Glass
Hi Bin, On 26 February 2015 at 00:15, Bin Meng wrote: > Hi Simon, > > On Thu, Feb 26, 2015 at 8:55 AM, Simon Glass wrote: >> Hi Bin, >> >> On 25 February 2015 at 01:45, Bin Meng wrote: >>> Hi Simon, >>> >>> On Thu, Feb 19, 2015 at 5:10 AM, Simon Glass wrote: At present we do more in this

Re: [U-Boot] [PATCH 07/22] fdt: Tighten up error handling in fdtdec_get_pci_addr()

2015-03-04 Thread Simon Glass
Hi Bin, On 25 February 2015 at 02:29, Bin Meng wrote: > Hi Simon, > > On Thu, Feb 19, 2015 at 5:10 AM, Simon Glass wrote: >> This function returns -ENOENT when the property is missing (which the caller >> might forgive) and also when the property is present but incorrectly > > forgive? forget? >

Re: [U-Boot] [PATCH 08/22] dm: core: Add dev_get_uclass_priv() to access uclass private data

2015-03-04 Thread Simon Glass
Hi Bin, On 26 February 2015 at 00:26, Bin Meng wrote: > Hi Simon, > > On Thu, Feb 19, 2015 at 5:10 AM, Simon Glass wrote: >> Add a convenience function to access the private data that a uclass stores >> for each of its devices. Convert over most existing uses for consistency >> and to provide an

Re: [U-Boot] [PATCH] MAINTAINERS: add Driver Model repository information

2015-03-04 Thread Simon Glass
On 24 February 2015 at 06:34, Simon Glass wrote: > On 24 February 2015 at 01:03, Masahiro Yamada > wrote: >> Signed-off-by: Masahiro Yamada >> --- >> >> MAINTAINERS | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/MAINTAINERS b/MAINTAINERS >> index eef70d0..3604087 100644 >> --- a/M

Re: [U-Boot] [PATCH 02/22] sandbox: Correct device tree 'reg' properties for I2C and SPI

2015-03-04 Thread Simon Glass
Hi Bin, On 25 February 2015 at 01:20, Bin Meng wrote: > Hi Simon, > > On Thu, Feb 19, 2015 at 5:10 AM, Simon Glass wrote: >> These are missing a size value. Add one in each case. >> >> Signed-off-by: Simon Glass >> --- >> >> arch/sandbox/dts/sandbox.dts | 4 ++-- >> 1 file changed, 2 insertion

Re: [U-Boot] [PATCH 01/22] dm: i2c: Add a missing memory allocaton check

2015-03-04 Thread Simon Glass
On 19 February 2015 at 00:41, Heiko Schocher wrote: > Hello Simon, > > Am 18.02.2015 22:10, schrieb Simon Glass: >> >> This strdup() is missing a check. Add it. >> >> Signed-off-by: Simon Glass >> --- >> >> drivers/i2c/i2c-uclass.c | 2 ++ >> 1 file changed, 2 insertions(+) > > > Good catch, T

[U-Boot] [PATCH] x86: Add queensbay fsp patch information in README.x86

2015-03-04 Thread Bin Meng
The FSP release version 001 for Intel Queensbay has a bug which could cause random endless loop during the FspInit call. This bug was published by Intel although Intel did not describe any details. Describe this information in the x86 doc so that U-Boot Queensbay support is invulnerable. Signed-of

[U-Boot] Driver model 'next' tree

2015-03-04 Thread Simon Glass
Hi, I'm planning to use the 'next' tree for u-boot-dm and start applying things targeted for U-Boot 2015.07 as they are ready. There is quite a bit in flight at present and now RC3 is out for U-Boot 2015.04, the rebase cost should be fairly small. This tree will run for approximately 6 weeks. Thi

[U-Boot] [PATCH 4/4] arm: rmobile: alt: Update to QoS revision 0.31 and 0.321

2015-03-04 Thread Nobuhiro Iwamatsu
This updates r8a7794 QoS to revision 0.31 for ES1 and revision 0.321 for ES2. Signed-off-by: Kouei Abe Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/cpu/armv7/rmobile/Kconfig | 2 +- arch/arm/include/asm/arch-rmobile/r8a7794.h | 4 ++ board/renesas/alt/qos.c | 76

[U-Boot] [PATCH 3/4] arm: rmobile: gose: Update to QoS revision 0.311

2015-03-04 Thread Nobuhiro Iwamatsu
This updates r8a7793 QoS to revision 0.311. Signed-off-by: Kouei Abe Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/cpu/armv7/rmobile/Kconfig | 2 +- board/renesas/gose/qos.c | 72 +++--- 2 files changed, 61 insertions(+), 13 deletions(-) diff --git a/

[U-Boot] [PATCH 2/4] arm: rmobile: koelsch: Update to QoS revision 0.411

2015-03-04 Thread Nobuhiro Iwamatsu
This updates r8a7791 QoS to revision 0.411. Signed-off-by: Kouei Abe Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/cpu/armv7/rmobile/Kconfig | 2 +- board/renesas/koelsch/qos.c| 104 - 2 files changed, 93 insertions(+), 13 deletions(-) diff --git a

[U-Boot] [PATCH 1/4] arm: rmobile: lager: Update to QoS revision 0.973

2015-03-04 Thread Nobuhiro Iwamatsu
This updates r8a7790 QoS to revision 0.973. This commit can changed from KConfig to fit contents of the QoS. Signed-off-by: Kouei Abe Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/cpu/armv7/rmobile/Kconfig | 22 board/renesas/lager/qos.c | 69 ++

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

2015-03-04 Thread DaveKucharczyk
I'm currently working on the kernel dtb for our MX53 board. U-boot loads the dtb and kernel and then gets stuck at "starting kernel...". I've triple checked the uart pad setup in imx53.dtsi Here is my entire dts (everything else is stripped for testing)... - /dts-v1

[U-Boot] [PATCH 1/2] spi: Add Designware SPI controller Kconfig entry

2015-03-04 Thread Marek Vasut
Add DWC SPI controller Kconfig entry. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Jagannadha Sutradharudu Teki Cc: Pavel Machek Cc: Simon Glass Cc: Stefan Roese Cc: Tom Rini Cc: Vince Bridgers --- drivers/spi/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff

[U-Boot] [PATCH] arm: socfpga: Enable DM and DM_SPI

2015-03-04 Thread Marek Vasut
Enable DM and DM_SPI support for both Cyclone 5 and Arria 5 boards, since they use drivers which require those. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Pavel Machek Cc: Simon Glass Cc: Stefan Roese Cc: Tom Rini Cc: Vince Bridgers --- configs/socfpga_arria5_defcon

[U-Boot] [PATCH 2/2] spi: Add Cadence QSPI controller Kconfig entry

2015-03-04 Thread Marek Vasut
Add Cadence QSPI controller Kconfig entry. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Jagannadha Sutradharudu Teki Cc: Pavel Machek Cc: Simon Glass Cc: Stefan Roese Cc: Tom Rini Cc: Vince Bridgers --- drivers/spi/Kconfig | 6 ++ 1 file changed, 6 insertions(+)

Re: [U-Boot] [PATCH v6 5/6] Make export interface support CONFIG_SYS_MALLOC_SIMPLE

2015-03-04 Thread Tom Rini
On Tue, Mar 03, 2015 at 08:03:01AM -0700, Simon Glass wrote: > When CONFIG_SYS_MALLOC_SIMPLE is defined, free() is a static inline. Make > sure that the export interface still builds in this case. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Descript

Re: [U-Boot] [PATCH v6 4/6] arm: spl: Allow board_init_r() to run with a larger stack

2015-03-04 Thread Tom Rini
On Tue, Mar 03, 2015 at 08:03:00AM -0700, Simon Glass wrote: > At present SPL uses a single stack, either CONFIG_SPL_STACK or > CONFIG_SYS_INIT_SP_ADDR. Since some SPL features (such as MMC and > environment) require a lot of stack, some boards set CONFIG_SPL_STACK to > point into SDRAM. They then

Re: [U-Boot] [PATCH v7 6/6] ti: armv7: Move SPL SDRAM init to the right place, drop unused CONFIG_SPL_STACK

2015-03-04 Thread Tom Rini
On Wed, Mar 04, 2015 at 11:30:28AM -0500, Tom Rini wrote: > From: Simon Glass > > Currently in some cases SDRAM init requires global_data to be available > and soon this will not be available prior to board_init_f(). Adjust the > code paths in these cases to be correct. In some cases we had th

Re: [U-Boot] [PATCH v6 3/6] dm: tegra: Enable driver model in SPL and adjust the GPIO driver

2015-03-04 Thread Tom Rini
On Tue, Mar 03, 2015 at 08:02:59AM -0700, Simon Glass wrote: > Use the full driver model GPIO and serial drivers in SPL now that these are > supported. Since device tree is not available they will use platform data. > > Remove the special SPL GPIO function as it is no longer needed. > > This is

Re: [U-Boot] [PATCH v6 2/6] arm: spl: Avoid setting up a duplicate global data structure

2015-03-04 Thread Tom Rini
On Tue, Mar 03, 2015 at 08:02:58AM -0700, Simon Glass wrote: > This is already set up in crt0.S. We don't need a new structure and don't > really want one in the 'data' section of the image, since it will be empty > and crt0.S's changes will be ignored. > > As an interim measure, remove it only i

Re: [U-Boot] [PATCH v6 1/6] arm: Reduce the scope of lowlevel_init()

2015-03-04 Thread Tom Rini
On Tue, Mar 03, 2015 at 08:02:57AM -0700, Simon Glass wrote: > This function has grown into something of a monster. Some boards are setting > up a console and DRAM here in SPL. This requires global_data which should be > set up in one place (crt0.S). > > There is no need for SPL to use s_init() f

Re: [U-Boot] [v2] please pull u-boot-samsung master

2015-03-04 Thread Tom Rini
On Wed, Mar 04, 2015 at 09:28:54PM +0900, Minkyu Kang wrote: > The following changes since commit 19e5118d1c4c9bd2dc9e52355774c8ea73839b5b: > > mpc837xerdb: "fix Calling __hwconfig without a buffer" warning (2015-03-02 > 15:11:36 -0500) > > are available in the git repository at: > > http:

Re: [U-Boot] [PATCHv2 02/20] arm: socfpga: spl: Add SRAM section

2015-03-04 Thread Dinh Nguyen
On 03/04/2015 01:39 PM, Marek Vasut wrote: > On Wednesday, March 04, 2015 at 07:52:04 PM, Dinh Nguyen wrote: >> On 03/04/2015 06:39 AM, Marek Vasut wrote: >>> On Monday, March 02, 2015 at 05:27:50 PM, dingu...@opensource.altera.com > wrote: From: Dinh Nguyen Add a section of SRAM t

Re: [U-Boot] [linux-sunxi] Re: [PATCH] sunxi: Machine id hack to prevent loading buggy sunxi-3.4 kernels

2015-03-04 Thread Michal Suchanek
On 4 March 2015 at 16:17, Siarhei Siamashka wrote: > On Tue, 03 Mar 2015 08:17:56 + > Ian Campbell wrote: > >> On Mon, 2015-03-02 at 00:07 +0200, Siarhei Siamashka wrote: >> > Just one suggestion. It would be really nice if the Debian installer >> > could present itself on all the available c

Re: [U-Boot] [U-Boot, 1/2, v4] powerpc/mpc85xx: SECURE BOOT- NAND secure boot target for P3041

2015-03-04 Thread Scott Wood
On Thu, 2015-02-26 at 23:46 -0600, Bansal Aneesh-B39320 wrote: > > > Regards, > Aneesh Bansal > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, February 27, 2015 10:22 AM > > To: Bansal Aneesh-B39320 > > Cc: u-boot@lists.denx.de; Sun York-R58495; Gupta Ruchika-R66431

[U-Boot] [PATCH v3] usb_storage : scan all interfaces to find a storage device

2015-03-04 Thread franck . jullien
From: Franck Jullien Mass storage is not necessary present on interface 0. This patch allow usb_stor_scan to look in every available interface. Signed-off-by: Franck Jullien --- v2: create a new function to improve indentation v3: more indentation improvement common/usb_storage.c | 45 +++

Re: [U-Boot] [PATCHv2 02/20] arm: socfpga: spl: Add SRAM section

2015-03-04 Thread Marek Vasut
On Wednesday, March 04, 2015 at 07:52:04 PM, Dinh Nguyen wrote: > On 03/04/2015 06:39 AM, Marek Vasut wrote: > > On Monday, March 02, 2015 at 05:27:50 PM, dingu...@opensource.altera.com wrote: > >> From: Dinh Nguyen > >> > >> Add a section of SRAM to the SPL linker file. > >> > >> Signed-off-by

Re: [U-Boot] [PATCHv2 01/20] arm: socfpga: spl: Add main sdram code

2015-03-04 Thread Marek Vasut
On Monday, March 02, 2015 at 05:27:49 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > This adds the code to configure the SDRAM controller that is found in the > SoCFGPA Cyclone5 and Arria5 platforms. > > Signed-off-by: Dinh Nguyen Hi! [...] > diff --git a/arch/arm/include/

Re: [U-Boot] [PATCH v5 02/27] common: Make sure arch-specific map_sysmem() is defined

2015-03-04 Thread Simon Glass
On 3 March 2015 at 19:40, Joe Hershberger wrote: > In the case where the arch defines a custom map_sysmem(), make sure that > including just common.h is sufficient to have these functions as they > are when the arch does not override it. > > Signed-off-by: Joe Hershberger > > --- > > Changes in v

Re: [U-Boot] u-boot for Snow problem

2015-03-04 Thread Simon Glass
Hi Michal, On 4 March 2015 at 05:58, Michal Suchanek wrote: > On 4 March 2015 at 13:29, Sjoerd Simons wrote: >> On Wed, 2015-03-04 at 11:48 +0100, Michal Suchanek wrote: >>> On 4 March 2015 at 00:46, Simon Glass wrote: >>> > Hi Michal, >>> > >>> > On 2 March 2015 at 04:25, Michal Suchanek wrot

Re: [U-Boot] [PATCH v6 4/6] arm: spl: Allow board_init_r() to run with a larger stack

2015-03-04 Thread Simon Glass
Hi Tom, On 4 March 2015 at 08:42, Tom Rini wrote: > On Tue, Mar 03, 2015 at 08:03:00AM -0700, Simon Glass wrote: > >> At present SPL uses a single stack, either CONFIG_SPL_STACK or >> CONFIG_SYS_INIT_SP_ADDR. Since some SPL features (such as MMC and >> environment) require a lot of stack, some bo

Re: [U-Boot] [PATCH v7 6/6] ti: armv7: Move SPL SDRAM init to the right place, drop unused CONFIG_SPL_STACK

2015-03-04 Thread Simon Glass
Hi Tom, On 4 March 2015 at 09:30, Tom Rini wrote: > From: Simon Glass > > Currently in some cases SDRAM init requires global_data to be available > and soon this will not be available prior to board_init_f(). Adjust the > code paths in these cases to be correct. In some cases we had the SPL >

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

2015-03-04 Thread Dileep Katta
On 4 March 2015 at 23:59, Tom Rini wrote: > On Wed, Mar 04, 2015 at 05:05:11PM +, Stegmaier, Angela wrote: > > Hi Dileep, > > > > > -Original Message- > > > From: Dileep Katta [mailto:dileep.ka...@linaro.org] > > > Sent: Tuesday, March 03, 2015 5:11 AM > > > To: u-boot@lists.denx.de;

Re: [U-Boot] [PATCHv2 02/20] arm: socfpga: spl: Add SRAM section

2015-03-04 Thread Dinh Nguyen
On 03/04/2015 06:39 AM, Marek Vasut wrote: > On Monday, March 02, 2015 at 05:27:50 PM, dingu...@opensource.altera.com > wrote: >> From: Dinh Nguyen >> >> Add a section of SRAM to the SPL linker file. >> >> Signed-off-by: Dinh Nguyen > > Hi! > > Can we not use the generic SPL stuff ( ./arch/arm

Re: [U-Boot] [PATCH v5 12/27] cmd: net: Clean up return codes

2015-03-04 Thread Simon Glass
On 3 March 2015 at 19:41, Joe Hershberger wrote: > The return codes in common/cmd_net.c had a number of inconsistencies. > Update them to all use the enum from command.h > > Signed-off-by: Joe Hershberger > > --- > > Changes in v5: > -New to v5 > > Changes in v4: None > Changes in v3: None > Chan

Re: [U-Boot] [PATCH v5 19/27] dm: eth: Add support for aliases

2015-03-04 Thread Simon Glass
On 3 March 2015 at 19:41, Joe Hershberger wrote: > Allow network devices to be referred to as "eth0" instead of > "eth@12345678" when specified in ethact. > > Add tests to verify this behavior. > > Signed-off-by: Joe Hershberger > Reviewed-by: Simon Glass > > --- > > Changes in v5: > -Added a co

Re: [U-Boot] [PATCH v5 26/27] sandbox: eth: Add support for using the 'lo' interface

2015-03-04 Thread Simon Glass
On 3 March 2015 at 19:41, Joe Hershberger wrote: > The 'lo' interface on Linux doesn't support thinks like ARP or > link-layer access like we use to talk to a normal network interface. > A higher-level network API must be used to access localhost. > > As written, this interface is limited to not s

Re: [U-Boot] [PATCH v5 27/27] net: Improve error handling

2015-03-04 Thread Simon Glass
Hi Joe, On 3 March 2015 at 19:41, Joe Hershberger wrote: > Take a pass at plumbing errors through to the users of the network stack > > Currently only the start() function errors will be returned from > NetLoop(). recv() tends not to have errors, so that is likely not worth > adding. send() certa

Re: [U-Boot] [PATCH v5 11/27] net: Access mapped physmem in net functions

2015-03-04 Thread Simon Glass
On 3 March 2015 at 19:41, Joe Hershberger wrote: > Previously the net functions would access memory assuming physmem did > not need to be mapped. In sandbox, that's not the case. > > Now we map the physmem specified by the user in loadaddr to the buffer > that represents that space. > > Signed-of

Re: [U-Boot] [PATCH v5 22/27] sandbox: eth: Add ability to disable ping reply in sandbox eth driver

2015-03-04 Thread Simon Glass
Hi Joe, On 3 March 2015 at 19:41, Joe Hershberger wrote: > This is needed to test the netretry functionality (make the command fail > on a sandbox eth device). > > Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass Please see nits below. > > --- > > Changes in v5: > -Use a function call

Re: [U-Boot] [PATCH v5 15/27] dm: eth: Pass the packet pointer as a parameter to recv

2015-03-04 Thread Simon Glass
Hi Joe, On 3 March 2015 at 19:41, Joe Hershberger wrote: > Stop forcing drivers to call net_process_received_packet() - formerly > called NetReceive(). Now the uclass will handle calling the driver for > each packet until the driver errors or has nothing to return. The uclass > will then pass the

Re: [U-Boot] [PATCH v5 23/27] test: dm: net: Add a test of the netretry behavior

2015-03-04 Thread Simon Glass
On 3 March 2015 at 19:41, Joe Hershberger wrote: > The effect of the "netretry" env var was recently changed. This test > checks that behavior. > > Signed-off-by: Joe Hershberger Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] [PATCH v5 21/27] test: dm: eth: Add testing for ethrotate env var

2015-03-04 Thread Simon Glass
On 3 March 2015 at 19:41, Joe Hershberger wrote: > Make sure that the ethrotate behavior occurs as expected. > > Signed-off-by: Joe Hershberger > Reviewed-by: Simon Glass > > --- > > Changes in v5: > -Added a test for skipping un-probe-able devices > > Changes in v4: > -Added testing for ethrota

Re: [U-Boot] [PATCH v5 24/27] sandbox: eth: Add a bridge to a real network for sandbox

2015-03-04 Thread Simon Glass
Hi Joe, On 3 March 2015 at 19:41, Joe Hershberger wrote: > Implement a bridge between u-boot's network stack and Linux's raw packet > API allowing the sandbox to send and receive packets using the host > machine's network interface. > > This raw Ethernet API requires elevated privileges. You can

Re: [U-Boot] [PATCH v5 16/27] sandbox: eth: Add network support to sandbox

2015-03-04 Thread Simon Glass
On 3 March 2015 at 19:41, Joe Hershberger wrote: > Add basic network support to sandbox which includes a network driver. > > Signed-off-by: Joe Hershberger > Reviewed-by: Simon Glass > > --- > > Changes in v5: > -Added help to the sandbox eth mock driver Kconfig entry Looks good. Reviewed-by:

Re: [U-Boot] [PATCH v5 14/27] net: Clean up network stack names used in DM drivers

2015-03-04 Thread Simon Glass
Hi Joe, On 3 March 2015 at 19:41, Joe Hershberger wrote: > Take the opportunity to enforce better names on newly written or > retrofitted Ethernet drivers. > > Signed-off-by: Joe Hershberger > > --- > > Changes in v5: > -New to v5 > > Changes in v4: None > Changes in v3: None > Changes in v2: No

Re: [U-Boot] [PATCH v5 13/27] dm: eth: Add basic driver model support to Ethernet stack

2015-03-04 Thread Simon Glass
On 3 March 2015 at 19:41, Joe Hershberger wrote: > First just add support for MAC drivers. > > Signed-off-by: Joe Hershberger > > --- > > Changes in v5: > -Add a note to doc/README.drivers.eth about its obsolescence > -Expanded the Kconfig help > -Moved dm/ header > -Use local var for priv in eth

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

2015-03-04 Thread Tom Rini
On Wed, Mar 04, 2015 at 05:05:11PM +, Stegmaier, Angela wrote: > Hi Dileep, > > > -Original Message- > > From: Dileep Katta [mailto:dileep.ka...@linaro.org] > > Sent: Tuesday, March 03, 2015 5:11 AM > > To: u-boot@lists.denx.de; robherri...@gmail.com; Rini, Tom; > > rob.herr...@linaro.

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

2015-03-04 Thread Stegmaier, Angela
Hi Dileep, > -Original Message- > From: Dileep Katta [mailto:dileep.ka...@linaro.org] > Sent: Tuesday, March 03, 2015 5:11 AM > To: u-boot@lists.denx.de; robherri...@gmail.com; Rini, Tom; > rob.herr...@linaro.org; s...@broadcom.com; l.majew...@samsung.com; > Stegmaier, Angela > Cc: Dileep

Re: [U-Boot] [PATCH v1 4/4] ARM: DRA7: fastboot: Implement reboot-bootloader command - Implemented fb_set_reboot_flag() for DRA7 - Defined a weak function, fb_check_reboot_flag() - Implemented for DRA

2015-03-04 Thread Tom Rini
On Tue, Mar 03, 2015 at 08:15:56AM -0600, Rob Herring wrote: > On Tue, Mar 3, 2015 at 5:10 AM, Dileep Katta wrote: > > Signed-off-by: Angela Stegmaier > > Signed-off-by: Dileep Katta You need a full commit message as I don't really understand what this is supposed to be doing or why it's needed

Re: [U-Boot] [PATCH v2 0/4] various fixes for apalis/colibri_t30

2015-03-04 Thread Marcel Ziswiler
On 4 March 2015 17:03:17 CET, Tom Warren >I'll apply this series to u-boot-tegra/next today, and if everything >checks out, send a PR to Albert tomorrow. Perfect, thanks Tom. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/lis

Re: [U-Boot] [PATCH v3 3/4] ARM: DRA7: Set serial number environment variable

2015-03-04 Thread Tom Rini
On Tue, Mar 03, 2015 at 04:40:43PM +0530, Dileep Katta wrote: > Adds the registers to get the serial number of dra7xx boards. > Serial# environment variable will be set if not done already. > This will be useful to show correct information in > "fastboot devices" commands. > > Signed-off-by: Ange

Re: [U-Boot] [PATCH] am33xx, spl, siemens: enable debug uart output again

2015-03-04 Thread Tom Rini
On Wed, Mar 04, 2015 at 08:42:58AM +0100, Heiko Schocher wrote: > Hello Tom, > > Am 02.03.2015 14:59, schrieb Tom Rini: > >On Mon, Mar 02, 2015 at 07:56:41AM +0100, Heiko Schocher wrote: > >>Hello Simon, > >> > >>Am 24.02.2015 14:31, schrieb Simon Glass: > >>>Hi Heiko, > >>> > >>>On 23 February 20

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

2015-03-04 Thread Tom Rini
On Tue, Mar 03, 2015 at 04:40:41PM +0530, Dileep Katta wrote: > Signed-off-by: Angela Stegmaier > Signed-off-by: Dileep Katta > --- > arch/arm/cpu/armv7/omap5/Kconfig | 5 + > board/ti/dra7xx/Kconfig | 13 ++ > board/ti/dra7xx/MAINTAINERS | 2 + > configs/dra7xx_e

[U-Boot] [PATCH v7 6/6] ti: armv7: Move SPL SDRAM init to the right place, drop unused CONFIG_SPL_STACK

2015-03-04 Thread Tom Rini
From: Simon Glass Currently in some cases SDRAM init requires global_data to be available and soon this will not be available prior to board_init_f(). Adjust the code paths in these cases to be correct. In some cases we had the SPL stack be in DDR as we might have large stacks (due to Falcon Mo

Re: [U-Boot] [PATCH v2 1/3] ARM: mx6: move to a standard arch/board approach

2015-03-04 Thread Stefano Babic
Hi Boris, On 04/03/2015 13:50, Boris Brezillon wrote: >> > > If that's accepted, then yes I could help moving boards from the old > approach to the new one, though I was expecting this to be done by > board maintainers. > > Note that I'm not breaking anything (the old boards definition are > sti

Re: [U-Boot] [PATCH v6 4/6] arm: spl: Allow board_init_r() to run with a larger stack

2015-03-04 Thread Tom Rini
On Tue, Mar 03, 2015 at 08:03:00AM -0700, Simon Glass wrote: > At present SPL uses a single stack, either CONFIG_SPL_STACK or > CONFIG_SYS_INIT_SP_ADDR. Since some SPL features (such as MMC and > environment) require a lot of stack, some boards set CONFIG_SPL_STACK to > point into SDRAM. They then

Re: [U-Boot] [PATCH] sunxi: Machine id hack to prevent loading buggy sunxi-3.4 kernels

2015-03-04 Thread Siarhei Siamashka
On Tue, 03 Mar 2015 08:17:56 + Ian Campbell wrote: > On Mon, 2015-03-02 at 00:07 +0200, Siarhei Siamashka wrote: > > Just one suggestion. It would be really nice if the Debian installer > > could present itself on all the available consoles, so that the user > > can use any of them for provid

Re: [U-Boot] [PATCH v6 4/6] arm: spl: Allow board_init_r() to run with a larger stack

2015-03-04 Thread Tom Rini
On Wed, Mar 04, 2015 at 08:38:33AM -0500, Tom Rini wrote: > On Tue, Mar 03, 2015 at 08:23:23PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On 3 March 2015 at 13:14, Tom Rini wrote: > > > On Tue, Mar 03, 2015 at 12:04:16PM -0700, Simon Glass wrote: > > >> Hi Tom, > > >> > > >> On 3 March 2015 at

Re: [U-Boot] [PATCH] buildman: crash when fetching i386 toolchain from kernel.org

2015-03-04 Thread Simon Glass
Hi Heiko, On 4 March 2015 at 02:19, Heiko Schocher wrote: > Currently buildman crashes when fetching i386 toolchain from > kernel.org. > > solution: > - first check, if the directory in which buildman will search exists > - second, pass a string not a list of strings when instantiating > a Tool

Re: [U-Boot] [RFC] sunxi: Support uploading 'boot.scr' to RAM over USB OTG in FEL mode

2015-03-04 Thread Siarhei Siamashka
On Tue, 03 Mar 2015 08:31:17 + Ian Campbell wrote: > On Sun, 2015-03-01 at 23:37 +0200, Siarhei Siamashka wrote: > > On Fri, 27 Feb 2015 16:39:45 + > > Ian Campbell wrote: > > > > > On Tue, 2015-02-24 at 04:48 +0200, Siarhei Siamashka wrote: > > > > In order to fully support booting the

Re: [U-Boot] [PATCH 0/4] samsung: dwc3: usb: Samsung specific code to handle dwc3

2015-03-04 Thread Lukasz Majewski
Hi Minkyu, > Those patches depend on following commits: > > For the whole patch set please refer to -dfu u-boot repo, branch > (devel/dwc3_gadget): > http://git.denx.de/?p=u-boot/u-boot-dfu.git;a=shortlog;h=refs/heads/devel/dwc3_gadget > > And should be applied on top of them. > > Inha Song (1)

[U-Boot] [PATCH 2/4] samsung: usb: phy: Support for DWC3 PHY

2015-03-04 Thread Lukasz Majewski
New files, namely samsung_usb_phy.c and samsung-usb-phy-uboot.h have been added to u-boot to provide proper PHY handling at Exynos5 SoCs. This code is used thereafter in the board_usb_init() call. Signed-off-by: Lukasz Majewski --- drivers/usb/dwc3/Makefile | 1 + drivers/usb/dwc3/sam

Re: [U-Boot] [linux-sunxi] Re: Basic A33 support including dram init available in my personal repo

2015-03-04 Thread Hans de Goede
Hi, On 04-03-15 13:33, Siarhei Siamashka wrote: On Mon, 2 Mar 2015 17:21:48 +0530 Vishnu Patekar wrote: Hello Hans, Thank you for the comments. On Mon, Mar 2, 2015 at 3:55 PM, Hans de Goede wrote: Hi, On 01-03-15 19:42, Vishnu Patekar wrote: Allwinner A33 tablets comes with the libdram

[U-Boot] [PATCH 0/4] samsung: dwc3: usb: Samsung specific code to handle dwc3

2015-03-04 Thread Lukasz Majewski
Those patches depend on following commits: For the whole patch set please refer to -dfu u-boot repo, branch (devel/dwc3_gadget): http://git.denx.de/?p=u-boot/u-boot-dfu.git;a=shortlog;h=refs/heads/devel/dwc3_gadget And should be applied on top of them. Inha Song (1): ARM: exynos5420: Add dfu_a

[U-Boot] [PATCH 4/4] ARM: exynos5420: Add dfu_alt_info board specific callbacks to support DFU download

2015-03-04 Thread Lukasz Majewski
From: Inha Song This patch adds board specific code to provide dfu_alt_info handling for Exynos5420. Signed-off-by: Inha Song Signed-off-by: Lukasz Majewski --- board/samsung/smdk5420/smdk5420.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/board/samsung/smdk

[U-Boot] [PATCH 3/4] arm: exynos5420: Adding support for board_usb_{init|cleanup}() functions

2015-03-04 Thread Lukasz Majewski
From: Joonyoung Shim Low level code to support proper usb operation has been added to smdk5420.c board file. Signed-off-by: Joonyoung Shim Signed-off-by: Lukasz Majewski --- board/samsung/smdk5420/smdk5420.c | 41 +++ 1 file changed, 41 insertions(+) diff

[U-Boot] [PATCH 1/4] arm: exynos: USB3 PHY base definition for Exynos5 SoCs

2015-03-04 Thread Lukasz Majewski
After that change it would be possible to call samsung_get_base_usb3_phy() function to get proper base address Signed-off-by: Lukasz Majewski --- arch/arm/include/asm/arch-exynos/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/a

Re: [U-Boot] [PATCH v2 0/4] various fixes for apalis/colibri_t30

2015-03-04 Thread Marcel Ziswiler
On Mon, 2015-03-02 at 09:56 -0700, Stephen Warren wrote: > The series, > Acked-by: Stephen Warren Thanks mate. Anybody actually gona pick that one up please? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v6 08/10] zynq-common: increase malloc pool len by dfu mmc file buffer size

2015-03-04 Thread Michal Simek
On 03/04/2015 02:01 PM, Przemyslaw Marczak wrote: > The dfu mmc file buffer, which was static, now is allocated > by memalign(), so the malloc pool len should be also increased. > > Signed-off-by: Przemyslaw Marczak > Cc: Jagannadha Sutradharudu Teki > Cc: Michal Simek > --- > Changes v6: > - n

[U-Boot] [PATCH] arm: pxa: introducing cpuinfo display for marvell pxa270m

2015-03-04 Thread Marcel Ziswiler
According to table 2-3 on page 87 of Marvell's latest PXA270 Specification Update Rev. I from 2010.04.19 [1] there exists a breed of chips with a new CPU ID for PXA270M A1 stepping which our latest Colibri PXA270 V2.4A modules actually have assembled. This patch helps in correctly identifying those

Re: [U-Boot] [PATCHv2 16/20] arm: socfpga: spl: add a malloc section in sram

2015-03-04 Thread Marek Vasut
On Monday, March 02, 2015 at 05:28:04 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Signed-off-by: Dinh Nguyen > --- > arch/arm/cpu/armv7/socfpga/u-boot-spl.lds | 7 +++ > include/configs/socfpga_common.h | 1 + > 2 files changed, 8 insertions(+) > > diff --git

Re: [U-Boot] [PATCHv2 20/20] arm: socfpga: remove the need to map sdram in arch_early_init

2015-03-04 Thread Marek Vasut
On Monday, March 02, 2015 at 05:28:08 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Since we are already mapping sdram 0x0 in board_init_f, we can remove it > here. > > Signed-off-by: Dinh Nguyen Reviewed-by: Marek Vasut Best regards, Marek Vasut _

Re: [U-Boot] [PATCHv2 13/20] arm: socfpga: spl: add CONFIG_SPL_STACK to socfpga_common.h

2015-03-04 Thread Marek Vasut
On Monday, March 02, 2015 at 05:28:01 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Signed-off-by: Dinh Nguyen This patch would invalidate the previous 12/20 , no ? Reviewed-by: Marek Vasut Best regards, Marek Vasut ___ U-Boot m

Re: [U-Boot] [PATCHv2 10/20] arm: socfpga: spl: Use common lowlevel_init

2015-03-04 Thread Marek Vasut
On Monday, March 02, 2015 at 05:27:58 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > For SoCFGPA, use the common ARMv7 lowlevel_init. > > Signed-off-by: Dinh Nguyen > --- > arch/arm/cpu/armv7/Makefile| 2 +- > arch/arm/cpu/armv7/socfpga/lowlevel_init.S | 4 --

Re: [U-Boot] [PATCHv2 14/20] arm: socfpga: add sdram stack to SPL

2015-03-04 Thread Marek Vasut
On Monday, March 02, 2015 at 05:28:02 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Add a stack in the SDRAM to be able to use SPL_FAT_LOAD in later > stages of the SPL. > > Signed-off-by: Dinh Nguyen Were you able to find out whether this is really needed for FATLOAD in SP

Re: [U-Boot] [PATCHv2 19/20] arm: socfpga: spl: update pll_config for dev kit

2015-03-04 Thread Marek Vasut
On Monday, March 02, 2015 at 05:28:07 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > This sets the CPU clocks to 925MHz and DDR to 400MHz. > > Signed-off-by: Dinh Nguyen Reviewed-by: Marek Vasut Best regards, Marek Vasut ___ U-Bo

Re: [U-Boot] [PATCHv2 18/20] arm: socfpga: spl: add board_init_f to SPL

2015-03-04 Thread Marek Vasut
On Monday, March 02, 2015 at 05:28:06 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Remap SDRAM to 0x0 in board_init_f(). > > Signed-off-by: Dinh Nguyen Reviewed-by: Marek Vasut Best regards, Marek Vasut ___ U-Boot mailing list

Re: [U-Boot] [PATCHv2 17/20] arm: socfpga: spl: Add SDRAM check

2015-03-04 Thread Marek Vasut
On Monday, March 02, 2015 at 05:28:05 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Signed-off-by: Dinh Nguyen > --- > arch/arm/cpu/armv7/socfpga/spl.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/cpu/armv7/socfpga/spl.c > b/arch/arm/cpu/armv7/s

Re: [U-Boot] [PATCHv2 15/20] arm: socfpga: spl: adjust SPL_MALLOC_SIZE to 256

2015-03-04 Thread Marek Vasut
On Monday, March 02, 2015 at 05:28:03 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Signed-off-by: Dinh Nguyen Why did you do this change please ? Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http://lists

Re: [U-Boot] [PATCH v2] usb_storage : scan all interfaces to find a storage device

2015-03-04 Thread Marek Vasut
On Wednesday, March 04, 2015 at 12:26:02 PM, franck.jull...@gmail.com wrote: > From: Franck Jullien > > Mass storage is not necessary present on interface 0. This > patch allow usb_stor_scan to look in every available interface. > > Signed-off-by: Franck Jullien > --- > > v2: create a new func

Re: [U-Boot] [PATCHv2 12/20] arm: socfpga: spl: add the stack in OCRAM

2015-03-04 Thread Marek Vasut
On Monday, March 02, 2015 at 05:28:00 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Allocate a stack in the OCRAM for the SPL to use. > > Signed-off-by: Dinh Nguyen Hi! Setting CONFIG_SPL_STACK to point to SRAM end will do exactly the same thing. You might need to use gene

Re: [U-Boot] [PATCHv2 03/20] arm: socfpga: spl: put SPL in sram

2015-03-04 Thread Marek Vasut
On Monday, March 02, 2015 at 05:27:51 PM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Update SPL linker file to use SRAM. > > Signed-off-by: Dinh Nguyen > Acked-by: Pavel Machek Hi! Same comment applies as for 02/20 ( can't we use generic ./arch/arm/cpu/u-boot-spl.lds ?) Al

  1   2   >