[U-Boot] cmd_sf warning on size_t

2011-12-13 Thread Thomas Chou
Hi Mike, I got this warning on cmd_sf.c, cmd_sf.c: In function `spi_flash_update_block': cmd_sf.c:130: warning: unsigned int format, size_t arg (arg 4) cmd_sf.c:135: warning: unsigned int format, size_t arg (arg 3) It was related to our arch/avr32|blackfin|nios2/asm/posix_types.h typedef unsig

Re: [U-Boot] [PATCH v6 4/6] arm, da850evm: Add an SPL for SPI boot

2011-12-13 Thread Christian Riesch
Hi, On Friday, December 9, 2011, Christian Riesch wrote: > Signed-off-by: Christian Riesch > Cc: Heiko Schocher > Cc: Sandeep Paulraj > Cc: Tom Rini > Cc: Sudhakar Rajashekhara > --- > board/davinci/da8xxevm/da850evm.c |4 +- > board/davinci/da8xxevm/u-boot-spl.lds | 73 ++

[U-Boot] FW: FW: [PATCH v3] AT91: pio: Add PIO3 features

2011-12-13 Thread Xu, Hong
Hi Wolfgang & Albert, It seems the AT91 maintainer is not active for a little bit long time. The heads published on http://git.denx.de was updated 4 months ago. The patches newly sent to list are not handled any more. So, May I propose we act as something like a co-maintainer so that Albert can p

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

2011-12-13 Thread Igor Grinberg
There is no benefit in using u8, so switch to unsigned to reduce the binary image size (by 20 bytes). Signed-off-by: Igor Grinberg Acked-by: Simon Glass --- v2: no functional changes - fix typos in the commit message and add Simon's ack. drivers/usb/ulpi/ulpi.c | 10 +- i

Re: [U-Boot] [PATCH] nds32: add amic multicore interrupt controller support

2011-12-13 Thread Marek Vasut
> Add header file support of amic multicore interrupt controller. > > Signed-off-by: Macpaul Lin The name of the patch is misleading, please fix M ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 4/4] README: add documentation for CONFIG_USB_ULPI*

2011-12-13 Thread Igor Grinberg
Hi Simon, On 12/14/11 02:28, Simon Glass wrote: > Hi Igor, > > On Mon, Dec 12, 2011 at 2:08 AM, Igor Grinberg > wrote: >> Add documentation for CONFIG_USB_ULPI and CONFIG_USB_ULPI_VIEWPORT >> configuration options. >> >> Signed-off-by: Igor Grinberg >> --- >> README |8 >> 1 file

Re: [U-Boot] [RFC] Add 'led' command

2011-12-13 Thread Ulf Samuelsson
On 2010-11-05 13:21, Wolfgang Denk wrote: Dear Jason Kridner, In message<1288936236-30603-1-git-send-email-jkrid...@beagleboard.org> you wrote: It is desired to have the led command on the BeagleBoard to allow for some interaction in the scripts. This patch allows any board implementing the

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

2011-12-13 Thread Ulf Samuelsson
On 2011-12-14 00:28, Graeme Russ wrote: Hi Ilya, On Wed, Dec 14, 2011 at 10:26 AM, Ilya Yanok wrote: Hi Graeme, Graeme Russ 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 usin

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

2011-12-13 Thread Mike Frysinger
On Tuesday 13 December 2011 18:54:59 Simon Glass wrote: > On Sun, Dec 4, 2011 at 9:57 AM, Matthias Weisser wrote: > > --- a/arch/sandbox/cpu/os.c > > +++ b/arch/sandbox/cpu/os.c > > @@ -19,6 +19,7 @@ > > * MA 02111-1307 USA > > */ > > > > +#include > > #include > > #include > > #include >

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

2011-12-13 Thread Marek Vasut
> Hi Marek, > > On Wed, Dec 14, 2011 at 11:37 AM, Marek Vasut wrote: > >> Hi Marek, > >> > >> On Wed, Dec 14, 2011 at 10:49 AM, Marek Vasut wrote: > >> > First of the CHECKPATCH series of patches with per-file checkpatch > >> > fixes. > >> > > >> > This series fixes all files fpgadata.c, whic

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 5:06 PM, Ilya Yanok wrote: > 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 move

[U-Boot] [PATCH] nds32: add amic multicore interrupt controller support

2011-12-13 Thread Macpaul Lin
Add header file support of amic multicore interrupt controller. Signed-off-by: Macpaul Lin --- include/andestech/amic.h | 195 ++ 1 files changed, 195 insertions(+), 0 deletions(-) create mode 100644 include/andestech/amic.h diff --git a/include/and

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

2011-12-13 Thread Macpaul Lin
Hi Mike, 2011/12/12 Wolfgang Denk > Hi everybody, > > after long struggeling we finally have a -rc1. > > Please help testing, so we can fix the remaining issues before the > release, which I decided to shift to December 23. > > I have some patches depends on linkage.h issue. http://patchwork.ozl

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

2011-12-13 Thread Graeme Russ
Hi Marek, On Wed, Dec 14, 2011 at 11:37 AM, Marek Vasut wrote: >> Hi Marek, >> >> On Wed, Dec 14, 2011 at 10:49 AM, Marek Vasut wrote: >> > First of the CHECKPATCH series of patches with per-file checkpatch fixes. >> > >> > This series fixes all files fpgadata.c, which contains PPC FPGA >> > fir

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

2011-12-13 Thread Marek Vasut
> Hi Marek, > > On Wed, Dec 14, 2011 at 10:49 AM, Marek Vasut 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 4/4] README: add documentation for CONFIG_USB_ULPI*

2011-12-13 Thread Simon Glass
Hi Igor, On Mon, Dec 12, 2011 at 2:08 AM, Igor Grinberg wrote: > Add documentation for CONFIG_USB_ULPI and CONFIG_USB_ULPI_VIEWPORT > configuration options. > > Signed-off-by: Igor Grinberg > --- >  README |    8 >  1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/READM

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 wrote: > Add the argument value to the error message. > > Signed-off-by: Igor Grinberg Acked-by: Simon Glass (I do wonder if this should be debug() rather than printf(), but that's fine) > --- >  drivers/usb/ulpi/ulpi.c |   12 ++-- >  1 f

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 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 Acked-by: Simon Glass > --- >  drivers/usb/ulpi/ulpi-view

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 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 Some typos in commit msg, but anyway: Acked-by: Simon Glass > --- >  drivers/usb/ulpi/ulpi.c |   10

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 th

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 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. > > Marek Vasut (1

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 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 network device

[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 --- I'm sorry for non-consistent version history, I will give links to my previous posts along with version numbers. T

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 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 muc

[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: ./board/esd/pci40

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 tha

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 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 wri

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 c

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 wrote: > Hi Graeme, > > Graeme Russ 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. Well I want t

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 -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] [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 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 dri

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 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 mailing list U-B

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 wrote: > Dear Graeme, > > In message > 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

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 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 CONFIG_SYS_MMC

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 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. > > Signed-off-by: Stefa

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" 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 before the > >

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 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: previous declar

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 som

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] [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_PA

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

2011-12-13 Thread clalancette
From: Chris Lalancette 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 --- v2: Incorporate changes from Aneesh (ane...@ti.com) to support

[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 CC: Ilya Yanok CC: Scott Wood CC: Tom Rini CC: Simon S

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 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 CONFIG_SYS_MMC_SD_FAT_BO

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

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

2011-12-13 Thread Marek Vasut
Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Detlev Zundel Cc: Stefano Babic --- board/denx/m28evk/u-boot.bd |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/board/denx/m28evk/u-boot.bd b/board/denx/m28evk/u-boot.bd index 3ce7f92..c60615a 100644 --- a/board/d

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 al

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

[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 no

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 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.

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 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

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 wrote: > On 12/13/2011 12:04 PM, Tom Rini wrote: >> On Tue, Dec 13, 2011 at 10:50 AM, Stefano Babic 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 sa

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 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 now so it build

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 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

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 > 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 since

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 i

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 wrote: > Use enable_gpmc_cs_config instead of local writing > timing configuration for GPMC. > > Signed-off-by: Thomas Weber Merged to u-boot-ti/next, thanks! -- Tom ___ U-Boot mailing list U-Boot@lists.d

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 conf

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

2011-12-13 Thread Tom Rini
2011/12/12 Matthias Weißer : > 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 implem

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 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 already merged, toget

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 wrote: > Dear Tom, > > In message > 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

[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 (i

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

2011-12-13 Thread Wolfgang Denk
Dear Tom, In message 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 since it's TI > boards? Assuming you don't see any problems of c

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 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 replace the ma

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->ra

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 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. > > Signed-off-by: Stefa

[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 CC: Ilya Yanok CC: Scott Wood CC: Tom Rini CC: Simon S

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 fo

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 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 fixe

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 bas

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 wrote: > Hi Chris, > > > On Tuesday 13 December 2011 06:34 PM, clalance...@gmail.com wrote: >> >> From: Chris Lalancette >> >> During misc_init_r, make sure to setup the clocks >> properly for the USB hub on the pandaboard.  With >> this in place, the USB

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 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. T

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 - > UNUSE

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 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 boards (mx28 and mx6qsa

[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 Dirk Behme
On 13.12.2011 17:07, Fabio Estevam wrote: On Tue, Dec 13, 2011 at 1:31 PM, Dirk Behme 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 ena

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 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:   FSL_ESDHC:

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 wrote: > Add initial support for Bluegiga APX4 CoM and development kit. > > Signed-off-by: Veli-Pekka Peltola > Cc: Stefano Babic I applied this patch on top of head U-boot and got build errors when building "make u-boot.sb". Can you please

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

2011-12-13 Thread Tom Rini
On Tue, Dec 13, 2011 at 4:30 AM, Stefano Babic 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. OK, I think we need some

[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 --- Changelog v2: Change gpmc_net_config[6] to 0, because it is calculated in enable_gpmc_cs_config board/timll/devkit8000/devkit8000.c | 19 --

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 wrote: > Hello Tom, > > On 07.12.2011 18:14, Tom Rini wrote: >> On Wed, Dec 7, 2011 at 2:38 AM, Thomas Weber wrote: >>> Use enable_gpmc_cs_config instead of local writing >>> timing configuration for GPMC. >>> >>> Signed-off-by: Thomas Weber >>> ---

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 wrote: Add the initial support for Freescale i.MX6Q Sabre Lite board Signed-off-by: Dirk Behme Signed-off-by: Jason Liu --- V2: change the default script to let linaro image boot, and also

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 wrote: > Add the initial support for Freescale i.MX6Q Sabre Lite board > > Signed-off-by: Dirk Behme > Signed-off-by: Jason Liu > > --- > V2: change the default script to let linaro image boot, and also >    change the default env to dev 0

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

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 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: ar

[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 Cc: Stefano Babic --- board/bluegiga/apx4devkit/Makefile | 45 +++ board/bluegiga/apx4devkit/apx4devkit.c | 204 boards.cfg |

[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 h

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 Lalancette 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 had created a similar

[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 Signed-off-by: Jason Liu Tested-by: Dirk Behme --- board/freescale/mx6qarm2/mx6qarm2.c | 90 +++ include/configs/mx6qarm2.

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

2011-12-13 Thread Jason Liu
Cc: Stefano Babic Signed-off-by: Jason Liu --- 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 100644 --- a/drivers/net/fec_mxc.c ++

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

2011-12-13 Thread Jason Liu
Cc: Stefano Babic Signed-off-by: Jason Liu --- 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 --- a/arch/arm/cpu/armv7/mx6/clock.c +++ b/arch

[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 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 function support arch

[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 wil

[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 Signed-off-by: Jason Liu --- 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 the Micro-SD slot --- MAINTAINERS

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

2011-12-13 Thread clalancette
From: Chris Lalancette 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 --- arch/arm/include/asm/arch-omap4/omap.h | 42

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); > > > + e

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

[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 tpm_private

[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 --- 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 @@ The following opti

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

2011-12-13 Thread Che-Liang Chiou
The new name is more aligned with Linux kernel's naming of TPM driver. Signed-off-by: Che-Liang Chiou --- Makefile |2 +- README |5 - drivers/tpm/Makefile |2 +- drivers

  1   2   >