qemu ubuntu for zynq(armhf)

apt-get install qemu-user-static qemu-system

qemu ubuntu for zynq(armhf)

mkdir qemu-ubuntu

qemu-debootstrap --arch=armhf trusty qemu-ubuntu

qemu ubuntu for zynq(armhf)

cp `which qemu-arm-static` qemu-ubuntu/usr/bin/

chroot qemu-ubuntu/

vi /etc/init/ttyPS0.conf

start on stopped rc RUNLEVEL=[2345] and (
not-container or
container CONTAINER=lxc or
container CONTAINER=lxc-libvirt) stop on runlevel [!2345] respawn
exec /bin/login -f root < /dev/ttyPS0 > /dev/ttyPS0 2>&1

echo "deb http://ports.ubuntu.com trusty main restricted multiverse universe" > /etc/apt/sources.list

qemu ubuntu for zynq(armhf)

apt-get update

passwd

qemu ubuntu for zynq(armhf)

使用时:

sudo rsync –a qemu-ubuntu/ /media/ext4

 

已经可以运行的pure ubuntu trusty:

http://pan.baidu.com/s/1i39TpHF

上一篇:visual studio 配置属性中增加自定义宏和宏值


下一篇:Git和Github简单教程