当前时区 GMT+8, 现在时间是 2008-7-9 12:03 游客: 注册 登录 仅登录论坛 | 搜索 帮助


标题: linux-2.6.10 on 2410 of skyeye
ksh
高级会员
Rank: 4


UID 92875
精华 1
积分 1465
帖子 771
阅读权限 50
注册 2004-2-4
来自 China
状态 离线
发表于 2006-11-24 15:53  资料  短消息  加为好友  添加 ksh 为MSN好友 通过MSN和 ksh 交谈
linux-2.6.10 on 2410 of skyeye

hi:
  That some step-by-step instruction that run linux-2.6 on 2410
simulation on SkyEye. Later I will upload the testcase to
gro.clinux.org website.

Step1 do some modifications on your linux kernel source.
diff linux-2.6.10-ksh/arch/arm/mach-s3c2410/mach-smdk2410.c
linux-2.6.10/arch/arm/mach-s3c2410/mach-smdk2410.c
28c28
< #define PHYS_OFFSET   (0xc0000000UL)
---
> #define PHYS_OFFSET   (0x30000000UL)
diff linux-2.6.10-ksh/include/asm-arm/arch-s3c2410/memory.h
linux-2.6.10/include/asm-arm/arch-s3c2410/memory.h
28c28
< #define PHYS_OFFSET   (0xc0000000UL)
---
> #define PHYS_OFFSET   (0x30000000UL)
Step2 run make menuconfig to config command line of 2410 kernel
First, run "make ARCH=arm CROSS_COMPILE=arm-linux- smdk2410_defconfig"
Then edit your .config file under top directory of linux source
set
CONFIG_CMDLINE
to
"root=/dev/ram0 console=ttySAC initrd=0xc0800000,0x00800000 rw mem=32M"
Then make the following modifications
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=4096
CONFIG_BLK_DEV_INITRD=y

Step3 run "make oldconfig" to apply your above modification

Step4 compile your linux kernel ,and run it on SkyEye apply your above
modification
Notice: You should use the newest version of SkyEye

- Thanks
- Michael.Kang

顶部
 


Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
清除 Cookies - 联系我们 - 中国Linux公社 - WAP