|
发表于 2013-5-22 15:23:04
|
显示全部楼层
我测试了一下linux-2.6.30,可以启动。基本步骤如下:
1、使用skyeye-testsuite中的linux/s3c2410/s3c2410x-2.6.36/下的skyeye.conf和initrd.img
2、使用linux自带的s3c2410_defconfig的配置信息,
3、修改配置文件中的CMDLINE如下:
CONFIG_CMDLINE="mem=32M console=ttySAC0 root=/dev/ram initrd=0x30800000,0x00800000 ramdisk_size=2048 rw"
4、编译linux
5、使用SkyEye运行,我的用的是1.3.5_rel的分支
输出如下:
-----------------------
Linux version 2.6.30 (ksh@linux-j2ng) (gcc version 4.5.1 (ctng-1.8.1-FA) ) #2 Wed May 22 15:05:58 CST 2013
CPU: ARM920T [41009200] revision 0 (ARMvundefined/unknown), cr=00003177
CPU: VIVT data cache, VIVT instruction cache
Machine: SMDK2410
Warning: bad configuration page, trying to continue
Memory policy: ECC disabled, Data cache writeback
CPU S3C2410 (id 0x32410000)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C2410: core 62.400 MHz, memory 62.400 MHz, peripheral 62.400 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: mem=32M console=ttySAC0 root=/dev/ram initrd=0x30800000,0x00800000 ramdisk_size=2048 rw
NR_IRQS:99
PID hash table entries: 128 (order: 7, 512 bytes)
Console: colour dummy device 80x30
console [ttySAC0] enabled
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 20248KB available (3524K code, 333K data, 144K init, 0K highmem)
Calibrating delay loop... 1.63 BogoMIPS (lpj=4096)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 936 bytes
NET: Registered protocol family 16
S3C Power Management, Copyright 2004 Simtec Electronics
S3C2410: Initialising architecture
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c2808000, irq 33
DMA channel 1 at c2808040, irq 34
DMA channel 2 at c2808080, irq 35
DMA channel 3 at c28080c0, irq 36
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
s3c2410-i2c s3c2410-i2c: slave address 0x10
s3c2410-i2c s3c2410-i2c: bus frequency set to 60 KHz
s3c2410-i2c s3c2410-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: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
[...........................]
----------------------------------------------
-- ksh |
|