-
Notifications
You must be signed in to change notification settings - Fork 8
OverC/meta-qemuarma9
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
QEMU-arma9 Board Support Package 1. About this document ====================== This document contains common and non-hardware specific information. Please refer to README.hardware for hardware specific information. Dependencies ------------ This layer depends on the oe-core layer Maintenance ----------- This layer is maintained by Wind River Systems, Inc. Contact <[email protected]> or your support representative for more information on submitting changes. 2. Boot Instructions ==================== Since this BSP is targeted at a QEMU simulated board, run the command below in the project directory to load the BSP on top of QEMU: $ runqemu qemuarma9 nographic 2.1 RAM Root File System (initramfs) --------------------------------- 2.1.1 Create the initrd image ----------------------------- Build the gzip'd initramfs image with: $ bitbake <xyz>-initramfs The resulting file can be found at tmp/deploy/images/qemuarma9/qemuarma9-*.cpio.gz 2.1.2 Deployment ---------------- Pass the run-time option "-initrd" in TARGET_QEMU_OPTS to use the initramfs image as a ram disk, as shown in the example below. And use the 'root=/dev/ram' kernel command line option. For example, run the following command in the project directory to run the guest in QEMU using initrd: $ make start-target \ TARGET_QEMU_OPTS="-initrd `pwd`/export/qemuarma9-wrlinux-image-glibc-small-standard-dist.cpio.gz -M vexpress-a9" \ TARGET_QEMU_KERNEL_OPTS=root=/dev/ram 2.2 Virtual Disk on Qemu ------------------------ 2.2.1 Create virtual disk image ------------------------------- % bitbake core-image-minimal % ls tmp/deploy/images/qeumarma9/core-image-minimal-qemuarma9-*.rootfs.ext4 2.2.2 Deployment ------------------ % runqemu qemuarma9 nograhpic Example: command to get MMC disk image bootup. tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin//qemu-system-arm -show-cursor -machine vexpress-a9 -cpu cortex-a9 -m 256 -kernel tmp/deploy/images/qemuarma9/zImage--4.12.7+git0+325deac3de_084d8ae2f3-r0-qemuarma9-20170830232849.bin -append 'root=/dev/mmcblk0 rw highres=off mem=256M ip=192.168.7.2::192.168.7.1:255.255.255.0 console=ttyAMA0,38400n8 ' -dtb tmp/deploy/images/qemuarma9/zImage-vexpress-v2p-ca9.dtb --nographic -sd tmp/deploy/images/qemuarma9/core-image-minimal-qemuarma9-20170831023207.rootfs.ext4
About
qemuarm9 bsp layer
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published