Hi again,

after compiling busysbox from uClinux-dist-20071107, I tried running
it in my previous uClinux environment/kernel - but with no success.

The kernel can not execute the executable:
Freeing unused kernel memory: 400k freed (0x4019b000 - 0x401fe000)
Unable to mmap process text, errno 12
Failed to execute /init
Unable to mmap process text, errno 12
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.

I want to have the process running from an embedded initrd, without a
flash filesystem, to have only one initial block of data (kernel +
initrd) and be independent of the presence of a flash filesystem.

My "old" executable looks like this:
colinux:test# file test
test: BFLT executable - version 4 ram

Busybox looks like this:
colinux:/projects/new2/uClinux-dist-20071107# file user/busybox/busybox
user/busybox/busybox: BFLT executable - version 4 gotpic

It looks to me as if "gotpic" means XIP, is this correct? And if so, why
is this not executable from an initrd? The processor used is MCF5373L,
with the old kernel having some fixes and additions (interrupt setup,
console port), which is why I first wanted to try running the new
application with the old kernel before taking the effort of porting all
this to the newer kernel.

My main problem is I simply want to get a running system - the old
environment has some severe stability problems (looks like memory
corruption), and I thought when using the most current tools and uClinux
environment available I should at least get a stable kernel (which I
suspect to be a source of the problems with the old environment).
Busybox as an executable was just an example (because having a busybox
would be quite handy there, too), the same applies to all executables
generated.

Any hints how I can get started correctly are greatly appreciated.

Thank you,
Wolfgang

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to