[ELDK] can't un linuxrc on MTD root file system

Wolfgang Denk wd at denx.de
Mon Apr 7 22:08:00 CEST 2008


In message <47FA3912.6070009 at themis.com> you wrote:
> 
> I am running the eldk on a powerpc 64bit based design from Pasemi. it is
> very close to their reference platform (electra) except that we have
> added a NAND flash, from which we intend to boot. to begin with i have
> initiazed the NAND with the image file system binary from the eldk.

What exactly do you mean by "image file system binary"? The ramdisk
image in ppc64/images/ramdisk_image.gz ?

> In the image i found strange that linuxrc was a link to ../busybox/bin
> and not to ./bin/busybox. i have created a new one, but that didn't work
> eitheir.

Hm... then this is NOT the image ditributed with the ELDK. Here we
have:

	-> ls -l
	total 16
	drwxr-xr-x 2 1543 1543 3072 Apr  1 13:11 bin
	drwxr-xr-x 2 root root 3072 Apr  1 13:11 dev
	drwxr-xr-x 5 1543 1543 1024 Apr  1 13:11 etc
	drwxr-xr-x 2 1543 1543 1024 Apr  1 13:11 ftp
	drwxr-xr-x 2 1543 1543 1024 Apr  1 13:11 home
	drwxr-xr-x 2 1543 1543 1024 Apr  1 13:11 lib
	drwx------ 3 1543 1543 1024 Apr  1 13:11 lib64
	lrwxrwxrwx 1 1543 1543   14 Apr  1 13:11 linuxrc -> ../bin/busybox
	drwxr-xr-x 2 1543 1543 1024 Apr  1 13:11 proc
	drwxr-xr-x 2 1543 1543 1024 Apr  1 13:11 sbin
	drwxr-xr-x 2 1543 1543 1024 Apr  1 13:11 tmp
	drwxr-xr-x 4 1543 1543 1024 Apr  1 13:11 usr
	drwxr-xr-x 4 1543 1543 1024 Apr  1 13:11 var

This looks clean to me.

> note that i am booting a 2.6.24 kernel with the pasemi kernel patches. i
> also tried a similarly patched 2.6.23...same problem.

Why didn't you simply try the kenrel that comes included with the
ELDK?

> how could i debug this one?

Usually it is a good idea to try out such images by installing the
files in a directory tree and trying to chroot into it.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"There is such a fine line between genius and stupidity."
- David St. Hubbins, "Spinal Tap"


More information about the eldk mailing list