hpcboot.exe for XScale PXA2x0

やっと elf な kernel が実行できた。もういいや…。

FileManager: FAT
hpcboot build number: 15
Sharp W-ZERO3 (WS003SH) (cpu=0x0c208000 machine=0x01040100)
[progress] 2
[0] 0xa0000000 size 0x04000000
[1] 0xa4000000 size 0x04000000
[2] 0xa8000000 size 0x04000000
[3] 0xac000000 size 0x04000000
D-cache size = 65536
_WIN32_WCE = 1281
GetVersionEx
Windows CE 5.1
GetSystemInfo:
wProcessorArchitecture      0x5
wProcessorLevel             0x4
wProcessorRevision          0x7
dwPageSize                  0x1000
dwAllocationGranularity     0x00010000
dwProcessorType             0xa11
Display: 480x640 16bpp
Reg0 :69054117
Reg1 :00003a7f
Reg2 :a04a0000
Reg3 :00000001
Reg5 :000000f5
Reg6 :21fff9d0
Reg13:20000000
Reg14:bf7af7ff
CPSR :600000df
[progress] 3
[progress] 4
open file "\miniSDカード\netbsd"(66595 byte).
[progress] 5
Loader: ELF
[progress] 6
file size: 0x64+0x0+0x4+0x0+[ksyms: header 0x208, symtab 0x1b0, strtab 0x9b = 0x453]+[extra: 0x6f90] = 0x93e3 bytes
address translation table 16 pages. (0x80 bytes)
allocated 16 page. mapped 16 page.
[progress] 7
2nd bootloader vaddr=0x000af000 paddr=0xa311c000
2nd bootloader copy done.
[progress] 8
seg[0] vaddr 0xa0040000 file size 0x64 mem size 0x64
        ->load 0xa0040000+0x00000064=0xa0040064 ofs=0x00008000+0x64
seg[1] vaddr 0xc0040064 file size 0x0 mem size 0x0
        ->load 0xc0040064+0x00000000=0xc0040064 ofs=0x00008064+0x0
seg[2] vaddr 0xc0048000 file size 0x4 mem size 0x4
        ->load 0xc0048000+0x00000004=0xc0048004 ofs=0x00010000+0x4
seg[3] vaddr 0xc0048008 file size 0x0 mem size 0x20
        ->load 0xc0048008+0x00000020=0xc0048028 ofs=0x00008008+0x0
        ->zero 0xc0048008+0x00000020=0xc0048028
ksyms
        ->load 0xc0048028+0x00000208=0xc0048230
        ->load 0xc0048230+0x000001b0=0xc00483e0 ofs=0x000101d8+0x1b0
        ->load 0xc00483e0+0x0000009b=0xc004847b ofs=0x00010388+0x9b
[progress] 9
load link 5, zero clear link 1
kernel entry address: 0xa0040000
framebuffer: 480x640 type=5 linebytes=0 addr=0x00000000
console = 2
[progress] 10
sp for bootloader = a311a000 + 00001000 = a311b000
I0xA311B000
P0xA310D000
E0xA0040000
hello minikernel.