[U-Boot-Users] RE: start / load addresses for initrd
Wolfgang Denk
wd at denx.de
Wed Apr 2 01:10:41 CEST 2003
In message <EGEGIJHKDKJGAJMGIDPNGEFHCKAA.jwalden at digitalatlantic.com> you wrote:
>
> >Where did you get this ramdisk image from?
>
> I made the ramdisk image using the following procedure:
>
> dd if=/dev/zero of=ramdisk bs=1k count=16384
> /sbin/mke2fs -q -F -m0 ramdisk
> mount -o loop ramdisk mountpoint
> cd mountpoint
> tar xf ../fsimage.tar
Where did you get "fsimage.tar" from? What does it contain.
> >What makes you think it is working at all?
>
> I performed the following procedure to verify it.
>
> [root at hhl initrd]# dd if=initrd of=ramdisk.gz bs=64 skip=1
> 23583+1 records in
> 23583+1 records out
> [root at hhl initrd]# gzip -d ramdisk.gz
> [root at hhl initrd]# mount -o loop ramdisk mountpoint
> [root at hhl initrd]# ls -al mountpoint
> total 26
> drwxr-xr-x 10 root root 1024 Mar 20 15:34
> drwxr-xr-x 3 root root 4096 Apr 1 16:31
> drwxr-xr-x 2 root root 1024 Mar 20 15:34
> drwxr-xr-x 2 root root 2048 Mar 20 15:34
> drwxr-xr-x 6 root root 1024 Mar 20 15:34
> drwxr-xr-x 2 root root 2048 Mar 20 15:34
> drwxr-xr-x 2 root root 12288 Mar 20 15:34
> drwxr-xr-x 2 root root 1024 Mar 20 15:34
> drwxr-xr-x 5 root root 1024 Mar 20 15:34
> drwxr-xr-x 4 root root 1024 Mar 20 15:34
Ummm... I don't even see a filename here. I don;t see if there is an
"init" binary or a shell or any library or any device.
Which sort of output do you expect when providing such input? GIGO...
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
This is an unauthorized cybernetic announcement.
More information about the U-Boot
mailing list