Support for the Friendly Arm (mini 2440) development board
Donn Miller
hackr_d at yahoo.com
Mon Jun 29 08:19:51 UTC 2009
http://www.developmentboard.net/index.php/productdetail/Development+board/ARM9/SAMSUNG/S3C2440/MINI2440+with+LCD/info/1
http://www.friendlyarm.net/products/mini2440
http://code.google.com/p/mini2440/
Partial dmesg of Linux kernel I managed to boot on this device:
Linux version 2.6.30-rc8 (dmmiller at localhost) (gcc version 4.4.0 (Gentoo 4.4.0 p1.1) ) #1
Thu Jun 4 07:54:48 EDT 2009^M
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177^M
CPU: VIVT data cache, VIVT instruction cache^M
Machine: MINI2440^M
Memory policy: ECC disabled, Data cache writeback^M
CPU S3C2440A (id 0x32440001)^M
S3C24XX Clocks, (c) 2004 Simtec Electronics^M
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz^M
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on^M
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256^M
Kernel command line: root=/dev/mtdblock3 rootfstype=jffs2 console=ttySAC0,115200^M
NR_IRQS:85^M
irq: clearing pending status 02000000^M
irq: clearing subpending status 00000003^M
irq: clearing subpending status 00000002^M
PID hash table entries: 256 (order: 8, 1024 bytes)^M
Console: colour dummy device 80x30^M
console [ttySAC0] enabled^M
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)^M
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)^M
Memory: 64MB = 64MB total^M
Memory: 60748KB available (3472K code, 409K data, 128K init, 0K highmem)^M
I also attached the output from the serial console, showing an attempt to boot a Linux arm kernel. Note that mounting root was unsuccessful (didn't install a small embedded distribution yet).
I figured this dmesg, though from Linux, will suffice to sufficiently describe what this device is and if I can boot FreeBSD-arm on it.
Thanks for your help.
Donn
-------------- next part --------------
Script started on Mon Jun 29 03:47:40 2009
gateway# cu -s 115200 -l ttyU0
Connected
þ
U-Boot 1.3.2-mini2440 (Jun 4 2009 - 02:31:33)
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: 08:08:11:18:12:27
Hit any key to stop autoboot: 3 2 1 0
MINI2440 # nboot kernel;bootm
Loading from NAND 64MiB 3,3V 8-bit, offset 0x60000
Image Name:
Created: 2009-06-18 7:31:03 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1997232 Bytes = 1.9 MB
Load Address: 30008000
Entry Point: 30008000
## Booting kernel from Legacy Image at 32000000 ...
Image Name:
Created: 2009-06-18 7:31:03 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1997232 Bytes = 1.9 MB
Load Address: 30008000
Entry Point: 30008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux............................................................................................................................ done, booting the kernel.
Linux version 2.6.30-rc8 (dmmiller at localhost) (gcc version 4.4.0 (Gentoo 4.4.0 p1.1) ) #1 Thu Jun 4 07:54:48 EDT 2009
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: MINI2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: root=/dev/mtdblock3 rootfstype=jffs2 console=ttySAC0,115200
NR_IRQS:85
irq: clearing pending status 02000000
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60748KB available (3472K code, 409K data, 128K init, 0K highmem)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 704 bytes
NET: Registered protocol family 16
MINI2440: Option string mini2440=0tb
MINI2440: LCD [0:240x320] 1:800x480 2:1024x768
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 118
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Console: switching to colour frame buffer device 60x53
fb0: s3c2410fb frame buffer device
s3c2440-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
at24 0-0050: 1024 byte 24c08 EEPROM (writable)
dm9000 Ethernet Driver, V1.31
eth0 (dm9000): not using net_device_ops yet
eth0: dm9000e at c486e300,c4872304 IRQ 51 MAC: 08:08:11:18:12:27 (chip)
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=1, 9ns Twrph0=3 29ns, Twrph1=2 19ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Creating 4 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x000000000000-0x000000040000 : "u-boot"
ftl_cs: FTL header not found.
0x000000040000-0x000000060000 : "u-boot-env"
ftl_cs: FTL header not found.
0x000000060000-0x000000560000 : "kernel"
ftl_cs: FTL header not found.
0x000000560000-0x000004000000 : "root"
ftl_cs: FTL header not found.
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new interface driver libusual
s3c2440-usbgadget s3c2440-usbgadget: S3C2440: increasing FIFO to 128 bytes
mice: PS/2 mouse device common for all mice
input: gpio-keys as /devices/platform/gpio-keys/input/input0
s3c2440-ts s3c2440-ts: Starting
Created group ts filter len 12 depth 2 close 10 thresh 6
Created Median ts filter len 20 depth 2 dec 24
Created Mean ts filter len 4 depth 2 thresh 65535
Created Linear ts filter depth 2
s3c2440-ts s3c2440-ts: 4 filter(s) initialized
s3c2440-ts s3c2440-ts: successfully loaded
input: s3c2410 TouchScreen as /devices/virtual/input/input1
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
cpuidle: using governor ladder
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mapped channel 0 to 0
s3c2440-sdi s3c2440-sdi: powered down.
s3c2440-sdi s3c2440-sdi: initialisation done.
Registered led device: led1
Registered led device: led2
Registered led device: led3
Registered led device: led4
Registered led device: backlight
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.20.
No device for DAI UDA134X
No device for DAI s3c24xx-i2s
S3C24XX_UDA134X SoC Audio driver
UDA134X SoC Audio Codec
asoc: UDA134X <-> s3c24xx-i2s mapping ok
ALSA device list:
#0: S3C24XX_UDA134X (UDA134X)
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
s3c2410-rtc s3c2410-rtc: setting system clock to 2009-06-29 03:43:07 UTC (1246246987)
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03a98370: 0xffff instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x03a9c370: 0xffff instead
Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
empty_blocks 3749, bad_blocks 1, c->nr_blocks 3752
VFS: Cannot open root device "mtdblock3" or unknown-block(31,3)
Please append a correct "root=" boot option; here are the available partitions:
1f00 256 mtdblock0 (driver?)
1f01 128 mtdblock1 (driver?)
1f02 5120 mtdblock2 (driver?)
1f03 60032 mtdblock3 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[<c002d650>] (unwind_backtrace+0x0/0xd8) from [<c02bbd1c>] (panic+0x40/0x110)
[<c02bbd1c>] (panic+0x40/0x110) from [<c0008e18>] (mount_block_root+0x1c8/0x208)
[<c0008e18>] (mount_block_root+0x1c8/0x208) from [<c00090ac>] (prepare_namespace+0x160/0x1b8)
[<c00090ac>] (prepare_namespace+0x160/0x1b8) from [<c00083f4>] (kernel_init+0xb8/0xe4)
[<c00083f4>] (kernel_init+0xb8/0xe4) from [<c003d200>] (do_exit+0x0/0x588)
[<c003d200>] (do_exit+0x0/0x588) from [<c381a000>] (0xc381a000)
~
[EOT]
gateway# ^Dexit
Script done on Mon Jun 29 03:48:23 2009
More information about the freebsd-arm
mailing list