kzLinuxはCQ RISC評価キット(KZ-SH4)上で動作する非常にコンパクトなLinuxです。 組み込みLinux入門として最適です。
メモリマップ
外部メモリ空間 | P1領域 | エリア | デバイス | データ |
0x0000 0000 | 0x8000 0000 | エリア0 | Flash ROM | sh-ipl+g |
0x0001 0000 | 0x8001 0000 | zImage | ||
0x0007 0000 | 0x8007 0000 | ルートファイルシステム(cramfs) | ||
0x0800 0000 | 0x8800 0000 | エリア2 | SDRAM | sh-ipl+gのグローバル変数 |
0x0800 0A00 | 0x8800 0A00 | sh-ipl+gのスタック | ||
0x0820 0000 | 0x8820 0000 | zImageがロードされる領域 |
SH IPL+g version 0.12, Copyright (C) 2001 Free Software Foundation, Inc.
This software comes with ABSOLUTELY NO WARRANTY; for details type `w'.
This is free software, and you are welcome to redistribute it under
certain conditions; type `l' for details.
> r
Loading kernel from Flash ROM ...
Linux version 2.4.37 (xxx@yyyy) (gcc version 2.97 20001120 (experimental)) #114 2009年 3月 4日 水曜日 15:44:16 JST
CqREEK Setup (IDE=0, ISA=1)...done
On node 0 totalpages: 14336
zone(0): 14336 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttySC1,115200 mem=56M
SH RTC: invalid value, resetting to 1 Jan 2000
CPU clock: 200.00MHz
Bus clock: 66.66MHz
Module clock: 33.33MHz
Interval = 83336
Calibrating delay loop... 199.47 BogoMIPS
Memory: 55908k/57344k available (1436k reserved including: 589k kernel code, 20k data, 152k BSS, 28k init, 616k page map)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
CPU: SH7750/SH7751
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd
SuperH SCI(F) driver initialized
ttySC0 at 0xffe00000 is a SCI
ttySC1 at 0xffe80000 is a SCIF
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
physmap flash device: b0000 at 80070000
Search for id:(98 ce) interleave(1) type(2)
Found: Toshiba TC58FVB800
Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit mode
number of JEDEC chips: 1
VFS: Mounted root (cramfs filesystem) readonly.
Freeing unused kernel memory: 28k freed
(none) login: root
login[14]: root login on `ttySC1'
BusyBox v1.00 (2009.03.04-04:04+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ #