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

2015-03-24 Thread Tom Rini
On Mon, Mar 23, 2015 at 03:04:48PM -0600, Simon Glass wrote: > Hi Sjoerd, > > On 12 March 2015 at 15:33, Sjoerd Simons > wrote: > > 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 la

Re: [U-Boot] [PATCH] mii: add read-modify-write option to mii command

2015-03-24 Thread Joe Hershberger
Hi Tim, On Fri, Feb 27, 2015 at 8:25 AM, Tim James wrote: > > When accessing PHY registers it is often desirable to only update > selected bits, so it is necessary to first read the current value > before writing back an modified value with the relevant bits > updated. > > To simplify this and to

Re: [U-Boot] [PATCH 0/13] ARM: UniPhier: enable CONFIG_SPL_DM with some clean-ups

2015-03-24 Thread Masahiro Yamada
Hi Simon, 2015-03-24 7:47 GMT+09:00 Simon Glass : > Hi Masahiro, > > On 23 March 2015 at 09:19, Masahiro Yamada > wrote: >> 2015-03-23 0:07 GMT+09:00 Masahiro Yamada : >>> >>> >>> >>> Masahiro Yamada (13): >>> ARM: UniPhier: include PH1-LD4 Makefile from PH1-sLD8 >>> ARM: UniPhier: move plat

Re: [U-Boot] [PATCH 0/4] Add support for stm32f429-discovery board

2015-03-24 Thread Chanwoo Choi
Hi Kamil, I tested this patch-set in STM32 Discovery board. After applied this patch-set on latest u-boot, I could not see the normal u-boot log. I saw broken console log. I used the USART1 port (pa9, pa10 gpio pin). Could you give me a tip to resolve this issue? Best Regards, Chanwoo Choi 2015

Re: [U-Boot] [PATCH 1/6] ARM: tegra: Prepare for 64-bit support

2015-03-24 Thread Masahiro Yamada
Hi. 2015-03-21 1:24 GMT+09:00 Stephen Warren : > On 03/20/2015 06:24 AM, Thierry Reding wrote: >> >> From: Thierry Reding >> >> Move various selects from the TEGRA symbol to the symbols for 32-bit >> Tegra boards. This is necessary because these settings do not extend >> to U-Boot for 64-bit Teg

Re: [U-Boot] [PATCH v2] ARM: at91: at91sam9n12ek: save the environment to a fat file in MMC card

2015-03-24 Thread Bo Shen
Hi Josh, On 03/24/2015 05:07 PM, Josh Wu wrote: Insteading in mmc's raw sectors, this patch will save the environment in a fat file (uboot.env) in mmc card's first FAT patition by default. If you want to save in mmc's raw sectors, you only need to define CONFIG_ENV_IS_IN_MMC. Signed-off-by: Jo

Re: [U-Boot] [PATCH] ARM: at91: at91sam9n12ek: save the environment to a fat file in MMC card

2015-03-24 Thread Bo Shen
Hi Josh, On 03/24/2015 04:10 PM, Josh Wu wrote: Insteading in mmc's raw sectors, this patch will save the environment in a fat file (uboot.env) in mmc card's first FAT patition. Signed-off-by: Josh Wu Thanks for your patch. Acked-by: Bo Shen --- include/configs/at91sam9n12ek.h | 11 ++

Re: [U-Boot] [PATCH 3/3] Kconfig: i2c: add entry for driver-model software i2c

2015-03-24 Thread Masahiro Yamada
Hi. 2015-03-10 19:30 GMT+09:00 Przemyslaw Marczak : > Signed-off-by: Przemyslaw Marczak > Cc: Masahiro Yamada I am no longer working for Panasonic. The old email address will get unavailable at the end of March. Going forward, please use my new address, yamada.masah...@socionext.com > > d

Re: [U-Boot] [PATCH v2 3/7] m68k: remove arch/m68k/lib/board.c

2015-03-24 Thread Masahiro Yamada
Hi Angelo, 2015-03-17 15:55 GMT+09:00 Angelo Dureghello : > On 17/03/2015 04:35, Masahiro Yamada wrote: >> >> All the M68000 boards have switched to Generic Board. >> This file is no longer necessary. >> > > Hi Masahiro, > > thanks. > > Afaik, me and Alison converted and tested actually only 2 bo

Re: [U-Boot] [PATCH 2/5] dm: ls1021a: Bring in ls1021a dts files from linux kernel

2015-03-24 Thread Simon Glass
Hi, On 24 March 2015 at 07:13, Haikun Wang wrote: > From: haikun > > Bring in required device tree files for ls1021a from Linux. > These are initially unchanged and have a number of pieces not needed by > U-Boot. > > Signed-off-by: Haikun Wang > --- > arch/arm/dts/Makefile| 3 + > a

Re: [U-Boot] [PATCH 3/5 v1] dm: ls1021a: dts: Change address_cells and size_cells from 2 to 1

2015-03-24 Thread Simon Glass
On 24 March 2015 at 07:16, Haikun Wang wrote: > From: haikun > > Change address_cells and size_cells of root node and 'soc' node > from 2 to 1. > > We backport ls1021a device tree source files from kernel to u-boot. > Kernel files set address_cells and size_cells to 2 in order to access > more th

Re: [U-Boot] [PATCH 1/5 v1] dm: arm: Bring in skeleton64 device tree file from Linux

2015-03-24 Thread Simon Glass
On 24 March 2015 at 07:12, Haikun Wang wrote: > Backport of kernel commits: > 7c14f6c719de092d69c81877786e83ce7ae1a860 > 35faad2a1563b3d4dc983a82ac41033fe053870c > > Signed-off-by: Haikun Wang > --- > arch/arm/dts/skeleton64.dtsi | 13 + > 1 file changed, 13 insertion

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

2015-03-24 Thread Simon Glass
Hi Sjoerd, On 24 March 2015 at 01:46, Sjoerd Simons wrote: > > Hey Simon, > > On Mon, 2015-03-23 at 15:04 -0600, Simon Glass wrote: > > Hi Sjoerd, > > > > On 12 March 2015 at 15:33, Sjoerd Simons > > wrote: > > > The peach boards have their SDRAM start address at 0x2000 instead of > > > 0x4

[U-Boot] [PATCH 3/3] usb: dwc2: use phys_to_bus/bus_to_phys

2015-03-24 Thread Stephen Warren
Use of these APIs is required on the Raspberry Pi. With this change, USB on RPi1 should be more reliable, and USB on the RPi2 will start working. Signed-off-by: Stephen Warren --- We likely should enable use of these functions for mbox, SDHCI, and LCD display too. However, I haven't validated tho

[U-Boot] [PATCH 2/3] ARM: bcm2835: implement phys_to_bus/bus_to_phys

2015-03-24 Thread Stephen Warren
The BCM283[56] contain both a L1 and L2 cache between the GPU (a/k/a VideoCore CPU?) and DRAM. DMA-capable peripherals can also optionally access DRAM via this same L2 cache (although they always bypass the L1 cache). Peripherals select whether to use or bypass the cache via the top two bits of th

[U-Boot] [PATCH 1/3] Create API to map between CPU physical and bus addresses

2015-03-24 Thread Stephen Warren
On some SoCs, DMA-capable peripherals see a different address space to the CPU's physical address space. Create an API to allow platform-agnostic drivers to convert between the two address spaces when programming DMA operations. This API will exist on all platforms, but will have a dummy implement

Re: [U-Boot] [PATCHv2] ARM: at91: atmel_nand: Support flash based BBT

2015-03-24 Thread Josh Wu
Hi, David Thanks for the patch. On 3/20/2015 5:52 PM, David Dueck wrote: Add support for on-flash bad block table. This makes U-Boot handle an existing BBT correctly. Signed-off-by: David Dueck Reviewed-by: Boris BREZILLON CC: Boris BREZILLON CC: Josh Wu CC: Andreas Bießmann CC: Scott Woo

Re: [U-Boot] [PATCH v3] arm: mx5: Add support for USB armory board

2015-03-24 Thread Chris Kuethe
On Tue, Mar 24, 2015 at 4:25 PM, Vagrant Cascadian wrote: > Unfortunately, this fails to build with numerous errors such as: Heh. I was just about to go investigate that. > ... > +#include > + > #define MEM_LAYOUT_ENV_SETTINGS \ This section works for me. > I'd like to propose only setting b

Re: [U-Boot] [PATCH v3] arm: mx5: Add support for USB armory board

2015-03-24 Thread Vagrant Cascadian
On 2015-03-24, and...@inversepath.com wrote: > Add support for Inverse Path USB armory board, an open source > flash-drive sized computer based on Freescale i.MX53 SoC. Thanks! Unfortunately, this fails to build with numerous errors such as: CC arch/arm/lib/asm-offsets.s In file included

[U-Boot] [PATCH v3 3/3] fastboot: ARM: OMAP5: Enable reboot-bootloader

2015-03-24 Thread Dileep Katta
Implemented fb_set_reboot_flag() for OMAP5 to set an environment variable 'dofastboot' when reboot-bootloader called. This environment variable will be checked in boot command and fastboot will be called if the variable is set. If the bootcmd env variable of OMAP5 common is overwritten with board-

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

2015-03-24 Thread Dileep Katta
This patch populates serial number environment variable from die_id_0 and die_id_1 register values for DRA7xx boards. The function is added in omap common code so that this can be re-used. Serial# environment variable will be useful to show correct information in "fastboot devices" commands. Ref

[U-Boot] [PATCH v3 1/3] ARM: DRA7XX: Enable Fastboot

2015-03-24 Thread Dileep Katta
- Fastboot is enable by default for DRA7XX - This is based on following patch modified accordingly http://git.omapzoom.org/?p=repo/u-boot.git;a=commit;h=b2e04f92b5d91c708b6fd6b79d2266966ac51f4b Signed-off-by: Angela Stegmaier Signed-off-by: Dileep Katta --- Changes in v2:

Re: [U-Boot] [PATCH 0/1] Adding Support for the BAV335x boards.

2015-03-24 Thread Gilles
Folks, I'm so sorry, I just realized that this patch went out with a somewhat incorrect commit comment. The patch is correct but the comment is that of a prior patch (Not sure why it didn't use that of git yet, maybe because I had an older patch laying around in the same directory before runnin

[U-Boot] [PATCH v3 17/17] odroid: config: enable dm pmic, dm regulator and max77686 driver

2015-03-24 Thread Przemyslaw Marczak
This change enables the configs required to init and setup max77686 regulator driver, using the new driver model pmic and regulator API. This commits enables: - CONFIG_ERRNO_STR - CONFIG_DM_PMIC - CONFIG_DM_PMIC_CMD - CONFIG_DM_PMIC_MAX77686 - CONFIG_DM_REGULATOR - CONFIG_DM_REGULATOR_CMD - CONFIG

[U-Boot] [PATCH v3 16/17] odroid: dts: add 'voltage-regulators' description to max77686 node

2015-03-24 Thread Przemyslaw Marczak
Adding regulators subnode to fdt max77686 node, allows properly init regulators by the max77686 regulator driver. This enables the complete functionality of the regulator command. Signed-off-by: Przemyslaw Marczak --- Changes V2: - odroid: dts: remove pmic alias Changes V3: - none --- arch/arm/

[U-Boot] [PATCH v3 07/17] dm: pmic: add pmic command

2015-03-24 Thread Przemyslaw Marczak
This is new command for the pmic devices based on driver model pmic api. Command features are unchanged: - list - list UCLASS pmic devices - pmic dev [id] - show or [set] operating pmic device (NEW) - pmic dump - dump registers - pmic read address - read byte of register at

[U-Boot] [PATCH v3 13/17] doc: driver-model: pmic and regulator uclass documentation

2015-03-24 Thread Przemyslaw Marczak
Signed-off-by: Przemyslaw Marczak --- Changes v2, V3: - update documentation with the framework api changes - remove doc file name 'dm' prefix --- doc/driver-model/pmic-framework.txt | 350 1 file changed, 350 insertions(+) create mode 100644 doc/driver-model

[U-Boot] [PATCH v3 14/17] dm: board:samsung: power_init_board: add requirement of CONFIG_DM_PMIC

2015-03-24 Thread Przemyslaw Marczak
In the power_init_board function call, regulator driver init is called, so before compile, make sure that any power framework is defined. Signed-off-by: Przemyslaw Marczak --- board/samsung/common/board.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/samsung/commo

[U-Boot] [PATCH v3 15/17] odroid: board: add support to dm pmic api

2015-03-24 Thread Przemyslaw Marczak
This commit change the old pmic framework calls with the new ones. Signed-off-by: Przemyslaw Marczak --- Changes v2: - remove board_init_i2c() call - update regulator calls - update headers - samsung/misc.c: include required header Changes v3: - adjust regulator calls to new api --- board/samsu

[U-Boot] [PATCH v3 11/17] dm: regulator: add max77686 regulator driver

2015-03-24 Thread Przemyslaw Marczak
This commit adds support to max77686 regulator driver based on a uclass regulator driver-model api, which provides implementation of all uclass regulator api function calls. New file: drivers/power/regulator/max77686.c New config: CONFIG_DM_REGULATOR_MAX77686 Signed-off-by: Przemyslaw Marczak --

[U-Boot] [PATCH v3 12/17] dm: regulator: add fixed voltage regulator driver

2015-03-24 Thread Przemyslaw Marczak
This driver implements regulator uclass features for fixed value regulators. For getting the basic regulator device-tree node constraints, this driver calls function 'regulator_ofdata_to_platdata()'. The typical fixed regulator node provides few additional properties: - gpio - gpio-open-drain - ena

[U-Boot] [PATCH v3 10/17] dm: pmic: add max77686 pmic driver

2015-03-24 Thread Przemyslaw Marczak
This is the implementation of driver model uclass pmic driver. The max77686 pmic driver implements read/write operations and driver bind method - to bind other pmic uclass devices as a parent pmic device. This driver provides pmic_platdata for also for child regulator. This driver will try to bind

[U-Boot] [PATCH v3 02/17] fdt_ro.c: add new function: fdt_node_check_prop_compatible()

2015-03-24 Thread Przemyslaw Marczak
This commit: - moves fdt_node_check_compatible() code to fdt_node_check_prop_compatible() - adds call to fdt_node_check_prop_compatible() in fdt_node_check_compatible() with 'compatible' as the name of compatible property. The function: fdt_node_check_compatible() - works the same as previous. T

[U-Boot] [PATCH v3 03/17] dm: core: lists.c: add new function lists_bind_fdt_by_prop()

2015-03-24 Thread Przemyslaw Marczak
This change adds new function: lists_bind_fdt_by_prop(), which can be used for bind the devices by custom property name for the compatible string. The function lists_bind_fdt() works the same as previous. Signed-off-by: Przemyslaw Marczak --- drivers/core/lists.c | 28 +++---

[U-Boot] [PATCH v3 08/17] dm: regulator: add regulator command

2015-03-24 Thread Przemyslaw Marczak
This command is based on driver model regulator api. User interface features: - list - list UCLASS regulator devices - regulator dev [id] - show or [set] operating regulator device - regulator [info] - print constraints info - regulator [status] - print operating sta

[U-Boot] [PATCH v3 05/17] dm: pmic: add implementation of driver model pmic uclass

2015-03-24 Thread Przemyslaw Marczak
This is an introduction to driver-model multi uclass PMIC support. It starts with UCLASS_PMIC - a common PMIC devices uclass type to provide device read/write operations only. Beside two basic operations the pmic platform data is introduced, which provides basic informations about the pmic device

[U-Boot] [PATCH v3 09/17] pmic: max77686 set the same compatible as in the kernel

2015-03-24 Thread Przemyslaw Marczak
This commit also updates the proper dts files. Signed-off-by: Przemyslaw Marczak --- arch/arm/dts/exynos4412-odroid.dts | 2 +- arch/arm/dts/exynos4412-trats2.dts | 2 +- arch/arm/dts/exynos5250-smdk5250.dts | 2 +- arch/arm/dts/exynos5250-snow.dts | 2 +- lib/fdtdec.c

[U-Boot] [PATCH v3 04/17] lib: Kconfig: add entry for errno_str() function

2015-03-24 Thread Przemyslaw Marczak
Signed-off-by: Przemyslaw Marczak --- lib/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/lib/Kconfig b/lib/Kconfig index c9d2767..06d0b28 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -65,4 +65,12 @@ config SHA_PROG_HW_ACCEL is performed in hardware. endmenu +con

[U-Boot] [PATCH v3 06/17] dm: regulator: add implementation of driver model regulator uclass

2015-03-24 Thread Przemyslaw Marczak
This is the implementation of driver model regulator uclass api. To use it, the CONFIG_DM_PMIC is required with driver implementation, since it provides pmic devices basic I/O API. To get the regulator device: - regulator_get() - get the regulator device The regulator framework is bas

[U-Boot] [PATCH v3 00/17] Power(full) framework based on Driver Model

2015-03-24 Thread Przemyslaw Marczak
Hello, Here is the third RFC version of the new PMIC framework.Big thanks to Simon Glass, your comments were really helpful, and I think, that this version is much more better to discuss, than the previous. The changes made in this version are described below each commit. Sorry that I didn't reply

[U-Boot] [PATCH v3 01/17] exynos5: fix build break by adding CONFIG_POWER

2015-03-24 Thread Przemyslaw Marczak
Move the configs listed below from exynos5-dt-common.h to exynos5-common.h: - CONFIG_POWER - CONFIG_POWER_I2C fixes build break for Arndale and Smdk5250 boards. Signed-off-by: Przemyslaw Marczak --- include/configs/exynos5-common.h | 4 1 file changed, 4 insertions(+) diff --git a/include/

Re: [U-Boot] [PATCH] ARM: rpi: fix RPi1 board rev detection for warranty bit

2015-03-24 Thread Tom Rini
On Mon, Mar 23, 2015 at 11:00:25PM -0600, Stephen Warren wrote: > Apparently the firmware's board rev response includes both the board > revision and some other data even on the RPi1. In particular, the > "warranty bit" is bit 24. We need to mask that out when looking up the > board ID. > > Signe

Re: [U-Boot] [PATCH] Change defconfigs to include driver model (required after v2015.01), and fix typo in EEProm config format.

2015-03-24 Thread Tom Rini
On Mon, Mar 23, 2015 at 11:13:03PM -0700, Gilles Gameiro wrote: > Signed-off-by: Gilles Gameiro Applied to u-boot/master and reworded the commit message slightly, thanks! Also, and this is something we all need to get into the habit of, when updating defconfig files it's best to do: $ make foo_

Re: [U-Boot] Pull request: u-boot-uniphier

2015-03-24 Thread Tom Rini
On Tue, Mar 24, 2015 at 12:22:17AM +0900, Masahiro Yamada wrote: > Hi Tom, > > The following changes since commit 21866c34a1b4098a8868c9250daf01baf84c2397: > > at91sam9rlek_mmc_defconfig: Add CONFIG_ARCH_AT91=y (2015-03-20 10:47:38 > -0400) > > are available in the git repository at: > >

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

2015-03-24 Thread Tom Rini
On Sat, Mar 21, 2015 at 01:56:19PM +0100, Hans de Goede wrote: > Hi Tom, > > Please pull u-boot-sunxi/master into master for a small bugfix which > makes sure we print the right error message when a non host cable > is plugged into the otg and we're configured for host mode. > > The following ch

[U-Boot] [PATCH v9 24/28] armv8/ls2085aqds: NAND boot support

2015-03-24 Thread York Sun
From: Scott Wood This adds NAND boot support for LS2085AQDS, using SPL framework. Details of forming NAND image can be found in README. Signed-off-by: Scott Wood Signed-off-by: York Sun --- Changes in v9: Update README for QDS NAND boot offset, page size, block size. Fix nand block size

[U-Boot] [PATCH v9 26/28] armv8/ls2085ardb: Enable NAND SPL support

2015-03-24 Thread York Sun
From: Scott Wood Enable NAND boot support using SPL framework. To boot from NAND, either use DIP switches on board, or "qixis_reset nand" command. Details of forming NAND image can be found in README. Signed-off-by: Scott Wood Signed-off-by: York Sun --- Changes in v9: Update README to add

Re: [U-Boot] [PATCH v8 24/28] armv8/ls2085aqds: NAND boot support

2015-03-24 Thread York Sun
On 03/24/2015 12:49 PM, Scott Wood wrote: > On Tue, 2015-03-24 at 12:47 -0700, York Sun wrote: >> +Booting from NAND >> +--- >> +Booting from NAND requires two images, RCW and u-boot-with-spl.bin. >> +The difference between NAND boot RCW image and NOR boot image is the PBI >> +com

Re: [U-Boot] [PATCH v8 24/28] armv8/ls2085aqds: NAND boot support

2015-03-24 Thread Scott Wood
On Tue, 2015-03-24 at 12:47 -0700, York Sun wrote: > +Booting from NAND > +--- > +Booting from NAND requires two images, RCW and u-boot-with-spl.bin. > +The difference between NAND boot RCW image and NOR boot image is the PBI > +command sequence. Below is one example for PBI command

[U-Boot] [PATCH v8 26/28] armv8/ls2085ardb: Enable NAND SPL support

2015-03-24 Thread York Sun
From: Scott Wood Enable NAND boot support using SPL framework. To boot from NAND, either use DIP switches on board, or "qixis_reset nand" command. Details of forming NAND image can be found in README. Signed-off-by: Scott Wood Signed-off-by: York Sun --- Changes in v8: Update README to add

[U-Boot] [PATCH v8 24/28] armv8/ls2085aqds: NAND boot support

2015-03-24 Thread York Sun
From: Scott Wood This adds NAND boot support for LS2085AQDS, using SPL framework. Details of forming NAND image can be found in README. Signed-off-by: Scott Wood Signed-off-by: York Sun --- Changes in v8: Update README to match the example for QDS NAND boot. Changes in v7: Move NAND boo

Re: [U-Boot] [PATCH v7 24/28] armv8/ls2085aqds: NAND boot support

2015-03-24 Thread York Sun
On 03/24/2015 12:30 PM, Scott Wood wrote: > On Tue, 2015-03-24 at 12:25 -0700, York Sun wrote: >> From: Scott Wood >> >> This adds NAND boot support for LS2085AQDS, using SPL framework. >> Details of forming NAND image can be found in README. >> >> Signed-off-by: Scott Wood >> Signed-off-by: Yo

Re: [U-Boot] [PATCH v7 24/28] armv8/ls2085aqds: NAND boot support

2015-03-24 Thread Scott Wood
On Tue, 2015-03-24 at 12:25 -0700, York Sun wrote: > From: Scott Wood > > This adds NAND boot support for LS2085AQDS, using SPL framework. > Details of forming NAND image can be found in README. > > Signed-off-by: Scott Wood > Signed-off-by: York Sun > > --- > > Changes in v7: > Move NAND

[U-Boot] [PATCH v7 26/28] armv8/ls2085ardb: Enable NAND SPL support

2015-03-24 Thread York Sun
From: Scott Wood Enable NAND boot support using SPL framework. To boot from NAND, either use DIP switches on board, or "qixis_reset nand" command. Details of forming NAND image can be found in README. Signed-off-by: Scott Wood Signed-off-by: York Sun --- Changes in v7: Move NAND boot instr

[U-Boot] [PATCH v7 24/28] armv8/ls2085aqds: NAND boot support

2015-03-24 Thread York Sun
From: Scott Wood This adds NAND boot support for LS2085AQDS, using SPL framework. Details of forming NAND image can be found in README. Signed-off-by: Scott Wood Signed-off-by: York Sun --- Changes in v7: Move NAND boot instruction to fsl-lsch3/README. Update board setting to put RCW and

Re: [U-Boot] [PATCH 4/6] mmc: Continue polling MMC card for OCR only if it is still not ready

2015-03-24 Thread Andrew Gabbasov
> From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] > Sent: Tuesday, March 24, 2015 9:03 PM > To: Gabbasov, Andrew; peng@freescale.com; u-boot@lists.denx.de > Cc: Eric Nelson > Subject: Re: [U-Boot] [PATCH 4/6] mmc: Continue polling MMC card for OCR > only if it is still not ready > > O

Re: [U-Boot] Set up stdio earlier when using driver model <--- breaks sbc8548 booting.

2015-03-24 Thread Simon Glass
Hi Paul, On 24 March 2015 at 07:33, Paul Gortmaker wrote: > [Re: Set up stdio earlier when using driver model <--- breaks sbc8548 > booting.] On 23/03/2015 (Mon 17:01) Simon Glass wrote: > >> Hi Paul, >> >> On 16 March 2015 at 19:41, Paul Gortmaker >> wrote: >> > Testing latest master on sbc85

Re: [U-Boot] [PATCH 4/6] mmc: Continue polling MMC card for OCR only if it is still not ready

2015-03-24 Thread Troy Kisky
On 3/24/2015 9:33 AM, Andrew Gabbasov wrote: > Hi Troy, > >> From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] >> Sent: Monday, March 23, 2015 11:09 PM >> To: Gabbasov, Andrew; peng@freescale.com; u-boot@lists.denx.de >> Cc: Eric Nelson >> Subject: Re: [U-Boot] [PATCH 4/6] mmc: Continue

Re: [U-Boot] [PATCH v5 24/28] armv8/ls2085aqds: NAND boot support

2015-03-24 Thread Scott Wood
On Tue, 2015-03-24 at 11:34 -0500, Kushwaha Prabhakar-B32579 wrote: > > > -Original Message- > > From: Sun York-R58495 > > Sent: Tuesday, March 24, 2015 9:15 PM > > To: Wood Scott-B07421 > > Cc: u-boot@lists.denx.de; Kushwaha Prabhakar-B32579 > > Subject: Re: [PATCH v5 24/28] armv8/ls2085a

[U-Boot] [PATCH 2/2] mtd: vf610_nfc: specify transfer size before each transfer

2015-03-24 Thread Stefan Agner
Testing showed, that commands like STATUS made the buffer dirty when executed with NFC_SECSZ set to the page size. It looks like the controller transfers bogus data when this register is configured. When setting it to 0, the buffer does not get altered while the status command still seems to work f

[U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-24 Thread Stefan Agner
The driver tries to re-use the page buffer by storing the page number of the current page in the buffer. The page is only read if the requested page number is not currently in the buffer. When a block is erased, the page number is marked as invalid if the erased page equals the one currently in the

Re: [U-Boot] [PATCH v5 24/28] armv8/ls2085aqds: NAND boot support

2015-03-24 Thread York Sun
On 03/24/2015 09:34 AM, Kushwaha Prabhakar-B32579 wrote: > >> -Original Message- >> From: Sun York-R58495 >> Sent: Tuesday, March 24, 2015 9:15 PM >> To: Wood Scott-B07421 >> Cc: u-boot@lists.denx.de; Kushwaha Prabhakar-B32579 >> Subject: Re: [PATCH v5 24/28] armv8/ls2085aqds: NAND boot

Re: [U-Boot] [PATCH v5 24/28] armv8/ls2085aqds: NAND boot support

2015-03-24 Thread prabha...@freescale.com
> -Original Message- > From: Sun York-R58495 > Sent: Tuesday, March 24, 2015 9:15 PM > To: Wood Scott-B07421 > Cc: u-boot@lists.denx.de; Kushwaha Prabhakar-B32579 > Subject: Re: [PATCH v5 24/28] armv8/ls2085aqds: NAND boot support > > > > On 03/23/2015 06:34 PM, Scott Wood wrote: > > On

Re: [U-Boot] [PATCH 4/6] mmc: Continue polling MMC card for OCR only if it is still not ready

2015-03-24 Thread Andrew Gabbasov
Hi Troy, > From: Troy Kisky [mailto:troy.ki...@boundarydevices.com] > Sent: Monday, March 23, 2015 11:09 PM > To: Gabbasov, Andrew; peng@freescale.com; u-boot@lists.denx.de > Cc: Eric Nelson > Subject: Re: [U-Boot] [PATCH 4/6] mmc: Continue polling MMC card for OCR > only if it is still not re

Re: [U-Boot] [PATCH v5 24/28] armv8/ls2085aqds: NAND boot support

2015-03-24 Thread York Sun
On 03/23/2015 06:34 PM, Scott Wood wrote: > On Fri, 2015-03-20 at 19:28 -0700, York Sun wrote: >> +Generage NAND image >> +--- >> +To form the NAND image, build u-boot with LS2085AQDS_NAND_defconfig. >> +Append u-boot-with-spl.bin after RCW image. The RCW image should >> +have the

Re: [U-Boot] [PATCH] ehci-hcd: fix warnings on 64-bit builds

2015-03-24 Thread Marek Vasut
On Tuesday, March 24, 2015 at 12:36:55 AM, Rob Herring wrote: > On Fri, Mar 20, 2015 at 8:19 AM, Marek Vasut wrote: > > On Tuesday, March 17, 2015 at 09:46:37 PM, Rob Herring wrote: > >> Change addresses to unsigned long to be compatible with 64-bit builds. > >> Regardless of fixing warnings, the

Re: [U-Boot] [PATCH 14/28] drivers/fsl-mc: Changed MC firmware loading for new boot architecture

2015-03-24 Thread Kim Phillips
On Tue, 24 Mar 2015 10:14:39 -0500 Rivera Jose-B46482 wrote: > > From: Kim Phillips [mailto:kim.phill...@freescale.com] > > Sent: Monday, March 23, 2015 5:06 PM > > > > On Mon, 23 Mar 2015 16:15:56 -0500 > > Rivera Jose-B46482 wrote: > > > > > > From: Kim Phillips [mailto:kim.phill...@freescal

Re: [U-Boot] [PATCH V3 3/3] rpi: add support for Raspberry Pi 2 model B

2015-03-24 Thread Stephen Warren
On 02/19/2015 01:50 AM, Masahiro Yamada wrote: On Wed, 18 Feb 2015 23:00:36 -0700 Stephen Warren wrote: On 02/17/2015 01:22 PM, Tom Rini wrote: On Tue, Feb 17, 2015 at 12:35:41PM -0700, Stephen Warren wrote: On 02/16/2015 06:03 PM, Tom Rini wrote: On Mon, Feb 16, 2015 at 12:16:15PM -0700, S

Re: [U-Boot] [PATCH] tegra: pinmux: fix FUNCMUX_NDFLASH_KBC_8_BIT

2015-03-24 Thread Stephen Warren
On 03/24/2015 06:29 AM, Marcel Ziswiler wrote: From: Lucas Stach Even the 8-bit case needs KBCB configured, as pin D7 is located in this pingroup. Also pingroup ATC seems to come out of reset with config set to NAND, so we need to explictly configure some other function to this group in order t

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

2015-03-24 Thread Mark Rutland
> >> > +/* SMP Spin Table Definitions */ > >> > +#ifdef CONFIG_BASE_FVP > >> > +#define CPU_RELEASE_ADDR (CONFIG_SYS_SDRAM_BASE + > >> > 0x03f0) > >> > +#else > >> > +#define CPU_RELEASE_ADDR (CONFIG_SYS_SDRAM_BASE + 0x7fff0) > >> > +#endif > >> > >> Where are these

Re: [U-Boot] [PATCH 4/6] armv8/mmu: Set bits marked RES1 in TCR

2015-03-24 Thread FengHua
> -Original Messages- > From: "Thierry Reding" > Sent Time: 2015-03-20 19:47:51 (Friday) > To: u-boot@lists.denx.de > Cc: "Marc Zyngier" > Subject: [U-Boot] [PATCH 4/6] armv8/mmu: Set bits marked RES1 in TCR > > From: Thierry Reding > > For EL3 and EL2, the documentation says that b

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

2015-03-24 Thread FengHua
hi Linus, > -Original Messages- > From: "Linus Walleij" > Sent Time: 2015-03-20 17:39:48 (Friday) > To: FengHua > Cc: "U-Boot Mailing List" , "albert.u.boot" > > Subject: Re: Re: [PATCH] Vexpress64: Fix the compiling error when > CONFIG_ARMV8_MULTIENTRY defined > > On Wed, Mar 11, 2

Re: [U-Boot] [PATCH 6/6] armv8: Allow SoCs to override the generic timer

2015-03-24 Thread FengHua
hi Thierry, > -Original Messages- > From: "Thierry Reding" > Sent Time: 2015-03-20 19:47:53 (Friday) > To: u-boot@lists.denx.de > Cc: "Marc Zyngier" > Subject: [U-Boot] [PATCH 6/6] armv8: Allow SoCs to override the generic timer > > From: Thierry Reding > > Some SoCs come with a cus

Re: [U-Boot] [PATCH 3/6] armv8/mmu: Clean up TCR programming

2015-03-24 Thread FengHua
> -Original Messages- > From: "Thierry Reding" > Sent Time: 2015-03-20 19:47:50 (Friday) > To: u-boot@lists.denx.de > Cc: "Marc Zyngier" > Subject: [U-Boot] [PATCH 3/6] armv8/mmu: Clean up TCR programming > > From: Thierry Reding > > Use the inner shareable attribute for memory, whi

Re: [U-Boot] [PATCH 1/6] armv8/cache: Fix page table creation

2015-03-24 Thread FengHua
> -Original Messages- > From: "Thierry Reding" > Sent Time: 2015-03-20 19:47:48 (Friday) > To: u-boot@lists.denx.de > Cc: "Marc Zyngier" > Subject: [U-Boot] [PATCH 1/6] armv8/cache: Fix page table creation > > From: Thierry Reding > > While generating the page tables, a running inte

Re: [U-Boot] [PATCH 2/6] armv8: Implement CONFIG_SYS_MALLOC_F_LEN support

2015-03-24 Thread FengHua
hi Thierry, > -Original Messages- > From: "Thierry Reding" > Sent Time: 2015-03-20 19:47:49 (Friday) > To: u-boot@lists.denx.de > Cc: "Marc Zyngier" > Subject: [U-Boot] [PATCH 2/6] armv8: Implement CONFIG_SYS_MALLOC_F_LEN support > > From: Thierry Reding > > Implement early malloc()

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

2015-03-24 Thread Albert ARIBAUD
Hi Scott, Le Mon, 23 Mar 2015 20:20:50 -0500, Scott Wood a écrit : > On Mon, 2015-03-23 at 09:45 +0100, Albert ARIBAUD wrote: > > Bonjour Scott, > > > > Le Fri, 20 Mar 2015 17:41:11 -0500, Scott Wood > > a écrit : > > > > > On Fri, 2015-03-20 at 10:35 +0100, Albert ARIBAUD wrote: > > > > BTW,

[U-Boot] [PATCH v3] dm: spi: Convert Freescale DSPI driver to driver model

2015-03-24 Thread Haikun Wang
Move the Freescale DSPI driver over to driver model. Signed-off-by: Haikun Wang --- Changes in v3: - Coding style cleanup - Remove cur_slave_plat in structure fsl_dspi_priv - Change arguments of 'claim_bus' and 'release_bus' - Remove 'fsl_dspi_child_post_remove' - Add support NO-DM SPI - Add 'cp

Re: [U-Boot] Set up stdio earlier when using driver model <--- breaks sbc8548 booting.

2015-03-24 Thread Paul Gortmaker
[Re: Set up stdio earlier when using driver model <--- breaks sbc8548 booting.] On 23/03/2015 (Mon 17:01) Simon Glass wrote: > Hi Paul, > > On 16 March 2015 at 19:41, Paul Gortmaker > wrote: > > Testing latest master on sbc8548 (ppc e500v2 single core) and it hangs > > at the "Net: " line; a w

Re: [U-Boot] arm: mx5: Add support for USB armory board

2015-03-24 Thread Andrej Rosano
Hi Vagrant, On Sat, Mar 21, 2015 at 08:12:28AM -0700, Vagrant Cascadian wrote: > On 2015-03-19, Andrej Rosano wrote: > > On Thu, Mar 19, 2015 at 09:55:26AM -0700, Vagrant Cascadian wrote: > >> On 2015-02-24, and...@inversepath.com wrote: > >> > Add support for Inverse Path USB armory board, an ope

[U-Boot] [PATCH v3] arm: mx5: Add support for USB armory board

2015-03-24 Thread andrej
From: Andrej Rosano Add support for Inverse Path USB armory board, an open source flash-drive sized computer based on Freescale i.MX53 SoC. http://inversepath.com/usbarmory Signed-off-by: Andrej Rosano Cc: Stefano Babic Cc: Chris Kuethe Cc: Fabio Estevam Cc: Vagrant Cascadian --- Changes f

[U-Boot] [PATCH 5/5 v1] dm: ls1021a: dts: Add QSPI dts node

2015-03-24 Thread Haikun Wang
Add QSPI controller dts node in ls1021a.dtsi. Add QSPI slave device dts node in ls1021a-twr.dts and ls1021a-qds.dts. Signed-off-by: Haikun Wang --- arch/arm/dts/ls1021a-qds.dts | 14 ++ arch/arm/dts/ls1021a-twr.dts | 14 ++ arch/arm/dts/ls1021a.dtsi| 11 +++ 3

[U-Boot] [PATCH 4/5 v1] dm: ls1021a: dts: Update DSPI node to support DM SPI

2015-03-24 Thread Haikun Wang
Update DSPI controller node in ls1021a.dtsi. Update flash device node in ls1021a-qds.dts. Ls1021a-twr board doesn't support DSPI, so remove DSPI node in ls1021a-twr.dts. Signed-off-by: Haikun Wang --- arch/arm/dts/ls1021a-qds.dts | 3 ++- arch/arm/dts/ls1021a-twr.dts | 15 --- arch/

[U-Boot] [PATCH 3/5 v1] dm: ls1021a: dts: Change address_cells and size_cells from 2 to 1

2015-03-24 Thread Haikun Wang
From: haikun Change address_cells and size_cells of root node and 'soc' node from 2 to 1. We backport ls1021a device tree source files from kernel to u-boot. Kernel files set address_cells and size_cells to 2 in order to access more than 4GB space. But we don't have this requirement now and u-bo

[U-Boot] sunxi A10s HDMI output problem

2015-03-24 Thread Michal Suchanek
Hello, I tried to connect the A10s olinuxino to a screen with dual DVI input and while the display mostly works I get red console background instead of black. Sending get-edid output from PC connected to the other DVI connector obtained using a VBE call. If you need more information please speci

[U-Boot] [PATCH 2/5] dm: ls1021a: Bring in ls1021a dts files from linux kernel

2015-03-24 Thread Haikun Wang
From: haikun Bring in required device tree files for ls1021a from Linux. These are initially unchanged and have a number of pieces not needed by U-Boot. Signed-off-by: Haikun Wang --- arch/arm/dts/Makefile| 3 + arch/arm/dts/ls1021a-qds.dts | 201 +++ arch/arm/dts

[U-Boot] [PATCH 1/5 v1] dm: arm: Bring in skeleton64 device tree file from Linux

2015-03-24 Thread Haikun Wang
Backport of kernel commits: 7c14f6c719de092d69c81877786e83ce7ae1a860 35faad2a1563b3d4dc983a82ac41033fe053870c Signed-off-by: Haikun Wang --- arch/arm/dts/skeleton64.dtsi | 13 + 1 file changed, 13 insertions(+) create mode 100644 arch/arm/dts/skeleton64.dtsi diff --

[U-Boot] [PATCH] tegra: pinmux: fix FUNCMUX_NDFLASH_KBC_8_BIT

2015-03-24 Thread Marcel Ziswiler
From: Lucas Stach Even the 8-bit case needs KBCB configured, as pin D7 is located in this pingroup. Also pingroup ATC seems to come out of reset with config set to NAND, so we need to explictly configure some other function to this group in order to avoid clashing settings. Signed-off-by: Lucas

Re: [U-Boot] [PATCH] net: phy: micrel: add support for KSZ8081MNX

2015-03-24 Thread Pavel Machek
On Tue 2015-03-24 11:32:24, Luca Ellero wrote: > This patch adds a support for KSZ8081MNX in MII mode. > > Signed-off-by: Luca Ellero Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[U-Boot] [PATCH] arm:ls1021a: Reserve secure code into RAM instead of OCRAM

2015-03-24 Thread Zhuoyu Zhang
For ls1021a, Reserve secure code in to memory in case OCRAM is needed by other usage. Signed-off-by: Zhuoyu Zhang --- include/configs/ls1021aqds.h | 1 - include/configs/ls1021atwr.h | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/ls1021aqds.h b/include/configs/ls1021aqds.h

Re: [U-Boot] [PATCH v3 2/7] generic-board: select SYS_GENERIC_BOARD for some architectures

2015-03-24 Thread Alexey Brodkin
On Mon, 2015-03-23 at 15:33 -0600, Simon Glass wrote: > On 19 March 2015 at 04:42, Masahiro Yamada > wrote: > > We have done with the generic board conversion for all the boards > > of ARC, Blackfin, M68000, MicroBlaze, MIPS, NIOS2, Sandbox, X86. > > > > Let's select SYS_GENERIC_BOARD for those ar

Re: [U-Boot] [PATCH v3 1/7] generic-board: move __HAVE_ARCH_GENERIC_BOARD to Kconfig

2015-03-24 Thread Alexey Brodkin
On Mon, 2015-03-23 at 15:33 -0600, Simon Glass wrote: > On 19 March 2015 at 04:42, Masahiro Yamada > wrote: > > Move the option to Kconfig renaming it to CONFIG_HAVE_GENERIC_BOARD. > > > > Signed-off-by: Masahiro Yamada > > --- > > > > Changes in v2: None > > > > Makefile | 2 +

[U-Boot] [PATCH] env_sf: Fix recovery default

2015-03-24 Thread Mario Schuknecht
The u-boot environment is redundantly stored in a NOR flash on our boards. Redundant means that there are two places to store the environment. But only one of the two is active. I discovered that on one board the u-boot (env_sf) uses the environment from the second place and the Kernel (fw_printenv

[U-Boot] [PATCH] net: phy: micrel: add support for KSZ8081MNX

2015-03-24 Thread Luca Ellero
This patch adds a support for KSZ8081MNX in MII mode. Signed-off-by: Luca Ellero --- drivers/net/phy/micrel.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index 1815b29..49f444a 100644 --- a/drivers/net/phy/micrel.c +++ b/

Re: [U-Boot] 64Bit device tree compilation

2015-03-24 Thread Mark Rutland
Hi, > Maybe a dumb question, why do we need to have a 64-bit U-Boot for > arm64? I don't see we ever created 64-bit U-Boot for ppc64. In ARMv8 it's not possible to change the register width at an exception level (i.e. you can't change 64->32 or vice-versa), and lower exception levels cannot be wi

[U-Boot] [PATCH v2] ARM: at91: at91sam9n12ek: save the environment to a fat file in MMC card

2015-03-24 Thread Josh Wu
Insteading in mmc's raw sectors, this patch will save the environment in a fat file (uboot.env) in mmc card's first FAT patition by default. If you want to save in mmc's raw sectors, you only need to define CONFIG_ENV_IS_IN_MMC. Signed-off-by: Josh Wu --- Changes in v2: - not remove the code to

[U-Boot] [PATCH] board/p2020rdb: fix the FDT_ERR_NOTFOUND issue

2015-03-24 Thread ying.zhang
From: Ying Zhang Because the function ft_board_setup() delete the USB2 device node, it leads to can't find the device node and hung up. In fact only P1020RDB needs to delete the USB2 node, this patch fixes this issue. Signed-off-by: Ying Zhang --- board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c |

[U-Boot] [PATCH] common/board_f: move board_init_f_mem() from #else CONFIG_X86

2015-03-24 Thread Alexey Brodkin
Purpose of this change is to make it possible to re-use code currently used on X86 solely for other architectures. For example: * init_sequence_f_r * board_init_f_r Even though board_init_f_mem() has nothing to do with any particular architecture it won't work (at least in current implementation

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

2015-03-24 Thread Albert ARIBAUD
Bonjour Simon, Le Mon, 23 Mar 2015 17:55:56 -0600, Simon Glass a écrit : > Hi Albert, > > On 16 March 2015 at 14:28, Albert ARIBAUD wrote: > > Hello Simon, > > > > On Mon, 16 Mar 2015 11:40:54 -0600, Simon Glass > > wrote: > >> Hi Anish, > >> > >> On 16 March 2015 at 10:28, Anish Khurana >

[U-Boot] [PATCH] ARM: at91: at91sam9n12ek: save the environment to a fat file in MMC card

2015-03-24 Thread Josh Wu
Insteading in mmc's raw sectors, this patch will save the environment in a fat file (uboot.env) in mmc card's first FAT patition. Signed-off-by: Josh Wu --- include/configs/at91sam9n12ek.h | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/include/configs/at91sam9n1

  1   2   >