Re: [U-Boot] support for spansion s29gl-p flash?

2010-04-23 Thread Aditya Ojha (adojha)
Thanks Txema. I might be hitting the same problem with the Numonyx flash. I will check enabling debugs. I see that you had submitted a potential patch, did it make it into the code-base? aditya > -Original Message- > From: txema lopez [mailto:tlo...@aotek.es] > Sent: Thursday, April 22

Re: [U-Boot] support for spansion s29gl-p flash?

2010-04-23 Thread txema lopez
Hi Aditya, > I see that you had submitted a potential patch, did it make it into the > code-base? I can't understand what exactly your question is. The patch was not "formal" and It was only tested in a MPC5200 based board. When I sent the patch I did not receive any feedback from the cfi drive

Re: [U-Boot] support for spansion s29gl-p flash?

2010-04-23 Thread Stefan Roese
Hi Txema, On Friday 23 April 2010 08:26:38 txema lopez wrote: > I found some problems with the Numonyx Flash and the U-Boot cfi driver > in a PowerPC big endian architecture. > > See: http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/72598 IIRC, then you problem was more related to using an

Re: [U-Boot] support for spansion s29gl-p flash?

2010-04-23 Thread Stefan Roese
On Friday 23 April 2010 09:00:58 Aditya Ojha (adojha) wrote: > Thanks Txema. I might be hitting the same problem with the Numonyx > flash. I will check enabling debugs. > I see that you had submitted a potential patch, did it make it into the > code-base? No. The patch was not in a state of bei

Re: [U-Boot] [PATCH V2 2/6] MX: RTC13783 uses general function to access PMIC

2010-04-23 Thread Stefano Babic
Magnus Lilja wrote: > Hi Hi Magnus, > I've compiled and tested this on i.MX31 Litekit and it seems to work. > I suspect it works on the PDK board as well but I haven't actually > tried that yet. Thanks for testing. Regards, Stefano -- ==

Re: [U-Boot] [PATCH] mmc: new legacy MMC/SPI driver

2010-04-23 Thread Wolfgang Wegner
Hi Mike, On Thu, Apr 22, 2010 at 11:28:27PM -0400, Mike Frysinger wrote: > +static short mmc_spi_init_card(struct mmc_spi_dev *pdev) > +{ > + unsigned short cntr = 0; > + > + /* for making init process beeing silent */ > + init_mode = 1; > + /* save length of log for external usag

Re: [U-Boot] PULL REQUEST (for "next"): please pull u-boot-mpc5xxx

2010-04-23 Thread Anatolij Gustschin
Hello Wolfgang, On Sun, 21 Mar 2010 23:34:44 +0100 Wolfgang Denk wrote: > Dear Anatolij, > > In message <20100321214723.74b904c...@gemini.denx.de> you wrote: > > In message <20100321214009.827ff4c...@gemini.denx.de> you wrote: > > > The following changes since commit > > > 67c7189dd35cb368ef66

Re: [U-Boot] support for spansion s29gl-p flash?

2010-04-23 Thread txema lopez
Hi Stefan, > IIRC, then you problem was more related to using an 8bit wide chip (chip- > width) on an 16bit port-width, Yes, it is our board flash layout. > than being a specific Numonyx issue. Correct? > But the same board with a Spansion S29GL flash is fully supported by U-Boot, so, I think

Re: [U-Boot] support for spansion s29gl-p flash?

2010-04-23 Thread Stefan Roese
Hi Txema, On Friday 23 April 2010 10:36:24 txema lopez wrote: > > IIRC, then you problem was more related to using an 8bit wide chip (chip- > > width) on an 16bit port-width, > > Yes, it is our board flash layout. OK. So you are using 2 chips interleaved on this 16bit bus (one on lower 8bits an

[U-Boot] [PATCH] add SPI_CS_HIGH option to cf_spi.c

2010-04-23 Thread Wolfgang Wegner
Signed-off-by: Wolfgang Wegner --- I tested this patch on a MCF54455. The basic intention was to make using DSPI for MMC/SD-Card possible. drivers/spi/cf_spi.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/spi/cf_spi.c b/drivers/spi/cf_spi.c index 722aafc..

[U-Boot] [PATCH] ehci-pci: print hccr, hcor and hc_lenght

2010-04-23 Thread Florian Fainelli
It is useful to know the EHCI-PCI hccr, hcor and hc_lenght to make sure it was successfully registered, and at the correct location. Signed-off-by: Florian Fainelli --- diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c index 047902a..4402abb 100644 --- a/drivers/usb/host/ehci

[U-Boot] convention for SPI dummy data?

2010-04-23 Thread Wolfgang Wegner
Hi, I have finally got MMC/SD working on my coldfire board and would like to send some patches. However, one of the things I had to change was the dummy data sent out by SPI for read-only transactions. The original driver had all zeros, for SD/MMC all ones (0xFF) is needed. Is such a change acce

[U-Boot] Facing problems in Porting U-boot to MIPS32 (Au1350)

2010-04-23 Thread  Gurumurthy G M
let me know if anyone have ported u-boot to MIPS32. -Original Message- From: u-boot-boun...@lists.denx.de on behalf of  Gurumurthy G M Sent: Fri 4/23/2010 2:30 PM To: u-boot@lists.denx.de Subject: [U-Boot] U-boot Porting for MIPS32 (Au1350) Hi All, we are porting U-boot 1.2.

[U-Boot] [PATCH] add Xilinx_abort_fn to Xilinx_Spartan3_Slave_Serial_fns

2010-04-23 Thread Wolfgang Wegner
Currently the hardware was left in an undefined state in case Spartan3 serial load failed. This patch adds Xilinx_abort_fn to give the board a possibility to clean up in this case. Signed-off-by: Wolfgang Wegner --- All other FPGA drivers already support such an abort function - it seems Spartan3

[U-Boot] [PATCH RFC] add redundant environment for env_sf.c

2010-04-23 Thread Wolfgang Wegner
Signed-off-by: Wolfgang Wegner --- This patch adds redundant environment for environment in SPI flash. I took env_flash.c as an example and slightly modified it. Apart from adapting things to SF, I also slightly changed the decision logic to use area 2 as a default in case the flags are wrong. I

Re: [U-Boot] support for spansion s29gl-p flash?

2010-04-23 Thread txema lopez
Hi Stefan, > OK. So you are using 2 chips interleaved on this 16bit bus (one on lower > 8bits > and one on higher 8bits), right? No, I misunderstood yor last e-mail. Our layout is: The flash chip is 16x/8x capable but is configured in 8x mode ( _BYTE pin to GND). Only the low

Re: [U-Boot] PULL REQUEST (for "next"): please pull u-boot-mpc5xxx

2010-04-23 Thread Wolfgang Denk
Dear Anatolij, In message <20100423102809.5afa8...@wker> you wrote: > > > [I'll leave this code as is in the u-boot-mpc5xxx repo for now, but I > > will rebase this as soon as you submit a fix.] > > What would be the best way to proceed here? I submitted separate > patch to fix this, "serial: fi

Re: [U-Boot] Facing problems in Porting U-boot to MIPS32 (Au1350)

2010-04-23 Thread Wolfgang Denk
Dear Gurumurthy G M, please do not top post / full quote. And do not ask questions you have just asked a few hours before. In message <5858de952c53a441bda3408a0524130104cce...@mkegmal01> you wrote: > > > let me know if anyone have ported u-boot to MIPS32. Why don't you have a look yourself at

Re: [U-Boot] [PATCH V2] Moved board specific values in config file

2010-04-23 Thread Liu Hui-R64343
Stefano , > -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Stefano Babic > Sent: 2010年3月28日 19:43 > To: u-boot@lists.denx.de > Subject: [U-Boot] [PATCH V2] Moved board specific values in > config file > > The lowlevel_init fi

[U-Boot] Layout of OOB data in NAND flash

2010-04-23 Thread Gaer, A.
Hi! It seems like the layout of OOB/4-Bit-ECC data in NAND flash differs from RBL/UBL to u-boot/linux (at least on a DM365 device). Is there any good reason for this? As far as I understand, the RBL/UBL uses this layout (2048 byte pages): (E = ECC byte, X = other oob) XXEE XX

[U-Boot] UBI partigion in u-boot

2010-04-23 Thread Ewer, Edward E
I'm using a MPC8572DS evaluation system and attempting to set up a UBI file system from u-boot. I've seen a similar thread with similar errors but my error isn't being caused by the define CONFIG_SYS_MALLOC_LEN being too small (it's set for 1M). I'm just starting with UBI/UBIFS and hoping someon

Re: [U-Boot] UBI partigion in u-boot

2010-04-23 Thread Ewer, Edward E
Excuse me, I forgot to paste in the u-boot output: => nand info Device 0: nand0, sector size 128 KiB => nand erase NAND erase: device 0 whole chip Bad block table found at page 524224, version 0x01 Bad block table found at page 524160, version 0x01 nand_read_bbt: Bad block at 0x006c nan

Re: [U-Boot] [PATCH 07/17] SPEAr : Network driver support added

2010-04-23 Thread Armando VISCONTI
Ben, I have a specific question on the way we handle phy address in SPEAr. >> + >> +static u8 find_phy(struct eth_device *dev) >> +{ >> +u8 phy_addr = 0; >> +u16 ctrl, oldctrl; >> + >> +do { >> +eth_mdio_read(dev, phy_addr, PHY_BMCR,&ctrl); >> +oldctrl = ctrl&

Re: [U-Boot] [PATCH 2/4] mpc832x: add support for the mpc8321 based suvd3 board

2010-04-23 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: > In message <4bc2ccbe.6060...@denx.de> you wrote: >> - serial console on UART1 >> - Ethernet RMII over UCC4 >> - PHY SMSC LAN8700 >> - 64MB Flash >> - 128 MB DDR2 RAM >> - I2C >> - bootcount >> >> This board is similiar to the kmeter1 (8360) board, >> so commo

Re: [U-Boot] Adding new architecture (nds32) support to u-boot

2010-04-23 Thread Marek Vasut
Dne Pá 23. dubna 2010 05:42:13 macp...@andestech.com napsal(a): > Hi Wolfgang, > > > > I’m working for Andestech, which is a RISC IP (NDS32) company in Taiwan. > > This company has been started for 5 years. > > In recent , we are planning to release source code such as Linux Kernel and > GNU t

Re: [U-Boot] [PATCH V2] Moved board specific values in config file

2010-04-23 Thread Stefano Babic
Liu Hui-R64343 wrote: > Stefano , > Hi Jason, >> >> +#define CONFIG_SYS_DDR_CLKSEL 0 >> +#define CONFIG_SYS_CLKTL_CBCDR 0x59E35100 > > It's nice to have some comments about the value selected. This patch is more as one month old and was already merged into the mainline, so we need

[U-Boot] [PATCH RFC] add CONFIG_BOOTCOUNT_LIMIT for MCF5445x

2010-04-23 Thread Wolfgang Wegner
This patch adds bootcount for Freescale MCF5445x. Two registers of eDMA transfer control descriptors (TCD[1]) are used because these are unused by linux kernel (freescale LTIB linux-2.6.25) and were tested to keep their contents across resets. Signed-off-by: Wolfgang Wegner --- I implemented and

Re: [U-Boot] Pull request u-boot-marvell.git

2010-04-23 Thread Prafulla Wadaskar
> -Original Message- > From: Tom Rix [mailto:t...@bumblecow.com] > Sent: Thursday, April 22, 2010 5:17 AM > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Siddarth Gore; Tom Rix > Subject: Re: [U-Boot] Pull request u-boot-marvell.git > > Prafulla Wadaskar wrote: > > Hi Tom > > > >

[U-Boot] [PATCH] MX51: Fix MX51 CPU detect message

2010-04-23 Thread Fabio Estevam
Fix MX51 CPU detect message. Original string was: CPU: Freescale i.MX51 family 3.0V at 800 MHz which can be misinterpreted as 3.0 Volts instead of the silicon revision. ,change it to: CPU: Freescale i.MX51 family rev3.0 at 800 MHz Signed-off-by: Fabio Estevam --- arch/arm/cpu/arm_corte

[U-Boot] [PATCH v3 00/26] [x86] 'Comming of Age'

2010-04-23 Thread Graeme Russ
Hello Everyone Respin of a previous patch set addressing a few minor issues including: Version 2: - Resolved the PCI_BASE_ADDRESS_1 --> PCI_BASE_ADDRESS_0 modification. It turned out to be a PCI region definition issue where the existing code was making non-generic assumptions about the allo

[U-Boot] [PATCH v3 00/26] [x86] 'Comming of Age'

2010-04-23 Thread Graeme Russ
___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v3 02/26] [x86] #ifdef out getenv_IPaddr()

2010-04-23 Thread Graeme Russ
Signed-off-by: Graeme Russ --- arch/i386/lib/board.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/i386/lib/board.c b/arch/i386/lib/board.c index f3b6348..af81cd5 100644 --- a/arch/i386/lib/board.c +++ b/arch/i386/lib/board.c @@ -280,8 +280,10 @@ void board_init_r

[U-Boot] [PATCH v3 05/26] [x86] Fix do_go_exec()

2010-04-23 Thread Graeme Russ
This was broken a long time ago by a49864593e083a5d0779fb9ca98e5a0f2053183d which munged the NIOS and x86 do_go_exec() Signed-off-by: Graeme Russ --- arch/i386/lib/board.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/i386/lib/board.c b/arch/i386/lib/board.

[U-Boot] [PATCH v3 07/26] [x86] Split sc520 memory sizing versus reporting

2010-04-23 Thread Graeme Russ
This patch allows the low-level assembler boot-strap to obtain the RAM size without calling the destructive 'sizer' routine. This allows boot-strapping from a U-Boot image loaded in RAM Signed-off-by: Graeme Russ --- arch/i386/cpu/sc520/sc520_asm.S | 95 +++---

[U-Boot] [PATCH v3 08/26] [x86] Add RAM bootstrap functionality

2010-04-23 Thread Graeme Russ
Add a parameter to the 32-bit entry to indicate if entry is from Real Mode or not. If entry is from Real Mode, execute the destructive 'sizer' routine to determine memory size as we are booting cold and running in Flash. If not entering from Real Mode, we are executing a U-Boot image from RAM and t

[U-Boot] [PATCH v3 09/26] [x86] Move GDT to a safe location in RAM

2010-04-23 Thread Graeme Russ
Currently, the GDT is either located in FLASH or in the non-relocated U-Boot image in RAM. Both of these locations are unsafe as those locations can be erased during a U-Boot update. Move the GDT into the highest available memory location and relocate U-Boot to just below it Signed-off-by: Graeme

[U-Boot] [PATCH v3 10/26] [x86] Pass relocation offset into Global Data

2010-04-23 Thread Graeme Russ
In order to locate the 16-bit BIOS code, we need to know the reloaction offset. Signed-off-by: Graeme Russ --- arch/i386/lib/board.c | 63 - 1 files changed, 36 insertions(+), 27 deletions(-) diff --git a/arch/i386/lib/board.c b/arch/i386/lib/bo

[U-Boot] [PATCH v3 11/26] [x86] Fix copying of Real-Mode code into RAM

2010-04-23 Thread Graeme Russ
Signed-off-by: Graeme Russ --- arch/i386/lib/bios_setup.c |2 +- arch/i386/lib/realmode.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/i386/lib/bios_setup.c b/arch/i386/lib/bios_setup.c index 6491e52..a92b77e 100644 --- a/arch/i386/lib/bios_setup.c +++ b/ar

[U-Boot] [PATCH v3 12/26] [ns16550] Enable port-mapped access

2010-04-23 Thread Graeme Russ
The x86 architecture exclusively uses Port-Mapped I/O (inb/outb) to access the 16550 UARTs. This patch mimics how Linux selects between Memory-Mapped and Port-Mapped I/O. This allows x86 boards to use CONFIG_SERIAL_MUTLI and drop the custom serial port driver Signed-off-by: Graeme Russ --- drive

[U-Boot] [PATCH v3 14/26] [x86] Provide weak PC/AT compatibility setup function

2010-04-23 Thread Graeme Russ
It is possibly to setup x86 boards to use non-PC/AT configurations. For example, the sc520 is an x86 CPU with PC/AT and non-PC/AT peripherals. This function allows the board to set itself up for maximum PC/AT compatibility just before booting the Linux kernel (the Linux kernel 'just works' if every

[U-Boot] [PATCH v3 13/26] [x86] Use CONFIG_SERIAL_MULTI

2010-04-23 Thread Graeme Russ
Signed-off-by: Graeme Russ --- arch/i386/cpu/Makefile |2 +- arch/i386/cpu/serial.c | 506 arch/i386/lib/board.c |5 +- board/eNET/eNET.c |3 +- common/serial.c|3 +- include/configs/eNET.h | 26 ++- include/serial.

[U-Boot] [PATCH v3 16/26] [sc520] Allow boards to override udelay

2010-04-23 Thread Graeme Russ
If the board has a high precision mico-second timer, it maked sense to use it instead of the on-chip one Signed-off-by: Graeme Russ --- arch/i386/cpu/sc520/sc520_timer.c |4 arch/i386/include/asm/ic/sc520.h |1 + 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/i

[U-Boot] [PATCH v3 17/26] [eNET] Fix Flash Write

2010-04-23 Thread Graeme Russ
Onboard AMD Flash chip does not support buffered writes Signed-off-by: Graeme Russ --- include/configs/eNET.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/eNET.h b/include/configs/eNET.h index 05d7db8..f643f7f 100644 --- a/include/configs/eNET.h +++ b

[U-Boot] [PATCH v3 20/26] [sc520] Board Specific PCI Init

2010-04-23 Thread Graeme Russ
Signed-off-by: Graeme Russ --- arch/i386/cpu/sc520/sc520_pci.c | 39 ++- arch/i386/include/asm/ic/pci.h |1 + board/eNET/eNET_pci.c | 34 ++ 3 files changed, 37 insertions(+), 37 deletions(-) diff --git a/arch

[U-Boot] [PATCH v3 19/26] [sc520] Move PCI defines to PCI include file

2010-04-23 Thread Graeme Russ
Signed-off-by: Graeme Russ --- arch/i386/include/asm/ic/pci.h | 29 + arch/i386/include/asm/ic/sc520.h | 29 - 2 files changed, 29 insertions(+), 29 deletions(-) diff --git a/arch/i386/include/asm/ic/pci.h b/arch/i386/include/asm/ic/p

[U-Boot] [PATCH v3 18/26] [eNET] Fix CONFIG_SYS_HZ to be 1000

2010-04-23 Thread Graeme Russ
The clock interupt has always been 1kHz as per timer_init() in /arch/i386/cpu/sc520/sc520_timer.c Signed-off-by: Graeme Russ --- include/configs/eNET.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/eNET.h b/include/configs/eNET.h index f643f7f..0bfbd08

[U-Boot] [PATCH v3 21/26] [eNET] Add support for onboard RTL8100B (RTL8139) chips

2010-04-23 Thread Graeme Russ
Signed-off-by: Graeme Russ --- board/eNET/eNET.c |7 +++ include/configs/eNET.h |9 - 2 files changed, 15 insertions(+), 1 deletions(-) diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c index 52ea140..62f99ce 100644 --- a/board/eNET/eNET.c +++ b/board/eNET/eNET.c @@ -24

[U-Boot] [PATCH v3 22/26] [eNET] Add PC/AT compatibility setup function

2010-04-23 Thread Graeme Russ
The eNET uses the sc520 software timers rather than the PC/AT clones Set all interrupts and timers up to be PC/AT compatible Signed-off-by: Graeme Russ --- board/eNET/eNET.c | 38 ++ 1 files changed, 38 insertions(+), 0 deletions(-) diff --git a/board/eNET

[U-Boot] [PATCH v3 23/26] Use SC520 MMCR to reset eNET board

2010-04-23 Thread Graeme Russ
Signed-off-by: Graeme Russ --- include/configs/eNET.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/eNET.h b/include/configs/eNET.h index dac3ede..6189794 100644 --- a/include/configs/eNET.h +++ b/include/configs/eNET.h @@ -160,7 +160,7 @@ * CPU Featu

[U-Boot] [PATCH v3 24/26] Implement eNET Watchdog

2010-04-23 Thread Graeme Russ
Signed-off-by: Graeme Russ --- board/eNET/eNET.c | 46 ++ board/eNET/hardware.h |1 + include/configs/eNET.h | 10 +- 3 files changed, 48 insertions(+), 9 deletions(-) diff --git a/board/eNET/eNET.c b/board/eNET/eNET.c index ad71f

[U-Boot] [PATCH v3 25/26] [sc520] Update to new AMD Copyright

2010-04-23 Thread Graeme Russ
AMD recently changed the licensing of the RAM sizing code to the GPLv2 (or at you option any later version) Signed-off-by: Graeme Russ --- arch/i386/cpu/sc520/sc520_asm.S | 117 +- 1 files changed, 77 insertions(+), 40 deletions(-) diff --git a/arch/i386/cpu

[U-Boot] [PATCH v3 26/26] [sc520] Fix minor DRAM Controller Setup bug

2010-04-23 Thread Graeme Russ
Signed-off-by: Graeme Russ --- arch/i386/cpu/sc520/sc520_asm.S |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/i386/cpu/sc520/sc520_asm.S b/arch/i386/cpu/sc520/sc520_asm.S index 3407254..c8f74b3 100644 --- a/arch/i386/cpu/sc520/sc520_asm.S +++ b/arch/i386/cpu/sc520/

[U-Boot] [PATCH v3 03/26] [x86] Fix MMCR Access

2010-04-23 Thread Graeme Russ
Change sc520 MMCR Access to use memory accessor functions Signed-off-by: Graeme Russ --- arch/i386/cpu/sc520/sc520.c | 33 -- arch/i386/cpu/sc520/sc520_pci.c | 24 ++ arch/i386/cpu/sc520/sc520_ssi.c | 27 ++-- arch/i386/cpu/sc520/sc520_timer.c | 31 +

[U-Boot] bf537-stamp board compilation problem

2010-04-23 Thread Michael Zaidman
Hi, Compiling the bf537-stamp board I got the following linker error: /home/mike/develop/u-boot/u-boot-patch/common/cmd_mmc.c:53: undefined reference to `mmc_legacy_init' /home/mike/develop/u-boot/u-boot-patch/common/cmd_mmc.c:53: relocation truncated to fit: R_pcrel24 against undefined symbol `mmc

[U-Boot] [PATCH v3 06/26] [x86] Fix sc520 memory size reporting

2010-04-23 Thread Graeme Russ
There is an error in how the assembler version of the sc520 memory size reporting code works. As a result, it will only ever report at most the size of one bank of RAM Signed-off-by: Graeme Russ --- arch/i386/cpu/sc520/sc520_asm.S | 35 +-- 1 files changed, 17 i

[U-Boot] [PATCH v3 04/26] [x86] Add register dump to crash handlers

2010-04-23 Thread Graeme Russ
Shamelessly steal the Linux x86 crash handling code and shove it into U-Boot (cool - it fits). Be sure to include suitable attribution to Linus Signed-off-by: Graeme Russ --- arch/i386/cpu/interrupts.c | 310 1 files changed, 228 insertions(+), 82 de

[U-Boot] [PATCH v3 01/26] [x86] Add unaligned.h

2010-04-23 Thread Graeme Russ
Signed-off-by: Graeme Russ --- arch/i386/include/asm/unaligned.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 arch/i386/include/asm/unaligned.h diff --git a/arch/i386/include/asm/unaligned.h b/arch/i386/include/asm/unaligned.h new file mode 100644 index 000

Re: [U-Boot] Facing problems in Porting U-boot to MIPS32 (Au1350)

2010-04-23 Thread Andrew Dyer
2010/4/23 Gurumurthy G M : > > > let me know if anyone have ported u-boot to MIPS32. I did a couple of ports for Au1550 boards back when it was still owned by AMD. On Au1550 if the boot pins are set up for NOR flash, the CS0 line is mapped with a base physical address 0x0_1fc0_ (36 bit physic

Re: [U-Boot] [PATCH] mmc: new legacy MMC/SPI driver

2010-04-23 Thread Mike Frysinger
On Friday 23 April 2010 04:20:34 Wolfgang Wegner wrote: > On Thu, Apr 22, 2010 at 11:28:27PM -0400, Mike Frysinger wrote: > > +static short mmc_spi_init_card(struct mmc_spi_dev *pdev) > > +{ > > + unsigned short cntr = 0; > > + > > + /* for making init process beeing silent */ > > + init_mode

Re: [U-Boot] bf537-stamp board compilation problem

2010-04-23 Thread Mike Frysinger
On Friday 23 April 2010 10:10:16 Michael Zaidman wrote: > Compiling the bf537-stamp board I got the following linker error: > /home/mike/develop/u-boot/u-boot-patch/common/cmd_mmc.c:53: undefined > reference to `mmc_legacy_init' > /home/mike/develop/u-boot/u-boot-patch/common/cmd_mmc.c:53: relocati

[U-Boot] [PATCH-V2 0/4] Add Support for AM3517EVM with EMIF4

2010-04-23 Thread hvaibhav
From: Vaibhav Hiremath Changes from V1 (comments provided by Tom Rix): - Refreshed against latest denx/master. - Further split SDRC consolidated patch, since it was fixing up one issue in dram_init in addition to code moment. - Retained copyright for sd

[U-Boot] [PATCH-V2 1/4] omap3: Calculate CS1 size only when SDRC is initialized for CS1

2010-04-23 Thread hvaibhav
From: Vaibhav Hiremath The patch makes sure that size for SDRC CS1 gets calculated only when the CS1 SDRC is initialized. Signed-off-by: Vaibhav Hiremath Signed-off-by: Sanjeev Premi --- arch/arm/cpu/arm_cortexa8/omap3/board.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-)

[U-Boot] [RESEND:PATCH-V4] OMAP3EVM: Added NAND support

2010-04-23 Thread hvaibhav
From: Vaibhav Hiremath The EVMS have been shipping with NAND (instead of OneNAND) as default. So, this patch sets NAND as default. To choose OneNAND, define CMD_ONENAND instead of CMD_NAND in the config file omap3_evm.h, Changes from V3 :- - Added undef statement for CMD_ONENAND. Signe

[U-Boot] [PATCH-V2 4/4] AM35x: Add support for EMIF4

2010-04-23 Thread hvaibhav
From: Vaibhav Hiremath This patch adds support for the EMIF4 interface available in the AM35x processors. Signed-off-by: Vaibhav Hiremath Signed-off-by: Sanjeev Premi --- arch/arm/cpu/arm_cortexa8/omap3/Makefile|3 + arch/arm/cpu/arm_cortexa8/omap3/emif4.c | 168 +

[U-Boot] [PATCH-V2 2/4] omap3: Consolidate SDRC related operations

2010-04-23 Thread hvaibhav
From: Vaibhav Hiremath Consolidated SDRC related functions into one file - sdrc.c And also replaced sdrc_init with generic memory init function (mem_init), this generalization of omap memory setup is necessary to support the new emif4 interface introduced in AM3517. Signed-off-by: Vaibhav Hirem

[U-Boot] [PATCH-V2 3/4] AM35x: Add support for AM3517EVM

2010-04-23 Thread hvaibhav
From: Vaibhav Hiremath This patch adds basic support for the AM3517EVM. It includes: - Board int file (.c and .h) - Default configuration file - Updates for Makefile Signed-off-by: Vaibhav Hiremath Signed-off-by: Sanjeev Premi --- Makefile

Re: [U-Boot] Adding new architecture (nds32) support to u-boot

2010-04-23 Thread Mike Frysinger
On Thursday 22 April 2010 23:42:13 macp...@andestech.com wrote: > Since our toolchain haven’t been commit to GNU, could we commit code to > u-boot before GNU accept our toolchain support? yes, you can > Is there anything special that we must provide to you? the patches :p -mike signature.asc D

Re: [U-Boot] [PATCH RFC] add redundant environment for env_sf.c

2010-04-23 Thread Mike Frysinger
On Friday 23 April 2010 05:22:16 Wolfgang Wegner wrote: > Signed-off-by: Wolfgang Wegner > --- > This patch adds redundant environment for environment in SPI flash. > I took env_flash.c as an example and slightly modified it. Apart > from adapting things to SF, I also slightly changed the decision

Re: [U-Boot] convention for SPI dummy data?

2010-04-23 Thread Mike Frysinger
On Friday 23 April 2010 04:43:07 Wolfgang Wegner wrote: > However, one of the things I had to change was the dummy data sent > out by SPI for read-only transactions. The original driver had all > zeros, for SD/MMC all ones (0xFF) is needed. > > Is such a change acceptable, or is there any configur

Re: [U-Boot] [PATCH v2] smc911x driver frame alignment patch

2010-04-23 Thread Mike Frysinger
for future reference, you shouldnt put "patch" in the subject name ... i'm not referring to the leading [PATCH], but the trailing "patch". also, i'm not sure if you're using `git send-email` because the trail of your patch is missing the "---" marker: = It seems that fifo und

Re: [U-Boot] bf537-stamp board compilation problem

2010-04-23 Thread Michael Zaidman
On Fri, Apr 23, 2010 at 5:56 PM, Mike Frysinger wrote: > On Friday 23 April 2010 10:10:16 Michael Zaidman wrote: >> Compiling the bf537-stamp board I got the following linker error: >> /home/mike/develop/u-boot/u-boot-patch/common/cmd_mmc.c:53: undefined >> reference to `mmc_legacy_init' >> /home/

Re: [U-Boot] convention for SPI dummy data?

2010-04-23 Thread Wolfgang Wegner
Hi Mike, On Fri, Apr 23, 2010 at 11:08:10AM -0400, Mike Frysinger wrote: > On Friday 23 April 2010 04:43:07 Wolfgang Wegner wrote: > > However, one of the things I had to change was the dummy data sent > > out by SPI for read-only transactions. The original driver had all > > zeros, for SD/MMC all

[U-Boot] [PATCH RFC v2] add redundant environment for env_sf.c

2010-04-23 Thread Wolfgang Wegner
This patch adds redundant environment for environment in SPI flash. I took env_flash.c as an example and slightly modified it. Apart from adapting things to SF, I also slightly changed the decision logic to use area 2 as a default in case the flags are wrong because not having a default path worrie

Re: [U-Boot] convention for SPI dummy data?

2010-04-23 Thread Mike Frysinger
On Friday 23 April 2010 11:18:29 Wolfgang Wegner wrote: > On Fri, Apr 23, 2010 at 11:08:10AM -0400, Mike Frysinger wrote: > > On Friday 23 April 2010 04:43:07 Wolfgang Wegner wrote: > > > However, one of the things I had to change was the dummy data sent > > > out by SPI for read-only transactions.

Re: [U-Boot] bf537-stamp board compilation problem

2010-04-23 Thread Mike Frysinger
On Friday 23 April 2010 11:21:28 Michael Zaidman wrote: > BTW, looking on the blackfin POST implementation I wonder if it was > used recently. Enabling POST on the bf537-stamp board caused the > post_list array of post/tests.c to be linked instead of > arch/blackfin/cpu/lib/tests.c as was expected.

Re: [U-Boot] convention for SPI dummy data?

2010-04-23 Thread Wolfgang Wegner
On Fri, Apr 23, 2010 at 05:18:29PM +0200, Wolfgang Wegner wrote: > (Only pitfall is that the current 0x0 is used for 8- as well as 16-bit > transfers...) forget about that, the register is alway written as 16 bits. Regards, Wolfgang ___ U-Boot mailing

[U-Boot] [PATCH RFC] add CONFIG_SPI_IDLE_VAL for cf_spi.c to allow use of spi_mmc

2010-04-23 Thread Wolfgang Wegner
This patch adds CONFIG_SPI_IDLE_VAL to cf_spi.c The default setting is 0x0 to behave same as current version, in case CONFIG_SPI_MMC is set, the value is set to 0x (all ones). In either case, the value can be overwritten by board configuration. Signed-off-by: Wolfgang Wegner --- drivers/spi/

Re: [U-Boot] convention for SPI dummy data?

2010-04-23 Thread Wolfgang Wegner
On Fri, Apr 23, 2010 at 11:34:53AM -0400, Mike Frysinger wrote: [...] > > the problem exists in the (coldfire) SPI driver, not in the MMC/SD code. > > sorry, i thought you were proposing to fix it in the SPI/MMC driver no, as far as I can see it is always set to 0xFF there if set explicitly, i.e.

Re: [U-Boot] bf537-stamp board compilation problem

2010-04-23 Thread Michael Zaidman
On Fri, Apr 23, 2010 at 6:37 PM, Mike Frysinger wrote: > On Friday 23 April 2010 11:21:28 Michael Zaidman wrote: >> BTW, looking on the blackfin POST implementation I wonder if it was >> used recently. Enabling POST on the bf537-stamp board caused the >> post_list array of post/tests.c to be linke

Re: [U-Boot] bf537-stamp board compilation problem

2010-04-23 Thread Mike Frysinger
On Friday 23 April 2010 12:31:21 Michael Zaidman wrote: > Will you fix the CONFIG_{MMC,SPI_MMC} in the bf537-stamp.h header by > yourself or you want me to do it it this patch set? i'll take care of it -mike signature.asc Description: This is a digitally signed message part.

Re: [U-Boot] [PATCH v2] smc911x driver frame alignment patch

2010-04-23 Thread Mike Frysinger
On Friday 23 April 2010 12:48:55 Valentin Yakovenkov wrote: > I don't use git at all. We have mercurial "master repo" which is pulled > from local "SVN synced repo" which is synchronized via svn with > blackfin.uclinux.org. b.u.o offers git as well if that makes things easier to sync: http://black

Re: [U-Boot] [PATCH v2] smc911x driver frame alignment patch

2010-04-23 Thread Valentin Yakovenkov
23.04.2010 19:11, Mike Frysinger wrote: for future reference, you shouldnt put "patch" in the subject name ... i'm not referring to the leading [PATCH], but the trailing "patch". ok, thanx also, i'm not sure if you're using `git send-email` because the trail of your patch is missing the "---"

[U-Boot] [PATCH] fdt_support: add entry for sec3.1 and remove tls_ssl_stream descriptor type capability for sec3.3

2010-04-23 Thread Kim Phillips
Add sec3.1 h/w geometry for fdt node fixups. Also, technically, whilst SEC v3.3 h/w honours the tls_ssl_stream descriptor type, it lacks the ARC4 algorithm execution unit required to be able to execute anything meaningful with it. Change the node to agree with the documentation that declares that

[U-Boot] [PATCH] i.MX31: Activate NAND support for i.MX31 Litekit board.

2010-04-23 Thread Magnus Lilja
Signed-off-by: Magnus Lilja --- include/configs/imx31_litekit.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h index 6131008..d58ca8a 100644 --- a/include/configs/imx31_litekit.h +++ b/include/co

[U-Boot] [PATCH 0/2] POST cleanup

2010-04-23 Thread Michael Zaidman
The patches implement first 2 steps of POST framework cleanup suggested by Wolfgang Denk in the http://lists.denx.de/pipermail/u-boot/2010-April/070400.html Michael Zaidman (2): The bootcount_{store|load} moved to arch specific generic locations. Blackfin: POST: revive, sync to main stream, c

[U-Boot] [PATCH 1/2] The bootcount_{store|load} moved to arch specific generic locations.

2010-04-23 Thread Michael Zaidman
Signed-off-by: Michael Zaidman Suggested-by: Wolfgang Denk --- arch/powerpc/cpu/mpc8260/commproc.c | 24 arch/powerpc/cpu/mpc8260/cpu.c | 24 arch/powerpc/cpu/mpc8xx/commproc.c | 26 -- arch/powerpc/cpu/mpc8xx/

[U-Boot] [PATCH 2/2] Blackfin: POST: revive, sync to main stream, cleanup.

2010-04-23 Thread Michael Zaidman
1) post/post.c instead of arch/blackfin/lib/post.c 2) Alternative post_list support. Suggested-by: Wolfgang Denk Signed-off-by: Michael Zaidman --- arch/blackfin/lib/Makefile|2 +- arch/blackfin/lib/board.c |1 - arch/blackfin/lib/post.c | 421 -

Re: [U-Boot] [PATCH RFC] add CONFIG_BOOTCOUNT_LIMIT for MCF5445x

2010-04-23 Thread Wolfgang Denk
Dear Wolfgang Wegner, In message <1272026324-18566-1-git-send-email-w.weg...@astro-kom.de> you wrote: > This patch adds bootcount for Freescale MCF5445x. Two registers of > eDMA transfer control descriptors (TCD[1]) are used because these > are unused by linux kernel (freescale LTIB linux-2.6.25)

Re: [U-Boot] bf537-stamp board compilation problem

2010-04-23 Thread Wolfgang Denk
Dear Mike Frysinger, In message <201004231137.16732.vap...@gentoo.org> you wrote: > > because the post/ dir has historically been ppc-only (literally sprinkled > with > code that would not compile for any other arch), we were filtering post/ out > in the top level Makefile for Blackfin targets.

Re: [U-Boot] bf537-stamp board compilation problem

2010-04-23 Thread Mike Frysinger
On Friday 23 April 2010 15:30:09 Wolfgang Denk wrote: > Mike Frysinger wrote: > > because the post/ dir has historically been ppc-only (literally sprinkled > > with code that would not compile for any other arch), we were filtering > > post/ out in the top level Makefile for Blackfin targets. > > i

[U-Boot] Call Now:+234 5288 1740

2010-04-23 Thread W U
Confirm the receipt of $50,000:Send your information to (westernafricau...@w.cn) Name,Age,Address,Phone,Occupation,Country.etc - Find the home of your dreams with eircom net property Sign up for email alerts now http://www.eircom.net

Re: [U-Boot] bf537-stamp board compilation problem

2010-04-23 Thread Wolfgang Denk
Dear Mike Frysinger, In message <201004231533.58136.vap...@gentoo.org> you wrote: > > it. i could just as easily say "i'd rather the code didnt assume powerpc > everywhere", but it isnt like that gets us from point a to point b. I would have preferred an architecture neutral implementation as w

Re: [U-Boot] [PATCH RFC] add CONFIG_BOOTCOUNT_LIMIT for MCF5445x

2010-04-23 Thread Wolfgang Wegner
Dear Wolfgang Denk, On Fri, Apr 23, 2010 at 09:25:35PM +0200, Wolfgang Denk wrote: > Dear Wolfgang Wegner, > > In message <1272026324-18566-1-git-send-email-w.weg...@astro-kom.de> you > wrote: > > This patch adds bootcount for Freescale MCF5445x. Two registers of > > eDMA transfer control descri

Re: [U-Boot] [PATCH RFC] add CONFIG_BOOTCOUNT_LIMIT for MCF5445x

2010-04-23 Thread Wolfgang Denk
Dear Wolfgang Wegner, In message <20100423194341.gs20...@leila.ping.de> you wrote: > > > > + * We use transfer descriptor registers as a persistent storage > > > + * across resets. This was tested on a MCF54455. > > > + * Neither U-Boot nor the stock LTIB kernel seem to use > > > + * TCD[1], so i

[U-Boot] Possible uboot crashes

2010-04-23 Thread John Tobias
Hello Guys, I would like to know what are the possible chances that u-boot/ubl crashes?. I am looking for some theory/scenario that I can possibly connect/apply the scenario to what happened to my device based on dm6446. The device has been running for a year now and for some reason it never come

Re: [U-Boot] [PATCH 0/2] POST cleanup

2010-04-23 Thread Anatolij Gustschin
Hello Michael, On Fri, 23 Apr 2010 22:06:09 +0300 Michael Zaidman wrote: > The patches implement first 2 steps of POST framework cleanup > suggested by Wolfgang Denk in the > http://lists.denx.de/pipermail/u-boot/2010-April/070400.html Are you working on a patch addressing the 3rd step? I need

Re: [U-Boot] [PATCH RFC v2] add CONFIG_BOOTCOUNT_LIMIT for MCF5445x

2010-04-23 Thread Wolfgang Wegner
This patch adds bootcount for Freescale MCF5445x. Two registers of eDMA transfer control descriptors (TCD[1]) are used because these are unused by linux kernel (freescale LTIB linux-2.6.25) and were tested to keep their contents across resets. Signed-off-by: Wolfgang Wegner --- I implemented and

Re: [U-Boot] [PATCH RFC v2] add CONFIG_BOOTCOUNT_LIMIT for MCF5445x

2010-04-23 Thread Wolfgang Denk
Dear Wolfgang Wegner, In message <20100423202642.gt20...@leila.ping.de> you wrote: > This patch adds bootcount for Freescale MCF5445x. Two registers of > eDMA transfer control descriptors (TCD[1]) are used because these > are unused by linux kernel (freescale LTIB linux-2.6.25) and were > tested t

Re: [U-Boot] [PATCH RFC v2] add CONFIG_BOOTCOUNT_LIMIT for MCF5445x

2010-04-23 Thread Wolfgang Wegner
Dear Wolfgang Denk, On Fri, Apr 23, 2010 at 10:47:53PM +0200, Wolfgang Denk wrote: [...] > Um... I think this was a misunderstanding. This comment here is lost > in the git repository. only half misunderstanding and half too late for me today... Sorry! Best regards, Wolfgang ___

Re: [U-Boot] [PATCH RFC v3] add CONFIG_BOOTCOUNT_LIMIT for MCF5445x

2010-04-23 Thread Wolfgang Wegner
This patch adds bootcount for Freescale MCF5445x. Two registers of eDMA transfer control descriptors (TCD[1]) are used because these are unused by linux kernel (freescale LTIB linux-2.6.25) and were tested to keep their contents across resets. TCD[1] is currently unused by the linux drivers, so usi

  1   2   >