有这好东西,容易调试板卡启动不了的时候是镜像的问题还是电路等了,打印信息如下
petalinux-boot --qemu --image zImage --dtb system.dtb 命令格式
[root@localhost linux]# petalinux-boot --qemu --image zImage --dtb system.dtb
INFO: The image provided is a zImage
WARNING: The QEMU subnet settings is 192.168.10.1/255.255.255.0. It is different from the one configured in PetaLinux /
WARNING: To enable the network of the QEMU MicroBlaze system. Please change the Network settings of PetaLinux and rebuild it or manually configure the network when the QEMU MicroBlaze system is boot
WARNING: Do you want to contine? (y/n)
y
INFO: TCP PORT is free
INFO: Starting arm QEMU
INFO: qemu-system-arm -L /opt/pkg/petalinux-v2014.4-final/etc/qemu -M arm-generic-fdt -smp 2 -machine linux=on --serial /dev/null --serial mon:stdio --nographic -kernel /tmp/tmp.zqNgnPGPmh -gdb tcp::9000 -dtb system.dtb
Booting Linux on physical CPU 0x0
Linux version 3.17.0-xilinx (root@localhost.localdomain) (gcc version 4.8.3 20140320 (prerelease) (Sourcery CodeBench Lite 2014.05-23) ) #12 SMP PREEMPT Tue Nov 15 01:41:17 PST 2016
CPU: ARMv7 Processor [410fc090] revision 0 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine model: christine
cma: Reserved 128 MiB at 38000000
Memory policy: Data cache writealloc
PERCPU: Embedded 8 pages/cpu @7779c000 s8704 r8192 d15872 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
Kernel command line: console=ttyPS0,115200 earlyprintk
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 896512K/1048576K available (4325K kernel code, 227K rwdata, 1428K rodata, 5360K init, 195K bss, 152064K reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xffe00000 (2048 kB)