FriendlyARM Mini2440

これ何時買ったんだっけなぁ。NetBSD 向けのパッチがある事に気づいたので適当に弄りながら手パッチしてみた。
標準のブートローダは安定性がクソなので NAND に U-Boot を焼いて NAND から起動している。

U-Boot 1.3.2-mini2440 (Oct  6 2009 - 12:51:09)

I2C:   ready
DRAM:  64 MB
Flash:  2 MB
NAND:  64 MiB
Found Environment offset in OOB..
USB:   S3C2410 USB Deviced
In:    serial
Out:   serial
Err:   serial
MAC: 00:00:11:12:34:56
Hit any key to stop autoboot:  0
MINI2440 # rarpboot
dm9000 i/o: 0x20000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 00:00:11:12:34:56
RARP broadcast 1
*** Warning: no boot file name; using 'C0A800F6.img'
TFTP from server 192.168.0.2; our IP address is 192.168.0.246
Filename 'C0A800F6.img'.
Load address: 0x30200000
Loading: #################################################################
         #################################################################
         ###################################################
done
Bytes transferred = 2643204 (285504 hex)
MINI2440 # g 0x30200000
## Starting application at 0x30200000 ...
[ Kernel symbol table missing! ]
Loaded initial symtab at 0xc0434624, strtab at 0xc045a6b4, # entries 9094
pmap_postinit: Allocated 18 static L1 descriptor tables
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.99.26 (MINI2440) #129: Sat Apr 10 22:22:03 JST 2010
        nonaka@koharu.myhome.local:/usr/src/sys/arch/evbarm/compile/MINI2440
total memory = 65536 KB
avail memory = 59084 KB
mainbus0 (root)
cpu0 at mainbus0: ARM920T rev 0 (ARM9TDMI core)
cpu0: DC enabled IC enabled WB enabled EABT
cpu0: 16KB/32B 64-way Instruction cache
cpu0: 16KB/32B 64-way write-back-locking-A Data cache
ssio0 at mainbus0: fclk 405 MHz hclk 101 MHz pclk 50 MHz
sscom0 at ssio0 unit 0: UART0 addr=50000000
sscom0: console (major=104)
ssextio0 at ssio0
dav0 at ssextio0 addr 0x20000300 intr 7
sssdi0 at ssio0
sdmmc0 at sssdi0
clock: hz=100 stathz=64 PCLK=50625000 prescaler=2 tc=24719
ld0 at sdmmc0
ld0: 15676 MB, 7962 cyl, 64 head, 63 sec, 512 bytes/sect x 32104448 sectors
boot device: <unknown>
root device: dav0
dump device:
file system (default generic):
root on dav0
mountroot: trying nfs...
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.0.2
nfs_boot: my_name=mini2440.myhome.local
nfs_boot: my_domain=myhome.local
nfs_boot: my_addr=192.168.0.246
nfs_boot: my_mask=255.255.255.0
nfs_boot: gateway=192.168.0.254
root on 192.168.0.2:/exports/nfsroot/mini2440/root
root time: 0x4bc07c11
root file system type: nfs
WARNING: no TOD clock present
WARNING: using filesystem time
WARNING: CHECK AND RESET THE DATE!
init path (default /sbin/init):