Chinaunix首页 | 论坛 | 博客
  • 博客访问: 403877
  • 博文数量: 53
  • 博客积分: 1910
  • 博客等级: 中尉
  • 技术积分: 1130
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-10 14:56
文章分类

全部博文(53)

文章存档

2013年(1)

2012年(17)

2011年(33)

2010年(2)

分类: LINUX

2011-06-02 00:45:10

refrence:

1. download qemu gta01

svn checkout cd qemu-neo1973
(Now, we're going to configure and build the emulator (Note Requirements below): )
2.build
  • install gcc3.4
  • yum list | grep gcc yum install compat-gcc-34
  • ./configure --target-list=arm-softmmu --cc=gcc34
  • make

3.download gta01 flash img

openmoko-image-ficc-gta01.jffs2, u-boot-gta01bv4-1.3.0+git20071201+svnr3484-.bin, uImage-2.6.22.5-moko11+svnr3238--neo1973.bin,
to openmoko dir!!!
  • run any command at svn root folder
4.modify openmok/env (perhapper no need!!! )
  • 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

阅读(1461) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~