refrence:
1. download qemu gta01
svn checkout cd qemu-neo19732.build(Now, we're going to configure and build the emulator (Note Requirements below): )
- install gcc3.4
- ./configure --target-list=arm-softmmu --cc=gcc34
yum list | grep gcc yum install compat-gcc-34
make
3.download gta01 flash img
- download.sh "$uboot_image" dev_ || exit -1 -> download "$uboot_image" "" || exit -1
- http://downloads.openmoko.org/distro/obsolete-images/Om2007.11//images/neo1973/
if download.sh fail ,use http download
to openmoko dir!!!
- run any command at svn root folder
- We don't want the "-latest" symlinks to match
- kernel_wildcard="testing-om-gta01-.uImage.bin"
- rootfs_wildcard="testing-om-gta01-.rootfs.jffs2"
- uboot_wildcard="gta01bv4-u-boot.bin"`
- download_dir=""
- dev_download_dir="$download_dir"
- backup_download_dir=""
kernel_wildcard="uImage-2.6.22.5-moko11+svnr3238--neo1973.bin"
rootfs_wildcard="openmoko-image-fic-gta01.jffs2" uboot_wildcard="u-boot-gta01.bin" download_dir="http://downloads.openmoko.org/distro/obsolete-images/Om2007.11//images/neo1973/"
5. run flash.sh
openmoko/flash.sh
6. run okl4 image at (nographic) ! ./arm-softmmu/qemu-system-arm -M gta01 -m 130 -mtdblock openmoko/openmoko-flash.image -serial stdio -nographic -kernel yourimagedir/image.boot
7. after u-boot bootup, input : bootelf 0x30100000