Loading init and ld.so.1 for Coldfire V4e

From: Kent Borg (kentborg@borg.org)
Date: Tue Oct 08 2002 - 14:54:15 EST


I am trying to get Linux working on a Coldfire V4e (no, they don't
exist yet in the outside world). This is kind of an m68k, but being a
Coldfire, it is a subset of the old m68k. This is a Coldfire, but
being new and spiffy, it has an MMU (32 instruction TLB entries, 32
data TLB entries).

Currently I am at the point where a lot of the memory stuff is
possibly working, the kernel thinks it has booted, and it is trying to
fire up init. And it is failing.

Does anyone have a pointer to something I can read to tell me a bit of
how programs load, what ld.so.1 does, etc? I am in the midst of elf
headers, I see ld.so.1 being opened, I see sections with various
addresses flying by, and I end up trying to execute an address that is
not executable, only read-write. It is possible that stuff really is
percolating correctly from vma's to page tables, it is possible stuff
really is percolating correctly from page tables to TLBs. It is
possible that ld.so.1 and init really are being built correctly and
even at sensible addresses, but I don't know. There are too many
variables here that I don't know about.

Any suggestions on where I could learn more on how init is supposed to
get up and running?

Thanks,

-kb, the Kent who happens to work for an obscure little corner of
Motorola.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:27 EST