Hi Mike,

Mike Sander wrote:
I have built the image based on at91sam9260_defconfig. I get the following at the end of the boot process:

VFS: Mounted root (romfs filesystem) readonly.
Freeing init memory: 100K
Failed to execute /bin/init.  Attempting default...
Kernel panic - not syncing: No init found. Try passing init= option to kernel.


Kernel command line has init=/bin/init. What I noticed is that /bin/init is BFLT. I manually rebuilt /bin/init and /bin/sh without the "-Wl,elf2flt". These elf binaries booted correctly.

Should the build system generate ELF for mmu-ful systems or is the problem with my configuration?

Yes, looks like a configuration problem. For a normal VM system
build there should be no use of elf2flt.


Other than in uClib I cannot see any option to specify the type of user binary to build (it was ELF in uClibc).


If the problem is with my configuration, what is the item I need to set?

Start with ~/vendors/<VENDOR>/<BOARD>/config.arch. Typically they
include something like:

  include $(ROOTDIR)/vendors/config/arm/config.arch

for a VM ARM system. For non-mmu (with elf2flt) they would use
$(ROOTDIR)/vendors/config/armnommu/config.arch.

Regards
Greg



------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Dude       EMAIL:     [EMAIL PROTECTED]
Secure Computing Corporation                PHONE:       +61 7 3435 2888
825 Stanley St,                             FAX:         +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia         WEB: http://www.SnapGear.com
_______________________________________________
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