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
页:
[1]