RE: booting linux from compact flash
"Don Woodward" <[email protected]> Mon, 26 Jul 2004 13:25:14 -0700
| Newsgroups | gmane.comp.hardware.roku.technical |
|---|---|
| Message-ID | <003f01c4734e$a8a9f350$c800a8c0@silverbox> |
Hi Paul, What are you trying to achieve? You can boot a kernel from compact flash by creating a file called roku_autoexec.mmon and putting it in the root directory of your FAT formatted CF card. When the system boots, our monitor (mmon) looks for this file and executes actions contained therein. Here's the contents of my roku_autoexec.mmon: splash ntsc elfload /cf/vmlinux go -e 0x8010046c deschutes nfsroot=192.168.0.106:/nfsroot,rw,rsize=1024,wsize=10 24 init=/linuxrc rw rokuip=192.168.0.199 The first line puts up the initial "Loading Roku OS..." screen on the ntsc (not-vga) output. The second line loads the image. The third line jumps to the image passing the command line args listed to the kernel. I guess your next question would be "Where do I get a vmlinux?" You could build one, copy the existing one out of the flash, or try and spin your own. But that takes me back to: "What are you trying to achieve?" -Don