I will describe the steps I have taken in detail here. If you find anything may cause the problem, please tell me, as it still doesn't work after modification. 1. Download kernel from https://github.com/virtualopensystems/linux-kvm-arm, download device tree from git://linux-arm.org/arm-dts.git, download default kernel config from http://www.virtualopensystems.com/media/kvm-resources/host-config 2. Build cross compiler, set global PATH environment. ( As kernel passes compilation, the cross compiler must be installed well.) 3. CROSS_COMPILE=arm-unknown-eabi- ARCH=arm make vexpress_defconfig. CROSS_COMPILE=arm-unknown-eabi- ARCH=arm make menuconfig CROSS_COMPILE=arm-unknown-eabi- ARCH=arm make uImage -j5 There's no error in this step 4. In previous step, I have checked CONFIG_ARCH_VEXPRESS_DT, CONFIG_ARM_APPENDED_DTB, and CONFIG_ARM_ATAG_DTB_COMPAT were set to "y". Build device tree file. "./scripts/dtc/dtc -O dtb -o rtsm_ve-cortex_a15x1.dtb \
../arm-dts/fast_models/rtsm_ve-cortex_a15x1.dts" 5. Download bootloader from git://github.com/virtualopensystems/boot-wrapper.git. make clean; make; ------------------------------------------------------------------------------------- Previous 5 steps are all about building components. 6. I deploy the host file system in the same machine which runs the simulator. Ip address is 10.131.250.61. /etc/exports file: /srv 10.0.0.0/255.0.0.0(rw,sync,no_root_squash,no_subtree_check,insecure) I download base file system from "http://releases.linaro.org/12.02/ubuntu/oneiric-images/alip/linaro-o-alip-tar-20120221-0.tar.gz". Untar the package and copy the dir to /srv. 7. Prepare the params file, its content is shown bellow: motherboard.smsc_91c111.enabled=1 motherboard.hostbridge.userNetworking=1 cluster.cpu0.semihosting-cmd_line="--kernel uImage --fdt rtsm_ve-cortex_a15x1.dt
b -- console=ttyAMA0 mem=512M earlyprintk=serial,ttyAMA0 root=/dev/nfs nfsroot=10.131.250.61:/srv/ rw ip=10.131.250.62::10.131.250.1:255.255.254.0:arm-kvm::off" Because my host machine's net port is equipped with 5 ips, I assign 10.131.250.62 to fast model simulator. -- Best Regards, Jicheng Shi On 2012-9-7, at 上午11:52, Christoffer Dall <c.dall@xxxxxxxxxxxxxxxxxxxxxx> wrote: Try running make vexpress_defconfig (you will need to enable the right |
_______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm