[U-Boot-Users] MBX with no NVRAM

Wolfgang Denk wd at denx.de
Thu Feb 27 21:55:03 CET 2003


In message <000801c2de9f$49af8080$9600000a at lan> you wrote:
> 
> I've got U-boot 0.2.0 up-and-running on my MBX860 board (a entry-level
> 50MHz version).
> This board, hoever, does not have NVRAM (there is no battery).
> Will this be a problem, even if I hard-code all variables I need into
> U-boot?

If you get U-Boot running, then Linux should run fine, too.

> Here's the environment I hard-coded into u-boot:
> 	bootcmd=bootm 20000
> 	baudrate=9600
> 	loads_echo=1
> 	bootargs=root=/dev/hda2 console=/dev/ttyS0,9600
> 	serverip=10.0.0.150
> 	ipaddr=10.0.0.200
> 	ethaddr=08:00:3e:2f:99:7e
> 	stdin=serial
> 	stdout=serial
> 	stderr=serial
> 
> I'm using a unmodified version of the MBX configs for the kernel, the
> from the Denx site
> (ftp://ftp.denx.de/pub/LinuxPPC/usr/src/linux-2.4.4-2002-10-06.tar.bz2)
> with no patches.

The 2.4.4 kernel expects the clock frequencies in MHz,  so  you  must
define  the  "clocks_in_mhz"  variable  in  your  environment, or the
kernel will get a _very_ wrong idea about the clocks.

> If the NVRAM is not the issue, does anyone have a suggestion? I haven't
> the time to build me a debugger :-((

Then buy one :-)


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Mistakes are often the stepping stones to utter failure.




More information about the U-Boot mailing list