mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-06-08 08:37:56 +08:00
24 lines
788 B
Plaintext
24 lines
788 B
Plaintext
|
|
> + Sebastian.. any test code that would initialize all this?
|
|
> Any advice and/or sample code on this is really valued
|
|
> as this is the next step.
|
|
>
|
|
> Basically anything that would help me get this initialized
|
|
> and have some confidence before I make it available.
|
|
|
|
Attached are two source files of a simple USB demo.
|
|
|
|
https://www.rtems.org/bugzilla/show_bug.cgi?id=1601
|
|
|
|
The FreeBSD initialization is performed in mi_startup() (file
|
|
init_main.c). Use the demo and single step through this with the
|
|
debugger. A lot is done with linker sets, e.g. the driver initialization.
|
|
|
|
Look at c/src/lib/libbsp/arm/shared/startup/linkcmds.base and search for
|
|
"_bsd".
|
|
|
|
See (with links in "SEE ALSO"):
|
|
|
|
http://www.freebsd.org/cgi/man.cgi?query=SYSINIT&sektion=9&apropos=0&manpath=FreeBSD+9-current
|
|
|