2012-11-04から1日間の記事一覧
CPUはarmv7アーキテクチャのブートコードを読んでみる。始まりは arch/cpu/armv7/start.S からっぽい。 http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q1237585277[arch/cpu/armv7/start.S] 38 .globl _start 39 _start: b reset 40 ldr pc, _un…
ghex http://linuxsalad.blogspot.jp/2007/08/ghex.html
http://www.uquest.co.jp/embedded/learning/lecture.html
printf編[common/console.c] 413 int printf(const char *fmt, ...) 414 { 415 va_list args; 416 uint i; 417 char printbuffer[CONFIG_SYS_PBSIZE]; 418 419 #ifndef CONFIG_PRE_CONSOLE_BUFFER 420 if (!gd->have_console) 421 return 0; 422 #endif 423 …
[arch/arm/lib/board.c] 261 void board_init_f(ulong bootflag) 262 { ... 294 for (init_fnc_ptr = init_sequence; *init_fnc_ptr; ++init_fnc_ptr) { 295 if ((*init_fnc_ptr)() != 0) { 296 hang (); 297 } 298 } ...init_sequenceは以下の定義。 227 in…