[U-Boot] [PATCH] serial: rockchip: make ROCKCHIP_SERIAL depend on ARCH_ROCKCHIP

2015-09-28 Thread Masahiro Yamada
It looks like this line was copy-pasted, but not modified. Signed-off-by: Masahiro Yamada --- drivers/serial/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index ccb80d2..ddb725d 100644

[U-Boot] PCI issues for bringing up ACPI support on QEMU and Minnowmax target

2015-09-28 Thread Saket Sinha
Hi, This is regarding the PCI configuration issue I am facing for bringing up ACPI Support on QEMU and Minnowmax. Please find below my observations for the QEMU architecture. I am comparing arch/x86/cpu/qemu/acpi/pci-crs.asl and arch/x86/dts/qemu-x86_q35.dts and we find there are different

Re: [U-Boot] [PATCH v2 02/13] x86: fsp: Report correct number of E820 table entries

2015-09-28 Thread Simon Glass
On 28 September 2015 at 03:11, Bin Meng wrote: > The logic to calculate the number of E820 table entries is wrong > when walking through the FSP HOB tables. Fix it. > > Signed-off-by: Bin Meng > Tested-by: Jian Luo > > --- >

Re: [U-Boot] Please pull u-boot-x86

2015-09-28 Thread Simon Glass
Hi Bin, On 28 September 2015 at 22:48, Bin Meng wrote: > Hi Simon, > > On Tue, Sep 29, 2015 at 12:46 PM, Simon Glass wrote: >> Hi, >> >> A little bug fix, >> >> The following changes since commit 1f8836396de8215b7f460616926052b32597bb29: >> >> Prepare

[U-Boot] [PATCH 2/6] dm: core: Adjust device.h header file order

2015-09-28 Thread Simon Glass
Move a few functions around so that the ordering is consistent. Signed-off-by: Simon Glass --- include/dm/device.h | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/include/dm/device.h b/include/dm/device.h index

[U-Boot] [PATCH 6/6] dm: core: Tidy up comments in device.h

2015-09-28 Thread Simon Glass
Correct a few nits found in a recent review. Expand the comments in dev_get_driver_data() to make it clearer. Signed-off-by: Simon Glass --- include/dm/device.h | 19 --- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/include/dm/device.h

[U-Boot] [PATCH 3/6] dm: core: Fix device flag whitespace

2015-09-28 Thread Simon Glass
Line up the flag values in the code for easier readability. Signed-off-by: Simon Glass --- include/dm/device.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/dm/device.h b/include/dm/device.h index e09f897..286a702 100644 ---

[U-Boot] [PATCH 4/6] dm: core: Tidy up devres comments

2015-09-28 Thread Simon Glass
Adjust the devres comments to be consistent with the rest of the file, and add one for the struct udevice member. Also rename the 'p' parameter to 'ptr' to avoid single-character names. Signed-off-by: Simon Glass --- include/dm/device.h | 50

Re: [U-Boot] [PATCH] serial: rockchip: make ROCKCHIP_SERIAL depend on ARCH_ROCKCHIP

2015-09-28 Thread Simon Glass
On 28 September 2015 at 21:32, Masahiro Yamada wrote: > It looks like this line was copy-pasted, but not modified. > > Signed-off-by: Masahiro Yamada > --- > > drivers/serial/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1

Re: [U-Boot] PCI issues for bringing up ACPI support on QEMU and Minnowmax target

2015-09-28 Thread Bin Meng
Hi Saket, Changing email format to plain text, not sure if the mailing list allows HTML .. On Tue, Sep 29, 2015 at 12:36 PM, Saket Sinha wrote: > > Hi, > > This is regarding the PCI configuration issue I am facing for bringing up > ACPI Support on QEMU and Minnowmax.

[U-Boot] [PATCH 1/6] dm: Rename dev_get_parentdata() to dev_get_parent_priv()

2015-09-28 Thread Simon Glass
The current name is inconsistent with other driver model data access functions. Rename it and fix up all users. Signed-off-by: Simon Glass --- common/cmd_usb.c | 10 +- common/usb_hub.c | 4 ++-- common/usb_storage.c |

Re: [U-Boot] [PATCH] board/BuR/kwb: implement board-specific do_go_exec to form vxWorks bootline

2015-09-28 Thread Hannes Schmelzer
Hi Bin, works now well. Also the thing with bootvx and the bootline works fine. I will send some v2 of my patch today. many thanks and best regards, Hannes On 29.09.2015 04:46, Bin Meng wrote: Hi Hannes, On Mon, Sep 28, 2015 at 8:01 PM, Bin Meng wrote: Hi Hannes, On

Re: [U-Boot] [PATCH] fdt: fix fdtdec_get_addr_size not to require any size cells

2015-09-28 Thread Simon Glass
On 28 September 2015 at 04:41, Przemyslaw Marczak wrote: > Hello Stephen, > > > On 09/25/2015 06:11 PM, Stephen Warren wrote: >> >> From: Stephen Warren >> >> fdtdec_get_addr_size() may be used in two cases: >> a) With sizep supplied, in which case both

[U-Boot] Please pull u-boot-x86

2015-09-28 Thread Simon Glass
Hi, A little bug fix, The following changes since commit 1f8836396de8215b7f460616926052b32597bb29: Prepare v2015.10-rc4 (2015-09-28 16:57:42 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git for you to fetch changes up to

Re: [U-Boot] [PATCH 2/3] fix: s5p_gpio: call: dev_get_addr() instead of fdtdec_get_addr()

2015-09-28 Thread Simon Glass
On 25 September 2015 at 09:48, Stephen Warren wrote: > On 09/25/2015 02:36 AM, Przemyslaw Marczak wrote: >> >> Hello Stephen, >> >> On 09/24/2015 07:29 PM, Stephen Warren wrote: >>> >>> On 09/24/2015 09:29 AM, Przemyslaw Marczak wrote: After rework in

Re: [U-Boot] [PATCH V2 3/3] mach-exynos: clock: restore calling dead exynos4_get_mmc_clk()

2015-09-28 Thread Simon Glass
Hi, On 28 September 2015 at 06:17, Przemyslaw Marczak wrote: > After rework of code by: > > commit: d952796 Exynos5: Use clock_get_periph_rate generic API > > function get_mmc_clk() always returns -1 for Exynos 4. > > This was caused by omitting, that SDHCI driver for

Re: [U-Boot] [PATCH V2 1/3] fdtdec: fix parsing 'reg' property with zero value in '#size-cells'

2015-09-28 Thread Simon Glass
On 28 September 2015 at 06:17, Przemyslaw Marczak wrote: > After rework of lib/fdtdec.c by: > > commit: 02464e3 fdt: add new fdt address parsing functions > > the function fdtdec_get_addr() doesn't work as previous, > because the implementation assumes that properties

[U-Boot] [PATCH 5/6] dm: core: Remove a comment about dropping per_child_auto_alloc_size

2015-09-28 Thread Simon Glass
This has proven useful and we no-longer intend to remove it. Drop the comment. Signed-off-by: Simon Glass --- include/dm/device.h | 4 1 file changed, 4 deletions(-) diff --git a/include/dm/device.h b/include/dm/device.h index f60d153..0e40aaf 100644 ---

Re: [U-Boot] [PATCH 01/10] x86: chromebook_link: Expand early malloc() memory

2015-09-28 Thread Simon Glass
On 14 September 2015 at 06:15, Bin Meng wrote: > > On Wed, Sep 9, 2015 at 7:52 AM, Simon Glass wrote: > > Now that PCI bridges are probed before relocation we need additional memory. > > Each PCI bridge takes 240 bytes at present since it uses the same

Re: [U-Boot] [PATCH v2] nios2: convert nios2 cpu to driver model

2015-09-28 Thread Marek Vasut
On Tuesday, September 29, 2015 at 03:28:01 AM, Thomas Chou wrote: > Convert nios2 cpu to driver model. The cpu parameters are > extracted from device tree and saved to global data structure. > We will use them to replace the custom_fpga.h . > > Signed-off-by: Thomas Chou

Re: [U-Boot] Please pull u-boot-x86

2015-09-28 Thread Bin Meng
Hi Simon, On Tue, Sep 29, 2015 at 12:46 PM, Simon Glass wrote: > Hi, > > A little bug fix, > > The following changes since commit 1f8836396de8215b7f460616926052b32597bb29: > > Prepare v2015.10-rc4 (2015-09-28 16:57:42 -0400) > > are available in the git repository at: > >

Re: [U-Boot] [PATCH 03/11] Kconfig: add CONFIG_SYS_BOOTM_LEN

2015-09-28 Thread Hans de Goede
Hi, On 28-09-15 17:10, Tom Rini wrote: On Wed, Sep 23, 2015 at 10:25:35AM -0700, Ryan Harkin wrote: As config migrates from board config files to Kconfig, when adding CONFIG_SYS_BOOTM_LEN to a platform, I decided to add Kconfig support for CONFIG_SYS_BOOTM_LEN. Signed-off-by: Ryan Harkin

Re: [U-Boot] [PATCH v2 4/4] exynos: more debug and cleanup in do_sdhci_init()

2015-09-28 Thread Przemyslaw Marczak
Hello, On 09/25/2015 07:18 PM, Tobias Jakobi wrote: Add more debug printfs in do_sdhci_init() for calls that can potentially fail. Signed-off-by: Tobias Jakobi --- drivers/mmc/s5p_sdhci.c | 20 +++- 1 file changed, 11 insertions(+), 9

Re: [U-Boot] [PATCH v6 8/9] armv8: cavium: Add an implementation of ATF calling functions

2015-09-28 Thread Tom Rini
On Mon, Sep 28, 2015 at 07:27:57PM +0300, Sergei Temerkhanov wrote: > On Mon, Sep 28, 2015 at 5:47 PM, Tom Rini wrote: > > On Fri, Sep 25, 2015 at 07:17:18PM +0300, Sergey Temerkhanov wrote: > > > >> This commit adds functions issuing calls to the product-specific ATF > >>

Re: [U-Boot] Reproducible U-Boot build support, using SOURCE_DATE_EPOCH

2015-09-28 Thread Siarhei Siamashka
On Thu, 24 Sep 2015 09:05:10 -0700 Vagrant Cascadian wrote: > On 2015-07-26, Paul Kocialkowski wrote: > > In order to achieve reproducible builds in U-Boot, timestamps that are > > defined > > at build-time have to be somewhat eliminated. The SOURCE_DATE_EPOCH > >

Re: [U-Boot] [PATCH v2 2/4] exynos: Fix passing of errors in exynos_mmc_init()

2015-09-28 Thread Przemyslaw Marczak
Hello Tobias, On 09/25/2015 07:18 PM, Tobias Jakobi wrote: exynos_mmc_init() always returns zero, so for the caller it looks like it never fails. Correct this by returning the error code of process_nodes(). For process_nodes() do something similar and return early when do_sdhci_init() fails.

Re: [U-Boot] [PATCH v2 1/4] exynos: Properly initialize host_caps in s5p_sdhci_core_init()

2015-09-28 Thread Przemyslaw Marczak
Hello Tobias, On 09/25/2015 07:18 PM, Tobias Jakobi wrote: The sdhci_host struct is allocated in s5p_sdhci_init() but the fields are not initialized. Acked-by: Lukasz Majewski Signed-off-by: Tobias Jakobi --- drivers/mmc/s5p_sdhci.c |

Re: [U-Boot] [PATCH v2 3/4] exynos: be more verbose in process_nodes()

2015-09-28 Thread Przemyslaw Marczak
Hello Tobias, On 09/25/2015 07:18 PM, Tobias Jakobi wrote: In case sdhci_get_config() or do_sdhci_init() fail, show the error code that was returned. Signed-off-by: Tobias Jakobi --- drivers/mmc/s5p_sdhci.c | 12 +++- 1 file changed, 7 insertions(+),

Re: [U-Boot] Reproducible U-Boot build support, using SOURCE_DATE_EPOCH

2015-09-28 Thread Paul Kocialkowski
Le jeudi 24 septembre 2015 à 09:05 -0700, Vagrant Cascadian a écrit : > On 2015-07-26, Paul Kocialkowski wrote: > > In order to achieve reproducible builds in U-Boot, timestamps that are > > defined > > at build-time have to be somewhat eliminated. The SOURCE_DATE_EPOCH > > environment > >

Re: [U-Boot] [U-Boot, v2, 2/8] ARM: hikey: Add ATF makefile referenced by README

2015-09-28 Thread Tom Rini
On Thu, Sep 10, 2015 at 09:55:12PM +0100, Peter Griffin wrote: > Rather than relying on an external URL in the README > include the Makefile in the hikey directory. > > Signed-off-by: Peter Griffin Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v2, 7/8] ARM: hikey: hi6220: Migrate over to DM_SERIAL and use UART3 by default.

2015-09-28 Thread Tom Rini
On Thu, Sep 10, 2015 at 09:55:17PM +0100, Peter Griffin wrote: > Use DM for the pl01x serial driver on hikey. Also allow UART0 or > UART3 to be chosen via Kconfig. > > By default we now output to UART3 as the latest version of ATF outputs > to this UART. Also UART3 comes out on the LS connector,

Re: [U-Boot] [U-Boot, v2, 8/8] ARM: hikey: Adjust SDRAM_1_SIZE to 0x3EFFFFFF

2015-09-28 Thread Tom Rini
On Thu, Sep 10, 2015 at 09:55:18PM +0100, Peter Griffin wrote: > DRAM region 0x3f00 - 0x3fff is reserved for OP-TEE. Touching > 0x3f00 memory location from unsecure world causes the board > to hang. > > Signed-off-by: Peter Griffin > Reviewed-by: Simon

Re: [U-Boot] [U-Boot, v2, 5/8] ARM: hikey: Remove resetting gd->flags in board_init()

2015-09-28 Thread Tom Rini
On Thu, Sep 10, 2015 at 09:55:15PM +0100, Peter Griffin wrote: > This causes exceptions and other strange behaviour > when enabling CONFIG_SYS_MALLOC_F_LEN which is required to > migrate the serial driver over to DM_SERIAL. > > As GD_FLG_FULL_MALLOC_INIT flag gets reset, after relocation > we

Re: [U-Boot] [U-Boot,2/6] arm: Remove da830evm board

2015-09-28 Thread Tom Rini
On Sat, Sep 12, 2015 at 11:50:08AM -0600, Simon Glass wrote: > This board has not been converted to generic board by the deadline. > Remove it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,3/6] arm: Remove wireless_space board

2015-09-28 Thread Tom Rini
On Sat, Sep 12, 2015 at 11:50:09AM -0600, Simon Glass wrote: > This board has not been converted to generic board by the deadline. > Remove it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 4/8] ARM: hi6220: Add UART0 and UART3 base addresses

2015-09-28 Thread Tom Rini
On Thu, Sep 10, 2015 at 09:55:14PM +0100, Peter Griffin wrote: > Signed-off-by: Peter Griffin > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 3/8] ARM: hikey: Use linux/sizes.h for malloc size

2015-09-28 Thread Tom Rini
On Thu, Sep 10, 2015 at 09:55:13PM +0100, Peter Griffin wrote: > Use the #defines in linux/sizes for malloc size as it is > more readable. > > Signed-off-by: Peter Griffin > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v2, 6/8] ARM: hikey: Select DM, DM_GPIO from Kconfig

2015-09-28 Thread Tom Rini
On Thu, Sep 10, 2015 at 09:55:16PM +0100, Peter Griffin wrote: > Most platforms enable these options from Kconfig rather > than the configs header file. > > Signed-off-by: Peter Griffin > Reviewed-by: Simon Glass Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, 02/10] Kconfig: fix typo in CONFIG_FIT description

2015-09-28 Thread Tom Rini
On Wed, Aug 26, 2015 at 05:54:45PM +0300, Igor Grinberg wrote: > Fix typo in CONFIG_FIT description - remove the accidentially added > redundand 'the'. > > Signed-off-by: Igor Grinberg > Cc: Masahiro Yamada > Cc: Simon Glass

Re: [U-Boot] [U-Boot, v2, 1/8] ARM: hikey: Update README with various corrections

2015-09-28 Thread Tom Rini
On Thu, Sep 10, 2015 at 09:55:11PM +0100, Peter Griffin wrote: > The README had a few mistakes, and one of the URL's > had changed. Also update the boot log with the latest > boot trace from ATF, which now includes the mcuimage.bin. > > Signed-off-by: Peter Griffin

Re: [U-Boot] [PATCH 03/11] Kconfig: add CONFIG_SYS_BOOTM_LEN

2015-09-28 Thread Tom Rini
On Mon, Sep 28, 2015 at 09:22:35PM +0200, Hans de Goede wrote: > Hi, > > On 28-09-15 17:10, Tom Rini wrote: > >On Wed, Sep 23, 2015 at 10:25:35AM -0700, Ryan Harkin wrote: > > > >>As config migrates from board config files to Kconfig, when adding > >>CONFIG_SYS_BOOTM_LEN to a platform, I decided

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

2015-09-28 Thread Tom Rini
On Mon, Sep 28, 2015 at 08:31:06AM +0200, Heiko Schocher wrote: > Hello Tom, > > Please pull from u-boot-ubi master > > The following changes since commit 1a9c229bf754c89f42b085451ad506693f326427: > > Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2015-09-24 > 12:28:10 -0400) >

Re: [U-Boot] malloc_simple: fix malloc_ptr calculation

2015-09-28 Thread Tom Rini
On Tue, Sep 08, 2015 at 12:41:24PM +0200, Philipp Rosenberger wrote: > The gd->malloc_ptr and the gd->malloc_limit are offsets to gd->malloc_base. > But the addr variable contains the absolute address. The new_ptr must be: > addr + bytes - gd->malloc_base. > > Signed-off-by: Philipp Rosenberger

Re: [U-Boot] [U-Boot, 01/10] configs: remove remnants of CONFIG_SYS_NAND_QUIET_TEST

2015-09-28 Thread Tom Rini
On Wed, Aug 26, 2015 at 05:54:44PM +0300, Igor Grinberg wrote: > The config option has been removed by one of the syncs with the Linux > mainline MTD subsystem: > ff94bc40af (mtd, ubi, ubifs: resync with Linux-3.14) > It has been left inside the config files. Currently does not look to > serve

[U-Boot] [ANN] U-Boot v2015.10-rc4 released

2015-09-28 Thread Tom Rini
Hey all, I've pushed v2015.10-rc4 out to the repository and tarballs should exist soon. We're coming up on the release date and I think things are in reasonable shape overall. Please speak up if there's some fixes I'm still overlooking, I thought I grabbed them all by now but I may have still

Re: [U-Boot] [PATCH v6 8/9] armv8: cavium: Add an implementation of ATF calling functions

2015-09-28 Thread Tom Rini
On Fri, Sep 25, 2015 at 07:17:18PM +0300, Sergey Temerkhanov wrote: > This commit adds functions issuing calls to the product-specific ATF > services > > Signed-off-by: Sergey Temerkhanov > Signed-off-by: Radha Mohan Chintakuntla OK, problem:

Re: [U-Boot] [PATCH v6 7/9] armv8: cavium: Add ThunderX 88xx board definition

2015-09-28 Thread Tom Rini
On Fri, Sep 25, 2015 at 07:17:17PM +0300, Sergey Temerkhanov wrote: > This commit adds basic Cavium ThunderX 88xx board definitions and support. > > Signed-off-by: Sergey Temerkhanov > Signed-off-by: Radha Mohan Chintakuntla [snip] >

Re: [U-Boot] [PATCH v6 7/9] armv8: cavium: Add ThunderX 88xx board definition

2015-09-28 Thread Sergei Temerkhanov
On Mon, Sep 28, 2015 at 5:47 PM, Tom Rini wrote: > On Fri, Sep 25, 2015 at 07:17:17PM +0300, Sergey Temerkhanov wrote: > >> This commit adds basic Cavium ThunderX 88xx board definitions and support. >> >> Signed-off-by: Sergey Temerkhanov >>

Re: [U-Boot] [PATCH 04/11] vexpress64: Kconfig: add CONFIG_SYS_BOOTM_LEN

2015-09-28 Thread Tom Rini
On Wed, Sep 23, 2015 at 10:25:36AM -0700, Ryan Harkin wrote: > vexpress64 kernels are usually over 8 MBytes in length, so setting the > max uImage length to 0x400 (64 Mbytes) should give us plenty of > scope for expansion. > > I mostly chose this length to match other board configs that use

Re: [U-Boot] [PATCH 03/11] Kconfig: add CONFIG_SYS_BOOTM_LEN

2015-09-28 Thread Ryan Harkin
Thanks Tom. On 28 September 2015 at 16:10, Tom Rini wrote: > On Wed, Sep 23, 2015 at 10:25:35AM -0700, Ryan Harkin wrote: > > > As config migrates from board config files to Kconfig, when adding > > CONFIG_SYS_BOOTM_LEN to a platform, I decided to add > > Kconfig support for

Re: [U-Boot] [PATCH 05/11] vexpress64: fvp dram: add DRAM configuration

2015-09-28 Thread Tom Rini
On Wed, Sep 23, 2015 at 10:25:37AM -0700, Ryan Harkin wrote: > Create an additional FVP configuration to boot images pre-loaded into > DRAM. > > Sometimes it's preferential to boot the model by loading the files > directly into DRAM via model parameters, rather than using > SemiHosting. > > An

Re: [U-Boot] [PATCH 1/5] fs/fat/fat_write: Fix buffer alignments

2015-09-28 Thread Tom Rini
On Mon, Sep 28, 2015 at 03:45:28PM +0200, Benoît Thébaudeau wrote: > set_cluster() was using a temporary buffer without enforcing its > alignment for DMA and cache. Moreover, it did not check the alignment of > the passed buffer, which can come directly from applicative code or from > the user. >

Re: [U-Boot] [PATCH 05/11] vexpress64: fvp dram: add DRAM configuration

2015-09-28 Thread Ryan Harkin
On 28 September 2015 at 16:14, Tom Rini wrote: > On Wed, Sep 23, 2015 at 10:25:37AM -0700, Ryan Harkin wrote: > > > Create an additional FVP configuration to boot images pre-loaded into > > DRAM. > > > > Sometimes it's preferential to boot the model by loading the files > >

Re: [U-Boot] [PATCH v6 8/9] armv8: cavium: Add an implementation of ATF calling functions

2015-09-28 Thread Sergei Temerkhanov
On Mon, Sep 28, 2015 at 5:47 PM, Tom Rini wrote: > On Fri, Sep 25, 2015 at 07:17:18PM +0300, Sergey Temerkhanov wrote: > >> This commit adds functions issuing calls to the product-specific ATF >> services >> >> Signed-off-by: Sergey Temerkhanov >>

Re: [U-Boot] [PATCH 03/11] Kconfig: add CONFIG_SYS_BOOTM_LEN

2015-09-28 Thread Tom Rini
On Wed, Sep 23, 2015 at 10:25:35AM -0700, Ryan Harkin wrote: > As config migrates from board config files to Kconfig, when adding > CONFIG_SYS_BOOTM_LEN to a platform, I decided to add > Kconfig support for CONFIG_SYS_BOOTM_LEN. > > Signed-off-by: Ryan Harkin >

Re: [U-Boot] [PATCH 03/11] Kconfig: add CONFIG_SYS_BOOTM_LEN

2015-09-28 Thread Tom Rini
On Mon, Sep 28, 2015 at 04:35:09PM +0100, Ryan Harkin wrote: > Thanks Tom. > > On 28 September 2015 at 16:10, Tom Rini wrote: > > > On Wed, Sep 23, 2015 at 10:25:35AM -0700, Ryan Harkin wrote: > > > > > As config migrates from board config files to Kconfig, when adding > > >

[U-Boot] Please pull u-boot-ubi master

2015-09-28 Thread Heiko Schocher
Hello Tom, Please pull from u-boot-ubi master The following changes since commit 1a9c229bf754c89f42b085451ad506693f326427: Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2015-09-24 12:28:10 -0400) are available in the git repository at: git://git.denx.de/u-boot-ubi.git

[U-Boot] [PATCH] board/BuR/kwb: implement board-specific do_go_exec to form vxWorks bootline

2015-09-28 Thread Hannes Schmelzer
Since we don't have for sure a valid IP-setup during board_late_init(...) because it maybe allready stored in environment or not, we cannot form a proper vxWorks bootline at this place. So we move to the way, forming the bootline just before executing/launching vxWorks with "go ". At this time we

Re: [U-Boot] [Patch v2 09/16] ARMv8/FSL_LSCH2: Add FSL_LSCH2 SoC

2015-09-28 Thread Hu Vincent
> -Original Message- > From: Kushwaha Prabhakar-B32579 > Sent: Sunday, September 27, 2015 12:11 PM > To: Sun York-R58495; Hu Mingkai-B21284; Gong Qianyu-B52263; u- > b...@lists.denx.de > Cc: Wood Scott-B07421; Li Yang-Leo-R58472; Hou Zhiqiang-B48286; Song > Wenbin-B53747 > Subject: RE:

Re: [U-Boot] [PATCH 0/8] Better support of booting VxWorks via 'bootvx'

2015-09-28 Thread Jian Luo
Hi, please add Tested-by: Jian Luo on crownbay Best regards, Jian Luo On 24.09.2015 11:21, Bin Meng wrote: > This series adds better support of booting VxWorks using 'bootvx'. > > Tested by booting a VxWorks 6.9.4 kernel on Intel Crown Bay, and > a VxWorks 7

[U-Boot] [PATCH v2 5/5] defconfig: am335x: gp_evm: enable mmc driver model

2015-09-28 Thread Mugunthan V N
enable mmc driver model for am335x gp_evm as omap_hsmmc supports driver model Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini --- configs/am335x_gp_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_gp_evm_defconfig

[U-Boot] [PATCH v2 4/5] defconfig: am335x: bbb: enable mmc driver model

2015-09-28 Thread Mugunthan V N
enable mmc driver model for am335x bbb as omap_hsmmc supports driver model Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini --- configs/am335x_boneblack_vboot_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH v2 3/5] drivers: mmc: omap_hsmmc: convert driver to adopt device driver model

2015-09-28 Thread Mugunthan V N
adopt omap_hsmmc driver to device driver model Signed-off-by: Mugunthan V N --- drivers/mmc/omap_hsmmc.c | 117 ++- 1 file changed, 116 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c

[U-Boot] [PATCH v2 2/5] am335x_evm: mmc: do not define DM_MMC for spl

2015-09-28 Thread Mugunthan V N
Since spl doesn't support DM currently, do not define DM_MMC for spl build. Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini --- include/configs/am335x_evm.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/am335x_evm.h

[U-Boot] [PATCH v2 1/5] omap_hsmmc: update struct hsmmc to accomodate base address from DT

2015-09-28 Thread Mugunthan V N
Existing driver gets the actual omap hammc base address + 0x100 bytes as the first 0x100 bytes is not used by the driver. But with DM conversion the base address from DT is different, to accommodate the offset adding res0[0x100] to struct hsmmc. Signed-off-by: Mugunthan V N

[U-Boot] [PATCH v2 0/5] device model bringup of hsmmc on am335x bone black and gp evm

2015-09-28 Thread Mugunthan V N
This patch seires enables omap_hsmmc to adopt driver model. This has been tested on AM335x beagle bone black and GP EVM (logs [1]). Also pushed a branch for testing [2] [1]: http://pastebin.ubuntu.com/12600659/ [2]: git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git mmc-dm-v2 Changes

Re: [U-Boot] [PATCH 5/6] am437x: Add am437x_gp_evm_defconfig using CONFIG_DM

2015-09-28 Thread Lokesh Vutla
On Monday 28 September 2015 04:17 PM, Mugunthan V N wrote: > Import various DT files for am4372, an43xx pinctrl and > am437x-gp-evm from Linux Kernel v4.2 > Add config file for this board, enable DM, DM_GPIO, DM_SERIAL > and DM_MMC. Reviewed-by: Lokesh Vutla Thanks and

Re: [U-Boot] [PATCH 6/6] am437x: Add am437x_sk_evm_defconfig using CONFIG_DM

2015-09-28 Thread Lokesh Vutla
On Monday 28 September 2015 04:17 PM, Mugunthan V N wrote: > Import various DT files for am437x-sk-evm from Linux Kernel v4.2 > Add config file for this board, enable DM, DM_GPIO, DM_SERIAL > and DM_MMC. Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > >

[U-Boot] [PATCH V2 2/3] gpio: s5p: call: dev_get_addr() instead of fdtdec_get_addr()

2015-09-28 Thread Przemyslaw Marczak
After rework in lib/fdtdec.c, the function fdtdec_get_addr() doesn't work for nodes with #size-cells property set to 0. To get GPIO's 'reg' property, the code should use one of: fdtdec_get_addr_size_auto_no/parent() function. Fortunately dm core provides a function to get the property. This

[U-Boot] [PATCH V2 3/3] mach-exynos: clock: restore calling dead exynos4_get_mmc_clk()

2015-09-28 Thread Przemyslaw Marczak
After rework of code by: commit: d952796 Exynos5: Use clock_get_periph_rate generic API function get_mmc_clk() always returns -1 for Exynos 4. This was caused by omitting, that SDHCI driver for Exynos 4, calls get_mmc_clk(), with mmc device number as argument, instead of pinmux peripheral id,

[U-Boot] [PATCH V2 1/3] fdtdec: fix parsing 'reg' property with zero value in '#size-cells'

2015-09-28 Thread Przemyslaw Marczak
After rework of lib/fdtdec.c by: commit: 02464e3 fdt: add new fdt address parsing functions the function fdtdec_get_addr() doesn't work as previous, because the implementation assumes that properties '#address-cells' and '#size-cells' are equal to 1, which can be not true sometimes. The new API

Re: [U-Boot] [PATCH 3/6] am43xx_evm.h: : switch to CONFIG_OMAP_SERIAL for non-SPL DM_SERIAL

2015-09-28 Thread Mugunthan V N
On Monday 28 September 2015 04:25 PM, Lokesh Vutla wrote: > > On Monday 28 September 2015 04:17 PM, Mugunthan V N wrote: >> > Tested on am437x gp evm and am437x sk evm >> > >> > Signed-off-by: Mugunthan V N >> > --- >> > include/configs/am43xx_evm.h | 6 +- >> > 1 file

Re: [U-Boot] [PATCH] common: add CMD_GPIO to Kconfig

2015-09-28 Thread Marek Vasut
On Monday, September 28, 2015 at 02:34:39 AM, Thomas Chou wrote: > Hi Marek, Hi Thomas, > On 09/26/2015 04:16 PM, Marek Vasut wrote: > > If you ever figure out how to use buildman for your tests, I'd be glad > > > > if you share that information -- something like "buildman, the warstory". > >

[U-Boot] [PATCH V2 0/3] Fix fdt 'reg' parsing and unbreak few Exynos4 boards

2015-09-28 Thread Przemyslaw Marczak
Booting of Odroid U3 with SD card, ends with error: MMC: EXYNOS DWMMC: 0 Card did not respond to voltage select! *** Warning - MMC init failed, using default environment Generally this was broken, because of wrong addresses, assigned to GPIOs. The source of the problem was in rework of

Re: [U-Boot] [PATCH] arm, at91: small updates for the smartweb board

2015-09-28 Thread Andreas Bießmann
Hi Heiko, > Am 25.09.2015 um 13:17 schrieb Heiko Schocher : > > - add CONFIG_BOOT_RETRY_TIME to 30 > - fex LED colors > - fix button pressed combination > - add > CONFIG_USB_HOST_ETHER > CONFIG_USB_ETHER_ASIX > CONFIG_USB_ETHER_MCS7830 > - change U-Boot prompt to "U-Boot> " > >

[U-Boot] [PATCH v2 00/13] Better support of booting VxWorks via 'bootvx'

2015-09-28 Thread Bin Meng
This series adds better support of booting VxWorks using 'bootvx'. Tested by booting a VxWorks 6.9.4 kernel on Intel Crown Bay, and a VxWorks 7 kernel on Intel Galileo. Note: Patch#1 and patch#2 are recommended to be included in v2015.10 release, other patches in this series can target for next

[U-Boot] [PATCH v2 02/13] x86: fsp: Report correct number of E820 table entries

2015-09-28 Thread Bin Meng
The logic to calculate the number of E820 table entries is wrong when walking through the FSP HOB tables. Fix it. Signed-off-by: Bin Meng Tested-by: Jian Luo --- Simon, I think we need get this fix in v2015.10 release. Changes in v2: None

[U-Boot] [PATCH v2 09/13] cmd: bootvx: Pass netmask and gatewayip to VxWorks bootline

2015-09-28 Thread Bin Meng
There are fields in VxWorks bootline for netmask and gatewayip. We can get these from U-Boot environment variables and pass them to VxWorks, just like ipaddr and serverip. Signed-off-by: Bin Meng --- Changes in v2: - Fix the endian issue for netmask common/cmd_elf.c | 16

[U-Boot] [PATCH 6/6] am437x: Add am437x_sk_evm_defconfig using CONFIG_DM

2015-09-28 Thread Mugunthan V N
Import various DT files for am437x-sk-evm from Linux Kernel v4.2 Add config file for this board, enable DM, DM_GPIO, DM_SERIAL and DM_MMC. Signed-off-by: Mugunthan V N --- arch/arm/dts/Makefile | 2 +- arch/arm/dts/am437x-sk-evm.dts | 704

[U-Boot] [PATCH 4/6] am43xx_evm: mmc: do not define DM_MMC for spl

2015-09-28 Thread Mugunthan V N
Since spl doesn't support DM currently, do not define DM_MMC for spl build. Signed-off-by: Mugunthan V N --- include/configs/am43xx_evm.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/am43xx_evm.h b/include/configs/am43xx_evm.h index

Re: [U-Boot] [PATCH] spi: ignore set speed and mode if not available

2015-09-28 Thread Jagan Teki
On 22 September 2015 at 13:40, Marek Vasut wrote: > On Tuesday, September 22, 2015 at 09:41:21 AM, Thomas Chou wrote: >> Some cores, such as Altera SPI and QuadSPI, can not change >> speed and mode at runtime. Ignore the operation which is >> not available. >> >> Signed-off-by:

Re: [U-Boot] [PATCH 0/8] Better support of booting VxWorks via 'bootvx'

2015-09-28 Thread Bin Meng
Hi Jian, On Mon, Sep 28, 2015 at 3:39 PM, Jian Luo wrote: > Hi, > > please add > > Tested-by: Jian Luo on crownbay > Thanks for testing. I've added your 'Tested-by' tag in various commits in the v2 series. > Best regards, > > Jian Luo > >

[U-Boot] [PATCH 2/2] odroid: Add boot script (boot.scr) support

2015-09-28 Thread Guillaume GARDET
Signed-off-by: Guillaume GARDET Cc: Przemyslaw Marczak Cc: Minkyu Kang --- include/configs/odroid.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/odroid.h b/include/configs/odroid.h index

Re: [U-Boot] [PATCH] board/BuR/kwb: implement board-specific do_go_exec to form vxWorks bootline

2015-09-28 Thread Hannes Schmelzer
> Hi Hannes, Hi Bin, thanks for reply. > > On Mon, Sep 28, 2015 at 4:33 PM, Hannes Schmelzer wrote: > > Since we don't have for sure a valid IP-setup during > > board_late_init(...) because it maybe allready stored in environment or > > not, we cannot form a proper vxWorks

[U-Boot] Antwort: Re: Re: [PATCH] board/BuR/kwb: implement board-specific do_go_exec to form vxWorks bootline

2015-09-28 Thread Hannes Schmelzer
> Hi Hannes, Hi, > > On Mon, Sep 28, 2015 at 5:17 PM, Hannes Schmelzer > wrote: > >> Hi Hannes, > > Hi Bin, > > thanks for reply. > > > >> > >> On Mon, Sep 28, 2015 at 4:33 PM, Hannes Schmelzer > > wrote: > >> > Since we don't have for sure

Re: [U-Boot] [PATCH] board/BuR/kwb: implement board-specific do_go_exec to form vxWorks bootline

2015-09-28 Thread Hannes Schmelzer
> Hi Hannes, Hi, > >> > >> Could you please try this patch series [1] instead? > >> > >> With that series, we can construct VxWorks bootline from U-Boot env. > >> Like you can store your additional bootline info to U-Boot env > >> variable "othbootargs", like > >> > >> => setenv othbootargs

Re: [U-Boot] [PATCH] fdt: fix fdtdec_get_addr_size not to require any size cells

2015-09-28 Thread Przemyslaw Marczak
Hello Stephen, On 09/25/2015 06:11 PM, Stephen Warren wrote: From: Stephen Warren fdtdec_get_addr_size() may be used in two cases: a) With sizep supplied, in which case both an address and a size are parsed from DT. In this case, the DT property must be large enough to

Re: [U-Boot] [PATCH 2/6] drivers: serial: serial_omap: add comaptibles for all ti platforms

2015-09-28 Thread Lokesh Vutla
On Monday 28 September 2015 04:17 PM, Mugunthan V N wrote: > Adding compatibles for am335x, am437x and dra7 platforms. Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > > Signed-off-by: Mugunthan V N > --- > drivers/serial/serial_omap.c | 4

Re: [U-Boot] [PATCH 1/6] drivers: serial: serial_omap: populate default clock frequency when not found in dt

2015-09-28 Thread Lokesh Vutla
On Monday 28 September 2015 04:17 PM, Mugunthan V N wrote: > In some platforms like am437x, serial node is not populated with > clock-frequency node. So in that case have a default clock-clock > frequency. Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > >

[U-Boot] [PATCH v2 06/13] cmd: Convert CONFIG_CMD_ELF to Kconfig

2015-09-28 Thread Bin Meng
Convert CONFIG_CMD_ELF to Kconfig and tidy up affected boards. Signed-off-by: Bin Meng --- Changes in v2: - Split the defconfig reorder to another patch, making this patch as CONFIG_CMD_ELF mods only - Update sparc and avr32 boards to unset CONFIG_CMD_ELF common/Kconfig

[U-Boot] [PATCH v2 07/13] cmd: Clean up cmd_elf a little bit

2015-09-28 Thread Bin Meng
This commit cleans up cmd_elf.c per U-Boot coding convention, and removes the unnecessary DECLARE_GLOBAL_DATA_PTR and out-of-date powerpc comments (it actually supports not only powerpc targets). Signed-off-by: Bin Meng Reviewed-by: Tom Rini --- Changes

[U-Boot] [PATCH v2 05/13] x86: Remove quotation mark in CONFIG_HOSTNAME

2015-09-28 Thread Bin Meng
CONFIG_HOSTNAME is an environment varible, so that quotation mark is not needed. Signed-off-by: Bin Meng --- Changes in v2: - New patch to remove quotation mark in CONFIG_HOSTNAME include/configs/x86-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] [PATCH v2 03/13] x86: Initialize GDT entry 1 to be the 32-bit CS as well

2015-09-28 Thread Bin Meng
Some OS (like VxWorks) requires GDT entry 1 to be the 32-bit CS. Signed-off-by: Bin Meng Tested-by: Jian Luo --- Changes in v2: None arch/x86/cpu/cpu.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/x86/cpu/cpu.c

[U-Boot] [PATCH v2 04/13] x86: Move install_e820_map() out of zimage.c

2015-09-28 Thread Bin Meng
install_e820_map() has nothing to do with zimage related codes. Move it to a dedicated place. Signed-off-by: Bin Meng --- Changes in v2: - New patch to move install_e820_map() out of zimage.c arch/x86/include/asm/e820.h | 3 +++ arch/x86/include/asm/zimage.h | 3 ---

[U-Boot] [PATCH v2 10/13] cmd: bootvx: Always get VxWorks bootline from env

2015-09-28 Thread Bin Meng
So far VxWorks bootline can be contructed from various environment variables, but when these variables do not exist we get these from corresponding config macros. This is not helpful as it requires rebuilding U-Boot, and to make sure these config macros take effect we should not have these

[U-Boot] [PATCH v2 12/13] cmd: bootvx: Add asmlinkage to the VxWorks x86 entry

2015-09-28 Thread Bin Meng
VxWorks on x86 uses stack to pass parameters. Reported-by: Jian Luo Signed-off-by: Bin Meng --- Changes in v2: - New patch to add asmlinkage to the VxWorks x86 entry common/cmd_elf.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

[U-Boot] [PATCH v2 11/13] cmd: bootvx: Pass E820 information to an x86 VxWorks kernel

2015-09-28 Thread Bin Meng
E820 is critical to the kernel as it provides system memory map information. Pass it to an x86 VxWorks kernel. Signed-off-by: Bin Meng Reviewed-by: Tom Rini Tested-by: Jian Luo --- Changes in v2: None common/cmd_elf.c | 30

[U-Boot] [PATCH v2 08/13] cmd: elf: Reorder load_elf_image_phdr() and load_elf_image_shdr()

2015-09-28 Thread Bin Meng
Move load_elf_image_phdr() and load_elf_image_shdr() to the beginning of the cmd_elf.c so that forward declaration is not needed. Signed-off-by: Bin Meng Reviewed-by: Tom Rini --- Changes in v2: None common/cmd_elf.c | 161

Re: [U-Boot] [PATCH] board/BuR/kwb: implement board-specific do_go_exec to form vxWorks bootline

2015-09-28 Thread Bin Meng
Hi Hannes, On Mon, Sep 28, 2015 at 5:17 PM, Hannes Schmelzer wrote: >> Hi Hannes, > Hi Bin, > thanks for reply. > >> >> On Mon, Sep 28, 2015 at 4:33 PM, Hannes Schmelzer > wrote: >> > Since we don't have for sure a valid IP-setup during >> >

Re: [U-Boot] [PATCH] arm, at91: small updates for the smartweb board

2015-09-28 Thread Heiko Schocher
Hello Andreas, Am 28.09.2015 um 10:51 schrieb Andreas Bießmann: Hi Heiko, Am 25.09.2015 um 13:17 schrieb Heiko Schocher : - add CONFIG_BOOT_RETRY_TIME to 30 - fex LED colors - fix button pressed combination - add CONFIG_USB_HOST_ETHER CONFIG_USB_ETHER_ASIX

  1   2   >