有用的网站和Wiki
Meego镜像
Wiki
troubleshoot
qemu运行条件检查
qemu运行环境的配置和测试
#Configuring_access_to_an_emulated_device_in_Qt_Creator
SDK的安装和设置
为自动下载安装工具设置代理
为wget设置代理
sudo vim /etc/wgetrc
添加http_proxy = ${ip}:${port}
为yum设置代理
sudo vim /etc/yum.conf 更新yum sudo yum update
rpm代理设置
由于rpm不知道如何设置下载代理,只好通过浏览器将signing key 下载到本地,下载地址Fedora/13/repodata/
然后安装rpm --import repomd.xml.key
安装过程
安装meego sdk
sudo yum install meego-sdk
包括Hello的例程,包括项目创建,打包和发布程序,调试设备
安装工具链
列出支持的工具链的类型
[water@fc14-cool ~]$ sudo mad-admin list target
fremantle-pr13 (installable)
maemo412-1 (installable)
meego-core-armv7l-1.1 (installable)
meego-core-armv7l-1.1.2 (installable)
meego-core-armv7l-trunk (installable)
meego-core-ia32-1.1 (installable)
meego-core-ia32-trunk (installable)
meego-handset-ia32-1.1.2 (installed)
meego-handset-ia32-1.1 (installable)
meego-handset-ia32-w32-1.1 (installable)
meego-handset-ia32-trunk (installable)
meego-netbook-ia32-1.1.2 (installable)
meego-netbook-ia32-1.1 (installed)
meego-netbook-ia32-w32-1.1 (installable)
meego-netbook-ia32-trunk (installable)
创建IA32下的Netbook工具链
[root@fc14-cool water]# mad-admin create -f meego-netbook-ia32-1.1
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 267M 100 267M 0 0 15493 0 5:01:12 5:01:11 0:00:01 21389Working on sysroot meego-core-ia32-madde-sysroot-1.1-fs
.....9....8....7....6....5....4....3....2....1....0
Creating missing links... done.
Working on toolchain meego-sdk-i586-toolchain-1.1-linux_i686
.....9....8....7....6....5....4....3....2....1....0
Creating missing links... done.
Working on tools qt-tools-4.7.0-linux_i686
.....9....8....7....6....5....4....3....2....1....0
Creating missing links... done.
Find toolchain binaries
Link toolchain binaries
Link Qt tool binaries
Target 'meego-netbook-ia32-1.1' created.
[root@fc14-cool water]# mad-admin create -f meego-handset-ia32-1.1.2
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 379M 100 379M 0 0 684k 0 0:09:27 0:09:27 --:--:-- 855k
Working on sysroot meego-handset-ia32-madde-sysroot-1.1.20110106.1204-fs
.....9....8....7....6....5....4....3....2....1....0
Creating missing links... done.
Find toolchain binaries
Link toolchain binaries
Link Qt tool binaries
Target 'meego-handset-ia32-1.1.2' created. 安装meego系统的运行环境,即用qemu模拟的图形环境 列出支持的运行设备
[water@fc14-cool build]$ sudo mad-admin list runtimes
qemu-n900-pr13 (installable)
rx48-diablo (installable)
meego-handset-ia32-qemu-1.1.2-runtime (installable)
meego-handset-ia32-qemu-1.1.20101031.2201-sda-runtime (installable)
meego-handset-ia32-w32-qemu-1.1.20101031.2201-sda-runtime (installable)
meego-netbook-ia32-qemu-1.1.2-runtime (installable)
meego-netbook-ia32-qemu-1.1.20101031.2037-sda-runtime (installable)
meego-netbook-ia32-w32-qemu-1.1.20101031.2037-sda-runtime (installable) 安装Netbook模拟器
[root@fc14-cool water]# mad-admin create -f -e meego-netbook-ia32-qemu-1.1.2-runtime
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 456M 100 456M 0 0 45907 0 2:53:37 2:53:37 --:--:-- 63746
Extracting QEMU runtime meego-netbook-ia32-qemu-1.1.2-runtime
.....9....8....7....6....5....4....3....2....1....0
Creating missing links... done. 安装Handset模拟器
[water@fc14-cool ~]$ sudo mad-admin create -f -e meego-handset-ia32-qemu-1.1.2-runtime
Extracting QEMU runtime meego-handset-ia32-qemu-1.1.2-runtime
.....9....8....7....6....5....4....3....2....1....0
Creating missing links... done. Troubleshooting qemu模拟器启动后没有反应
Starting QEMU runtime meego-handset-ia32-qemu-1.1.2-runtime
This may take some time ...
之后就没反应了,网上说需要打开BIOS的VT支持,我重启了在BIOS的设置里enable了VT,可是执行sudo modprobe kvm-intel的时候还是
出错了,dmesg | grep kvm的结果如下:
kvm: disabled by bios
但是明明是打开了VT选项,为什么启动的时候说VT没有被BIOS使能呢,原来是restart的问题,需要poweron/poweroff,这样BIOS才能
应用更新的设置。
KVM相关的troubleshot可以参见#.22KVM:_disabled_by_BIOS.22_error 如何离线安装
关于代理的设置参考安装工具链时的代理设置,如果有问题的话也可以自己通过浏览器手动下载,下载地址可以在这个
/usr/lib/madde/linux-i686/cache/madde.conf.d文件中看到,我的里面显示的url是,
手动下载完成后把文件拷贝到cache文件夹下,重新执行上面的mad命令,就可以跳过下载直接解压安装了。