1. Install the Skyeye on the ubuntu8.04
(1). APT-Get install Skyeye
(2). Download Skyeye testsuite: skyeye-testsuite-1.3.0_rc1
(3). Download The busybox & Linux source code.
Cross compile tools: Arm-Linux-GCC 3.4.1
Busybox: busybox-1.17.2
Linux Kernel: linux-2.6.35.4
Kernel command line: Mem = 32 m console = tty0 console = ttysac0 root =/dev/Ram initrd = 0xc0800000, 0x00800000 ramdisk_size = 8192 RW
* ** Use new busybox to instead of the old busybox in the Skyeye's initrd. IMG.
(4). Modify the Linux kernel source code
ARCH/ARM/mach-s3c2410/include/Mach/map. H + 87
# Define s3c2410_cs6 (0xc0000000)
ARCH/ARM/mach-s3c2410/include/Mach/memory. H + 14
# Define phys_offset ul (0xc0000000)
2. Run the guichan examples on the Skyeye Linux
(1). Make New initrd. IMG (8 MB)
# Mkdir initrd
# Dd If =/dev/Zero of = initrd. img bs = 1 k count = 8192
# Mke2fs-F-V initrd. img
# Mount-o loop initrd. IMG initrd
# Umount./initrd
(2). Compile the guichan librarys & Other Related librarys.
We need following static librarys:
Libguichan_sdl.a libguichan. A libsdl_image.a libsdl. A LibPNG. A libz. A libpthread.
Http://blog.csdn.net/huyugv_830913/archive/2010/11/03/5985846.aspx
(3). Run the guichan examples
Label example:
Export sdl_nomouse = 1
Export sdl_fbdev =/dev/fb0
Widgets example:
Note: Make sure widgets example can run on the Skyeye, I disable the silder component.
// Slider = new GCN: slider (0, 10 );
// Slider-> setsize (100, 10 );
3. Run the SDL example on the Skyeye (showimage)
Pecker.hu@gmail.com
Nanjing