logo       

Re: U-Boot and Etherstix: msg#00138

linux.distributions.gumstix.general

Subject: Re: U-Boot and Etherstix

On Jul 11, 2005, at 10:25 AM, Richard T. Stofer wrote:

I would very much like to start booting using one of the network schemes:
bootp, tftp, nfs, etc. The minicom, Kermit, flash copy, reboot approach
seems like the long way around.

As a side issue, I would also like to mount the root file system via NFS.

Is the required driver for the etherstix included in the default U- Boot
configuration?

Yup. bootp, dhcp, tftp, and even enough of nfs to read a bootfile over nfs all work great in u-boot.

If it is not included is it doable? I'm not asking for someone to do it
although suggestions are more than welcome.

See above :)

What do I need to buy/build (prefer buy) to program a new version of U-Boot
into the flash? I realize U-Boot can program itself but that assumes that
the new version works. Not likely - if I have to write the include the
network driver!

You can do a two-u-boot shuffle. Load new u-boot into u-boot in RAM (eg at 0xa2000000) then use the "go" command to execute u-boot from RAM instead of flash. You'll now be running the new u-boot. Test whatever you need to convince yourself it's OK, then reset. You'll now be in old u-boot again. Load new u-boot to RAM again (double check CRC), and then use old u-boot to write the new one from RAM to flash. Now before cutting power, check the CRC of what you just wrote to flash, then cross fingers, and reboot :)

FWIW, I have a bunch of JTAG cables from Digilent and Sparkfun.

That helps, in case you mess up the u-boot shuffle. Hopefully you won't need them, but you can use them to recover if you do mess up and hose the first 2 sectors of flash.

C


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise