[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Consult] microblaze: About running upstream main branch qe
From: |
Chen Gang |
Subject: |
[Qemu-devel] [Consult] microblaze: About running upstream main branch qemu |
Date: |
Sun, 19 Oct 2014 21:37:48 +0800 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
Hello microblaze maintainers:
I tried to run upstream qemu for microblaze, but failed. It seems only
special qemu branch can run it. And after try Xilinx qemu branch, I got
"segment fault" which is related with "-dtb". So I want to consult:
- Can our main upstream qemu (not other branches) run microblaze?
- Is what I have done for Xilinx related qemu correct?
The related operation for Xilinx related qemu is below:
* For kernel:
- building:
git clone https://github.com/Xilinx/linux-xlnx.git
cd linux-xlnx
make ARCH=microblaze
CROSS_COMPILE=/upstream/release/bin/microblaze-gchen-linux- mmu_config
make ARCH=microblaze
CROSS_COMPILE=/upstream/release/bin/microblaze-gchen-linux-
- output:
arch/microblaze/boot/linux.bin
scripts/dtc/dtc
- get 'system.dtb':
./scripts/dtc/dtc -I dts -O dtb -o system.dtb
arch/microblaze/boot/dts/system.dts
* For ramdisk:
wget
http://www.wiki.xilinx.com/file/view/microblaze_complete.cpio.gz/419243588/microblaze_complete.cpio.gz
* For qemu:
- building:
git clone git://github.com/Xilinx/qemu.git
./configure --target-list="arm-softmmu,microblazeel-softmmu" --enable-fdt
--disable-kvm
make
- running:
./arm-softmmu/qemu-system-arm -M arm-generic-fdt -nographic -smp 2
-machine linux=on -serial mon:stdio -dtb ../linux-xlnx/system.dtb \
-kernel ../linux-xlnx/arch/microblaze/boot/linux.bin -initrd
../microblaze_complete.cpio.gz
- result:
Segmentation fault (core dumped) (after a simple try, I am sure, it is
caused by "dtb").
And excuse me, at present, I have to only focus on fixing upstream qemu
issues (I have no enough time resource for other qemu branches), please
understand.
Thanks.
--
Chen Gang
Open, share, and attitude like air, water, and life which God blessed
- [Qemu-devel] [Consult] microblaze: About running upstream main branch qemu,
Chen Gang <=
- Re: [Qemu-devel] [Consult] microblaze: About running upstream main branch qemu, Max Filippov, 2014/10/19
- Re: [Qemu-devel] [Consult] microblaze: About running upstream main branch qemu, Chen Gang, 2014/10/19
- Re: [Qemu-devel] [Consult] microblaze: About running upstream main branch qemu, Guenter Roeck, 2014/10/19
- Re: [Qemu-devel] [Consult] microblaze: About running upstream main branch qemu, Chen Gang, 2014/10/20
- Re: [Qemu-devel] [Consult] microblaze: About running upstream main branch qemu, Guenter Roeck, 2014/10/21
- Re: [Qemu-devel] [Consult] microblaze: About running upstream main branch qemu, Chen Gang, 2014/10/21
- Re: [Qemu-devel] [Consult] microblaze: About running upstream main branch qemu, Guenter Roeck, 2014/10/21