I am using the TRD 14.4 for development. I built the kernel with CONFIG_XILINX_FIXED_DEVTREE_ADDR=y"
I see the following warnings:
1. Warning: Neither atags nor dtb found
2. cma: CMA: failed to reserve 16 MiB
3. clk_divider_recalc_rate: Invalid divisor for clock 0x00000006 0x00000006
4. clk_divider_recalc_rate: Invalid divisor for clock 0x00000004 0x00000004
with these warnings the program hangs with the message:
"Calibrating delay loop..."
The device tree that i specify on the qemu command line is the same as the one used for an actual zedboard.
I am a newbie to linux and would appreciate help in understanding and resolving the issue.
The full log is as shown below.
Thanks
svv
-----------------------------------------
start_qemu.sh
./arm-softmmu/qemu-system-arm -M xilinx-zynq-a9 -m 1024 -serial null -serial mon:stdio -dtb ./devicetree.dtb -smp 2 -nographic -kernel ../linux-xlnx/arch/arm/boot/zImage -initrd ../ramdisk32M.image -net nic,model=cadence_gem -net user -tftp ~/ -redir tcp:10023::23 -redir tcp:10080::80 -redir tcp:10022::22 -redir tcp:10021::21 -redir tcp:1234::123
--------------------------------------------
svv@HP-LT:~/Xilinx/qemu$ ./start_qemu.sh
Uncompressing Linux... done, booting the kernel.
Warning: Neither atags nor dtb found
Booting Linux on physical CPU 0
Linux version 3.6.0-xilinx-dirty (svv@HP-LT) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-50) ) #1 SMP PREEMPT Mon Apr 29 00:03:44 EDT 2013
CPU: ARMv7 Processor [410fc090] revision 0 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Xilinx Zynq Platform
Warning: Neither atags nor dtb found
bootconsole [earlycon0] enabled
cma: CMA: failed to reserve 16 MiB
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 7 pages/cpu @c05d2000 s7488 r8192 d12992 u32768
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064
Kernel command line: console=ttyPS0,115200n8 root=/dev/ram rw earlyprintk mtdparts=physmap-flash.0:512K(nor-fsbl),512K(nor-u-boot),5M(nor-linux),9M(nor-user),1M(nor-scratch),-(nor-rootfs)
PID hash table entries: 64 (order: -4, 256 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 16MB = 16MB total
Memory: 10316k/10316k available, 6068k reserved, 0K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xc1800000 - 0xff000000 ( 984 MB)
lowmem : 0xc0000000 - 0xc1000000 ( 16 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0516218 (5177 kB)
.init : 0xc0517000 - 0xc053dd40 ( 156 kB)
.data : 0xc053e000 - 0xc05847c0 ( 282 kB)
.bss : 0xc05847e4 - 0xc05ae9f0 ( 169 kB)
Preemptible hierarchical RCU implementation.
tDump stacks of tasks blocking RCU-preempt GP.
tRCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
NR_IRQS:512
Zynq clock init
clk_divider_recalc_rate: Invalid divisor for clock 0x00000006 0x00000006
clk_divider_recalc_rate: Invalid divisor for clock 0x00000004 0x00000004
Xilinx, no compatible timer found, using default
xlnx,ps7-ttc-1.00.a #0 at 0xc1800000, irq=43
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
Console: colour dummy device 80x30
Calibrating delay loop...