[Armadillo:06148] hetmitの起動処理
Kazunao Yokoo
email@hidden
2010年 11月 12日 (金) 10:51:18 JST
$B2#Hx$G$9!#(B
$B!t$*K;$7$$$H$3$mBgJQ62=L$G$9!#(B
Armadillo-440$B$G(BSDHC2$BMQ$N3HD%%\!<%I$rMxMQ$7$F!"(B
SDIO WLAN$B%+!<%I$rMxMQ$7$F$$$^$9!#(B
1$B$DLdBj$,H/@8$7$F$*$j!"(BSDIO$B%+!<%I$NA^F~%?%$%_%s%0$K$h$C$F(B
$B%G%P%$%9=i4|2=$K<:GT$7$^$9!#(B
$BJL%?%$%H%k$GM-1W$J>pJs$rB?!9D:$-!"(BCCCR$B$K$h$k%G%P%$%9%j%;%C%HEy(B
$B<B83$7$F$$$k$N$G$9$,!"$^$@2r7h$K;j$C$F$*$j$^$;$s!#(B
$B!I(BSDIO$B%+!<%I$NA^F~%?%$%_%s%0$K$h$C$F!I$G$9$,!"6qBNE*$K$O!"(B
$B2<5-$K$J$j$^$9!#(B
$B-!(BSDIO$B%+!<%I$,A^F~$5$l$?>uBV$G(B440$BEE8;EjF~!!!'!!%G%P%$%9=i4|2=<:GT(B
$B-"(B440$BEE8;EjF~8e!"(Bhermit$B5/F0Cf$K(BSDIO$B%+!<%IA^F~!!!'%G%P%$%9=i4|2=@.8y(B
$B-"$N!I(Bhermit$B5/F0Cf$K(BSDIO$B%+!<%IA^F~!I$D$$$F$O!"6qBNE*$K$O(B
$B2<5-0LCV$K$J$j$^$9!#!J2<5-%=!<%9(B $B!z!K(B
-------------------------------------------------------------------------
/* hermit-at-2.0.7/src/target/core/loader.c/hmain() */
int hmain(void)
{
struct platform_info *pinfo = &platform_info;
mdelay(5000) $B!z"+(B delay$B$rDI2C!#(B
$B!!!!!!!!!!!!!!!!!!!!!!!!!!$3$N(Bdelay$BCf$K(BSDIO$B%+!<%I$rA^F~$9$k(B
/* Both red and green led is already truned on at boot.S. */
if (pinfo->init) {
pinfo->init(pinfo);
}
init_crc32();
print_version();
if (pinfo->is_autoboot) {
if (pinfo->is_autoboot(pinfo))
autoboot();
else
mediaboot();
}
led_off(LED_RED);
if (strcmp(CONFIG_DEFAULT_CONSOLE, "none") == 0)
change_console(CONFIG_STANDARD_CONSOLE);
hermit_command_loop();
}
-------------------------------------------------------------------------
440$BEE8;EjF~$+$i!">e5-%=!<%9$N!z0LCV$^$G$G!"%G%P%$%9=i4|2=$K(B
$B2?$+1F6A$N$"$j$=$&$J=hM}$O$"$j$^$9$G$7$g$&$+!#(B
$BGyA3$H$7$?>pJs$@$1$GBgJQ?=$7Lu$J$$$N$G$9$,!"(B
$B2?$+J,$+$l$P%3%a%s%H$r$$$?$@$1$?$i$H;W$$$^$9!#(B
$B0J>e!"$h$m$7$/$*4j$$$$$?$7$^$9!#(B
armadillo メーリングリストの案内