QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2256|回复: 0

linux-2.6.10 on 2410 of skyeye

[复制链接]
发表于 2006-11-24 15:53:14 | 显示全部楼层 |阅读模式
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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-26 18:17 , Processed in 0.077823 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表