[U-Boot] How to test a new u-boot image over network?

vikas.sontakke at emc.com vikas.sontakke at emc.com
Thu Dec 8 17:25:00 CET 2011


Hi Stefan,

>Then the vendor U-Boot port is broken.

I hope that is not the case :-(  When they told me that the board has 2GB of flash, I told them that u-boot only reported 16MB.  I was told not to worry about it.  Vendor saves firmware for their chip (which is a PCI-e device on the board), their config files and VAR partition for their Linux image is stored in the 2GB flash.  Do I need to push them to clarify as to why their u-boot is not reporting the correct flash sizes? 

>Otherwise you need to burn the U-Boot image into your NOR FLASH and just hope 
>that it works. A JTAG debugger would be handy if it doesn't work though.

We have Lauterback Power Debug Interface and TRACE32 software CD.  I have been told that it does support JTAG burning.  Now I need to investigate it. 

Thanks for your reply,
- Vikas

-----Original Message-----
From: Stefan Roese [mailto:sr at denx.de] 
Sent: Thursday, December 08, 2011 2:30 AM
To: u-boot at lists.denx.de
Cc: Sontakke, Vikas; wd at denx.de
Subject: Re: [U-Boot] How to test a new u-boot image over network?

Hi Vikas,

On Wednesday 07 December 2011 23:13:18 vikas.sontakke at emc.com wrote:
> I do know that the board has NAND flash and it is seen by the u-boot.
> 
> FLASH: 16 MB
> NAND:  1024 MiB
> 
> The vendor has told us that the actual flash is lot bigger than reported by
> u-boot.

Then the vendor U-Boot port is broken.
 
> > (assuming your out-of-tree port supports NAND booting)
> 
> How do I find this out?

NAND booting required that chip-select 0 is connected to the NAND chip. If 
your board usually boots from NOR, then it is connected to the NOR FLASH chip. 
The AMCC/APM evaluation boards have a jumper to toggle this chip-select 
between NAND and NOR. If your custom board doesn't have such a means to toggle 
the CS0 then you have no chance to boot from NAND.

Another idea would be to build a rambooting U-Boot target for your board. This 
is supported for Sequoia. But not for Canyonlands. You might want to take a 
look at that.

Otherwise you need to burn the U-Boot image into your NOR FLASH and just hope 
that it works. A JTAG debugger would be handy if it doesn't work though.

Best regards,
Stefan

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-0 Fax: (+49)-8142-66989-80 Email: office at denx.de



More information about the U-Boot mailing list