[uClinux-dev] do_initcalls() where is vmlinuz set up to populate
between __initcall_start to end
John.Jeffers at bjservices.com
John.Jeffers at bjservices.com
Tue Oct 16 09:55:04 EDT 2007
uclinux-dev-bounces at uclinux.org wrote on 2007-10-15 06:03:59 PM:
> On Monday 15 October 2007, John.Jeffers at bjservices.com wrote:
> > Yes I have puzzled through this and read a lot of material and code
but
> > have not quite found this answer.
>
> you're wondering how the initcall mechanism works and how to use it
yourself ?
> -mike
Mike
Absolutely!
I see most of how the initcall mechanism works. I have read through
Christopher Hallinan's book, "Embedded Linux Primer" and followed the init
thread
through ~/init/main.c and ~/include/init.h for ARM (he doesn't show a full
working example, I guess you buy Montevista for that.)but am having no
luck having the linker pick up the __setup_parameter macro by itself.
as in "static init __init bjcs_leds()".
I guess I need to rule out "is there a linker thing to do extra" seemingly
not.
Do I have to have to have the module in a favorite place?
Did I screw up my syntax? (Highest probability!)
In your code on blackfin is there a good example?
Thanks John
(P.S. I have presented as 20/20 hindsight I should have taken your
course.)
More information about the uClinux-dev
mailing list