* [U-Boot-Users] MBX with no NVRAM
@ 2003-02-27 20:32 Ruurd Jan
2003-02-27 20:55 ` Wolfgang Denk
2003-02-27 21:19 ` Rod Boyce
0 siblings, 2 replies; 3+ messages in thread
From: Ruurd Jan @ 2003-02-27 20:32 UTC (permalink / raw)
To: u-boot
Hello,
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?
I'm trying to boot a linux kernel, but after the kernel uncompresses,
the board reboots:
=> tftpboot 200000 uImage
ARP broadcast 1
TFTP from server 10.0.0.150; our IP address is 10.0.0.200
Filename 'uImage'. Load address: 0x200000
Loading:
#################################################################
##################
done
Bytes transferred = 420568 (66ad8 hex)
=> bootm
## Booting image at 00200000 ...
Image Name: Linux Kernel Image
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 420504 Bytes = 410.6 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
U-Boot 0.2.0 (Feb 27 2003 - 21:10:18)
CPU: XPC860xxZPnnC1 at 50 MHz: 4 kB I-Cache 4 kB D-Cache
Board: MBX860EN(01-W3425F01A)
*** Warning: Low Battery Status - On-Board Battery ***
DRAM: 68 MB
FLASH: 512 kB
In: serial
Out: serial
Err: serial
Net: SCC ETHERNET
PCMCIA: 3.3V card found: SunDisk SDP 5/3 0.6
Fixed Disk Card
IDE interface
[silicon] [unique] [single] [sleep] [standby] [idle]
[low power] Bus 0: OK
Device 0: Model: SanDisk SDP3B-256 Firm: vdd 1.00. Ser#:
213008Q0410
Type: Removable Hard Disk
Capacity: 245.0 MB = 0.2 GB (501760 x 512)
=>
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.
If the NVRAM is not the issue, does anyone have a suggestion? I haven't
the time to build me a debugger :-((
thanks,
RJ
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] MBX with no NVRAM
2003-02-27 20:32 [U-Boot-Users] MBX with no NVRAM Ruurd Jan
@ 2003-02-27 20:55 ` Wolfgang Denk
2003-02-27 21:19 ` Rod Boyce
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2003-02-27 20:55 UTC (permalink / raw)
To: u-boot
In message <000801c2de9f$49af8080$9600000a@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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] MBX with no NVRAM
2003-02-27 20:32 [U-Boot-Users] MBX with no NVRAM Ruurd Jan
2003-02-27 20:55 ` Wolfgang Denk
@ 2003-02-27 21:19 ` Rod Boyce
1 sibling, 0 replies; 3+ messages in thread
From: Rod Boyce @ 2003-02-27 21:19 UTC (permalink / raw)
To: u-boot
You could set the environment variables to be stored in flash and not batteryless backed up RAM. I have use this configureation well on the MBX board.
Look at the NV configuration on this config file.
Rod
On Thu, 27 Feb 2003 21:32:03 +0100
"Ruurd Jan" <ruurdjan@xs4all.nl> wrote:
> Hello,
>
> 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?
> I'm trying to boot a linux kernel, but after the kernel uncompresses,
> the board reboots:
> => tftpboot 200000 uImage
> ARP broadcast 1
> TFTP from server 10.0.0.150; our IP address is 10.0.0.200
> Filename 'uImage'. Load address: 0x200000
> Loading:
> #################################################################
> ##################
> done
> Bytes transferred = 420568 (66ad8 hex)
> => bootm
> ## Booting image at 00200000 ...
> Image Name: Linux Kernel Image
> Image Type: PowerPC Linux Kernel Image (gzip compressed)
> Data Size: 420504 Bytes = 410.6 kB
> Load Address: 00000000
> Entry Point: 00000000
> Verifying Checksum ... OK
> Uncompressing Kernel Image ... OK
>
>
> U-Boot 0.2.0 (Feb 27 2003 - 21:10:18)
>
> CPU: XPC860xxZPnnC1 at 50 MHz: 4 kB I-Cache 4 kB D-Cache
> Board: MBX860EN(01-W3425F01A)
> *** Warning: Low Battery Status - On-Board Battery ***
> DRAM: 68 MB
> FLASH: 512 kB
> In: serial
> Out: serial
> Err: serial
> Net: SCC ETHERNET
> PCMCIA: 3.3V card found: SunDisk SDP 5/3 0.6
> Fixed Disk Card
> IDE interface
> [silicon] [unique] [single] [sleep] [standby] [idle]
> [low power] Bus 0: OK
> Device 0: Model: SanDisk SDP3B-256 Firm: vdd 1.00. Ser#:
> 213008Q0410
> Type: Removable Hard Disk
> Capacity: 245.0 MB = 0.2 GB (501760 x 512)
> =>
>
> 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.
> If the NVRAM is not the issue, does anyone have a suggestion? I haven't
> the time to build me a debugger :-((
>
> thanks,
>
> RJ
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MBX.h
Type: application/octet-stream
Size: 12870 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20030228/006412f1/attachment.obj
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-27 21:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-27 20:32 [U-Boot-Users] MBX with no NVRAM Ruurd Jan
2003-02-27 20:55 ` Wolfgang Denk
2003-02-27 21:19 ` Rod Boyce
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.