Re: [U-Boot] [RFC/PATCH 1/4] Enable multi chip support in the NAND layer

2009-01-15 Thread Wolfgang Grandegger
Scott Wood wrote: > On Wed, Jan 07, 2009 at 07:53:45PM +0100, Wolfgang Grandegger wrote: >> for (i = 0; i < CONFIG_SYS_MAX_NAND_DEVICE; i++) { >> -if (nand_info[i].name) >> +if (nand_info[i].name) { >> +#if NAND_MAX_CHIPS > 1 >> +

[U-Boot] R: Re: Changing endianness of at91sam926x causes u-boot to crash

2009-01-15 Thread diba...@libero.it
>Messaggio originale >Da: ulf.samuels...@atmel.com >Data: 15/01/2009 20.47 >A: "diba...@libero.it" >Cc: >Ogg: Re: [U-Boot] Changing endianness of at91sam926x causes u-boot to crash > >tor 2009-01-15 klockan 19:17 +0100 skrev diba...@libero.it: >> Hi all, >> >> I have a board with at91s

Re: [U-Boot] [PATCH v3] Add support for boards where the NOR FLASH is not memory-mapped

2009-01-15 Thread Ulf Samuelsson
tor 2008-12-11 klockan 12:11 +0100 skrev Stefan Roese: > This patch adds the CONFIG_FLASH_NOT_MEM_MAPPED define which can be > used on boards where the NOR FLASH is not memory-mapped and > special accessor functions are needed to access the NOR FLASH. > This affects the memory commands (cmd_mem.c)

Re: [U-Boot] why u-boot remaps IMMR

2009-01-15 Thread Wolfgang Denk
Dear "Vijay Nikam", In message you wrote: > > I have mpc8313e based evaluation board ... the default value of > IMMRBAR = FF40_ according to processor manual ... but during > configuration the default value is reset to E000_ ... > > I would like to ask why this is being done ? ? ? It'

[U-Boot] why u-boot remaps IMMR

2009-01-15 Thread Vijay Nikam
Hello, I have mpc8313e based evaluation board ... the default value of IMMRBAR = FF40_ according to processor manual ... but during configuration the default value is reset to E000_ ... I would like to ask why this is being done ? ? ? Kindly please acknowledge ... thank you ... Kind Reg

Re: [U-Boot] [PATCH 1/3] Bad block support for environment variables partition in OneNAND

2009-01-15 Thread prakash t
Hi Rohit / Moorthy, Do we have coding guidelines from open source? Let us follow that. It is very good that they are reviewing in depth this also means that they are much interested in our products. Regards, Prakash Talawar - Original Message - From: "Scott Wood" To: "Rohit Hagargundg

[U-Boot] Pull request: u-boot-sh

2009-01-15 Thread Nobuhiro Iwamatsu
Dear Wolfgang, Please pull u-boot-sh master branch. Best regards, Nobuhiro The following changes since commit 0e3ece33801e377be67ffa29f083421ad820f28b: Wolfgang Denk (1): Prepare 2009.01-rc2 are available in the git repository at: git://git.denx.de/u-boot-sh.git master Jean-

Re: [U-Boot] [PATCH 0/1] sh/serial: coding style cleanup

2009-01-15 Thread Nobuhiro Iwamatsu
2009/1/12 Jean-Christophe PLAGNIOL-VILLARD : > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > diff --git a/drivers/serial/serial_sh.c b/drivers/serial/serial_sh.c > index 1d76a19..0ba88ea 100644 > --- a/drivers/serial/serial_sh.c > +++ b/drivers/serial/serial_sh.c Applied, thanks. Best regar

Re: [U-Boot] [PATCH 1/1] sh/serial: use readx/writex accessors

2009-01-15 Thread Nobuhiro Iwamatsu
2009/1/12 Jean-Christophe PLAGNIOL-VILLARD : > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > diff --git a/drivers/serial/serial_sh.c b/drivers/serial/serial_sh.c > index 0ba88ea..36770bb 100644 > --- a/drivers/serial/serial_sh.c > +++ b/drivers/serial/serial_sh.c > @@ -18,6 +18,7 @@ > */ >

Re: [U-Boot] Fw: TFTP fails when using network switch

2009-01-15 Thread L. A. Linden Levy
Can someone tell me how to use the mii command? I have the following from a dump: uBOOT=>> mii dump MII not complete 0. () -- PHY control register -- (8000:8000) 0.15= 1reset (4000:4000) 0.14= 1loopback (2040:2040) 0. 6,13 = b11speed selecti

Re: [U-Boot] [ARM] Environment variables not available during console initialisation?

2009-01-15 Thread Wolfgang Denk
Dear Ulf Samuelsson, In message <1232048568.4757.3.ca...@aeglos.sweden.atmel.com> you wrote: > > The environment vairable "baudrate" is read > before SPI is initialized and that means > that you cannot get the value when > the environment is in a dataflash. That's a bug in the port, then. Viel

[U-Boot] MPC8572DS Registered DDR2 support.

2009-01-15 Thread hamoshame Lamoteku
Hi,    I am using the MPC8572DS Eval from Freescale, and the u-boot-2008-10 release from denx, I've also tried freescales latest u-boot version for that eval release with all freescale patches. The EVAL works with a Buffered DDR2. I have to use Registered DDR2,  and it doesn't work. u-boot, do

[U-Boot] Winphlash

2009-01-15 Thread Thomas Delbeke
Hi there, I am new here. Just wanted to ask you: is there a precompiled u-boot version available that I can flash with a tool like for instance Winphlash, that will work. I am a medium experienced ubuntu hobbyist and I tried to install it from there. I tried to follow the cook book from your webs

Re: [U-Boot] [RFC/PATCH 1/4] Enable multi chip support in the NAND layer

2009-01-15 Thread Scott Wood
On Wed, Jan 07, 2009 at 07:53:45PM +0100, Wolfgang Grandegger wrote: > for (i = 0; i < CONFIG_SYS_MAX_NAND_DEVICE; i++) { > - if (nand_info[i].name) > + if (nand_info[i].name) { > +#if NAND_MAX_CHIPS > 1 > + struct na

Re: [U-Boot] [PATCH 1/1] Fix issues and add new commands for onenand.

2009-01-15 Thread Scott Wood
On Wed, Jan 07, 2009 at 08:56:25AM +0530, Manikandan Pillai wrote: > This patch has been generated against the tip of u-boot-arm git - > origin/omap3 > branch. Please make sure that any patch applies on top of the "next" branch of u-boot-nand-flash (or rebase during the merge window). > This pa

Re: [U-Boot] [PATCH] nand: fixup printf modifiers to match types used

2009-01-15 Thread Scott Wood
On Tue, Jan 06, 2009 at 11:32:37AM -0500, Mike Frysinger wrote: > @@ -499,7 +499,7 @@ int nand_write_skip_bad(nand_info_t *nand, size_t offset, > size_t *length, > size_t write_size; > > if (nand_block_isbad (nand, offset & ~(nand->erasesize - 1))) { > -

Re: [U-Boot] [PATCH 2/3] Add partition based OneNAND commands

2009-01-15 Thread Scott Wood
On Thu, Dec 11, 2008 at 07:58:35PM +0530, Rohit Hagargundgi wrote: > Add commands which operate on partitions. They are: > > 1. onenand partwrite : Write image / data to partition skipping bad blocks. > 2. onenand partread : Read image / data from partition skipping bad blocks. > 3. onenand la

Re: [U-Boot] [PATCH 1/3] Bad block support for environment variables partition in OneNAND

2009-01-15 Thread Scott Wood
On Thu, Dec 11, 2008 at 07:58:26PM +0530, Rohit Hagargundgi wrote: > + env_addr = FLEXONENAND(this) ? CONFIG_ENV_ADDR_FLEX : > + CONFIG_ENV_ADDR; > + > + env_len = FLEXONENAND(this) ? CONFIG_ENV_SIZE_FLEX : > + CONFIG_E

Re: [U-Boot] Changing endianness of at91sam926x causes u-boot to crash

2009-01-15 Thread Ulf Samuelsson
tor 2009-01-15 klockan 19:17 +0100 skrev diba...@libero.it: > Hi all, > > I have a board with at91sam9260 configured as little endian (via strap > pin). The u-boot is working quite well. > On the board there is a chip whose > driver was written for PowerPC that is big endian. Unfortunately the d

Re: [U-Boot] [ARM] Environment variables not available during console initialisation?

2009-01-15 Thread Ulf Samuelsson
tor 2009-01-15 klockan 08:33 +0100 skrev Guennadi Liakhovetski: > Hi, > > a user is reporting, that setting "silent" and "baudrate" environment > variables on ARM have no effect on the console bahaviour. I didn't test > this but looking at the code it looks logical - the console is initialised

[U-Boot] Changing endianness of at91sam926x causes u-boot to crash

2009-01-15 Thread diba...@libero.it
Hi all, I have a board with at91sam9260 configured as little endian (via strap pin). The u-boot is working quite well. On the board there is a chip whose driver was written for PowerPC that is big endian. Unfortunately the driver was written in a bad way and it is difficult to fix endiannes dep

Re: [U-Boot] Problems upgrading NAND

2009-01-15 Thread Scott Wood
On Thu, Jan 15, 2009 at 02:46:28PM -0200, Alemao wrote: > I was using a NAND flash from ST Micro, 512 Mbit, with no problems in > U-boot-1.2.0. I'm guessing that 1.2.0 was a BSP u-boot, that was not upstream. I don't think upstream 1.2.0 had UPM NAND support. Could you try the latest upstream U-

Re: [U-Boot] [ARM] Environment variables not available during console initialisation?

2009-01-15 Thread Wolfgang Denk
Dear Guennadi Liakhovetski, In message you wrote: > > a user is reporting, that setting "silent" and "baudrate" environment > variables on ARM have no effect on the console bahaviour. I didn't test > this but looking at the code it looks logical - the console is initialised > before environme

Re: [U-Boot] [PATCH][MPC8272ADS]

2009-01-15 Thread Scott Wood
On Thu, Jan 15, 2009 at 04:21:18PM +0100, Jean-Michel Hautbois wrote: > --- a/include/configs/MPC8260ADS.h > +++ b/include/configs/MPC8260ADS.h > > @@ -200,7 +200,11 @@ > #define CONFIG_OF_LIBFDT 1 > #define CONFIG_OF_BOARD_SETUP1 > #if defined(CONFIG_OF_LIBFDT) > +#ifdef CONFIG_MPC

[U-Boot] Problems upgrading NAND

2009-01-15 Thread Alemao
Hi all, I was using a NAND flash from ST Micro, 512 Mbit, with no problems in U-boot-1.2.0. So I upgraded this nand to a 1 Gbit, also from ST Micro. But now U-boot read only zeros. In linux 2.6.26 both NANDs works. NAND is connect in Freescale Local Bus UPM. U-boot finds the NAND normally: NAN

[U-Boot] question about U-Boot's cpu/ppc4xx/44x_spd_ddr2.c

2009-01-15 Thread carolyn.j.smith
I have a question about some of the code in U-Boot's cpu/ppc4xx/44x_spd_ddr2.c, in particular the program_codt function and these lines of code: mfsdram(SDRAM_CODT, codt); codt |= (SDRAM_CODT_IO_NMODE & (~SDRAM_CODT_DQS_SINGLE_END & ~SDRAM_CODT

Re: [U-Boot] uboot for Intel EP80579

2009-01-15 Thread Jean-Christophe PLAGNIOL-VILLARD
On 21:22 Thu 15 Jan , Sai Amruta wrote: > Hi all, > > Is uboot supports Intel EP80579 SoC ? no It's not supported actually but x86 yes > If not, what will be the effort to port uboot on Intel EP80579. good to hear Best Regards, J. ___ U-Boot mailing

[U-Boot] [PATCH v2] Add secondary CPUs processor frequency for e500 core

2009-01-15 Thread Haiying Wang
This patch updates e500 freqProcessor to array based on CONFIG_NUM_CPUS, and prints each CPU's frequency separately. It also fixes up each CPU's frequency in "clock-frequency" of fdt blob. Signed-off-by: James Yang Signed-off-by: Haiying Wang --- This v2 version is against Andy's latest u-boot-m

[U-Boot] uboot for Intel EP80579

2009-01-15 Thread Sai Amruta
Hi all, Is uboot supports Intel EP80579 SoC ? If not, what will be the effort to port uboot on Intel EP80579. -- --Amru ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH][MPC8272ADS]

2009-01-15 Thread Jean-Michel Hautbois
When trying to compile and boot from u-boot (after make distclean ; make MPC8272ADS_config ; make), I had these three errors: Loading Device Tree to 007fb000, end 007ff159 ... OK Unable to update property /cpus/c...@0:bus-frequency, err=FDT_ERR_NOTFOUND Unable to update property /cpus/c...@0:timeb

Re: [U-Boot] Problems with USB mass storage on at91sam9263

2009-01-15 Thread Paal Bakken
I also found another non-working stick This one was also a first generation USB 2.0 stick. But anyway - It seems like you guys has done a great job and made usb mass storage useful! A few non-working sticks is good enough for me :-) Best regards Pål Bakken > From: Remy Bohmer [li...@boh

Re: [U-Boot] Watchdog and u-boot command prompt

2009-01-15 Thread Sachin Rane
Hi, > I suggest you submit a patch? I am doing some kind of stress tetsing of the code to test the 'CONFIG_WATCHDOG' feature. Once I am done I will definitely give the patch for the 'missing' code. Thanks. Regards, Sachin ___ U-Boot mailing list U-B

Re: [U-Boot] Problems with USB mass storage on at91sam9263

2009-01-15 Thread Remy Bohmer
Hello, > So - I'm willing to rest my case :-) BUT there is something strange, since > the "bad" stick works fine in Linux and Windows... > -Any ideas about possible reasons for the difference? There has been many improvements to the USB stack lately that at least it works nowadays on these cores

Re: [U-Boot] Problems with USB mass storage on at91sam9263

2009-01-15 Thread Paal Bakken
More testing It seems like I have one stick that generates the reported error. And this is of course THE one I have been testing with (Murphy is never resting...) I have tried with four devices now USB 1.0 128MB : Had to repartition USB 2.0 512MB : Gives the reported problems (fine in linux

Re: [U-Boot] [PATCH v3 0/5] usb : musb : Add MUSB contorller driver and enable Davinci MSC support

2009-01-15 Thread Bryan Wu
Hi Thomas, I'm still debugging the MUSB driver on my Blackfin board. I got a issue here: https://blackfin.uclinux.org/gf/project/u-boot/tracker/?action=TrackerItemEdit&tracker_id=153&tracker_item_id=4794 1. when the board power on and run 'usb start', the usb function is ok for usb storage usage.