Re: [U-Boot] Request for Help: How to save data to an SD/MMC card

2011-12-13 Thread Wolfgang Denk
Dear Graeme, In message CALButCKwVh571bhgV9NQ82HYiFVJ=uGMFvVTYa5NV5M=kwv...@mail.gmail.com you wrote: I have a need to dump memory contents to a filesystem on an SD/MMC card so I can transfer it to my dev PC. I don't have a working network driver, so TFTP is out Add a network driver? :-)

Re: [U-Boot] [PATCH] fs/fat/fat.c: fix warning: 'part_size' defined but not used

2011-12-13 Thread Wolfgang Denk
Dear Aaron Williams, In message 201112122215.11610.aaron.willi...@cavium.com you wrote: Commit c30a15e FAT: Add FAT write feature introduced a compiler warning. Fix this. ... I know it's rather late to comment on this, but this patch breaks FAT write support. How can it break

Re: [U-Boot] [PATCH] fs/fat/fat.c: fix warning: 'part_size' defined but not used

2011-12-13 Thread Anatolij Gustschin
Hello all, On Tue, 13 Dec 2011 09:18:15 +0100 Wolfgang Denk w...@denx.de wrote: Dear Aaron Williams, In message 201112122215.11610.aaron.willi...@cavium.com you wrote: Commit c30a15e FAT: Add FAT write feature introduced a compiler warning. Fix this. ... I know it's rather late

[U-Boot] Question about iMX28 SPI flash driver

2011-12-13 Thread Alexander Keller
Hello, I've got an iMX28EVK board, added Winbond 25q64 flash and use the latest u-boot-imx version. For building u-boot I use the m28evk_config and set the the flash to winbond. It boots successfully through SD card and it also probes/recognize the SPI flash. Also the u-boot binary writes

Re: [U-Boot] [PATCH] fs/fat/fat.c: fix warning: 'part_size' defined but not used

2011-12-13 Thread Donggeun Kim
On 2011년 12월 13일 15:15, Aaron Williams wrote: On Thursday, October 27, 2011 02:10:58 PM Wolfgang Denk wrote: Commit c30a15e FAT: Add FAT write feature introduced a compiler warning. Fix this. Signed-off-by: Wolfgang Denk w...@denx.de Cc: Donggeun Kim dg77@samsung.com Cc: Kyungmin Park

[U-Boot] [PATCH V10 3/7] omap-common: Add NAND SPL linux booting

2011-12-13 Thread Simon Schwarz
From: Simon Schwarz simonschwarz...@googlemail.com This implements booting of Linux from NAND in SPL Related config parameters: CONFIG_SYS_NAND_SPL_KERNEL_OFFS Offset in NAND of direct boot kernel image to use in SPL CONFIG_SYS_SPL_ARGS_ADDR Address where the kernel boot

[U-Boot] [PATCH V10 1/7] Add cmd_spl command

2011-12-13 Thread Simon Schwarz
From: Simon Schwarz simonschwarz...@googlemail.com This adds a spl command to the u-boot. Related config: CONFIG_CMD_CPL activate/deactivate the command CONFIG_CMD_SPL_NAND_OFS Offset in NAND to use Signed-off-by: Simon Schwarz simonschwarz...@gmail.com --- V2 changes: CHG

[U-Boot] [PATCH V10 5/7] omap-common/spl: Add linux boot to SPL

2011-12-13 Thread Simon Schwarz
From: Simon Schwarz simonschwarz...@googlemail.com This adds Linux booting to the SPL This depends on CONFIG_MACH_TYPE patch by Igor Grinberg (http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105809) Related CONFIGs: CONFIG_SPL_OS_BOOT Activates/Deactivates the OS booting feature

[U-Boot] [PATCH V10 2/7] devki8000: add config for spl command

2011-12-13 Thread Simon Schwarz
This adds some configs for devkit8000 to use the new spl command Signed-off-by: Simon Schwarz simonschwarz...@gmail.com --- V10 changes: This is new in V10 was split from other patch --- include/configs/devkit8000.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH V10 0/7] SPL Linux boot

2011-12-13 Thread Simon Schwarz
Adds direct Linux boot to SPL. It implements a spl export command to save ATAGS or FDT to NAND flash. The kernel image has to be in place for this! Changes in V10: - spl_start_uboot replaces spl_uboot_key and is defined weak - if the linux image is not found a normal u-boot is started - some

[U-Boot] [PATCH V10 4/7] devkit8000/spl: init GPMC for dm9000 in SPL

2011-12-13 Thread Simon Schwarz
From: Simon Schwarz simonschwarz...@googlemail.com Linux crashes if the GPMC isn't configured for the dm9000. Signed-off-by: Simon Schwarz simonschwarz...@gmail.com --- V2 changes: nothing V3 changes: nothing V4 changes: noting V5 changes: nothing V6 changes: nothing V7 changes: FIX

[U-Boot] [PATCH V10 6/7] omap/spl: change output of spl_parse_image_header

2011-12-13 Thread Simon Schwarz
This only outputs Assuming u-boot.bin... if debug is active. Signed-off-by: Simon Schwarz simonschwarz...@gmail.com --- v10 changes: NEW in v10 --- arch/arm/cpu/armv7/omap-common/spl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/armv7/omap-common/spl.c

[U-Boot] [PATCH V10 7/7] devkit8000: Implement and activate direct OS boot

2011-12-13 Thread Simon Schwarz
- Implements spl_start_uboot() for devkit8000 - Add configs to activate direct OS boot from SPL Signed-off-by: Simon Schwarz simonschwarz...@gmail.com --- V10 changes: sliced from the implementation added an implementation of spl_start_uboot for devkit8000 --- board/timll/devkit8000/devkit8000.c

Re: [U-Boot] [PATCH V10 0/7] SPL Linux boot

2011-12-13 Thread Simon Schwarz
Hi, I have not yet factored out the general elements of SPL direct boot. ATM i don't have the time - so if someone wants to take it :) If not this will have to wait, maybe until next year. Regards Simon On 12/13/2011 11:20 AM, Simon Schwarz wrote: Adds direct Linux boot to SPL. It

Re: [U-Boot] [PATCH] nand_spl_simple: store ecc data on the stack

2011-12-13 Thread Stefano Babic
On 12/12/2011 01:08, Ilya Yanok wrote: Hi Stefano, thanks for posting this. There is a couple of comments below. On 11.12.2011 21:22, Stefano Babic wrote: diff --git a/drivers/mtd/nand/nand_spl_simple.c b/drivers/mtd/nand/nand_spl_simple.c index ed821f2..a3d1af0 100644 ---

Re: [U-Boot] [PATCH V10 0/7] SPL Linux boot

2011-12-13 Thread Stefano Babic
On 13/12/2011 11:25, Simon Schwarz wrote: Hi, Hi Simon, I have not yet factored out the general elements of SPL direct boot. ATM i don't have the time - so if someone wants to take it :) I take your proposal and I will go on working on this patchset - I can test the patches on a AM3517

Re: [U-Boot] [PATCH] fs/fat/fat.c: fix warning: 'part_size' defined but not used

2011-12-13 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message 20111213095358.5601b9ce@wker you wrote: The FAT write support as submitted and included seems to be broken. The removed variable is referenced in fs/fat/fat_write.c, but in fs/fat/fat.c it is declared as static. This issue didn't show up because no board

[U-Boot] [PATCH V2] nand_spl_simple: store ecc data on the stack

2011-12-13 Thread Stefano Babic
Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM which is likely to contain already loaded data. The patch saves the oob data and the ecc on the stack replacing the fixed address in RAM. Signed-off-by: Stefano Babic sba...@denx.de CC: Ilya Yanok ya...@emcraft.com CC: Scott

[U-Boot] [PATCH 3/3] tpm: Update README

2011-12-13 Thread Che-Liang Chiou
Document TPM_TIS_I2C-related config options in README. Signed-off-by: Che-Liang Chiou clch...@chromium.org --- README | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/README b/README index 434384c..badb834 100644 --- a/README +++ b/README @@ -1076,6 +1076,19

[U-Boot] [PATCH 2/3] tpm: Add i2c TPM driver

2011-12-13 Thread Che-Liang Chiou
Peter Huewe implemented the original driver; this patch only reorganizes the code structure of the driver, and does not make logical changes. tpm.c implements the interface defined in tpm.h based on underlying LPC or i2C TPM driver. tpm.c and the underlying driver communicate throught

Re: [U-Boot] [PATCH] common/cmd_pxe.c: Fix GCC 4.6 build warnings

2011-12-13 Thread Jason Hobbs
Dear Heiko, Thanks for the fix. On Tue, Dec 13, 2011 at 01:37:17AM -0500, Heiko Schocher wrote: Fix: cmd_pxe.c: In function 'parse_pxefile_top': cmd_pxe.c:941:5: warning: 'err' may be used uninitialized in this function [-Wuninitialized] cmd_pxe.c:921:6: note: 'err' was declared here

Re: [U-Boot] [PATCH 04/13] common/cmd_pxe.c: Fix compile warning

2011-12-13 Thread Jason Hobbs
On Fri, Dec 09, 2011 at 03:45:44PM -0500, Wolfgang Denk wrote: Dear Jason, In message 20111209134819.GA26840@jhobbs-laptop you wrote: default: printf(Ignoring malformed menu command: %.*s\n, (int)(*c - s), s); + err = -1; err

[U-Boot] [PATCH] omap4_panda: Initialize the USB phy

2011-12-13 Thread clalancette
From: Chris Lalancette clalance...@gmail.com During misc_init_r, make sure to setup the clocks properly for the USB hub on the pandaboard. With this in place, the USB hub and the ethernet works on the pandaboard. Signed-off-by: Chris Lalancette clalance...@gmail.com ---

[U-Boot] [PATCH V2 1/1] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

2011-12-13 Thread Jason Liu
Add the initial support for Freescale i.MX6Q Sabre Lite board Signed-off-by: Dirk Behme dirk.be...@de.bosch.com Signed-off-by: Jason Liu jason@linaro.org --- V2: change the default script to let linaro image boot, and also change the default env to dev 0, which is normal SD slot, not

[U-Boot] OMAP4 u-boot broken (was [PATCH] usb: align usb_endpoint_descriptor to 16-bit boundary)

2011-12-13 Thread Aneesh V
Hi Kristiansson, On Friday 21 October 2011 12:55 AM, Stefan Kristiansson wrote: The usb_endpoint_descriptor struct is 7 bytes large and is defined as an array (ep_desc[USB_MAXENDPOINTS]) in the usb_interface struct in include/usb.h This fact will result in that every odd index in that array

[U-Boot] [PATCH 0/3] i.mx6q: Add the ethernet function support

2011-12-13 Thread Jason Liu
This patch add the ethernet function support for i.mx6q/arm2 board. The patch has been tested ok by: Dirk Behme dirk.be...@de.bosch.com on freescale i.mx6qarm2 board. Jason Liu (3): i.mx: i.mx6q: Add the enet clock function fec: add the i.mx6q enet driver support i.mx6q: arm2: Add the enet

[U-Boot] [PATCH 1/3] i.mx: i.mx6q: Add the enet clock function

2011-12-13 Thread Jason Liu
Cc: Stefano Babic sba...@denx.de Signed-off-by: Jason Liu jason@linaro.org --- arch/arm/cpu/armv7/mx6/clock.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c index b143535..fa3a124 100644 ---

[U-Boot] [PATCH 2/3] fec: add the i.mx6q enet driver support

2011-12-13 Thread Jason Liu
Cc: Stefano Babic sba...@denx.de Signed-off-by: Jason Liu jason@linaro.org --- drivers/net/fec_mxc.c | 10 ++ drivers/net/fec_mxc.h |7 ++- 2 files changed, 16 insertions(+), 1 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index b05a4c0..3affda8

[U-Boot] [PATCH 3/3] i.mx6q: arm2: Add the enet function support

2011-12-13 Thread Jason Liu
This enable the network function on the i.mx6q armadillo2 board(arm2), thus we can use tftp to load image from network. Cc: Stefano Babic sba...@denx.de Signed-off-by: Jason Liu jason@linaro.org Tested-by: Dirk Behme dirk.be...@de.bosch.com --- board/freescale/mx6qarm2/mx6qarm2.c | 90

Re: [U-Boot] [PATCH] omap4_panda: Initialize the USB phy

2011-12-13 Thread Aneesh V
Hi Chris, On Tuesday 13 December 2011 06:34 PM, clalance...@gmail.com wrote: From: Chris Lalancetteclalance...@gmail.com During misc_init_r, make sure to setup the clocks properly for the USB hub on the pandaboard. With this in place, the USB hub and the ethernet works on the pandaboard. I

[U-Boot] Thinking of buying Beagle Board XM

2011-12-13 Thread Ritesh BANSAL
Hello All dear members. I am planning to buy a Beagle Board XM board for my home open source development for Linux. I have some points in which this can be helpful to me. 1) U-BOOT development and Porting. 2) Linux Device Driver Development. Will it be a good advantageous h/w to have. Will it be

[U-Boot] [PATCH] add initial support for bluegiga apx4devkit

2011-12-13 Thread Veli-Pekka Peltola
Add initial support for Bluegiga APX4 CoM and development kit. Signed-off-by: Veli-Pekka Peltola veli-pekka.pelt...@bluegiga.com Cc: Stefano Babic sba...@denx.de --- board/bluegiga/apx4devkit/Makefile | 45 +++ board/bluegiga/apx4devkit/apx4devkit.c | 204

Re: [U-Boot] [PATCH 0/3] i.mx6q: Add the ethernet function support

2011-12-13 Thread Dirk Behme
On 13.12.2011 14:44, Jason Liu wrote: This patch add the ethernet function support for i.mx6q/arm2 board. The patch has been tested ok by: Dirk Behme dirk.be...@de.bosch.com on freescale i.mx6qarm2 board. Jason Liu (3): i.mx: i.mx6q: Add the enet clock function fec: add the i.mx6q enet

Re: [U-Boot] [PATCH] board/ti/omap2420h4/omap2420h4.c: Fix GC 4.6 build warning

2011-12-13 Thread Tom Rini
On 12/12/2011 06:26 AM, Wolfgang Denk wrote: Dear Wolfgang Denk, In message 1323674180-30359-1-git-send-email...@denx.de you wrote: Fix: omap2420h4.c: In function 'dram_init': omap2420h4.c:196:25: warning: variable 'cpu' set but not used [-Wunused-but-set-variable] Signed-off-by:

Re: [U-Boot] [PATCH V2 1/1] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

2011-12-13 Thread Fabio Estevam
Jason/Dirk, On Tue, Dec 13, 2011 at 11:30 AM, Jason Liu jason@linaro.org wrote: Add the initial support for Freescale i.MX6Q Sabre Lite board Signed-off-by: Dirk Behme dirk.be...@de.bosch.com Signed-off-by: Jason Liu jason@linaro.org --- V2: change the default script to let linaro

Re: [U-Boot] [PATCH V2 1/1] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

2011-12-13 Thread Dirk Behme
On 13.12.2011 16:06, Fabio Estevam wrote: Jason/Dirk, On Tue, Dec 13, 2011 at 11:30 AM, Jason Liu jason@linaro.org wrote: Add the initial support for Freescale i.MX6Q Sabre Lite board Signed-off-by: Dirk Behme dirk.be...@de.bosch.com Signed-off-by: Jason Liu jason@linaro.org --- V2:

Re: [U-Boot] [PATCH] Devkit8000: Switch over to enable_gpmc_cs_config

2011-12-13 Thread Tom Rini
On Tue, Dec 13, 2011 at 12:57 AM, Thomas Weber thomas.weber.li...@googlemail.com wrote: Hello Tom, On 07.12.2011 18:14, Tom Rini wrote: On Wed, Dec 7, 2011 at 2:38 AM, Thomas Weber we...@corscience.de wrote: Use enable_gpmc_cs_config instead of local writing timing configuration for GPMC.

[U-Boot] [PATCH v2] Devkit8000: Switch over to enable_gpmc_cs_config

2011-12-13 Thread Thomas Weber
Use enable_gpmc_cs_config instead of local writing timing configuration for GPMC. Signed-off-by: Thomas Weber we...@corscience.de --- Changelog v2: Change gpmc_net_config[6] to 0, because it is calculated in enable_gpmc_cs_config board/timll/devkit8000/devkit8000.c |

Re: [U-Boot] [PATCH] add initial support for bluegiga apx4devkit

2011-12-13 Thread Fabio Estevam
On Tue, Dec 13, 2011 at 12:54 PM, Veli-Pekka Peltola veli-pekka.pelt...@bluegiga.com wrote: Add initial support for Bluegiga APX4 CoM and development kit. Signed-off-by: Veli-Pekka Peltola veli-pekka.pelt...@bluegiga.com Cc: Stefano Babic sba...@denx.de I applied this patch on top of head

Re: [U-Boot] [PATCH V2 1/1] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

2011-12-13 Thread Fabio Estevam
On Tue, Dec 13, 2011 at 1:31 PM, Dirk Behme dirk.be...@de.bosch.com wrote: U-Boot 2011.12-rc1-4-g06e42c6-dirty (Dec 13 2011 - 12:58:29) CPU:   Freescale i.MX61 family rev1.0 at 792 MHz Reset cause: unknown reset Board: MX6Q-Sabre Lite DRAM:  1 GiB WARNING: Caches not enabled MMC:  

Re: [U-Boot] [PATCH V2 1/1] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

2011-12-13 Thread Dirk Behme
On 13.12.2011 17:07, Fabio Estevam wrote: On Tue, Dec 13, 2011 at 1:31 PM, Dirk Behme dirk.be...@de.bosch.com wrote: U-Boot 2011.12-rc1-4-g06e42c6-dirty (Dec 13 2011 - 12:58:29) CPU: Freescale i.MX61 family rev1.0 at 792 MHz Reset cause: unknown reset Board: MX6Q-Sabre Lite DRAM: 1 GiB

[U-Boot] Segmented RAM, big userspace.

2011-12-13 Thread Sergey Lapin
Hi, all! We have a board, based on s3c2416, with 128MB of RAM and 1GB of NAND flash. RAM is organized as 2 memory banks with far placed bases: TOP UNUSED 64MB 64MB SDRAM --- 128MB segment base 1 - UNUSED 64MB 64MB SDRAM -- 128MB segment base 0 -- BOTTOM So we could have only 64MB

Re: [U-Boot] [PATCH V2 1/1] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

2011-12-13 Thread Fabio Estevam
On Tue, Dec 13, 2011 at 2:12 PM, Dirk Behme dirk.be...@de.bosch.com wrote: Looking at the binary I sent you it has U-Boot 2011.09-01509-g1d76eb8-dirty (Dec 13 2011 - 16:28:33) Sorry, I made a typo. 2011.09 works fine for me, but 2011.12-rc1 does not boot my sabrelite. Tried booting two

Re: [U-Boot] Segmented RAM, big userspace.

2011-12-13 Thread Wolfgang Denk
Dear Sergey Lapin, In message 20111213160810.ga27...@build.ihdev.net you wrote: We have a board, based on s3c2416, with 128MB of RAM and 1GB of NAND flash. RAM is organized as 2 memory banks with far placed bases: TOP UNUSED 64MB 64MB SDRAM --- 128MB segment base 1 - UNUSED 64MB

Re: [U-Boot] [PATCH V2 1/1] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

2011-12-13 Thread Dirk Behme
On 13.12.2011 17:19, Fabio Estevam wrote: On Tue, Dec 13, 2011 at 2:12 PM, Dirk Behme dirk.be...@de.bosch.com wrote: Looking at the binary I sent you it has U-Boot 2011.09-01509-g1d76eb8-dirty (Dec 13 2011 - 16:28:33) Sorry, I made a typo. 2011.09 works fine for me, but 2011.12-rc1 does

Re: [U-Boot] [PATCH] omap4_panda: Initialize the USB phy

2011-12-13 Thread Tom Rini
On Tue, Dec 13, 2011 at 7:08 AM, Aneesh V ane...@ti.com wrote: Hi Chris, On Tuesday 13 December 2011 06:34 PM, clalance...@gmail.com wrote: From: Chris Lalancetteclalance...@gmail.com During misc_init_r, make sure to setup the clocks properly for the USB hub on the pandaboard.  With this

Re: [U-Boot] Segmented RAM, big userspace.

2011-12-13 Thread Sergey Lapin
On Tue, Dec 13, 2011 at 05:24:22PM +0100, Wolfgang Denk wrote: Dear Sergey Lapin, In message 20111213160810.ga27...@build.ihdev.net you wrote: We have a board, based on s3c2416, with 128MB of RAM and 1GB of NAND flash. RAM is organized as 2 memory banks with far placed bases: TOP

Re: [U-Boot] [PATCH V2] nand_spl_simple: store ecc data on the stack

2011-12-13 Thread Stefano Babic
On 13/12/2011 16:58, Tom Rini wrote: On Tue, Dec 13, 2011 at 4:30 AM, Stefano Babic sba...@denx.de wrote: Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM which is likely to contain already loaded data. The patch saves the oob data and the ecc on the stack replacing

Re: [U-Boot] [PATCH] Fix building for mx51evk board

2011-12-13 Thread Stefano Babic
On 12/12/2011 12:25, Anatolij Gustschin wrote: Fix: mx51evk.c:206:6: error: conflicting types for 'board_ehci_hcd_init' /u-boot/include/usb/ehci-fsl.h:254:5: note: previous declaration of 'board_ehci_hcd_init' was here We also fix board_ehci_hcd_init() for mx53loco board. Building for

[U-Boot] [PATCH V3] nand_spl_simple: store ecc data on the stack

2011-12-13 Thread Stefano Babic
Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM which is likely to contain already loaded data. The patch saves the oob data and the ecc on the stack replacing the fixed address in RAM. Signed-off-by: Stefano Babic sba...@denx.de CC: Ilya Yanok ya...@emcraft.com CC: Scott

Re: [U-Boot] [PATCH V3] nand_spl_simple: store ecc data on the stack

2011-12-13 Thread Tom Rini
On Tue, Dec 13, 2011 at 10:50 AM, Stefano Babic sba...@denx.de wrote: Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM which is likely to contain already loaded data. The patch saves the oob data and the ecc on the stack replacing the fixed address in RAM.

Re: [U-Boot] Segmented RAM, big userspace.

2011-12-13 Thread Wolfgang Denk
Dear Sergey Lapin, In message 20111213165113.ga27...@build.ihdev.net you wrote: So we could have only 64MB as one piece; Due to u-boot reloaction code we need to have u-boot in first 64MB also. ... Why would that be the case? If we specify memory size as 128MB (gd-ram_size) u-boot

Re: [U-Boot] [PATCH] omap4_panda: Initialize the USB phy

2011-12-13 Thread Chris Lalancette
On Tue, Dec 13, 2011 at 11:43 AM, Tom Rini tom.r...@gmail.com wrote: I had created a similar patch a long time back. It's only now I realize that I hadn't submitted it!! Anyway, here it is. I think there are a couple of things that can be re-used to improve your patch. 1) You might want to

Re: [U-Boot] [PATCH V3] nand_spl_simple: store ecc data on the stack

2011-12-13 Thread Wolfgang Denk
Dear Tom, In message CA+M6bX=j+=ubkz-vgoajgftfap+slp4i2jypdsjj_z-bcbw...@mail.gmail.com you wrote: Which covers the omap config file changes. Assuming Wolfgang doesn't see a problem with using SYS_... in defines, Scott, do you want this via your tree (in /next) since it's NAND or in mine

[U-Boot] need to add support for ISP1507 USB ULPI PHY for a PowerPC 85xx-based board

2011-12-13 Thread Daniel Nilsson
I have a PCB with a PowerPC 85xx (Freescale QorIQ P1020) MCU and an ISP1507B USB ULPI PHY that is supposed to act as a host controller. On the board, the USB_POWERFAULT input on the MCU and the FAULT input on the ISP1507 are connected to a comparator that is active high whenever VBUS is missing

Re: [U-Boot] [PATCH V3] nand_spl_simple: store ecc data on the stack

2011-12-13 Thread Tom Rini
On Tue, Dec 13, 2011 at 11:18 AM, Wolfgang Denk w...@denx.de wrote: Dear Tom, In message CA+M6bX=j+=ubkz-vgoajgftfap+slp4i2jypdsjj_z-bcbw...@mail.gmail.com you wrote: Which covers the omap config file changes.  Assuming Wolfgang doesn't see a problem with using SYS_... in defines, Scott,

Re: [U-Boot] [PATCH v6 0/6] Add an SPL to boot the da850evm from SPI

2011-12-13 Thread Tom Rini
On Fri, Dec 9, 2011 at 12:47 PM, Christian Riesch christian.rie...@omicron.at wrote: Hi, this is v6 of the last part of my recent patchset [PATCH v3 00/15] Add an SPL to boot the da850evm from SPI http://lists.denx.de/pipermail/u-boot/2011-November/82.html Most of the other parts are

Re: [U-Boot] [PATCH] arm926ejs: remove noop flush_dcache_all function

2011-12-13 Thread Tom Rini
2011/12/12 Matthias Weißer weiss...@arcor.de: Am 12.12.2011 00:09, schrieb Ilya Yanok: Commit 2f3427c added noop cache functions implementation for arm926ejs to fix compilation of drivers depending on these functions (DaVinci EMAC in particular). Unfortunately, the bug was introduced: noop

Re: [U-Boot] [PATCH V3] nand_spl_simple: store ecc data on the stack

2011-12-13 Thread Scott Wood
On 12/13/2011 12:33 PM, Tom Rini wrote: So, we have various characteristics of the NAND chip that need to be described for SPL. Today we do CONFIG_SYS_NAND... but they're unchanged in every implementation and are calculated from other per-board values. So to avoid duplication in each config

Re: [U-Boot] [PATCH v2] Devkit8000: Switch over to enable_gpmc_cs_config

2011-12-13 Thread Tom Rini
On Tue, Dec 13, 2011 at 8:54 AM, Thomas Weber we...@corscience.de wrote: Use enable_gpmc_cs_config instead of local writing timing configuration for GPMC. Signed-off-by: Thomas Weber we...@corscience.de Merged to u-boot-ti/next, thanks! -- Tom ___

Re: [U-Boot] [PATCH V3] nand_spl_simple: store ecc data on the stack

2011-12-13 Thread Scott Wood
On 12/13/2011 11:50 AM, Stefano Babic wrote: /* Pick the ECC bytes out of the oob data */ - for (i = 0; i CONFIG_SYS_NAND_ECCTOTAL; i++) + for (i = 0; i (SYS_NAND_ECCTOTAL); i++) ecc_code[i] = oob_data[nand_ecc_pos[i]]; [snip] @@ -213,10 +203,10 @@ static int

Re: [U-Boot] [PATCH V3] nand_spl_simple: store ecc data on the stack

2011-12-13 Thread stefano babic
Am 13/12/2011 19:18, schrieb Wolfgang Denk: Dear Tom, In message CA+M6bX=j+=ubkz-vgoajgftfap+slp4i2jypdsjj_z-bcbw...@mail.gmail.com you wrote: Which covers the omap config file changes. Assuming Wolfgang doesn't see a problem with using SYS_... in defines, Scott, do you want this via

Re: [U-Boot] [PATCH V3] nand_spl_simple: store ecc data on the stack

2011-12-13 Thread Scott Wood
On 12/13/2011 12:04 PM, Tom Rini wrote: On Tue, Dec 13, 2011 at 10:50 AM, Stefano Babic sba...@denx.de wrote: Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM which is likely to contain already loaded data. The patch saves the oob data and the ecc on the stack replacing

Re: [U-Boot] [PATCH V4 2/2] mcx: support for HTKW mcx board

2011-12-13 Thread Tom Rini
On Mon, Dec 12, 2011 at 4:15 PM, Ilya Yanok ya...@emcraft.com wrote: This patch adds support for the HTKW mcx AM3517-based board. Serial, Ethernet, NAND, MMC, RTC, EHCI USB host and both NAND and MMC SPLs are supported. Requires updated mach-types file. Just define the MACH_ID locally for

Re: [U-Boot] [PATCH V3] nand_spl_simple: store ecc data on the stack

2011-12-13 Thread Tom Rini
On Tue, Dec 13, 2011 at 11:52 AM, Scott Wood scottw...@freescale.com wrote: On 12/13/2011 12:04 PM, Tom Rini wrote: On Tue, Dec 13, 2011 at 10:50 AM, Stefano Babic sba...@denx.de wrote: Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM which is likely to contain already

Re: [U-Boot] [PATCH V3] nand_spl_simple: store ecc data on the stack

2011-12-13 Thread Tom Rini
On Tue, Dec 13, 2011 at 11:45 AM, Scott Wood scottw...@freescale.com wrote: On 12/13/2011 12:33 PM, Tom Rini wrote: So, we have various characteristics of the NAND chip that need to be described for SPL.  Today we do CONFIG_SYS_NAND... but they're unchanged in every implementation and are

Re: [U-Boot] [PATCH V4 2/2] mcx: support for HTKW mcx board

2011-12-13 Thread Ilya Yanok
Hi Tom, On 13.12.2011 22:52, Tom Rini wrote: On Mon, Dec 12, 2011 at 4:15 PM, Ilya Yanok ya...@emcraft.com wrote: This patch adds support for the HTKW mcx AM3517-based board. Serial, Ethernet, NAND, MMC, RTC, EHCI USB host and both NAND and MMC SPLs are supported. Requires updated

[U-Boot] Please pull u-boot-ti/master

2011-12-13 Thread Tom Rini
The following changes since commit 953209bf5ef0889a1baa02aa0ed5324f53ff8fda:  Wolfgang Grandegger (1):     arm: add __aeabi_unwind_cpp_pr1() function to avoid linker complaints are available in the git repository at:   git://git.denx.de/u-boot-ti.git master Ilya Yanok (1):      arm926ejs: remove

Re: [U-Boot] [PATCH V4 2/2] mcx: support for HTKW mcx board

2011-12-13 Thread Ilya Yanok
Hi Tom, On 13.12.2011 22:52, Tom Rini wrote: +#define CONFIG_SYS_TEXT_BASE 0x80008000 [snip] +#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR0x300 /* address 0x6 */ +#define CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION 1 +#define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME

Re: [U-Boot] [PATCH 13/13] mcx: support for HTKW mcx board

2011-12-13 Thread Ilya Yanok
Hi Tom, On 12.12.2011 20:22, Tom Rini wrote: +#if defined(CONFIG_GENERIC_MMC) defined(CONFIG_OMAP_HSMMC) \ +!defined(CONFIG_SPL_BUILD) +int board_mmc_init(bd_t *bis) +{ +omap_mmc_init(0); +return 0; return omap_mmc_init(0); I would also define this function (weak) in some

[U-Boot] [PATCH] M28: Fix tab indent in u-boot.bd

2011-12-13 Thread Marek Vasut
Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Detlev Zundel d...@denx.de Cc: Stefano Babic sba...@denx.de --- board/denx/m28evk/u-boot.bd |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board/denx/m28evk/u-boot.bd

Re: [U-Boot] [PATCH V3] nand_spl_simple: store ecc data on the stack

2011-12-13 Thread Stefano Babic
On 13/12/2011 19:45, Scott Wood wrote: On 12/13/2011 12:33 PM, Tom Rini wrote: So, we have various characteristics of the NAND chip that need to be described for SPL. Today we do CONFIG_SYS_NAND... but they're unchanged in every implementation and are calculated from other per-board values.

Re: [U-Boot] [PATCH V4 2/2] mcx: support for HTKW mcx board

2011-12-13 Thread Tom Rini
On Tue, Dec 13, 2011 at 12:13 PM, Ilya Yanok ya...@emcraft.com wrote: Hi Tom, On 13.12.2011 22:52, Tom Rini wrote: +#define CONFIG_SYS_TEXT_BASE           0x80008000 [snip] +#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x300 /* address 0x6 */ +#define

[U-Boot] [PATCH V4] nand_spl_simple: store ecc data on the stack

2011-12-13 Thread Stefano Babic
Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM which is likely to contain already loaded data. The patch saves the oob data and the ecc on the stack replacing the fixed address in RAM. Signed-off-by: Stefano Babic sba...@denx.de CC: Ilya Yanok ya...@emcraft.com CC: Scott

[U-Boot] [PATCH v2] omap4_panda: Initialize the USB phy

2011-12-13 Thread clalancette
From: Chris Lalancette clalance...@gmail.com During misc_init_r, make sure to setup the clocks properly for the USB hub on the pandaboard. With this in place, the USB hub and the ethernet works on the pandaboard. Signed-off-by: Chris Lalancette clalance...@gmail.com --- v2: Incorporate changes

Re: [U-Boot] [PATCH V4 2/2] mcx: support for HTKW mcx board

2011-12-13 Thread Ilya Yanok
Hi Tom, On 13.12.2011 23:30, Tom Rini wrote: +#define CONFIG_SYS_TEXT_BASE 0x80008000 [snip] +#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR0x300 /* address 0x6 */ +#define CONFIG_SYS_MMC_SD_FAT_BOOT_PARTITION 1 +#define CONFIG_SPL_FAT_LOAD_PAYLOAD_NAME

Re: [U-Boot] Segmented RAM, big userspace.

2011-12-13 Thread Scott Wood
On 12/13/2011 10:08 AM, Sergey Lapin wrote: It is possible to flash filesystems in parts, but for this to work these are needed to be properly split. This raises a problem of bad blocks - writing previous piece might end not where you expect it to end, but a few blocks later. Hand-handling

Re: [U-Boot] OMAP4 u-boot broken (was [PATCH] usb: align usb_endpoint_descriptor to 16-bit boundary)

2011-12-13 Thread Stefan Kristiansson
Hi Aneesh, On Tue, Dec 13, 2011 at 06:59:45PM +0530, Aneesh V wrote: OMAP4 U-Boot is broken in the mainline. U-Boot wouldn't boot up on any OMAP4 platforms. I suspect this will be the case with any ARM platform that has enabled USB tty code. I git-bisected the issue to this patch. I did some

Re: [U-Boot] [PATCH v3] AVR32: fix timer_init() function

2011-12-13 Thread Anatolij Gustschin
On Sun, 4 Oct 2015 21:53:32 +0200 Sven Schnelle sv...@stackframe.org wrote: timer_init() now returns an int (the error code) instead of void. This makes compilation fail with: interrupts.c:111: error: conflicting types for 'timer_init' /home/svens/u-boot/u-boot/include/common.h:246: error:

Re: [U-Boot] [STATUS] v2011.12-rc1 is out - release date Dec 23

2011-12-13 Thread Anatolij Gustschin
Hi Andreas, On Mon, 12 Dec 2011 15:50:20 +0100 Andreas Bießmann andreas.de...@googlemail.com wrote: Dear Reinhard Meyer, On 12.12.2011 14:48, Wolfgang Denk wrote: Hi everybody, after long struggeling we finally have a -rc1. Please help testing, so we can fix the remaining issues

Re: [U-Boot] [PATCH V4] nand_spl_simple: store ecc data on the stack

2011-12-13 Thread Tom Rini
On Tue, Dec 13, 2011 at 12:33 PM, Stefano Babic sba...@denx.de wrote: Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM which is likely to contain already loaded data. The patch saves the oob data and the ecc on the stack replacing the fixed address in RAM.

Re: [U-Boot] [PATCH V4 2/2] mcx: support for HTKW mcx board

2011-12-13 Thread Tom Rini
On Tue, Dec 13, 2011 at 12:44 PM, Ilya Yanok ya...@emcraft.com wrote: Hi Tom, On 13.12.2011 23:30, Tom Rini wrote: +#define CONFIG_SYS_TEXT_BASE           0x80008000 [snip] +#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR        0x300 /* address 0x6 */ +#define

Re: [U-Boot] Request for Help: How to save data to an SD/MMC card

2011-12-13 Thread Graeme Russ
Hi Wolfgang, On Tue, Dec 13, 2011 at 7:14 PM, Wolfgang Denk w...@denx.de wrote: Dear Graeme, In message CALButCKwVh571bhgV9NQ82HYiFVJ=uGMFvVTYa5NV5M=kwv...@mail.gmail.com you wrote: I have a need to dump memory contents to a filesystem on an SD/MMC card so I can transfer it to my dev

Re: [U-Boot] Request for Help: How to save data to an SD/MMC card

2011-12-13 Thread Ilya Yanok
Hi Graeme, Graeme Russ graeme.russ at gmail.com writes: I have a need to dump memory contents to a filesystem on an SD/MMC Do you really need a filesystem for this? You can easily dump memory to SD using block write. Regards, Ilya. ___ U-Boot

Re: [U-Boot] [PATCH 2/3] tpm: Add i2c TPM driver

2011-12-13 Thread Mike Frysinger
On Tuesday 13 December 2011 06:51:01 Che-Liang Chiou wrote: Peter Huewe implemented the original driver; this patch only reorganizes the code structure of the driver, and does not make logical changes. tpm.c implements the interface defined in tpm.h based on underlying LPC or i2C TPM driver.

Re: [U-Boot] [PATCH 3/3] tpm: Update README

2011-12-13 Thread Mike Frysinger
On Tuesday 13 December 2011 06:51:02 Che-Liang Chiou wrote: Document TPM_TIS_I2C-related config options in README. this should probably just be squashed into: [PATCH 2/3] tpm: Add i2c TPM driver -mike signature.asc Description: This is a digitally signed message part.

Re: [U-Boot] [PATCH 1/3] tpm: Rename generic_lpc_tpm to tpm_tis_lpc

2011-12-13 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Request for Help: How to save data to an SD/MMC card

2011-12-13 Thread Graeme Russ
Hi Ilya, On Wed, Dec 14, 2011 at 10:26 AM, Ilya Yanok ya...@emcraft.com wrote: Hi Graeme, Graeme Russ graeme.russ at gmail.com writes: I have a need to dump memory contents to a filesystem on an SD/MMC Do you really need a filesystem for this? You can easily dump memory to SD using block

Re: [U-Boot] Request for Help: How to save data to an SD/MMC card

2011-12-13 Thread Ilya Yanok
Hi Graeme, On 14.12.2011 03:28, Graeme Russ wrote: I have a need to dump memory contents to a filesystem on an SD/MMC Do you really need a filesystem for this? You can easily dump memory to SD using block write. Well I want to copy the data back to my dev PC - If the SD/MMC card is

Re: [U-Boot] Request for Help: How to save data to an SD/MMC card

2011-12-13 Thread Graeme Russ
Hi Ilya, On Wed, Dec 14, 2011 at 10:34 AM, Ilya Yanok ya...@emcraft.com wrote: Hi Graeme, On 14.12.2011 03:28, Graeme Russ wrote: I have a need to dump memory contents to a filesystem on an SD/MMC Do you really need a filesystem for this? You can easily dump memory to SD using block

Re: [U-Boot] Request for Help: How to save data to an SD/MMC card

2011-12-13 Thread Ilya Yanok
Hi Graeme, On 14.12.2011 03:37, Graeme Russ wrote: Well, it shouldn't be that hard to get the data written to specific blocks on the dev PC using dd command. But what about bad blocks? You don't need to worry much about this. MMC/SD card are not a raw flash devices they contain FTL that

[U-Boot] [PATCH 00/18] CHECKPATCH: fpgadata.c cleanup

2011-12-13 Thread Marek Vasut
First of the CHECKPATCH series of patches with per-file checkpatch fixes. This series fixes all files fpgadata.c, which contains PPC FPGA firmwares. There are no functional changes, only CHECKPATCH fixes. Marek Vasut (18): CHECKPATCH: ./board/esd/hh405/fpgadata.c CHECKPATCH:

Re: [U-Boot] Request for Help: How to save data to an SD/MMC card

2011-12-13 Thread Graeme Russ
Hi Ilya, On Wed, Dec 14, 2011 at 10:46 AM, Ilya Yanok ya...@emcraft.com wrote: Hi Graeme, On 14.12.2011 03:37, Graeme Russ wrote: Well, it shouldn't be that hard to get the data written to specific blocks on the dev PC using dd command. But what about bad blocks? You don't need to worry

[U-Boot] [PATCH V5 2/2] mcx: support for HTKW mcx board

2011-12-13 Thread Ilya Yanok
This patch adds support for the HTKW mcx AM3517-based board. Serial, Ethernet, NAND, MMC, RTC, EHCI USB host and both NAND and MMC SPLs are supported. Signed-off-by: Ilya Yanok ya...@emcraft.com --- I'm sorry for non-consistent version history, I will give links to my previous posts along with

Re: [U-Boot] [PATCH] sandbox: Add tap based networking

2011-12-13 Thread Simon Glass
Hi Matthias, On Sun, Dec 4, 2011 at 9:57 AM, Matthias Weisser weiss...@arcor.de wrote: This patch adds support for networking to sandbox architecture using tap. A tap device tap0 has to be created e.g. using openvpn $ openvpn --mktun --dev tap0 u-boot should then be able to detect the

Re: [U-Boot] [PATCH 00/18] CHECKPATCH: fpgadata.c cleanup

2011-12-13 Thread Graeme Russ
Hi Marek, On Wed, Dec 14, 2011 at 10:49 AM, Marek Vasut marek.va...@gmail.com wrote: First of the CHECKPATCH series of patches with per-file checkpatch fixes. This series fixes all files fpgadata.c, which contains PPC FPGA firmwares. There are no functional changes, only CHECKPATCH fixes.

Re: [U-Boot] [PATCH V4 2/2] mcx: support for HTKW mcx board

2011-12-13 Thread Ilya Yanok
Hi Tom, On 14.12.2011 01:47, Tom Rini wrote: As for the devkit8000 boot problem, I have BSS set up close to the top of the RAM. Probably that's the reason I don't see any problems. Unfortunately, I can't recall why I had moved BSS... It clashed with something but I don't remember the

Re: [U-Boot] [PATCH 1/4] USB: ULPI: switch argument type from u8 to unsigned

2011-12-13 Thread Simon Glass
On Mon, Dec 12, 2011 at 2:08 AM, Igor Grinberg grinb...@compulab.co.il wrote: There is no benefit in usign u8, so switch to unsinged to reduce the binary image size (by 20 bytes). Signed-off-by: Igor Grinberg grinb...@compulab.co.il Some typos in commit msg, but anyway: Acked-by: Simon Glass

Re: [U-Boot] [PATCH 2/4] USB: ULPI: clean a mixup of return types

2011-12-13 Thread Simon Glass
On Mon, Dec 12, 2011 at 2:08 AM, Igor Grinberg grinb...@compulab.co.il wrote: Clean a mixup between u32 and int as a return type for functions returning error values. Use int as it is native (and widely used) return type. Signed-off-by: Igor Grinberg grinb...@compulab.co.il Acked-by: Simon

Re: [U-Boot] [PATCH 3/4] USB: ULPI: increase error case verbosity

2011-12-13 Thread Simon Glass
On Mon, Dec 12, 2011 at 2:08 AM, Igor Grinberg grinb...@compulab.co.il wrote: Add the argument value to the error message. Signed-off-by: Igor Grinberg grinb...@compulab.co.il Acked-by: Simon Glass s...@chromium.org (I do wonder if this should be debug() rather than printf(), but that's fine)

  1   2   >