Welcome, Guest! Log In | Create Account

1) Linux-2.6.20 on pxa255 platform

You can follow below instructions to run linux-2.6.20 on Skyeye.

  1. get your toolchain for linux-2.6.20 on arm platform. You can use crosstool software to build it by yourself.

2. download the latest release of SkyEye and build it.
3. run your kernel on Skyeye by "skyeye -e vmlinux" . The config file of Skyeye can be the following content:

cpu: pxa25x
mach: pxa_lubbock
mem_bank: map=I, type=RW, addr=0x40000000, size=0x0c000000
mem_bank: map=M, type=RW, addr=0xA0000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0xA0800000, size=0x00800000, file=./initrd_minigui.img
mem_bank: map=M, type=RW, addr=0xA1000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0xA1800000, size=0x02800000
#mem_bank: map=M, type=RW, addr=0xd0000000, size=0x00100000

#lcd:state=on,type=pxa,mod=gtk
load_addr:base=0xA0000000, mask=0xFFFFFF
#dbct:state=on

See also Linux-2.6.17 on SkyEye for lubbock platform.

2) Linux-2.6.20 on pxa27x platform

You can follow below instructions to run linux-2.6.20 on Skyeye. You need to modify the kernel source a little. But it is not necessary, just for more convience debug by gdb. In the future , probably we will promote skyeye to run unmodifed kernel with debug function.

  1. get your toolchain for linux-2.6.20 on arm platform. You can use crosstool software to build it by yourself.

2. then run "make mainstone_defconfig" and "make" to build your kernel.
3. download the latest release of SkyEye and build it.
4. run your kernel on Skyeye by "skyeye -e vmlinux" . The config file of Skyeye can be the following content:

cpu: pxa27x
mach: pxa_mainstone
mem_bank: map=I, type=RW, addr=0x40000000, size=0x0c000000
mem_bank: map=M, type=RW, addr=0xA0000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0xA0800000, size=0x00800000, file=./initrd_minigui.img
mem_bank: map=M, type=RW, addr=0xA1000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0xA1800000, size=0x02800000
#mem_bank: map=M, type=RW, addr=0xd0000000, size=0x00100000
#log: logon=1, logfile=/tmp/sk2.log, start=500000, end=1500000
load_addr:base=0xA0000000, mask=0xFFFFFF
 #lcd:state=on,type=pxa,mod=gtk

Note that you should create your filesystem image ( just like initrd_minigui.img in the above skyeye.conf) or get one from skyeye testsuite. If you want to support ramdisk in linux ,should select Ramdisk support and Initrd option in Block Device menu of linux.

3) Linux-2.6.20 on S3c2410 platform

You can follow below instructions to run modified linux-2.6.20 on Skyeye. That is more convience for debug purpose(That probably will be fixed later so we can debug unmodifed kernel by SkyEye).
get your toolchain for linux-2.6.20 on arm platform. You can use crosstool software to build it by yourself.

Then run "make s3c2410_defconfig" and "make menuconfig" enter config menu of kernel. Enter [Device Driver] -> [ Character Driver] -> [Serial Driver] menu , check off the following option:

<>8250/16550 and compatible serial support

Exit the menu of kernel config. then run make to build your kernel image.

Download the latest release of SkyEye and build it.

After finish your build procedure, run your kernel on Skyeye by "skyeye -e vmlinux" . The config file of Skyeye can be the following content:

#skyeye config file sample

cpu:  arm920t
mach: s3c2410x

#physical memory
#mem_bank: map=M, type=RW, addr=0x20000000, size=0x01000000
mem_bank: map=M, type=RW, addr=0x30000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0x30800000, size=0x00800000, file=./initrd.img
mem_bank: map=M, type=RW, addr=0x31000000, size=0x01000000
#all peripherals I/O mapping area
#mem_bank: map=I, type=RW, addr=0xfefa0000, size=0x00060000
mem_bank: map=I, type=RW, addr=0x48000000, size=0x20000000
mem_bank: map=I, type=RW, addr=0x19000300, size=0x00000020
#net: type=cs8900a, base=0x19000300, size=0x20,int=9, mac=0:4:3:2:1:f, ethmod=tuntap, hostip=10.0.0.1
lcd:type=s3c2410x,mod=gtk
load_addr:base=0x30000000, mask=0xFFFFFF
 dbct:state=on

4) Linux-2.6.22 on MPC8560 platform

You can follow the below instructions to run modified linux-2.6.22 on Skyeye..
get your toolchain for mpc8560 to build linux-2.6.22 . You can use crosstool software to build it by yourself. Get linux-2.6.22 source package and uncompress it ,

Then run "make mpc8560_ads_defconfig" and then run make to build your kernel image.(TIPS: if you check off PCI option , you can avoid a lot of complain message when SkyEye run since PCI is not supported now)

  1. After finish your build procedure, run your kernel on Skyeye by "skyeye -e vmlinux" . The config file of Skyeye can be the following content:
    #skyeye config file sample
    # skyeye config file sample
    arch: ppc
    cpu: e500
    mach:mpc8560
    mem_bank: map=M, type=RW, addr=0xFE000000, size=0x1000000
    #log: logon=0, logfile=./test.log, start=0xC0000000, end=0xB0000000
    

Binary testcase of mpc8560 is also available at http://gro.clinux.org/frs/download.php/2121/mpc8560_testcase.tar.gz
Note isses:
1. Busybox will hang. And sash is usable.
2. Now we just set 1M filesystem in source code of SkyEye and file name of initrd image must be "initrd.img". If you want to use different size or filename for initrd , have to modify the source code in arch/ppc/common/ppc_boot.c and rebuild SkyEye.

5) Linux-2.6.23 on MPC8572 platform

You can follow the below instructions to run modified linux-2.6.23 on Skyeye..
get your toolchain for mpc8560 to build linux-2.6.23 . You can use crosstool software to build it by yourself. Get linux-2.6.23 source package and uncompress it .

Apply the two patch files in testcase_mpc8572_20081218.tar.gz package on linux-2.6.23 source tree:
cd linux-2.6.23
patch -p1 < ../fsl_mpc8572_2.6.23.diff
patch -p1 < ../linux_2-6-23_mpc8572_skyeye.diff

copy the kerne_config file in testcase_mpc8572_20081218.tar.gz to the correspinding directory of kernerl source tree:
cp ../kernel_config arch/powerpc/configs/mpc8572_ads_defconfig
build kernel as the following commmand:
make ARCH=powerpc mpc8572_ads_defconfig
make ARCH=powerpc CROSS_COMPILE=powerpc-linux-gnuspe- vmlinux

After finish your build procedure, run your kernel on Skyeye by "skyeye -e vmlinux" . The config file of Skyeye can be the following content:

#skyeye config file sample
# skyeye config file sample
arch: ppc
cpu: e500
mach:mpc8572
mem_bank: map=M, type=RW, addr=0xFE000000, size=0x1000000
#log: logon=0, logfile=./test.log, start=0xC0000000, end=0xB0000000

Binary testcase of mpc8560 is also available at http://gro.clinux.org/frs/download.php/2121/mpc8560_testcase.tar.gz
Note isses:
1. Busybox will hang. And sash is usable.
2. Now we just set 1M filesystem in source code of SkyEye and file name of initrd image must be "initrd.img". If you want to use different size or filename for initrd , have to modify the source code in arch/ppc/common/ppc_boot.c and rebuild SkyEye.

6) Linux-2.6.20 on at91rm9200 platform

You can follow below instructions to run linux-2.6.20 on Skyeye. You need to modify the kernel source a little. But it is not necessary, just for more convience debug by gdb. In the future , probably we will promote skyeye to run unmodifed kernel with debug function.

  1. get your toolchain for linux-2.6.20 on arm platform. You can use crosstool software to build it by yourself.

2. Download linux-2.6.20 from kernel.org. Then run "make at91rm9200dk_defconfig" and "make" to build your kernel. Note that RTC option in kernel menuconfig shoule be check off, or it will make kernel into panic.
3. download the latest release of SkyEye and build it.
4.run your kernel on Skyeye by "skyeye -e vmlinux" . The config file of Skyeye can be the following content:

cpu:  arm920t
mach: at91rm92
mem_bank: map=M, type=RW, addr=0x00000000, size=0x00004000
mem_bank: map=M, type=R, addr=0x00100000, size=0x00010000
mem_bank: map=M, type=RW, addr=0x20000000, size=0x00200000
mem_bank: map=M, type=RW, addr=0x20200000, size=0x00500000, file=./initrd.img
mem_bank: map=M, type=RW, addr=0x20700000, size=0x01900000
mem_bank: map=I, type=RW, addr=0xfffa0000, size=0x00060000
load_addr:base=0x20000000, mask=0xFFFFFF
#dbct:state=on

Note that you should create your filesystem image ( just like initrd.img in the above skyeye.conf) or get one from skyeye testsuite. If you want to support ramdisk in linux ,should select Ramdisk support and Initrd option in Block Device menu of linux.