下載kernel ,解壓縮後編譯html
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- O=../tl distclean
make vexpress_defconfig ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- O=../tl
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j8 O=../tllinux
下載busybox代碼,git
make ARCH=arm menuconfig 配置下編譯器,配置成靜態busybox.github
make express
make installapp
安裝到_intall目錄下面wordpress
sudo mkdir tmpfs
sudo mount -t ext3 a9rootfs.ext3 tmpfs/ -o loop
cp -r busybox/_install/* tmpfs/
從https://github.com/mahadevvinay/Embedded_Linux_Files.git下載fstab inittab rcs文件
cd tmpfs
mkdir -p etc etc/init.d mkdir proc sys home dev tmp root var mnt
cd ..
cp fstab tmpfs/etc
cp inittab tmpfs/etc
cp rcS tmpfs/etc/init.d
sudo chmod a+x tmpfs/etc/init.d/rcS
sudo umount tmpfs
oop
qemu-system-arm -M vexpress-a9 -m 512M -nographic -append "root=/dev/mmcblk0 console=ttyAMA0" -kernel ../tl/arch/arm/boot/zImage -dtb ../tl/arch/arm/boot/dts/vexpress-v2p-ca9.dtb -sd ../a9rootfs.ext3.net
https://learningfromyoublog.wordpress.com/2016/04/05/131/htm
http://blog.csdn.net/kevin_mr/article/details/52754757
http://abiaog.github.io/jekyll/update/2017/01/18/QEMU.html