[U-Boot] [PATCH] rockchip: rk3036: change ddr frequency to 400M

2016-02-16 Thread Jeffy Chen
From: Lin Huang emac may use dpll as clock parent, and it request the clock frequency multiples of 50, so change ddr frequency to 400M. Signed-off-by: Lin Huang Signed-off-by: Jeffy Chen --- arch/arm/mach-rockchip/rk3036/sdram_rk3036.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [PATCH] ARM: zynq: Enable SPL RAM support by default

2016-02-16 Thread Michal Simek
Use RAM support in jtagboot mode. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index e8c3ef0c3872..9bd3e9f32665 100644 --- a/include/configs/zynq-common.h +++ b/inc

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-16 Thread Jagan Teki
Hi Bin, On 17 February 2016 at 13:07, Jagan Teki wrote: > Hi Bin, > > On 17 February 2016 at 10:52, Bin Meng wrote: >> Hi Jagan, >> >> On Wed, Feb 17, 2016 at 3:47 AM, Jagan Teki wrote: >>> On 15 February 2016 at 02:16, Jagan Teki wrote: Compared to previous patch series this series adds

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-16 Thread Jagan Teki
Hi Bin, On 17 February 2016 at 10:52, Bin Meng wrote: > Hi Jagan, > > On Wed, Feb 17, 2016 at 3:47 AM, Jagan Teki wrote: >> On 15 February 2016 at 02:16, Jagan Teki wrote: >>> Compared to previous patch series this series adds spi-nor >>> core with spi-nor controller drivers are of "mtd uclass"

Re: [U-Boot] test/py main_signon

2016-02-16 Thread Michal Simek
Hi Heiko, On 17.2.2016 07:34, Heiko Schocher wrote: > Hello Michal, > > Am 16.02.2016 um 17:04 schrieb Michal Simek: >> Hi Heiko, >> >> On 16.2.2016 14:32, Heiko Schocher wrote: >>> Hello Michal, >>> >>> Am 16.02.2016 um 13:12 schrieb Michal Simek: Hi Stephen, trying to run the lat

Re: [U-Boot] [PATCH 4/4] pci_rom: fix may be used uninitialized warning

2016-02-16 Thread Anatolij Gustschin
On Tue, 16 Feb 2016 23:29:31 +0100 Andreas Bießmann andreas.de...@googlemail.com wrote: > Building pci_rom.c with my toolchain complains about may be used uninitialized > rom varaible: > > ---8<--- > +drivers/pci/pci_rom.c:269:25: note: 'rom' was declared here > w+drivers/pci/pci_rom.c: In functi

Re: [U-Boot] [PATCH] video: tegra: Correct a Kconfig warning with VIDCONSOLE_AS_LCD

2016-02-16 Thread Anatolij Gustschin
On Tue, 16 Feb 2016 18:09:19 -0700 Simon Glass s...@chromium.org wrote: > This new feature causes a Kconfig warning on boards without a display > enabled. Fix this. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot mailing list U

Re: [U-Boot] how does board_init_f() -> board_init_r?

2016-02-16 Thread Peter Chen
Oh I see. Thanks. On Tue, Feb 16, 2016 at 8:41 AM, Stephen Warren wrote: > On 02/16/2016 09:01 AM, Simon Glass wrote: > >> +Stephen who will know more >> >> Hi, >> >> On 13 February 2016 at 18:52, quantumlight >> wrote: >> >>> I am trying to modify the bootloader code for NVIDIA's jetson board.

[U-Boot] [PATCH v2] test/py: only check for SPL signature if SPL uses serial output

2016-02-16 Thread Heiko Schocher
check for U-Boot SPL signature only if SPL really has a serial output. So check if CONFIG_SPL_SERIAL_SUPPORT is active in board config. Signed-off-by: Heiko Schocher --- found this while trying test/py on the smartweb board, which has SPL but no SPL serial output. Changes in v2: - add comments f

Re: [U-Boot] [PATCH 14/30] dm: part: Convert partition API use to linker lists

2016-02-16 Thread Stephen Warren
On 02/14/2016 07:16 PM, Simon Glass wrote: > We can use linker lists instead of explicitly declaring each function. > This makes the code shorter by avoiding switch() statements and lots of > header file declarations. > > While this does clean up the code it introduces a few code issues with SPL.

Re: [U-Boot] test/py main_signon

2016-02-16 Thread Heiko Schocher
Hello Michal, Am 16.02.2016 um 17:04 schrieb Michal Simek: Hi Heiko, On 16.2.2016 14:32, Heiko Schocher wrote: Hello Michal, Am 16.02.2016 um 13:12 schrieb Michal Simek: Hi Stephen, trying to run the latest testing on zynq board and getting this main_signon error. This is what I am running

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-16 Thread Jagan Teki
On 17 February 2016 at 10:57, Bin Meng wrote: > On Wed, Feb 17, 2016 at 1:22 PM, Bin Meng wrote: >> Hi Jagan, >> >> On Wed, Feb 17, 2016 at 3:47 AM, Jagan Teki wrote: >>> On 15 February 2016 at 02:16, Jagan Teki wrote: Compared to previous patch series this series adds spi-nor core wi

Re: [U-Boot] [PATCH V2 1/2] pinctrl: imx: Introduce pinctrl driver for i.MX6

2016-02-16 Thread Peng Fan
Hi Simon, On Tue, Feb 16, 2016 at 07:50:25PM -0700, Simon Glass wrote: >Hi Peng, > >On 16 February 2016 at 19:45, Peng Fan wrote: >> Hi Simon, >> >> On Tue, Feb 16, 2016 at 09:00:55AM -0700, Simon Glass wrote: >>>Hi Peng, >>> >>>On 15 February 2016 at 01:33, Peng Fan wrote: Hi Simon, >

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-16 Thread Bin Meng
On Wed, Feb 17, 2016 at 1:22 PM, Bin Meng wrote: > Hi Jagan, > > On Wed, Feb 17, 2016 at 3:47 AM, Jagan Teki wrote: >> On 15 February 2016 at 02:16, Jagan Teki wrote: >>> Compared to previous patch series this series adds spi-nor >>> core with spi-nor controller drivers are of "mtd uclass" >>> >

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-16 Thread Bin Meng
Hi Jagan, On Wed, Feb 17, 2016 at 3:47 AM, Jagan Teki wrote: > On 15 February 2016 at 02:16, Jagan Teki wrote: >> Compared to previous patch series this series adds spi-nor >> core with spi-nor controller drivers are of "mtd uclass" >> >> This is whole series for all spi-nor related changes, and

Re: [U-Boot] [Patch V3 2/3] fm: fdt: Move fman ucode fixup to Fman driver code

2016-02-16 Thread Qianyu Gong
> -Original Message- > From: Scott Wood [mailto:o...@buserror.net] > Sent: Wednesday, February 17, 2016 5:23 AM > To: Qianyu Gong ; york sun ; u- > b...@lists.denx.de > Subject: Re: [U-Boot] [Patch V3 2/3] fm: fdt: Move fman ucode fixup to Fman > driver code > > On Mon, 2016-02-15 at 05:4

Re: [U-Boot] [PATCH 22/30] dm: blk: Add a block-device uclass

2016-02-16 Thread Bin Meng
On Mon, Feb 15, 2016 at 10:16 AM, Simon Glass wrote: > Add a uclass for block devices. These provide block-oriented data access, > supporting reading, writing and erasing of whole blocks. > > Signed-off-by: Simon Glass > --- > > drivers/block/Kconfig | 11 +++ > drivers/block/Makefile

Re: [U-Boot] [PATCH V2 1/2] pinctrl: imx: Introduce pinctrl driver for i.MX6

2016-02-16 Thread Simon Glass
Hi Peng, On 16 February 2016 at 19:45, Peng Fan wrote: > Hi Simon, > > On Tue, Feb 16, 2016 at 09:00:55AM -0700, Simon Glass wrote: >>Hi Peng, >> >>On 15 February 2016 at 01:33, Peng Fan wrote: >>> Hi Simon, >>> >>> Gentle ping.. >> >>Do you mean Stefan? I reviewed the previous so did not think

Re: [U-Boot] [PATCH V2 1/2] pinctrl: imx: Introduce pinctrl driver for i.MX6

2016-02-16 Thread Peng Fan
Hi Simon, On Tue, Feb 16, 2016 at 09:00:55AM -0700, Simon Glass wrote: >Hi Peng, > >On 15 February 2016 at 01:33, Peng Fan wrote: >> Hi Simon, >> >> Gentle ping.. > >Do you mean Stefan? I reviewed the previous so did not think it >necessary to look again. In this V2 version, I addressed your com

Re: [U-Boot] [PATCH v2 00/23] dm: tegra: Convert tegra20 and tegra124 video drivers to driver model

2016-02-16 Thread Simon Glass
Hi Tom, On 16 February 2016 at 13:13, Tom Warren wrote: > Simon, > > > >> >> >> >> I think it was the follow-up patches to add the environment >> >> work-around that was applied. >> >> >> >> 6c88b51 video: tegra: Enable the 'lcd' env variable work-around >> >> a2931b3 dm: video: Add a temporary

[U-Boot] [PATCH] video: tegra: Correct a Kconfig warning with VIDCONSOLE_AS_LCD

2016-02-16 Thread Simon Glass
This new feature causes a Kconfig warning on boards without a display enabled. Fix this. Signed-off-by: Simon Glass --- arch/arm/mach-tegra/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index 3540eda..ba6983

Re: [U-Boot] [PATCH 02/30] dm: pci: Break out the common region display code

2016-02-16 Thread Stephen Warren
On 02/14/2016 07:16 PM, Simon Glass wrote: Each region is displayed in almost the same way. Break out this common code into its own function. diff --git a/drivers/pci/pci_auto_common.c b/drivers/pci/pci_auto_common.c + if (hose->pci_mem) + pciauto_show_region("Memory", h

Re: [U-Boot] [PATCH 00/30] dm: Add driver-model support for block drivers

2016-02-16 Thread Stephen Warren
On 02/14/2016 07:16 PM, Simon Glass wrote: Recent additions of the MMC and DISK uclasses have indicated that it is time to look at adding a uclass for block devices. This series does this and includes a few clean-ups to the partition code also. A block device is typically a child device of its s

Re: [U-Boot] [PATCH 24/30] dm: sandbox: Add driver-model block-device support for sandbox

2016-02-16 Thread Stephen Warren
On 02/14/2016 07:16 PM, Simon Glass wrote: Update the host driver to support driver model for block devices. A future commit will remove the old code, but for now it is useful to be able to use it both with and without CONFIG_BLK. diff --git a/drivers/block/sandbox.c b/drivers/block/sandbox.c

Re: [U-Boot] [PATCH 18/30] dm: block: Rename device number member dev to devnum

2016-02-16 Thread Stephen Warren
On 02/14/2016 07:16 PM, Simon Glass wrote: This is a device number, and we want to use 'dev' to mean a driver model device. Rename the member. diff --git a/cmd/cbfs.c b/cmd/cbfs.c index cdfc9b6..779e9c0 100644 --- a/cmd/cbfs.c +++ b/cmd/cbfs.c @@ -141,6 +141,7 @@ int do_cbfs_ls(cmd_tbl_t *cmdt

Re: [U-Boot] arm: at91: Add support for DENX MA5D4 SoM and EVK

2016-02-16 Thread Andreas Bießmann
On Thu, Feb 11, 2016 at 02:13:38PM +0100, Marek Vasut wrote: > Add support for DENX MA5D4 SoM and MA5D4EVK board, based on the > Atmel SAMA5D4 SoC. The SoM contains the SoC, eMMC, SPI NOR, SPI > CAN controllers and DRAM, the baseboard contains UART connectors, > ethernet port, microSD slot, LCD hea

Re: [U-Boot] [PATCH 10/30] dm: blk: Rename get_device() to blk_get_device_str()

2016-02-16 Thread Stephen Warren
On 02/14/2016 07:16 PM, Simon Glass wrote: The current name is too generic. The function returns a block device based on a provided string. Rename it to aid searching and make its purpose clearer. Also add a few comments. +int blk_get_device_str(const char *ifname, const char *dev_str, +

Re: [U-Boot] siemens,at91: enable features for smartweb

2016-02-16 Thread Andreas Bießmann
On Wed, Jan 27, 2016 at 03:56:07PM +0100, Egli, Samuel wrote: > From: Matthias Michel > > New features for smartweb: > * switch to hush command parser > * change autoboot stop to > * allow to write ethaddr > > Signed-off-by: Matthias Michel > Reviewed-by: Samuel Egli > Cc: Roger Meier > Cc:

Re: [U-Boot] [U-Boot, v2] ARM: at91: sama5d2: configure the L2 cache memory

2016-02-16 Thread Andreas Bießmann
On Tue, Feb 16, 2016 at 09:45:06AM +0100, Samuel Mescoff wrote: > The SAMA5D2 has a second internal SRAM that can be reassigned as a L2 > cache memory. > Make sure it is configured as a L2 cache memory when booting from a SPL > image. > > Based on the commit b5ea95ef2b5b from the at91bootstrap rep

Re: [U-Boot] [U-Boot, v2] ARM: at91: sama5d2: configure the L2 cache memory

2016-02-16 Thread Andreas Bießmann
On Tue, Feb 16, 2016 at 09:45:06AM +0100, Samuel Mescoff wrote: > The SAMA5D2 has a second internal SRAM that can be reassigned as a L2 > cache memory. > Make sure it is configured as a L2 cache memory when booting from a SPL > image. > > Based on the commit b5ea95ef2b5b from the at91bootstrap rep

Re: [U-Boot] [PATCH 2/4] mxsboot: remove unused include

2016-02-16 Thread Marek Vasut
On 02/16/2016 11:29 PM, Andreas Bießmann wrote: > Commit 276d3ebb883024d753cd9c69ab2fd243ffa1262e removed htole32() but missed > to remove the corresponding header. This is annoying, since BSD systems do not > have endian.h. > > Signed-off-by: Andreas Bießmann Nice, thanks! Acked-by: Marek Vasut

[U-Boot] [PATCH 4/4] pci_rom: fix may be used uninitialized warning

2016-02-16 Thread Andreas Bießmann
Building pci_rom.c with my toolchain complains about may be used uninitialized rom varaible: ---8<--- +drivers/pci/pci_rom.c:269:25: note: 'rom' was declared here w+drivers/pci/pci_rom.c: In function 'dm_pci_run_vga_bios': w+drivers/pci/pci_rom.c:154:14: warning: 'rom' may be used uninitialized in

[U-Boot] [PATCH 0/4] Some things that bug me

2016-02-16 Thread Andreas Bießmann
These are some fixes to the current TOT that break my test building on OS X. Maybe some of them already addressed by some other patches. If so, please just drop the corresponding patch from the series. Andreas Bießmann (4): tools: -Wno-deprecated-declarations for OpenSSL on darwin mxsboot: re

[U-Boot] [PATCH 3/4] samsung: fix mkorigenspl for darwin

2016-02-16 Thread Andreas Bießmann
Compiling the mkorigenspl tool on darwin complains about undefined ulong. Fix this by using the unified way. Signed-off-by: Andreas Bießmann --- board/samsung/origen/tools/mkorigenspl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/samsung/origen/tools/mkorigensp

[U-Boot] [PATCH 1/4] tools: -Wno-deprecated-declarations for OpenSSL on darwin

2016-02-16 Thread Andreas Bießmann
Since OpenSSL is deprecated on OS X in favour of Common Crypto API disable the warning for this host OS. Another solution would be to add some glue layer for crypto stuff, but I think this is not worth the effort. Signed-off-by: Andreas Bießmann --- tools/Makefile | 8 1 file changed,

[U-Boot] [PATCH 2/4] mxsboot: remove unused include

2016-02-16 Thread Andreas Bießmann
Commit 276d3ebb883024d753cd9c69ab2fd243ffa1262e removed htole32() but missed to remove the corresponding header. This is annoying, since BSD systems do not have endian.h. Signed-off-by: Andreas Bießmann --- tools/mxsboot.c | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/mxsboot.c b/too

Re: [U-Boot] [PATCH 00/16] image: Fix various test failures

2016-02-16 Thread Stephen Warren
On 02/14/2016 06:36 PM, Simon Glass wrote: Recent changes have broken the FIT and vboot tests. Also the SPI tests have been wrong since before the last release and were disabled. This series collects together the required fixes. Note: The FIT and vboot tests are hard to run (in that each requir

Re: [U-Boot] test/py main_signon

2016-02-16 Thread Stephen Warren
On 02/16/2016 12:08 PM, Michal Simek wrote: Hi Stephen, 2016-02-16 17:39 GMT+01:00 Stephen Warren mailto:swar...@wwwdotorg.org>>: On 02/16/2016 09:04 AM, Michal Simek wrote: Hi Heiko, On 16.2.2016 14:32, Heiko Schocher wrote: Hello Michal, Am 16.0

[U-Boot] [PATCH 1/2] tools: kwboot: Clean up usage text

2016-02-16 Thread Kevin Smith
Usage text was getting unwieldy and somewhat incorrect. The usage summary implied that some options were mutually exclusive (e.g. -q or -s). Clean up the summary to just include the important ones, and include a generic "[OPTIONS]" instead. Signed-off-by: Kevin Smith Cc: Stefan Roese --- tool

[U-Boot] [PATCH 2/2] tools: kwboot: Add xmodem timeout option

2016-02-16 Thread Kevin Smith
Add command-line specification of xmodem timeout. If the binary header needs to take a while to do something (e.g. DDR ECC scrubbing), the xmodem transfer can time out. Add a configurable xmodem block timeout to allow transfers with slow binary headers to succeed. Signed-off-by: Kevin Smith Cc:

Re: [U-Boot] [Patch V3 2/3] fm: fdt: Move fman ucode fixup to Fman driver code

2016-02-16 Thread Scott Wood
On Mon, 2016-02-15 at 05:44 +, Qianyu Gong wrote: > > -Original Message- > > From: york sun > > Sent: Friday, February 12, 2016 1:39 AM > > To: Scott Wood ; Qianyu Gong ; u- > > b...@lists.denx.de > > Subject: Re: [U-Boot] [Patch V3 2/3] fm: fdt: Move fman ucode fixup to > > Fman > > dr

Re: [U-Boot] [PATCH v2 00/23] dm: tegra: Convert tegra20 and tegra124 video drivers to driver model

2016-02-16 Thread Tom Warren
Simon, > >> > >> I think it was the follow-up patches to add the environment > >> work-around that was applied. > >> > >> 6c88b51 video: tegra: Enable the 'lcd' env variable work-around > >> a2931b3 dm: video: Add a temporary work-around for old stdout var > >> > >> I see the original v2 series

Re: [U-Boot] [PATCH v6 00/76] mtd: Add SPI-NOR core support

2016-02-16 Thread Jagan Teki
On 15 February 2016 at 02:16, Jagan Teki wrote: > Compared to previous patch series this series adds spi-nor > core with spi-nor controller drivers are of "mtd uclass" > > This is whole series for all spi-nor related changes, and while > series tested on spansion spi-nor chip. > > Know issue: > -

[U-Boot] [PATCH v7 73/76] configs: Enable CONFIG_SPL_MTD_SUPPORT

2016-02-16 Thread Jagan Teki
Since SPI-NOR is driven by MTD core, so the SPL need to use the MTD as well. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- Changes v7: - Remove duplicate define on CONFIG_SPL_MTD_SUPPORT for zynq include

[U-Boot] [PATCH v7 16/76] spi_flash: Use mtd_info operation for SPI-NOR

2016-02-16 Thread Jagan Teki
Since spi-nor is using mtd layer for flash operations this patch used mtd ops from user commands instead of legacy spi_flash{} ops. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- Changes for v7: - Rename CO

[U-Boot] [PATCH v7 12/76] mtd: spi-nor: m25p80: Add spi_nor support for non-dm

2016-02-16 Thread Jagan Teki
Like adding spi_nor support for dm-driven code in m25p80 add the same way for non-dm code as well. - allocate spi_nor{} - basic initilization - install hooks - call to spi-nor core, using spi_nor_scan - register with mtd core Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc:

[U-Boot] [PATCH v7 09/76] mtd: spi-nor: Add dm spi-nor probing

2016-02-16 Thread Jagan Teki
This patch adds driver-model probe from cmd_sf through MTD_DM_SPI_NOR which is depends on MTD and DM_SPI uclass. Cc: Simon Glass Cc: Bin Meng Cc: Mugunthan V N Cc: Michal Simek Cc: Siva Durga Prasad Paladugu Signed-off-by: Jagan Teki --- Changes for v7: - Rename CONFIG_MTD_DM_SPI_NOR

Re: [U-Boot] test/py main_signon

2016-02-16 Thread Michal Simek
Hi Stephen, 2016-02-16 17:39 GMT+01:00 Stephen Warren : > On 02/16/2016 09:04 AM, Michal Simek wrote: > >> Hi Heiko, >> >> On 16.2.2016 14:32, Heiko Schocher wrote: >> >>> Hello Michal, >>> >>> Am 16.02.2016 um 13:12 schrieb Michal Simek: >>> Hi Stephen, trying to run the latest te

[U-Boot] [PATCH v2] spi: omap3: Convert to driver model

2016-02-16 Thread Jagan Teki
After this conversion the driver will able to support both dm and non-dm and code is more extensible like we can remove the non-dm part simply without touching anycode if all the boards which are using this driver become dm driven. Cc: Tom Rini Reviewed-by: Simon Glass Acked-by: Christophe Ricar

[U-Boot] Beaglebone Black broken since commit fd61d39970b9901217efc7536d9f3a61b4e1752a

2016-02-16 Thread Guillaume Gardet
Hi, Beaglebone black (am335x_evm_defconfig) is broken (with MMC boot and u-boot.img on ext4 partition). I bisected it to commit fd61d39970b9901217efc7536d9f3a61b4e1752a spl: mmc: add break statements in spl_mmc_load_image() from Nikita Kiryanov (in Cc). Working image gives:

[U-Boot] [PATCH] usb: gadget: composite: Correct recovery path for register

2016-02-16 Thread Semen Protsenko
From: Sam Protsenko In case when usb_composite_register() failed once (for whatever reason), it will fail further even if all conditions are correct. Example: => fastboot 2 Invalid Controller Index couldn't find an available UDC g_dnl_register: failed!, error: -19 exit not al

Re: [U-Boot] [PATCH v2 00/23] dm: tegra: Convert tegra20 and tegra124 video drivers to driver model

2016-02-16 Thread Simon Glass
Hi Tom, On 16 February 2016 at 09:23, Tom Warren wrote: > Simon, > >> -Original Message- >> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass >> Sent: Tuesday, February 16, 2016 9:03 AM >> To: Tom Warren >> Cc: Stephen Warren ; U-Boot Mailing List > b...@lists.denx.

Re: [U-Boot] how does board_init_f() -> board_init_r?

2016-02-16 Thread Stephen Warren
On 02/16/2016 09:01 AM, Simon Glass wrote: +Stephen who will know more Hi, On 13 February 2016 at 18:52, quantumlight wrote: I am trying to modify the bootloader code for NVIDIA's jetson board. So I am looking at crt0.S. It seems that two builds happen, one with CONFIG_SPL_BUILD and one with

Re: [U-Boot] test/py main_signon

2016-02-16 Thread Stephen Warren
On 02/16/2016 09:04 AM, Michal Simek wrote: Hi Heiko, On 16.2.2016 14:32, Heiko Schocher wrote: Hello Michal, Am 16.02.2016 um 13:12 schrieb Michal Simek: Hi Stephen, trying to run the latest testing on zynq board and getting this main_signon error. This is what I am running ./test/py/test.

Re: [U-Boot] [PATCH] test/py: only check for SPL signature if SPL uses serial output

2016-02-16 Thread Stephen Warren
On 02/16/2016 05:13 AM, Heiko Schocher wrote: check for U-Boot SPL signature only if SPL really has a serial output. So check if CONFIG_SPL_SERIAL_SUPPORT is active in board config. Nit: That's wrapped really narrow. Any chance of wrapping to more like 72-74 characters? diff --git a/test/py

Re: [U-Boot] [PATCH 3/3] spi: omap3: Convert to driver model

2016-02-16 Thread Tom Rini
On Tue, Feb 16, 2016 at 09:00:28AM -0700, Simon Glass wrote: > On 11 February 2016 at 12:00, Jagan Teki wrote: > > After this conversion the driver will able to support > > both dm and non-dm and code is more extensible like we > > can remove the non-dm part simply without touching anycode > > if

Re: [U-Boot] [RFC PATCH v4 2/3] common: Convert ulong to phys_addr_t for image addresses

2016-02-16 Thread Simon Glass
Hi York, On 12 February 2016 at 13:59, York Sun wrote: > When dealing with image addresses, ulong has been used. Some files > are used by both host and target. It is OK for the target, but not > always enough for host tools including mkimage. This patch replaces > "ulong" with "phys_addr_t" to ma

Re: [U-Boot] [PATCH v2 00/23] dm: tegra: Convert tegra20 and tegra124 video drivers to driver model

2016-02-16 Thread Tom Warren
Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Tuesday, February 16, 2016 9:03 AM > To: Tom Warren > Cc: Stephen Warren ; U-Boot Mailing List b...@lists.denx.de>; Marcel Ziswiler ; Stephen > Warren ; Pantelis Antoniou consul

Re: [U-Boot] [PATCH] ARM: zynq: Enable u-boot, dm-pre-reloc for qspi

2016-02-16 Thread Michal Simek
On 16.2.2016 14:05, Nathan Rossi wrote: > Enable u-boot,dm-pre-reloc for qspi for zc706, zed and microzed. > > Signed-off-by: Nathan Rossi > Cc: Albert Aribaud > Cc: Michal Simek > Cc: Simon Glass > --- > arch/arm/dts/zynq-microzed.dts | 1 + > arch/arm/dts/zynq-zc706.dts| 1 + > arch/arm

Re: [U-Boot] [PATCH v2 3/7] drivers: block: disk-uclass: implement scsi_init()

2016-02-16 Thread Simon Glass
Hi Mugunthan and Bin, On 14 February 2016 at 20:03, Bin Meng wrote: > Hi Simon, > > On Sun, Feb 7, 2016 at 4:29 AM, Simon Glass wrote: >> Hi Bin, >> >> On 3 February 2016 at 04:59, Mugunthan V N wrote: >>> >>> Implement scsi_init() api to probe driver model based sata >>> devices. >>> >>> Signe

Re: [U-Boot] Warnings from Tegra LCD conversion?

2016-02-16 Thread Simon Glass
Hi Stephen, On 15 February 2016 at 22:29, Stephen Warren wrote: > While checking on the travis-ci.org runs that include test/py testing of > sandbox, I noticed some new warnings on AArch64 Tegra boards. See the > log at: > > https://travis-ci.org/u-boot/u-boot/jobs/109471848 > >> Building current

Re: [U-Boot] [PATCH 1/6] net: gem: Add support for reading MAC from I2C EEPROM

2016-02-16 Thread Simon Glass
Hi Joe, On 16 February 2016 at 09:06, Joe Hershberger wrote: > > Hi Simon, > > On Tue, Feb 16, 2016 at 9:59 AM, Simon Glass wrote: > > Hi, > > > > On 15 February 2016 at 18:06, Bin Meng wrote: > >> +Simon, > >> > >> Hi Joe, > >> > >> On Tue, Feb 16, 2016 at 12:01 AM, Joe Hershberger > >> wrote

Re: [U-Boot] [PATCH] fdt: Try to read #address-cells/size-cells from parent

2016-02-16 Thread Michal Simek
Hi Simon, On 16.2.2016 17:00, Simon Glass wrote: > Hi Michal, > > On 15 February 2016 at 02:58, Michal Simek wrote: >> Hi Simon, >> >> On 10.2.2016 13:04, Michal Simek wrote: >>> Read #address-cells and #size-cells from parent if they are not present in >>> current node. >>> >>> Signed-off-by: M

Re: [U-Boot] [PATCH 1/6] net: gem: Add support for reading MAC from I2C EEPROM

2016-02-16 Thread Joe Hershberger
Hi Simon, On Tue, Feb 16, 2016 at 9:59 AM, Simon Glass wrote: > Hi, > > On 15 February 2016 at 18:06, Bin Meng wrote: >> +Simon, >> >> Hi Joe, >> >> On Tue, Feb 16, 2016 at 12:01 AM, Joe Hershberger >> wrote: >>> Hi Bin, >>> >>> On Sun, Feb 14, 2016 at 6:00 AM, Bin Meng wrote: Hi Michal,

Re: [U-Boot] test/py main_signon

2016-02-16 Thread Michal Simek
Hi Heiko, On 16.2.2016 14:32, Heiko Schocher wrote: > Hello Michal, > > Am 16.02.2016 um 13:12 schrieb Michal Simek: >> Hi Stephen, >> >> trying to run the latest testing on zynq board and getting this >> main_signon error. >> >> This is what I am running >> ./test/py/test.py --bd zynq_zc702 --b

Re: [U-Boot] [PATCH v2 00/23] dm: tegra: Convert tegra20 and tegra124 video drivers to driver model

2016-02-16 Thread Simon Glass
Hi Tom, On 16 February 2016 at 08:47, Tom Warren wrote: > > Simon > > > -Original Message- > > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > > Sent: Sunday, February 14, 2016 6:19 PM > > To: Stephen Warren > > Cc: U-Boot Mailing List ; Marcel Ziswiler > > ; To

Re: [U-Boot] [RFC PATCH v4 1/3] sandbox: Fix compiling warning on 32-bit host

2016-02-16 Thread Simon Glass
+Masahiro Hi York, On 12 February 2016 at 13:59, York Sun wrote: > Fix the following compiling warning on 32-bit host > > disk/part_efi.c: In function 'alloc_read_gpt_entries': > disk/part_efi.c:894:2: warning: format '%zu' expects argument of > type 'size_t', but argument 5 has type 'long unsi

Re: [U-Boot] [RFC PATCH v4 3/3] common: Fix load and entry addresses in FIT image

2016-02-16 Thread Simon Glass
Hi York, On 12 February 2016 at 13:59, York Sun wrote: > FIT image supports more than 32 bits in addresses by using #address-cell > field. However the address length is not handled when parsing FIT images. > nit: How about saying "fix this by adding support for 64-bit addresses" or similar > Si

Re: [U-Boot] [PATCH v2 7/7] defconfig: dra72_evm: enable disk driver model

2016-02-16 Thread Simon Glass
On 3 February 2016 at 04:59, Mugunthan V N wrote: > Enable disk driver model for dra72_evm as dwc_ahci supports > driver model > > Signed-off-by: Mugunthan V N > Reviewed-by: Tom Rini > --- > configs/dra72_evm_defconfig | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH v2 6/7] defconfig: dra74_evm: enable disk driver model

2016-02-16 Thread Simon Glass
On 3 February 2016 at 04:59, Mugunthan V N wrote: > Enable disk driver model for dra74_evm as dwc_ahci supports > driver model > > Signed-off-by: Mugunthan V N > Reviewed-by: Tom Rini > --- > configs/dra74_evm_defconfig | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH v2 4/7] arm: omap-common: sata: prepare driver for DM conversion

2016-02-16 Thread Simon Glass
On 3 February 2016 at 04:59, Mugunthan V N wrote: > Prepare sata driver for DM conversion by abstracting sata phy > init to seperate function. > > Signed-off-by: Mugunthan V N > Reviewed-by: Tom Rini > --- > arch/arm/cpu/armv7/omap-common/sata.c | 13 + > include/sata.h

Re: [U-Boot] how does board_init_f() -> board_init_r?

2016-02-16 Thread Simon Glass
+Stephen who will know more Hi, On 13 February 2016 at 18:52, quantumlight wrote: > I am trying to modify the bootloader code for NVIDIA's jetson board. > > So I am looking at crt0.S. It seems that two builds happen, one with > CONFIG_SPL_BUILD and one without. So you end up with two file, u-boo

Re: [U-Boot] [PATCH V2 1/2] pinctrl: imx: Introduce pinctrl driver for i.MX6

2016-02-16 Thread Simon Glass
Hi Peng, On 15 February 2016 at 01:33, Peng Fan wrote: > Hi Simon, > > Gentle ping.. Do you mean Stefan? I reviewed the previous so did not think it necessary to look again. > > Thanks, > Peng. Regards, Simon > > On Wed, Feb 03, 2016 at 10:06:07AM +0800, Peng Fan wrote: >>Introduce pinctrl fo

Re: [U-Boot] [PATCH v2 2/7] arm: omap: sata: compile out sata init apis when CONFIG_DISK is defined

2016-02-16 Thread Simon Glass
On 3 February 2016 at 04:59, Mugunthan V N wrote: > Compile out sata init/reset apis as this will be implemented in > disk-uclass driver to initialize sata devices. > > Signed-off-by: Mugunthan V N > --- > arch/arm/cpu/armv7/omap-common/sata.c | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-

Re: [U-Boot] [PATCH v2 1/7] arm: omap: sata: move enable sata clocks to enable_basic_clocks()

2016-02-16 Thread Simon Glass
On 3 February 2016 at 04:59, Mugunthan V N wrote: > All the clocks which has to be enabled has to be done in > enable_basic_clocks(), so moving enable sata clock to common > clocks enable function. > > Signed-off-by: Mugunthan V N > Reviewed-by: Tom Rini > --- > arch/arm/cpu/armv7/omap-common/s

Re: [U-Boot] [PATCH 3/4] stm32x7: add support for stm32x7 serial driver

2016-02-16 Thread Simon Glass
On 11 February 2016 at 16:47, Vikas Manocha wrote: > This patch adds support for stm32f7 family usart peripheral. > > Signed-off-by: Vikas Manocha > --- > drivers/serial/Makefile | 1 + > drivers/serial/serial_stm32x7.c | 83 > +++ > driv

Re: [U-Boot] [PATCH 3/3] spi: omap3: Convert to driver model

2016-02-16 Thread Simon Glass
On 11 February 2016 at 12:00, Jagan Teki wrote: > After this conversion the driver will able to support > both dm and non-dm and code is more extensible like we > can remove the non-dm part simply without touching anycode > if all the boards which are using this driver become dm driven. > > Cc: To

Re: [U-Boot] [PATCH] fdt: Try to read #address-cells/size-cells from parent

2016-02-16 Thread Simon Glass
Hi Michal, On 15 February 2016 at 02:58, Michal Simek wrote: > Hi Simon, > > On 10.2.2016 13:04, Michal Simek wrote: >> Read #address-cells and #size-cells from parent if they are not present in >> current node. >> >> Signed-off-by: Michal Simek >> --- >> >> I have code which read information ab

Re: [U-Boot] [PATCH 1/6] net: gem: Add support for reading MAC from I2C EEPROM

2016-02-16 Thread Simon Glass
Hi, On 15 February 2016 at 18:06, Bin Meng wrote: > +Simon, > > Hi Joe, > > On Tue, Feb 16, 2016 at 12:01 AM, Joe Hershberger > wrote: >> Hi Bin, >> >> On Sun, Feb 14, 2016 at 6:00 AM, Bin Meng wrote: >>> Hi Michal, >>> >>> On Sun, Feb 14, 2016 at 6:03 PM, Michal Simek wrote: Hi Bin,

Re: [U-Boot] [PATCH v2 02/18] gpio: Add support for Qualcomm gpio controller

2016-02-16 Thread Simon Glass
Hi, On 9 February 2016 at 14:25, Jagan Teki wrote: > On 8 February 2016 at 02:27, Mateusz Kulikowski > wrote: >> Add support for gpio controllers on Qualcomm Snapdragon devices. >> This devices are usually called Top Level Mode Multiplexing in >> Qualcomm documentation. >> >> Signed-off-by: Mate

Re: [U-Boot] [PATCH v2 00/23] dm: tegra: Convert tegra20 and tegra124 video drivers to driver model

2016-02-16 Thread Tom Warren
Simon > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Sunday, February 14, 2016 6:19 PM > To: Stephen Warren > Cc: U-Boot Mailing List ; Marcel Ziswiler > ; Tom Warren ; > Stephen Warren ; Pantelis Antoniou consulting.com>; Marek Vas

[U-Boot] [PATCH] dm: ns16550: Add support for reg-offset property

2016-02-16 Thread Michal Simek
reg-offset is the part of standard 8250 binding in the kernel. It is shifting start of address space by reg-offset. On Xilinx platform this offset is typically 0x1000. Signed-off-by: Michal Simek --- drivers/serial/ns16550.c | 6 -- include/ns16550.h| 1 + 2 files changed, 5 inserti

Re: [U-Boot] [PATCH 19/30] dm: block: Adjust device calls to go through helpers function

2016-02-16 Thread Bin Meng
On Mon, Feb 15, 2016 at 10:16 AM, Simon Glass wrote: > To ease conversion to driver model, add helper functions which deal with > calling each block device method. With driver model we can reimplement these > functions with the same arguments. > > Use inline functions to avoid increasing code size

Re: [U-Boot] [PATCH 17/30] dm: sandbox: Enable cbfs and cramfs

2016-02-16 Thread Bin Meng
Hi Simon, On Mon, Feb 15, 2016 at 10:16 AM, Simon Glass wrote: > Enable these two filesystems to provide better build coverage in sandbox. > > Signed-off-by: Simon Glass > --- > > include/configs/sandbox.h | 3 +++ > 1 file changed, 3 insertions(+) Reviewed-by: Bin Meng One comment below: >

Re: [U-Boot] [PATCH 18/30] dm: block: Rename device number member dev to devnum

2016-02-16 Thread Bin Meng
Hi Simon, On Mon, Feb 15, 2016 at 10:16 AM, Simon Glass wrote: > This is a device number, and we want to use 'dev' to mean a driver model > device. Rename the member. > > Signed-off-by: Simon Glass > --- > > board/sunxi/board.c | 4 ++-- > cmd/cbfs.c | 1 + > cmd/di

Re: [U-Boot] [PATCH 16/30] dm: cbfs: Fix handling of invalid type

2016-02-16 Thread Bin Meng
Hi Simon, On Mon, Feb 15, 2016 at 10:16 AM, Simon Glass wrote: > The comment for file_cbfs_type() says that it returns 0 for an invalid type. > The code appears to check for -1, except that it uses an unsigned variable > to store the type. This results in a warning on 64-bit machines. > > Adjust

Re: [U-Boot] [PATCH 14/30] dm: part: Convert partition API use to linker lists

2016-02-16 Thread Bin Meng
Hi Simon, On Mon, Feb 15, 2016 at 10:16 AM, Simon Glass wrote: > We can use linker lists instead of explicitly declaring each function. > This makes the code shorter by avoiding switch() statements and lots of > header file declarations. > > While this does clean up the code it introduces a few c

Re: [U-Boot] [PATCH 15/30] dm: part: Rename some partition functions

2016-02-16 Thread Bin Meng
Hi Simon, On Mon, Feb 15, 2016 at 10:16 AM, Simon Glass wrote: > Rename three partition functions so that they start with part_. This makes > it clear what they relate to. > > Signed-off-by: Simon Glass > --- > > board/cm5200/fwupdate.c | 2 +- > cmd/ide.c | 6 +++--- > cmd/

Re: [U-Boot] [PATCH v2 1/3] mmc: uniphier: add driver for UniPhier SD/MMC host controller

2016-02-16 Thread Marek Vasut
On 02/16/2016 09:18 AM, Masahiro Yamada wrote: > Hi Marek, Hi! [...] >>> +static int uniphier_sd_wait_irq(struct uniphier_sd_priv *priv, >>> + unsigned int reg, u32 flag) >>> +{ >>> + long wait = 100; >>> + int ret; >> >> Replace this with wait_for_bit() p

Re: [U-Boot] [PATCH 13/30] dm: sandbox: Enable all partition types

2016-02-16 Thread Bin Meng
Hi Simon, On Mon, Feb 15, 2016 at 10:16 AM, Simon Glass wrote: > It is useful to have sandbox build as much code as possible to avoid having > to build every board to detect build errors. Also we may add tests for some > more partition types at some point. > > Enable all partition types in sandbo

Re: [U-Boot] [PATCH 12/30] dm: part: Add a cast to avoid a compiler warning

2016-02-16 Thread Bin Meng
Hi Simon, On Mon, Feb 15, 2016 at 10:16 AM, Simon Glass wrote: > In part_amiga.c the name is unsigned by bcpl_strcpy() requires a signed > pointer. Add a cast to fix the warning. is unsigned *but* bcpl_strcpy() ? > > Signed-off-by: Simon Glass > --- > > disk/part_amiga.c | 2 +- > 1 file chan

[U-Boot] [PATCH] Gracefully handle 64-bit signed-extended 32-bit Load addresses

2016-02-16 Thread William Cohen
To follow the MIPS 32-bit and 64-bit memory map conventions (*) recent MIPS Linux kernels are using a 64-bit sign extended value (0x8001) for the 32-bit load address (0x8001) of the Creator CI20 board kernel. When this 64-bit argument was passed to mkimage running on a 32-bit machi

Re: [U-Boot] [PATCH 11/30] dm: blk: Rename get_device_and_partition()

2016-02-16 Thread Bin Meng
On Mon, Feb 15, 2016 at 10:16 AM, Simon Glass wrote: > Rename this function to blk_get_device_part_str(). This is a better name > because it makes it clear that the function returns a block device and > parses a string. > > Signed-off-by: Simon Glass > --- > > cmd/disk.c | 2 +- > cmd/fat

Re: [U-Boot] [PATCH] Gracefully handle 64-bit Load Address and Entry Point Address mkimage parameters

2016-02-16 Thread William Cohen
On 02/15/2016 06:34 AM, Wolfgang Denk wrote: > Dear William, > > In message <1455506732-22307-1-git-send-email-wco...@redhat.com> you wrote: >> >> Recent MIPS Linux kernels are using a 64-bit value for the load >> address (0x8001) for the Creator CI20 board kernel. When >> this argume

Re: [U-Boot] [PATCH 10/30] dm: blk: Rename get_device() to blk_get_device_str()

2016-02-16 Thread Bin Meng
Hi Simon, On Mon, Feb 15, 2016 at 10:16 AM, Simon Glass wrote: > The current name is too generic. The function returns a block device based > on a provided string. Rename it to aid searching and make its purpose > clearer. Also add a few comments. > > Signed-off-by: Simon Glass > --- > > cmd/pa

Re: [U-Boot] [PATCH 00/26] spl: Support loading a FIT image containing U-Boot

2016-02-16 Thread Tom Rini
On Tue, Feb 16, 2016 at 09:30:44PM +0900, Masahiro Yamada wrote: > 2016-02-16 21:17 GMT+09:00 Tom Rini : > > On Tue, Feb 16, 2016 at 08:34:59PM +0900, Masahiro Yamada wrote: > >> Hi Simon, > >> > >> > >> 2016-01-29 1:39 GMT+09:00 Simon Glass : > >> > We need a way to support more than one board per

Re: [U-Boot] test/py main_signon

2016-02-16 Thread Heiko Schocher
Hello Michal, Am 16.02.2016 um 13:12 schrieb Michal Simek: Hi Stephen, trying to run the latest testing on zynq board and getting this main_signon error. This is what I am running ./test/py/test.py --bd zynq_zc702 --build --board-identity zc702 and getting below. Does this board has SPL sup

[U-Boot] [PATCH] ARM: zynq: Enable u-boot,dm-pre-reloc for qspi

2016-02-16 Thread Nathan Rossi
Enable u-boot,dm-pre-reloc for qspi for zc706, zed and microzed. Signed-off-by: Nathan Rossi Cc: Albert Aribaud Cc: Michal Simek Cc: Simon Glass --- arch/arm/dts/zynq-microzed.dts | 1 + arch/arm/dts/zynq-zc706.dts| 1 + arch/arm/dts/zynq-zed.dts | 1 + 3 files changed, 3 insertions(

Re: [U-Boot] i.MX286 U-Boot fails with code HTLLCL0x8050100b

2016-02-16 Thread Stuart Longland
On 15/02/16 14:09, Stuart Longland wrote: > I ask again: Is there somewhere else I should be looking for the cause > of the above issue? Well, found my issue in the end I think. In exasperation I dd'ed one of my working SD card images, proved that the machine booted, then dd'ed the newly build U-

Re: [U-Boot] [PATCH 00/26] spl: Support loading a FIT image containing U-Boot

2016-02-16 Thread Masahiro Yamada
2016-02-16 21:17 GMT+09:00 Tom Rini : > On Tue, Feb 16, 2016 at 08:34:59PM +0900, Masahiro Yamada wrote: >> Hi Simon, >> >> >> 2016-01-29 1:39 GMT+09:00 Simon Glass : >> > We need a way to support more than one board per binary in U-Boot with >> > device tree. Various methods have been discussed. T

  1   2   >