Re: [U-Boot] [PATCH v8] Marvell Kirkwood family SOC support

2009-05-21 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Prafulla Wadaskar > Sent: Wednesday, May 20, 2009 2:30 PM > To: Wolfgang Denk > Cc: u-boot@lists.denx.de; Ashish Karkare; Prabhanjan Sarnaik; > Ronen Shitrit > Subject: Re: [U

Re: [U-Boot] [PATCH 3/6] mpc83xx: USB: Reorganized its support

2009-05-21 Thread Mahajan Vivek-B08308
> From: Kumar Gala [mailto:ga...@kernel.crashing.org] > > +#if defined(CONFIG_USB_PHY_TYPE) > > + "usb_phy_type=" MK_STR(CONFIG_USB_PHY_TYPE) "\0" > > +#endif > > #ifdef CONFIG_EXTRA_ENV_SETTINGS > > CONFIG_EXTRA_ENV_SETTINGS > > #endif > > I'm guessing Wolfgang isn't going to like thi

Re: [U-Boot] bootstrap nand write function

2009-05-21 Thread Deepak Gopalakrishnan
Hi Scott Yes thats the exact problem im going to face. But the function is a must. Could you help me understand what all are the things i will have to keep in mind if I have to write the nand write function.. i have made a list of instructions which i would have to follow from the datasheet: 1.

Re: [U-Boot] Please help for Data TLB Error in MPC8544

2009-05-21 Thread Liu Dave-R63238
> My board can't boot normally, and I found it just hang in > data tlb error > through the system.map. > Could any one help for this? > Some regisers are as below: > > DEAR: 0xf400fff0 (L1 init ram base address is 0xf401) > IVPR : 0xfff8 , IVPR3

Re: [U-Boot] [PATCH 00/11] 85xx/86xx dma updates

2009-05-21 Thread Peter Tyser
On Thu, 2009-05-21 at 12:37 -0700, Ira Snyder wrote: > On Thu, May 21, 2009 at 12:09:58PM -0500, Peter Tyser wrote: > > This patch series attempts to clean up the DMA implementation for the > > 85xx and 86xx architectures. The changes include: > > - consolidate 85xx and 86xx structures and code >

[U-Boot] [PATCH 10/15 v3] Update the number of ethxaddr in reading system eeprom

2009-05-21 Thread Haiying Wang
We support up to 8 mac addresses in system eeprom, so we define the macro MAX_NUM_PORTS to limit the mac_count to 8, and update the number of ethxaddr according to mac_count. Signed-off-by: Haiying Wang --- v3 change: Modify printf info and replace 8 with MAX_NUM_PORTS for array mac[] board/free

Re: [U-Boot] [PATCH 08/11] 8xxx: Rename dma_xfer() to dmacpy()

2009-05-21 Thread Peter Tyser
On Thu, 2009-05-21 at 12:46 -0500, Scott Wood wrote: > On Thu, May 21, 2009 at 12:10:06PM -0500, Peter Tyser wrote: > > -int dma_xfer(void *dest, uint count, void *src) { > > +int dmacpy(void *dest, const void *src, size_t n) { > > While we're changing this, perhaps it should take phys_addr_t rath

Re: [U-Boot] [PATCH 10/15 v2] Update the number of ethxaddr in reading system eeprom

2009-05-21 Thread Wolfgang Denk
Dear Timur Tabi, In message you wrote: > On Thu, May 21, 2009 at 2:34 PM, Haiying Wang > wrote: > > +printf("Warning: The number of MAC address > is greater" > > +" than MAX_NUM_PORTS, force> it to MAX_NUM_PORTS.\n"); > > I think you meant to do this: > > printf("Warning: T

Re: [U-Boot] Support in u-boot for PCI-Express NIC

2009-05-21 Thread Wolfgang Denk
Dear "Srinivasan Srikanth-R9AABP", In message you wrote: > > > At least the e1000 has been successfully tested not so long ago. > > Thanks Wolfgang. That's good news. > Can you pl point me to the pci-express card/device id that was tested > recently (and/or the mails that talk about it)? I t

Re: [U-Boot] [PATCH 00/11] 85xx/86xx dma updates

2009-05-21 Thread Ira Snyder
On Thu, May 21, 2009 at 12:09:58PM -0500, Peter Tyser wrote: > This patch series attempts to clean up the DMA implementation for the > 85xx and 86xx architectures. The changes include: > - consolidate 85xx and 86xx structures and code > - add defines for bitfields > - use proper IO accessors > - a

Re: [U-Boot] [PATCH 10/15 v2] Update the number of ethxaddr in reading system eeprom

2009-05-21 Thread Timur Tabi
On Thu, May 21, 2009 at 2:34 PM, Haiying Wang wrote: > +               printf("Warning: The number of MAC address is greater" > +                       " than MAX_NUM_PORTS, force it to MAX_NUM_PORTS.\n"); I think you meant to do this: printf("Warning: The number of MAC address is greater"

Re: [U-Boot] FLASH write bug on NGW100

2009-05-21 Thread Eirik Aanonsen
>top-post :-)> Sorry.. a little to quick >> > > when using the latest u-boot version from >> > > git://www.denx.de/git/u-boot-avr32.git, it is not possible for me to >> > > write (I have tried saveenv and protect) to NOR FLASH anymore. >> > > >> > > U-Boot gives the following error: "start or end

[U-Boot] [PATCH 10/15 v2] Update the number of ethxaddr in reading system eeprom

2009-05-21 Thread Haiying Wang
We support up to 8 mac addresses in system eeprom, so we define the macro MAX_NUM_PORTS to limit the mac_count to 8, and update the number of ethxaddr according to mac_count. Signed-off-by: Haiying Wang --- v2 change: define MAC_NUM_PORTS to limit the mac_count board/freescale/common/sys_eeprom.

[U-Boot] [PATCH 06/15 v2] drivers/qe: Change QE RISC ALLOCATION to support 4 RISCs

2009-05-21 Thread Haiying Wang
Also define the QE_RISC_ALLOCATION_RISCs to MACROs instead of using enum, and define MAX_QE_RISC for QE based silicons. Signed-off-by: Haiying Wang Acked-by: Timur Tabi --- v2 change: rename riscRx and riscTx to risc_rx and risc_tx drivers/qe/qe.c|3 --- drivers/qe/qe.h

[U-Boot] [PATCH] drivers/qe: Rename the camel-case identifiers in uec

2009-05-21 Thread Haiying Wang
Rename riscRx/riscTx to risc_rx/risc_tx to comply with Codingstyle. Signed-off-by: Haiying Wang --- This patch should be applied before the 15 patches I sent out yesterday drivers/qe/uec.c | 32 drivers/qe/uec.h |4 ++-- 2 files changed, 18 insertions(+), 1

Re: [U-Boot] [PATCH 08/11] 8xxx: Rename dma_xfer() to dmacpy()

2009-05-21 Thread Scott Wood
On Thu, May 21, 2009 at 12:10:06PM -0500, Peter Tyser wrote: > -int dma_xfer(void *dest, uint count, void *src) { > +int dmacpy(void *dest, const void *src, size_t n) { While we're changing this, perhaps it should take phys_addr_t rather than pointers? -Scott _

[U-Boot] beagleboard, and building only host tools from u-boot

2009-05-21 Thread Robert P. J. Day
a couple short questions. first, is the denx git repo reasonably up-to-date WRT beagleboard support? it would appear to be since include/configs contains the appropriate omap3_beagle.h file, i just wasn't sure how quickly any BB enhancements got committed. and is there technically any need

[U-Boot] [RFC/PATCH 2/3] mtest: Add optional support for DMA memory test

2009-05-21 Thread Peter Tyser
Add a basic memory test which uses a DMA engine to perform a memory copy. The DMA copies generally result in burst transactions to SDRAM which can otherwise be hard to generate on boards which don't have their data cache enabled. The DMA memory test is enabled when CONFIG_SYS_ALT_MEMTEST and CONF

[U-Boot] [RFC/PATCH 0/3] Add optional dma transfers to mtest

2009-05-21 Thread Peter Tyser
This series tries to add a DMA memory test to the mtest tests. The DMA test performs bursts to SDRAM which can be useful in stressing memory and can be difficult to produce reliably in certain circumstances (eg running with data caches disabled). It can be enabled on 85xx and 86xx boards by defin

[U-Boot] [RFC/PATCH 3/3] XPedite5200, XPedite5370: Enable DMA memory test

2009-05-21 Thread Peter Tyser
Enable the Freescale DMA driver and DMA portion of mtest for the XPedite5200 and XPedite5370 boards Signed-off-by: Peter Tyser --- include/configs/XPEDITE5200.h |4 +++- include/configs/XPEDITE5370.h |2 ++ 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/include/configs/XP

[U-Boot] [RFC/PATCH 1/3] fsl_dma: Make DMA transactions snoopable

2009-05-21 Thread Peter Tyser
Make DMA transactions snoopable so that CPUs can keep caches up-to-date. This allows dma transactions to be used for operations such as memory copies without any additional cache control operations. Signed-off-by: Peter Tyser --- drivers/dma/fsl_dma.c |4 ++-- 1 files changed, 2 insertions(+

[U-Boot] [PATCH 10/11] 85xx, 86xx: Move dma_init() call to common code

2009-05-21 Thread Peter Tyser
Signed-off-by: Peter Tyser --- board/mpc8540eval/mpc8540eval.c |2 +- board/sbc8560/sbc8560.c |2 +- cpu/mpc85xx/cpu_init.c |4 +++- cpu/mpc85xx/ddr-gen1.c |2 -- cpu/mpc86xx/cpu_init.c |3 +++ 5 files changed, 8 insertions(+), 5 deletions(-)

[U-Boot] [PATCH 08/11] 8xxx: Rename dma_xfer() to dmacpy()

2009-05-21 Thread Peter Tyser
Also update dmacpy()'s argument order and type to match memcpy's for clarity Signed-off-by: Peter Tyser --- board/mpc8540eval/mpc8540eval.c | 22 +++--- board/sbc8560/sbc8560.c | 22 +++--- cpu/mpc83xx/cpu.c |4 ++-- cpu/mpc83xx/spd_s

[U-Boot] [PATCH 02/11] 85xx, 86xx: Sync up DMA code

2009-05-21 Thread Peter Tyser
The following changes were made to sync up the DMA code between the 85xx and 86xx architectures which will make it easier to break out common 8xxx DMA code: 85xx: - Don't set STRANSINT and SPCIORDER fields in SATR register. These bits only have an affect when the SBPATMU bit is set. - Write 0xf

[U-Boot] [PATCH 06/11] fsl_dma: Add support for arbitrarily large transfers

2009-05-21 Thread Peter Tyser
Support DMA transfers larger than the DMA controller's limit of (2 ^ 26 - 1) bytes Signed-off-by: Peter Tyser --- drivers/dma/fsl_dma.c | 42 ++ 1 files changed, 30 insertions(+), 12 deletions(-) diff --git a/drivers/dma/fsl_dma.c b/drivers/dma/fsl_dma.

[U-Boot] [PATCH 03/11] 85xx, 86xx: Break out DMA code to a common file

2009-05-21 Thread Peter Tyser
DMA support is now enabled via the CONFIG_FSL_DMA define instead of the previous CONFIG_DDR_ECC Signed-off-by: Peter Tyser --- cpu/mpc85xx/cpu.c | 47 cpu/mpc86xx/cpu.c | 55 drivers/dma/Makefile|1 + drivers/dma/fsl_d

[U-Boot] [PATCH 11/11] fsl_dma: Break out common memory initialization function

2009-05-21 Thread Peter Tyser
Signed-off-by: Peter Tyser --- board/mpc8540eval/mpc8540eval.c | 33 + board/sbc8560/sbc8560.c | 33 + cpu/mpc85xx/ddr-gen1.c | 27 +-- drivers/dma/fsl_dma.c | 32 +++

[U-Boot] [PATCH 09/11] fsl_dma: Move dma function prototypes to common header file

2009-05-21 Thread Peter Tyser
Signed-off-by: Peter Tyser --- cpu/mpc85xx/ddr-gen1.c|4 include/asm-ppc/fsl_dma.h |5 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cpu/mpc85xx/ddr-gen1.c b/cpu/mpc85xx/ddr-gen1.c index 7c7a458..6e628bd 100644 --- a/cpu/mpc85xx/ddr-gen1.c +++ b/cpu/mpc85xx

[U-Boot] [PATCH 07/11] fsl_dma: Fix Channel Start bug in dma_check()

2009-05-21 Thread Peter Tyser
The Channel Start (CS) bit in the Mode Register (MR) should actually be cleared as the comment in the code suggests. Previously, CS was being set, not cleared. Assuming normal operation of the DMA engine, this change shouldn't have any real affect. Signed-off-by: Peter Tyser --- drivers/dma/fs

[U-Boot] [PATCH 05/11] fsl_dma: Update to use proper I/O accessor functions

2009-05-21 Thread Peter Tyser
Signed-off-by: Peter Tyser --- drivers/dma/fsl_dma.c | 32 ++-- 1 files changed, 18 insertions(+), 14 deletions(-) diff --git a/drivers/dma/fsl_dma.c b/drivers/dma/fsl_dma.c index baf2942..33ea828 100644 --- a/drivers/dma/fsl_dma.c +++ b/drivers/dma/fsl_dma.c @@ -27

[U-Boot] [PATCH 01/11] fsl: Create common fsl_dma.h for 85xx and 86xx cpus

2009-05-21 Thread Peter Tyser
Break out DMA structures for the Freescale MPC85xx and MPC86xx cpus to reduce a large amount of code duplication Signed-off-by: Peter Tyser --- cpu/mpc85xx/cpu.c| 31 + cpu/mpc86xx/cpu.c| 27 --- include/asm-ppc/fsl_dma.h| 51

[U-Boot] [PATCH 00/11] 85xx/86xx dma updates

2009-05-21 Thread Peter Tyser
This patch series attempts to clean up the DMA implementation for the 85xx and 86xx architectures. The changes include: - consolidate 85xx and 86xx structures and code - add defines for bitfields - use proper IO accessors - add support for arbitrarily large transfer sizes - rename dma_xfer() to dm

[U-Boot] [PATCH 04/11] fsl_dma: Add bitfield definitions for common registers

2009-05-21 Thread Peter Tyser
Signed-off-by: Peter Tyser --- drivers/dma/fsl_dma.c | 12 +- include/asm-ppc/fsl_dma.h | 46 + 2 files changed, 52 insertions(+), 6 deletions(-) diff --git a/drivers/dma/fsl_dma.c b/drivers/dma/fsl_dma.c index a9989ee..baf2942 100644 -

Re: [U-Boot] bootstrap nand write function

2009-05-21 Thread Scott Wood
On Thu, May 21, 2009 at 01:56:37PM +0530, Deepak Gopalakrishnan wrote: > Hi > i want to write a function using which i will be able to add a new env > variable from the bootstrap. > cud you help me with the sequence i should follow when im writing this > function... > thanks and regards, > Deepak

Re: [U-Boot] Support in u-boot for PCI-Express NIC

2009-05-21 Thread Srinivasan Srikanth-R9AABP
> -Original Message- > From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Wolfgang Denk > Sent: Wednesday, May 20, 2009 2:01 PM > To: Srinivasan Srikanth-R9AABP > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] Support in u-boot for PCI-Express NIC [S

[U-Boot] [PATCH] Marvell Sheevaplug Board support

2009-05-21 Thread Prafulla Wadaskar
References: http://plugcomputer.org/ Serial console Setup http://openplug.org/plugwiki/index.php/Serial_terminal_program#Linux OpenOCD Setup http://openplug.org/plugwiki/index.php/Setting_Up_OpenOCD_Under_Linux This patch is tested for- 1. Boot from DRAM/NAND flash 2. File transfer using tftp 3. N

[U-Boot] [PATCH] Marvell MV88E1116 PHY Driver support

2009-05-21 Thread Prafulla Wadaskar
Suports Basic PHY init (i.e. PHY reset) optional supported configurations: led_init, mdipn_reverse, rgmii_delay config This driver is tested with sheevaplug board Signed-off-by: Prafulla Wadaskar --- drivers/net/phy/Makefile|1 + drivers/net/phy/mv88e1116.c | 90 ++

Re: [U-Boot] [PATCH] 85xx: Always attempt ethernet device tree fixup

2009-05-21 Thread Timur Tabi
On Thu, May 21, 2009 at 8:36 AM, Kumar Gala wrote: > Its reasonable that we may have ethernet devices but dont have drivers > or support enabled for them in u-boot and want the device tree fixed up. > Unconditionally calling the ethernet fixup is fine since if we dont have > ethernet nodes that ma

[U-Boot] Please help for Data TLB Error in MPC8544

2009-05-21 Thread duckycool
Hi all, My board can't boot normally, and I found it just hang in data tlb error through the system.map. Could any one help for this? Some regisers are as below: DEAR: 0xf400fff0 (L1 init ram base address is 0xf401) IVPR : 0xfff8 , IVPR3: 0x

Re: [U-Boot] [PATCH 3/6] mpc83xx: USB: Reorganized its support

2009-05-21 Thread Kumar Gala
On May 21, 2009, at 7:02 AM, Vivek Mahajan wrote: > The following patch reorganizes/reworks the USB support for mpc83xx > as under:- > > * Moves the 83xx USB clock init from drivers/usb/host/ehci-fsl.c to >cpu/mpx83xx/cpu_init.c > > * Board specific usb_phy_type is read from the environment

[U-Boot] [PATCH] 85xx: Always attempt ethernet device tree fixup

2009-05-21 Thread Kumar Gala
Its reasonable that we may have ethernet devices but dont have drivers or support enabled for them in u-boot and want the device tree fixed up. Unconditionally calling the ethernet fixup is fine since if we dont have ethernet nodes that match (or aliases) we will not attempt to do anything. Signed

Re: [U-Boot] Uboot bitmap utility

2009-05-21 Thread Steven Zedeck
Wolfgang, I resolved my issue. I am now able to write bitmaps to the framebuffer. Thanks, Steve - Steven Zedeck wrote: > > Wolfgang, > Yes, I do see what U-boot is doing. I looked at bmp_logo.c and its output. > It seems that the color palette entries are all 16 bits (unsigned short). > For

[U-Boot] [PATCH 6/6] mpc85xx: 8536ds: Add USB related CONFIGs

2009-05-21 Thread Vivek Mahajan
This patch adds CONFIGs for enabling USB in mpc8536ds and also updates its Copyright. Signed-off-by: Vivek Mahajan --- include/configs/MPC8536DS.h | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/include/configs/MPC8536DS.h b/include/configs/MPC8536DS.h index

[U-Boot] [PATCH 5/6] mpc83xx: 8315erdb: Add USB related CONFIGs

2009-05-21 Thread Vivek Mahajan
This patch adds CONFIGs for enabling USB in mpc8315erdb and also revamps its Copyright. Signed-off-by: Vivek Mahajan --- include/configs/MPC8315ERDB.h | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/include/configs/MPC8315ERDB.h b/include/configs/MPC8315ERDB.h i

[U-Boot] [PATCH 4/6] mpc85xx: USB: Add support

2009-05-21 Thread Vivek Mahajan
The following patch adds 85xx-specific USB support and also revamps Copyright in immap_85xx.h Signed-off-by: Vivek Mahajan --- include/asm-ppc/immap_85xx.h |5 - include/usb/ehci-fsl.h |2 ++ 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/include/asm-ppc/immap_8

[U-Boot] [PATCH 3/6] mpc83xx: USB: Reorganized its support

2009-05-21 Thread Vivek Mahajan
The following patch reorganizes/reworks the USB support for mpc83xx as under:- * Moves the 83xx USB clock init from drivers/usb/host/ehci-fsl.c to cpu/mpx83xx/cpu_init.c * Board specific usb_phy_type is read from the environment * Adds USB EHCI specific structure in include/usb/ehci-fs

[U-Boot] [PATCH 2/6] mpc8xxx: USB: Relocates ehci-fsl.h to include/usb

2009-05-21 Thread Vivek Mahajan
The following patch moves 8xxx-specifc USB #defines from drivers/usb/host/ehci-fsl.h to include/usb. Signed-off-by: Vivek Mahajan --- drivers/usb/host/ehci-fsl.c |2 +- {drivers/usb/host => include/usb}/ehci-fsl.h |0 2 files changed, 1 insertions(+), 1 deletions(-) re

[U-Boot] [PATCH 1/6] mpc8xxx: USB: Removed reenablement of its interface

2009-05-21 Thread Vivek Mahajan
To prepare for the 85xx USB support, which requires interface enablement only once in (specified) order, no different than instructions for enabling the interface under 83xx. It is unknown why the original author enabled the interface twice (checked for references in errata, etc). Signed-off-by:

Re: [U-Boot] my u-boot freezing at Uncompress Linux...

2009-05-21 Thread SlinceArm
>I doubt that. Actually your Linux kernel freezes - U-Boots last message >is the "Starting kernel .." message. It's all Linux from there. >So start troubleshooting your kernel. Searching the archieve for this >mailing list will probably be a good start point. thanks for your reply , Detlev :

Re: [U-Boot] uBoot Debug: GPIO Toggling does not working over 8536DSuboot

2009-05-21 Thread Liu Dave-R63238
> CPU: MPC8536DS [Core E500, Freescale] > Flash: 16MB [50MHz Local bus Clk) > DDR: 1G (SODIMM, 400 MHz) > Baord: Network Evaluation Cutom MPC8536E Board > > U-Boot Debug Issue (GPIO Toggling code help) > _ > > -> as i am not able to debug uboot over jtag and the CW tool >

[U-Boot] bootstrap nand write function

2009-05-21 Thread Deepak Gopalakrishnan
Hi i want to write a function using which i will be able to add a new env variable from the bootstrap. cud you help me with the sequence i should follow when im writing this function... thanks and regards, Deepak Gopalakrishnan ___ U-Boot mailing list U

[U-Boot] uBoot Debug: GPIO Toggling does not working over 8536DS uboot

2009-05-21 Thread AgarwalAshish
Project details: CPU: MPC8536DS [Core E500, Freescale] Flash: 16MB [50MHz Local bus Clk) DDR: 1G (SODIMM, 400 MHz) Baord: Network Evaluation Cutom MPC8536E Board U-Boot Debug Issue (GPIO Toggling code help) _ -> as i am not able to debug uboot over jtag and the CW tool t

Re: [U-Boot] Which U-Boot releases have Device Tree support

2009-05-21 Thread Wolfgang Denk
Dear JEW-DONG, In message <23644965.p...@talk.nabble.com> you wrote: > > > Thanks for the information. This is the first time I am searching for the > u-boot source code for MPC8360E-RDK. Three more questions here: ... > Secondly, how do I use GIT to download the source code? ... > Lastly, how