[U-Boot] [PATCH v2] usb: gadget: fastboot: improve download progress bar

2014-09-19 Thread Bo Shen
When download is ongoing, if the actual size of one transfer is not the same as BTYES_PER_DOT, which will cause the dot won't print anymore. Then it will let the user thinking it is stuck, actually it is transfering without dot printed. So, improve the method to show the progress bar (print dot).

Re: [U-Boot] [U-Boot,v2,1/2] ARM: atmel: sama5d3xek: add nor flash init function

2014-09-19 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen voice.s...@atmel.com writes: Add NOR flash hardware init function, including SMC and PIO configuration. Signed-off-by: Bo Shen voice.s...@atmel.com Reviewed-by: Andreas Bießmann andreas.de...@googlemail.com --- Changes in v2: None board/atmel/sama5d3xek/sama5d3xek.c | 58

Re: [U-Boot] mtd: atmel-nand: use pmecc_readl(b)/pmecc_writel to access the pmecc register

2014-09-19 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu josh...@atmel.com writes: We defined the macro pmecc_readl(b)/pmecc_writel for pmecc register access. But in the driver we also use the readl(b)/writel. To keep consistent, this patch make all use pmecc_readl(b)/pmecc_writel. Signed-off-by: Josh Wu josh...@atmel.com

Re: [U-Boot] compulab trimslice build error due to 52658fda7abc (compulab: eeprom: add support for defining eeprom i2c bus)

2014-09-19 Thread Igor Grinberg
Hi Stephen, On 09/18/14 20:21, Stephen Warren wrote: After commit 52658fda7abc (compulab: eeprom: add support for defining eeprom i2c bus), the trimslice board fails to build with: .../board/compulab/common/eeprom.c: In function ‘cl_eeprom_read’: .../board/compulab/common/eeprom.c:37:24:

Re: [U-Boot] [U-Boot,v2,2/2] ARM: atmel: sama5d3xek: enable NOR flash support

2014-09-19 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen voice.s...@atmel.com writes: Signed-off-by: Bo Shen voice.s...@atmel.com --- Changes in v2: - Add CONFIG_SYS_FLASH_PROTECTION - Correct the max sector number include/configs/sama5d3xek.h | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) applied to

Re: [U-Boot] [U-Boot,4/4] USB: ehci-atmel: use pcr to enable or disable clock

2014-09-19 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen voice.s...@atmel.com writes: If the SoC has pcr, we use pcr (peripheral control register) to enable or disable clock. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/usb/host/ehci-atmel.c | 8 1 file changed, 8 insertions(+) applied to

Re: [U-Boot] [U-Boot, 1/4] ARM: atmel: use pcr to enable or disable peripheral clock

2014-09-19 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen voice.s...@atmel.com writes: When use pcr (peripheral control register), then we won't need to care about the peripheral ID. Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/cpu/armv7/at91/clock.c | 24

Re: [U-Boot] ARM: atmel: sama5d3: add timings register

2014-09-19 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen voice.s...@atmel.com writes: Signed-off-by: Bo Shen voice.s...@atmel.com Reviewed-by: Andreas Bießmann andreas.de...@googlemail.com --- arch/arm/include/asm/arch-at91/sama5d3_smc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) applied to u-boot-atmel/master,

Re: [U-Boot] [U-Boot,3/4] USB: ohci-at91: use pcr to enable or disable clock

2014-09-19 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen voice.s...@atmel.com writes: If the SoC has pcr, we use pcr (peripheral control register) to enable or disable clock. Signed-off-by: Bo Shen voice.s...@atmel.com --- drivers/usb/host/ohci-at91.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) applied to

Re: [U-Boot] [U-Boot,2/4] ARM: atmel: add pcr related definition

2014-09-19 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen voice.s...@atmel.com writes: Using CPU_HAS_PCR micro to present the SoC has pcr (peripheral control register). Signed-off-by: Bo Shen voice.s...@atmel.com --- arch/arm/include/asm/arch-at91/at91_pmc.h | 2 +- arch/arm/include/asm/arch-at91/sama5d3.h | 1 + 2 files

Re: [U-Boot] mtd: atmel_nand: Disable subpage NAND write when using Atmel PMECC

2014-09-19 Thread Andreas Bießmann
Dear Boris BREZILLON, Boris BREZILLON boris.brezil...@free-electrons.com writes: Disable subpage write when using PMECC to prevent buggy partial page write. This fix has been taken from linux sources (see commit 90445ff6241e2a13445310803e2efa606c61f276) Signed-off-by: Boris BREZILLON

Re: [U-Boot] ARM: at91sam9rlek: convert to generic board support

2014-09-19 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu josh...@atmel.com writes: Signed-off-by: Josh Wu josh...@atmel.com --- include/configs/at91sam9rlek.h | 2 ++ 1 file changed, 2 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot

Re: [U-Boot] ARM: at91sam9n12ek: convert to generic board support

2014-09-19 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu josh...@atmel.com writes: Signed-off-by: Josh Wu josh...@atmel.com --- include/configs/at91sam9n12ek.h | 1 + 1 file changed, 1 insertion(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot

[U-Boot] [PULL] u-boot-atmel/master - u-boot-arm/master

2014-09-19 Thread Andreas Bießmann
Dear Albert Aribaud, please pull the following changes into u-boot-arm/master. The following changes since commit 9170818a4e004af7893fa0113f6e5b4afafded55: kconfiglib: change SPDX-License-Identifier to ISC (2014-09-17 21:03:18 -0400) are available in the git repository at:

Re: [U-Boot] A minor question on a Driver Model function

2014-09-19 Thread Igor Grinberg
On 09/18/14 18:46, Bill Pringlemeir wrote: On 12 September 2014 05:25, Masahiro Yamada yamad...@jp.panasonic.com wrote: I have a qustion about lists_driver_lookup_name() function. On 09/14/14 21:28, Simon Glass wrote: I would suggest still using strncmp as it is safer, but count also

[U-Boot] [PATCH v4 1/3] spi:rewrite the Freescale DSPI driver.

2014-09-19 Thread Chao Fu
From: Chao Fu b44...@freescale.com Freescale DSPI module is used on both the ColdFire platform and the ARM platform. The original DSPI driver is written for ColdFire platform only, this patch rewrite the driver to make it be used across the platforms. Some files, functions, variables and macros

[U-Boot] [PATCH v4 3/3] arm:vf610:vf610-twr:Enable the DSPI for Freesacale vf610-twr board

2014-09-19 Thread Chao Fu
From: Chao Fu b44...@freescale.com Enable DSPI iomux for vf610twr board. Add the SPI configuration for vf610twr board. Signed-off-by: Chao Fu b44...@freescale.com --- Change in v2 : New. Change in v3 : None. Change in v4 : None. board/freescale/vf610twr/vf610twr.c | 15

Re: [U-Boot] A minor question on a Driver Model function

2014-09-19 Thread Masahiro Yamada
On Fri, 19 Sep 2014 09:34:53 +0300 Igor Grinberg grinb...@compulab.co.il wrote: On 09/18/14 18:46, Bill Pringlemeir wrote: On 12 September 2014 05:25, Masahiro Yamada yamad...@jp.panasonic.com wrote: I have a qustion about lists_driver_lookup_name() function. On 09/14/14 21:28,

[U-Boot] [PATCH v4 2/3] arm:vf610:Enable the DSPI for Freescale vf610 platform

2014-09-19 Thread Chao Fu
From: Chao Fu b44...@freescale.com This patch enable the DSPI moudle on VF610 platform with following udpate: Add get_dspi_clk() function and enable DPSI clock gate. Add DSPI iomux definition and set the iomux for DSPI. Signed-off-by: Chao Fu b44...@freescale.com --- Change in v2:

Re: [U-Boot] [PATCH v2] usb: gadget: fastboot: improve download progress bar

2014-09-19 Thread Marek Vasut
On Friday, September 19, 2014 at 08:15:12 AM, Bo Shen wrote: When download is ongoing, if the actual size of one transfer is not the same as BTYES_PER_DOT, which will cause the dot won't print anymore. Then it will let the user thinking it is stuck, actually it is transfering without dot

Re: [U-Boot] [PATCH 0/3] ARM: atmel: add sama5d4ek board support

2014-09-19 Thread Nicolas Ferre
On 16/09/2014 09:57, Bo Shen : This patch series add sama5d4ek board support which supports following features: - Boot media support: NAND flash/SD card/SPI flash - Support LCD display - Support ethernet - Support USB mass storage This patch series depends on the series [1]: ARM:

[U-Boot] [PATCH 1/5] Rename some defines containing FAT in their name to be filesystem generic MMCSD_MODE_FAT = MMCSD_MODE_FS CONFIG_SPL_FAT_LOAD_ARGS_NAME = CONFIG_SPL_FS_LOAD_ARGS_NAME CONFIG_SPL_

2014-09-19 Thread Guillaume GARDET
Rename some defines containing FAT in their name to be filesystem generic: MMCSD_MODE_FAT = MMCSD_MODE_FS CONFIG_SPL_FAT_LOAD_ARGS_NAME = CONFIG_SPL_FS_LOAD_ARGS_NAME CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME = CONFIG_SPL_FS_LOAD_PAYLOAD_NAME CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION =

[U-Boot] [PATCH 0/5] Add EXT filesystem support to SPL

2014-09-19 Thread Guillaume GARDET
Hi, This patch set adds EXT filesystem support to SPL and enables it for OMAP4 boards. Build is succesful on all omap4 and omap5 boards. Note that some OMAP3 boards (omap3_beagle and omap3_overo) may need to disable some functions in order to support EXT in SPL, otherwise the MLO (SPL) may be

[U-Boot] [PATCH 2/5] spl: Add EXT support to SPL

2014-09-19 Thread Guillaume GARDET
Add EXT filesystem support to SPL. Signed-off-by: Guillaume GARDET guillaume.gar...@free.fr Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Stefano Babic sba...@denx.de Cc: Tom Rini tr...@ti.com Cc: Michal Simek mon...@monstr.eu Cc: Andreas Bießmann andreas.de...@googlemail.com ---

[U-Boot] [PATCH 5/5] TI:OMAP4: enable EXT support in SPL for OMAP4 boards

2014-09-19 Thread Guillaume GARDET
Enable EXT support in SPL for OMAP4 boards. Build tested for duovero, omap4_sdp4430 and omap4_panda. Run time tested on omap4_panda. Signed-off-by: Guillaume GARDET guillaume.gar...@free.fr Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Stefano Babic sba...@denx.de Cc: Tom Rini tr...@ti.com Cc:

[U-Boot] [PATCH 4/5] spl: do not hang in spl_register_fat_device but return error value. It allows to use both CONFIG_SPL_FAT_SUPPORT and CONFIG_SPL_EXT_SUPPORT.

2014-09-19 Thread Guillaume GARDET
Do not hang in spl_register_fat_device but return an error value. It allows to use both CONFIG_SPL_FAT_SUPPORT and CONFIG_SPL_EXT_SUPPORT. If FAT load fails, then EXT load is tried. Signed-off-by: Guillaume GARDET guillaume.gar...@free.fr Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Stefano

[U-Boot] [PATCH 3/5] doc: Update documentation according to the EXT SPL support patch set

2014-09-19 Thread Guillaume GARDET
Update documentation according to the EXT SPL support patch set. Signed-off-by: Guillaume GARDET guillaume.gar...@free.fr Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Stefano Babic sba...@denx.de Cc: Tom Rini tr...@ti.com Cc: Michal Simek mon...@monstr.eu Cc: Andreas Bießmann

[U-Boot] [PATCH] socfpga: Enable DWMMC for SOCFPGA

2014-09-19 Thread Chin Liang See
To enable the DesignWare MMC controller driver support for SOCFPGA Cyclone5 dev kit Signed-off-by: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Pavel Machek pa...@denx.de Cc: Marek Vasut ma...@denx.de Cc: Tom Rini tr...@ti.com Cc: Albert Aribaud

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-19 Thread Chin Liang See
Hi Marek, On Wed, 2014-09-17 at 14:39 +0200, ma...@denx.de wrote: On Wednesday, September 17, 2014 at 02:00:42 PM, Chin Liang See wrote: On Wed, 2014-09-17 at 13:52 +0200, ma...@denx.de wrote: On Wednesday, September 17, 2014 at 01:29:15 PM, Chin Liang See wrote: 3. MMC is not enabled

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-19 Thread Chin Liang See
Dear Wolfgang, On Wed, 2014-09-17 at 16:11 +0200, ZY - wd wrote: Dear Chin Liang See, In message 1410952049.7769.11.ca...@clsee-virtualbox.altera.com you wrote: Hmmm... actually I can get it works well for my Altera dev kit. The get_dram_size would take in the argument

Re: [U-Boot] u-boot-socfpga repository

2014-09-19 Thread Chin Liang See
Hi guys, On Wed, 2014-09-17 at 06:54 -0500, Chin Liang See wrote: On Tue, 2014-09-16 at 11:56 +0200, ZY - pavel wrote: Hi! I'd be interested in maintaining u-boot-socfpga repository. So far, we don't have a repo for this platform and there is a large flurry of patches

Re: [U-Boot] [PATCH v2 13/16] samsung: Enable device tree for s5p_goni

2014-09-19 Thread Robert Baldyga
Hi, On 09/15/2014 12:12 AM, Simon Glass wrote: Change this board to add a device tree. This also adds a pinmux header file although it is not used as yet. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Avoid using a common file, and just add a device tree - Fix

[U-Boot] [PATCH] armv7: s5pc1xx: improve cache handling

2014-09-19 Thread Robert Baldyga
Move cache handling code to C file, and add enable_caches() and disable_caches() functions. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- arch/arm/cpu/armv7/s5pc1xx/cache.S | 30 arch/arm/cpu/armv7/s5pc1xx/cache.c | 47 ++ 2

[U-Boot] [PATCH] socfpga: Enable SDMMC boot for SOCFPGA U-Boot

2014-09-19 Thread Chin Liang See
To enable the SDMMC boot as default boot for SOCFPGA U-Boot dev kit. Enabled the bootz command as zImage is used instead uImage. Signed-off-by: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Pavel Machek pa...@denx.de Cc: Marek Vasut ma...@denx.de Cc: Tom Rini

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-19 Thread Chin Liang See
Hi guys, On Fri, 2014-09-19 at 04:32 -0500, Chin Liang See wrote: Hi Marek, On Wed, 2014-09-17 at 14:39 +0200, ma...@denx.de wrote: On Wednesday, September 17, 2014 at 02:00:42 PM, Chin Liang See wrote: On Wed, 2014-09-17 at 13:52 +0200, ma...@denx.de wrote: On Wednesday, September

Re: [U-Boot] [PATCH] socfpga: Enable SDMMC boot for SOCFPGA U-Boot

2014-09-19 Thread Marek Vasut
On Friday, September 19, 2014 at 12:33:19 PM, Chin Liang See wrote: To enable the SDMMC boot as default boot for SOCFPGA U-Boot dev kit. Enabled the bootz command as zImage is used instead uImage. Signed-off-by: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Pavel

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-19 Thread Marek Vasut
On Friday, September 19, 2014 at 12:36:41 PM, Chin Liang See wrote: Hi guys, On Fri, 2014-09-19 at 04:32 -0500, Chin Liang See wrote: Hi Marek, On Wed, 2014-09-17 at 14:39 +0200, ma...@denx.de wrote: On Wednesday, September 17, 2014 at 02:00:42 PM, Chin Liang See wrote: On Wed,

Re: [U-Boot] [PATCH] socfpga: Enable DWMMC for SOCFPGA

2014-09-19 Thread Marek Vasut
On Friday, September 19, 2014 at 11:28:23 AM, Chin Liang See wrote: To enable the DesignWare MMC controller driver support for SOCFPGA Cyclone5 dev kit Signed-off-by: Chin Liang See cl...@altera.com Cc: Dinh Nguyen dingu...@altera.com Cc: Pavel Machek pa...@denx.de Cc: Marek Vasut

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-19 Thread Marek Vasut
On Friday, September 19, 2014 at 11:44:48 AM, Chin Liang See wrote: Dear Wolfgang, On Wed, 2014-09-17 at 16:11 +0200, ZY - wd wrote: Dear Chin Liang See, In message 1410952049.7769.11.ca...@clsee-virtualbox.altera.com you wrote: Hmmm... actually I can get it works well for my Altera

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-19 Thread Marek Vasut
On Friday, September 19, 2014 at 01:12:23 PM, Marek Vasut wrote: On Friday, September 19, 2014 at 11:44:48 AM, Chin Liang See wrote: Dear Wolfgang, On Wed, 2014-09-17 at 16:11 +0200, ZY - wd wrote: Dear Chin Liang See, In message

Re: [U-Boot] [PATCH v4 2/6] serial: add UniPhier serial driver

2014-09-19 Thread Masahiro Yamada
Hi Simon, On Fri, 5 Sep 2014 10:41:54 -0600 Simon Glass s...@chromium.org wrote: Do you think we could use driver model instead? We have the serial infrastructure in place and I will likely merge it next week. It moves the \r\n logic to a higher level. It also removes the need for all

[U-Boot] Many questions about U-Boot's Driver Model

2014-09-19 Thread Masahiro Yamada
Hi. I am digging into the driver model. I fear this triggers a controversy, but, first, it looks like the driver model of U-Boot is pretty different from the Linux's one, in spite of the fact that U-Boot has ported lots of Linux sources and ideas (looks like U-Boot is getting a mirror of Linux)

[U-Boot] [PATCH] ARNDALE: Enhance arndale config to be more flexible on boot.

2014-09-19 Thread Guillaume GARDET
This patch enhances the boot of arndale board by adding support to bootz, initrd, bootenv loading and boot script. It still keeps the previous mmc load command if boot script fails. Signed-off-by: Guillaume GARDET guillaume.gar...@free.fr Cc: Minkyu Kang mk7.k...@samsung.com ---

[U-Boot] [PATCH] ORIGEN: Enhance origen config to be more flexible on boot.

2014-09-19 Thread Guillaume GARDET
This patch enhances the boot of origen board by adding support to ext2, bootz, initrd, bootenv loading and boot script. It still keeps the previous mmc load command if boot script fails. Signed-off-by: Guillaume GARDET guillaume.gar...@free.fr Cc: Minkyu Kang mk7.k...@samsung.com ---

[U-Boot] [PATCH] ORIGEN: Enhance origen config to be more flexible on boot.

2014-09-19 Thread Guillaume GARDET
This patch enhances the boot of origen board by adding support to ext2, bootz, initrd, bootenv loading and boot script. It still keeps the previous mmc load command if boot script fails. Signed-off-by: Guillaume GARDET guillaume.gar...@free.fr Cc: Minkyu Kang mk7.k...@samsung.com ---

Re: [U-Boot] A minor question on a Driver Model function

2014-09-19 Thread Igor Grinberg
On 09/19/14 09:54, Masahiro Yamada wrote: On Fri, 19 Sep 2014 09:34:53 +0300 Igor Grinberg grinb...@compulab.co.il wrote: On 09/18/14 18:46, Bill Pringlemeir wrote: On 12 September 2014 05:25, Masahiro Yamada yamad...@jp.panasonic.com wrote: I have a qustion about

[U-Boot] After relocate the printf not working

2014-09-19 Thread nohabviktor
Hi! I have a LPC1788 board with 32Mbyte RAM and NAND flash and I followed the nxp instructions: http://www.lpcware.com/content/project/lpc177x8x-u-boot-port/u-boot-build-procedure The result is: U-Boot 2011.06 (Aug 16 2011 - 16:47:50) NXP LPC1788 Cortex-M3 DRAM: 32 MiB Flash: e1zƒ K!A

Re: [U-Boot] [PATCH 6/7] arm: ls102xa: Add SD boot support for LS1021AQDS board

2014-09-19 Thread Albert ARIBAUD
Hi Huan, On Thu, 18 Sep 2014 15:15:54 +, Huan Wang alison.w...@freescale.com wrote: Hi, Albert, On Thu, 18 Sep 2014 13:47:18 +0800, Alison Wang b18...@freescale.com wrote: + + . = ALIGN(4); + .u_boot_list : { + KEEP(*(SORT(.u_boot_list*_i2c_*))); + }

Re: [U-Boot] [PATCH] arm: ls102xa: Fixed a register definition error

2014-09-19 Thread Albert ARIBAUD
Hi Yuantian, On Fri, 19 Sep 2014 01:45:52 +, Yuantian Tang yuantian.t...@freescale.com wrote: -Original Message- From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] Sent: Thursday, September 18, 2014 7:25 PM To: Tang Yuantian-B29983 Cc: Wang Huan-B18965; Lu

Re: [U-Boot] [PATCH 4/8] ARMv8: PSCI: Add linker section to hold PSCI code

2014-09-19 Thread Albert ARIBAUD
Hi Marc, On Thu, 18 Sep 2014 16:28:52 +0100, Marc Zyngier marc.zyng...@arm.com wrote: On Thu, Sep 18 2014 at 10:12:17 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi Arnab, On Thu, 28 Aug 2014 01:59:57 +0530, Arnab Basu arnab.b...@freescale.com wrote: A separate linker

Re: [U-Boot] [PATCH v4 1/3] spi:rewrite the Freescale DSPI driver.

2014-09-19 Thread Simon Glass
Hi, On 18 September 2014 23:31, Chao Fu b44...@freescale.com wrote: From: Chao Fu b44...@freescale.com Freescale DSPI module is used on both the ColdFire platform and the ARM platform. The original DSPI driver is written for ColdFire platform only, this patch rewrite the driver to make it

Re: [U-Boot] [PATCH v4 2/6] serial: add UniPhier serial driver

2014-09-19 Thread Simon Glass
HI Masahiro, On 19 September 2014 06:15, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Fri, 5 Sep 2014 10:41:54 -0600 Simon Glass s...@chromium.org wrote: Do you think we could use driver model instead? We have the serial infrastructure in place and I will likely merge

Re: [U-Boot] After relocate the printf not working

2014-09-19 Thread Jeroen Hofstee
Hello Viktor? On 19-09-14 16:01, nohabviktor wrote: I have a LPC1788 board with 32Mbyte RAM and NAND flash and I followed the nxp instructions: http://www.lpcware.com/content/project/lpc177x8x-u-boot-port/u-boot-build-procedure The result is: U-Boot 2011.06 (Aug 16 2011 - 16:47:50) NXP

Re: [U-Boot] [PATCH] dm: avoid dev-req_seq overflow

2014-09-19 Thread Simon Glass
Hi Robert, On 18 September 2014 23:25, Robert Baldyga r.bald...@samsung.com wrote: On 09/18/2014 08:00 PM, Simon Glass wrote: Hi Robert, On 18 September 2014 09:13, Robert Baldyga r.bald...@samsung.com mailto:r.bald...@samsung.com wrote: Since dev-req_seq value is initialized

Re: [U-Boot] Many questions about U-Boot's Driver Model

2014-09-19 Thread Simon Glass
Hi Masahiro, On 19 September 2014 07:22, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi. I am digging into the driver model. Great! It would be good to add patches to the driver model README.txt file with some of the results of this thread. I fear this triggers a controversy, but,

Re: [U-Boot] [PATCH 2/3] fdt: add fdt_add_display_timings(..) and friends

2014-09-19 Thread Simon Glass
HI Christian, On 15 September 2014 07:06, Christian Gmeiner christian.gmei...@gmail.com wrote: This new function is used to set all display-timings properties based on fb_videomode. display-timings { timing0 { clock-frequency = 2500; hactive =

Re: [U-Boot] [U-Boot, 2/3] image: move all function comments to header file

2014-09-19 Thread Simon Glass
Hi Tom, On 23 August 2014 11:48, Tom Rini tr...@ti.com wrote: On Sat, Aug 23, 2014 at 08:42:51AM -0400, Tom Rini wrote: On Fri, Aug 15, 2014 at 01:55:27PM -0700, Bryan Wu wrote: Several functions comments are C file with function definition, they should be moved to header file with

[U-Boot] [PATCH] usb: f_mass_storage: set removable flag in do_inquiry based on LUN

2014-09-19 Thread Eric Nelson
Without this flag, tools like Alex Page's USB Image Tool won't see drives exposed over USB Gadget as removable, and won't allow access to them. http://www.alexpage.de/usb-image-tool/ The code was pulled from the main-line kernel: drivers/usb/gadget/function/f_mass_storage.c

Re: [U-Boot] [U-Boot, 2/3] image: move all function comments to header file

2014-09-19 Thread Masahiro YAMADA
Hi. I vote for comments near the implementation. I have been digging into the driver model code recently, but I have to admit it is unreadable because most of comments are placed in its header files. (and I am planning to send a patch to move comments to C sources.) I really want to know what