[Armadillo:06151] Re: hetmitの起動処理

nakai email@hidden
2010年 11月 12日 (金) 15:12:29 JST


nakai$B$G$9!#(B

> 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

SDIO$B%G%P%$%9$K4X78$"$j$=$&$J$b$N$OL5$$$h$&$K;W$$$^$9!#(B
$B$=$3$^$G$G9T$&=hM}$O!"(B
$B!&(BWatchDogTimer Enable (boot.S)
$B!&(BLED$BA`:n(B (boot.S)
$B!&(BPLL$email@hidden(B (boot.S)
$B!&(BCS0(FlashMemory)$email@hidden(B (boot.S)
$B!&(BDRAM$B=i4|2=(B (boot.S)
$B!&%9%?%C%/%]%$%s%?@_Dj(B (boot.S)
$B!&(BFlash$B%a%b%j$+$i<+?H$r%3%T!<!u%8%c%s%W(B (entry.c, boot.S)
$B!&(Bhmain
$B$H$$$&$h$&$J=hM}<j=g$K$J$j$^$9!#(B

$B$^$?!"!z;~E@$G$O!"(BSDIO$B%G%P%$%9$KEE8;$,F~$C$F$$$J$$$h$&$K;W$$$^$9$,!"(B
$B$$$+$,$G$7$g$&!)(BCON9$B$N(BVCC(7,8,20pin)$B$O!"(B
pinfo->init(pinfo) $B$NCf$GN)$A>e$2$i$l$^$9!#(B
($B%O!<%I$N$D$/$j$K$h$j$^$9$,!#!#(B)


(2010/11/12 10:51), Kazunao Yokoo wrote:
> $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 mailing list
> email@hidden
> http://lists.atmark-techno.com/cgi-bin/mailman/listinfo/armadillo




armadillo メーリングリストの案内