you must install other drivers on which it depends first.
allan
On Fri, 25 Aug 2006, Justin Richeson wrote:
> Got it built with usb modules and installed in test mode. I run insmod for
> the g_file_storage.o and it gives:
>
> http://rafb.net/paste/results/aDGgIA31.html
>
> On 8/25/06, m. allan noah <anoah-U3wE8S48E2n2fBVCVOL8/A@xxxxxxxxxxxxxxxx> wrote:
>>
>>
>> notice this line:
>>
>> Kernel command line: console=ttyS0,115200 root=/dev/ram0 initrd=0x00800000
>>
>> that tells the kernel where the ramdisk will be. you loaded it at
>> 0x01000000
>>
>> try loading it at 0x00800000 instead.
>>
>> allan
>>
>>
>> On Fri, 25 Aug 2006, Justin Richeson wrote:
>>
>> > Per Allan's instructions for testing the image:
>> >
>> > http://rafb.net/paste/results/Pa6hgX35.html
>> >
>> > any thoughts?
>> >
>> > everything seems to load alright, but then it can't find the rom?
>> >
>> > On 8/25/06, Justin Richeson <jrnosee-Re5JQEeQqe8AvxtiuMwx3w@xxxxxxxxxxxxxxxx <jrnosee%40gmail.com>>
>> wrote:
>> >>
>> >> Steve, I've got a couple of questions on your instructions before I
>> >> attempt as I've read yours and the how to page that allan sent me.
>> >> is:
>> >>
>> >> devio "<<arch/arm/boot/zImage" 'wb 597 . 256/ 255& 0xe3a01c00+,
>> >> 4; wb 255& 0xe3811000+, 4;cp$' >/tftpboot/zImage
>> >> supposed to be run on my build machine or on the slug in redboot? (I'm
>> >> assuming my machine) and do I need anything special installed to do
>> this or
>> >> is it a standard linux command?
>> >> and you've got the load ramdisk.gz set to 0x00800000, but the other
>> >> instructions indicate 0x01000000. What's the difference/significance
>> here.
>> >> I just want to be sure I don't overwrite part of redboot. I don't have
>> >> jtag
>> >> so I CANT screw that up or I'm toast.
>> >> and lastly, which command line did you mean?:
>> >>
>> >> Add something like this to your linux command line
>> >> "root=/dev/ram0 rootfstype=romfs ro initrd=0x00800000,8M init=/bin/sh"
>> >>
>> >> Thanks!
>> >>
>> >>
>> >> On 8/25/06, Steve Bennett <
>> steveb+nslu2-FnKd1amGuKVYp/FP3KkZ9CCwEArCW2h5@xxxxxxxxxxxxxxxx<steveb%2Bnslu2%40riverstone.
dyndns.org>>
>> wrote:
>> >> >
>> >> > You might want to try something like this:
>> >> > - Convert the raw zImage into a form that redboot can load.
>> >> > e.g. devio "<<arch/arm/boot/zImage" 'wb 597 . 256/ 255& 0xe3a01c00+,
>> >> > 4; wb 255& 0xe3811000+, 4;cp$' >/tftpboot/zImage
>> >> > - Load the ramdisk.gz from redboot:
>> >> > RedBoot> load -r -v -b 0x00800000 ramdisk.gz
>> >> > - Load the zImage
>> >> > RedBoot> load -r -v -b 0x1d00000 zImage
>> >> > - Execute it
>> >> > RedBoot> go
>> >> >
>> >> > Of course you will need to:
>> >> > - Make sure your kernel has support for the filesystem you use for
>> your
>> >> > ramdisk (e.g. romfs, cramfs, ext2)
>> >> > - Ensure you have initrd support compiled in
>> >> > - Add something like this to your linux command line
>> >> > "root=/dev/ram0 rootfstype=romfs ro initrd=0x00800000,8M
>> init=/bin/sh"
>> >> >
>> >> > Cheers,
>> >> > Steve
>> >> >
>> >> >
>> >> > Justin Richeson wrote:
>> >> > >
>> >> > >
>> >> > > Well, I managed to get uClinux to build and I have a zImage file
>> and a
>> >> >
>> >> > > ramdisk.gz. Your instructions say to load this from redboot. I do
>> know
>> >> >
>> >> > > how to get into redboot, and I've looked for instructions on
>> loading
>> >> > > uClinux to the NSLU2, but I can't find any specific instructions
>> that
>> >> > > work. I'm only really familiar with loading an .img or .bin file
>> with
>> >> > > upslug2 or SerComm's tool. When I try and load the uncompressed
>> >> > ramdisk
>> >> > > (from ramdisk.gz) it fails. I've tried that as an image and tried
>> it
>> >> > as
>> >> > > a jffs2 and ramdisk with zImage as the kernel. they all fail. How
>> did
>> >> > > you do this allan?
>> >> > >
>> >> > > Thanks!
>> >> >
>> >> > >
>> >>
>> >>
>> >
>>
>> --
>> "so don't tell us it can't be done, putting down what you don't know.
>> money isn't our god, integrity will free our souls" - Max Cavalera
>>
>>
>
--
"so don't tell us it can't be done, putting down what you don't know.
money isn't our god, integrity will free our souls" - Max Cavalera