Enable arm_global_timer for Zynq brakes boot
From: Daniel Lezcano <hidden>
Date: 2013-08-06 16:09:08
Also in:
lkml
On 08/06/2013 03:18 PM, Michal Simek wrote: [ ... ]
quoted
quoted
quoted
quoted
Soren: Are you able to replicate this issue on QEMU? If yes, it should be the best if you can provide Qemu, kernel .config/ rootfs and simple manual to Daniel how to reach that fault.I tried to download qemu for zynq but it fails: git clone git://git.xilinx.com/qemu-xarm.git Cloning into 'qemu-xarm'... fatal: The remote end hung up unexpectedlyNot sure which site have you found but it should be just qemu.git https://github.com/Xilinx/qemu or github clone.Ok, cool I was able to clone it.quoted
quoted
I am also looking for the option specified for the kernel: "The kernel needs to be built with this feature turned on (in menuconfig, System Type->Xilinx Specific Features -> Device Tree At Fixed Address)."Ok.quoted
This also sound like a very ancient tree. This is the latest kernel tree - master-next is the latest devel branch. https://github.com/Xilinx/linux-xlnxOk, cool. I have the right one.
Following the documentation, I was able to boot a kernel with qemu for the linux-xlnx and qemu-xilinx. But this kernel is outdated regarding the upstream one, so I tried to boot a 3.11-rc4 kernel without success, I did the following: I used the default config file from linux-xlnx for the upstream kernel. I compiled the kernel with: make -j 5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- UIMAGE_LOADADDR=0x8000 uImage I generated the dtb with: make -j 5 ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dtbs For qemu, I started qemu with: ./arm-softmmu/qemu-system-arm -M arm-generic-fdt -nographic -smp 2 -machine linux=on -serial mon:stdio -dtb zynq-zed.dtb -kernel kernel/zImage -initrd filesystem/ramdisk.img I tried with the dtb available for the upstream kernel: zynq-zc706.dtb, zynq-zc702.dtb and zynq-zed.dtb Did I miss something ? Thanks -- Daniel
quoted
quoted
Or there should be an option to use the latest kernel from kernel.org. (I think Soren is using it) Zynq is the part of multiplatfrom kernel and cadence ttc is there, dts is also in the mainline kernel.quoted
ps : apart that, well documented website !Can you send me the link to it?http://xilinx.wikidot.com/zynq-qemu http://xilinx.wikidot.com/zynq-linuxI will find out information why it is still there. I think it was moved to the new location.quoted
quoted
This should be the main page for it. http://www.wiki.xilinx.com/
-- <http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog