From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 02 Apr 2003 01:10:41 +0200 Subject: [U-Boot-Users] RE: start / load addresses for initrd In-Reply-To: Your message of "Tue, 01 Apr 2003 17:34:47 CDT." Message-ID: <20030401231046.570FAC587C@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message 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.