thanks for the help. but i found something error-prone to spot out in this
config file.
it has "payload /dev/zero", which results the following command in makefile.
dd conv=sync bs=196608 if=/dev/zero of=payload.block
since /dev/zero has no size, payload.block grows larger and larger until it
uses up all your free space in your hard drive. i guess this should be
handled in a smart way when generating a makefile from the config file.
so, just to make it work temporarily, i just modified the makefile by adding
"count =1" , i.e.

dd conv=sync bs=196608 if=/dev/zero of=payload.block count=1

after this, i ended up with romimage and burnt it into an eeprom.
it ran successfully  until loading the elf kernel image.  now i get "Cannot
Load ELF Image"

i just "dd"ed vmlinux built in the kernel source tree. (not the
$(KERNELROOT)/arch/i386/boot/bzImage). i ran "dd if=vmlinux of=/dev/hdc"
this vmlinux is supposed to be ELF, right? (i checked the first four
bytes:.ELF)

hmm... okay, i'm stuck. (post at 0xff after 0xf8. no, i didn't see Found ELF
candidate at offset ...)


-----Original Message-----
From: Ronald G Minnich [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 06, 2002 11:14 AM
To: Q-ha Park
Cc: [EMAIL PROTECTED]
Subject: Re: so, this is a story.


The image on the compact flash is put there by this command:
dd if=/elfImage of=/dev/hda

To create the elfImage i do a standard linuxbios build.

Here is a config file for a roadrunner2 booting from compact flash.

target roadrunner2
mainboard lippert/roadrunner2

# Enable Serial Console for debugging
option SERIAL_CONSOLE=1
option TTYS0_BAUD=38400

option DEFAULT_CONSOLE_LOGLEVEL=9
option DEBUG

option RAMTEST
option USE_ELF_BOOT=1
option USE_GENERIC_ROM=1
option ROM_SIZE=262144
nooption NO_KEYBOARD
keyboard pc80

# for standard flash, set these two.
#option STD_FLASH=1
#payload ../elfImage.9load
#payload ../eepro100.ebi

# For compact flash,  set these two
payload /dev/zero
option BOOT_IDE=1

option PAYLOAD_SIZE=196608



Reply via email to