apt-get install qemu-user-static qemu-system
mkdir qemu-ubuntu
qemu-debootstrap --arch=armhf raring qemu-ubuntu
cp `which qemu-arm-static` qemu-ubuntu/usr/bin/
chroot qemu-ubuntu/
sed ‘s/tty1/ttyAMA0/g‘ /etc/init/tty1.conf > /etc/init/ttyAMA0.conf
echo "deb http://ports.ubuntu.com raring main restricted multiverse universe" > /etc/apt/sources.list
apt-get update
passwd
使用时:
sudo rsync –a qemu-ubuntu/ /media/ext4
qemu ubuntu for zynq(armhf)
时间: 2024-09-29 15:43:46