Thanks I am getting closer. The debug does not work for 2.4.32-uc0 I did stick a printk in "do_initcalls()" to show the called addresses of the modules which works. Is there a best place in the file structure (on the host) 2.4.32-uc0 to put the "static int __init my_init_stuff()" so link picks up the "module_init" macro. Cheers John
> HI John, > > A simple way to do this is to use the "module_init" macro > > static int __init my_init_stuff(void) > { > return 0; > } > > module_init(my_init_stuff); > > You can see all the init calls as they happen > using the initcall_debug command line option > > root=/dev/mtdblock0 rw initcall_debug=1 ... > > Or by setting the variable ( just as a test) > > initcall_debug to 1 in > > init/main.c > > Regards > Phil Wilshire > _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev