OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 686|回复: 3

[XILINX] ZYNQ7020开发板 system.bit、 system.dtb报错

[复制链接]

1

主题

4

帖子

0

精华

新手上路

积分
28
金钱
28
注册时间
2023-7-21
在线时间
5 小时
发表于 2023-11-20 21:38:34 | 显示全部楼层 |阅读模式
本帖最后由 langtuteng312 于 2023-11-20 21:41 编辑

ZYNQ7020开发板

Ubuntu20.4
Petalinux2022.2

1、echo $PETALINUX
2、source /opt/pkg/petalinux/2022.2/settings.sh
3、petalinux-create -t project --template zynq -n ALIENTEK-ZYNQ-03
4、petalinux-config --get-hw-description /home/dxf/linux/ZYNQ/hdf/Navigator_7020/
加载xsa文件
修改ps7_uart_1ps7_uart_0
5、Uboot编译 alientek-uboot-2018.01-xlnx-v2018.3.tar.gz
      make distclean
     make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- atk_7020_defconfig
     make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- all -j16
     mv u-boot u-boot.elf
6、petalinux工程目录
petalinux-build -c bootloader  生成fbsl文件
petalinux-package --boot --fsbl --u-boot /home/dxf/linux/ZYNQ/uboot/u-boot.elf --force  提示缺少system.dtb
7、Kernel编译 alientek-linux-4.14.0-xlnx-v2018.3.tar.gz
make distclean
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- xilinx_zynq_defconfig
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage -j16  生成zImage文件
8、设备树编译
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- atk-navigator-7020.dtb
9、mv arch/arm/boot/dts/atk-navigator-7020.dtb system.dtb
10、利用此system.dtb 再执行 petalinux-package 生成BOOT.Bin
11、petalinux-build     image\linux目录下生成 system.bit
12、凑齐BOOT.Bin(工程 image\linux)  system.bit工程 image\linux system.dtb(内核目录 zImage (内核目录 复制到SD卡
开发板启动后,Uboot启动正常,Kernel启动一半,报错  ,提示Kernel Panic   终端打印信息见附录01
-[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
13、  system.bit 替换为厂家提高的SD内原文件
开发板启动后,Uboot启动正常,Kernel启动一半,报错   终端打印信息见附录02
xilinx-vdmafb amba_pl:xlnx_vdmafb_hdmi: Alientek LCD ID: 1 到此停止打印输出
14、 system.bit、 system.dtb 替换为厂家提高的SD内原文件
开发板启动后,Uboot启动正常,Kernel正常启动,但是开机自启动的QMainApp失败,/dev目录下缺少fb0 fb1设备
15、petalinux工程目录下,更改system-user.dtsi后,编译 petalinux-build 报错 终端打印信息见附录03
ERROR: device-tree-xilinx-v2022.2+gitAUTOINC+24d29888d0-r0 do_compile: Error executing a python function in exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:


正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

1

主题

4

帖子

0

精华

新手上路

积分
28
金钱
28
注册时间
2023-7-21
在线时间
5 小时
 楼主| 发表于 2023-11-20 21:39:32 | 显示全部楼层
U-Boot 2018.01 (Nov 19 2023 - 18:32:39 +0800) Xilinx Zynq ZC702

Board: Xilinx Zynq
Silicon: v3.1
DRAM:  ECC disabled 1 GiB
MMC:   sdhci_transfer_data: Error detected in status(0x208000)!
mmc@e0100000: 0 (SD), mmc@e0101000: 1 (eMMC)
SF: Detected w25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

In:    serial@e0000000
Out:   serial@e0000000
Err:   serial@e0000000
Net:   ZYNQ GEM: e000b000, phyaddr 7, interface rgmii-id
eth0: ethernet@e000b000
Hit any key to stop autoboot:  0
Device: mmc@e0100000
Manufacturer ID: 6f
OEM: 303
Name: SDABC
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29.5 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
** Unable to read file uEnv.txt **
Copying Linux from SD to RAM...
reading system.bit
4045674 bytes read in 236 ms (16.3 MiB/s)
  design filename = "system_wrapper;UserID=0XFFFFFFFF;Version=2020.2"
  part number = "7z020clg400"
  date = "2023/04/14"
  time = "14:22:03"
  bytes in bitstream = 4045564
zynq_align_dma_buffer: Align buffer at 10006e to fff80(swap 1)
reading zImage
4353304 bytes read in 252 ms (16.5 MiB/s)
reading system.dtb
21339 bytes read in 16 ms (1.3 MiB/s)
## Flattened Device Tree blob at 02000000
   Booting using the fdt blob at 0x2000000
   Loading Device Tree to 1fff7000, end 1ffff35a ... OK
axi_gpio <addr:0x41200000>
Alientek LCD ID: 7

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.0-xilinx (dxf@dxf-virtual-machine) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12)) #1 SMP PREEMPT Sun Nov 19 18:57:42 CST 2023
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Alientek Navigator Zynq Development Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 256 MiB at 0x30000000
[    0.000000] random: fast init done
[    0.000000] percpu: Embedded 16 pages/cpu @ef7c7000 s34764 r8192 d22580 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyPS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 767060K/1048576K available (6144K kernel code, 252K rwdata, 1700K rodata, 1024K init, 165K bss, 19372K reserved, 262144K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a3f280   ( 253 kB)
[    0.000000]        .bss : 0xc0a3f280 - 0xc0a689ec   ( 166 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] efuse mapped to f0800000
[    0.000000] slcr mapped to f0802000
[    0.000000] L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
[    0.000000] L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
[    0.000000] zynq_clock_init: clkc starts at f0802100
[    0.000000] Zynq clock init
[    0.000009] sched_clock: 64 bits at 383MHz, resolution 2ns, wraps every 4398046511103ns
[    0.000029] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x58688d738d, max_idle_ns: 440795214563 ns
[    0.000055] Switching to timer-based delay loop, resolution 2ns
[    0.000143] clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 467424388 ns
[    0.000175] timer #0 at f080a000, irq=17
[    0.000685] Console: colour dummy device 80x30
[    0.000708] Calibrating delay loop (skipped), value calculated using timer frequency.. 766.66 BogoMIPS (lpj=3833333)
[    0.000723] pid_max: default: 32768 minimum: 301
[    0.000849] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000863] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001350] CPU: Testing write buffer coherency: ok
[    0.001530] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.040314] Setting up static identity map for 0x100000 - 0x100060
[    0.060276] Hierarchical SRCU implementation.
[    0.100274] smp: Bringing up secondary CPUs ...
[    0.170589] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.170691] smp: Brought up 1 node, 2 CPUs
[    0.170707] SMP: Total of 2 processors activated (1533.33 BogoMIPS).
[    0.170715] CPU: All CPU(s) started in SVC mode.
[    0.171571] devtmpfs: initialized
[    0.175675] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.175971] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.175991] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.187505] pinctrl core: initialized pinctrl subsystem
[    0.188540] NET: Registered protocol family 16
[    0.190142] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.191468] cpuidle: using governor menu
[    0.200810] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.200824] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.200946] zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xf0880000
[    0.201324] zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
[    0.201765] e0000000.serial: ttyPS0 at MMIO 0xe0000000 (irq = 28, base_baud = 6249999) is a xuartps
[    0.668447] console [ttyPS0] enabled
[    0.672510] e0001000.serial: ttyPS1 at MMIO 0xe0001000 (irq = 29, base_baud = 6249999) is a xuartps
[    0.701770] XGpio: /amba_pl/gpio@41200000: registered, base is 1021
[    0.709444] vgaarb: loaded
[    0.713177] SCSI subsystem initialized
[    0.717155] usbcore: registered new interface driver usbfs
[    0.723207] usbcore: registered new interface driver hub
[    0.728596] usbcore: registered new device driver usb
[    0.733944] media: Linux media interface: v0.10
[    0.738516] Linux video capture interface: v2.00
[    0.743399] pps_core: LinuxPPS API ver. 1 registered
[    0.748354] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.757552] PTP clock support registered
[    0.761534] EDAC MC: Ver: 3.0.0
[    0.770825] FPGA manager framework
[    0.774528] fpga-region fpga-full: FPGA Region probed
[    0.779793] Advanced Linux Sound Architecture Driver Initialized.
[    0.787075] clocksource: Switched to clocksource arm_global_timer
[    0.801400] NET: Registered protocol family 2
[    0.806375] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.813655] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.820280] TCP: Hash tables configured (established 8192 bind 8192)
[    0.826701] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.832689] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.839240] NET: Registered protocol family 1
[    0.843915] RPC: Registered named UNIX socket transport module.
[    0.849856] RPC: Registered udp transport module.
[    0.854553] RPC: Registered tcp transport module.
[    0.859281] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.866158] hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing.
[    0.874262] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.883814] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.890861] jffs2: version 2.2. (NAND) (SUMMARY)  ? 2001-2006 Red Hat, Inc.
[    0.901025] bounce: pool size: 64 pages
[    0.904865] io scheduler noop registered
[    0.908884] io scheduler deadline registered
[    0.913196] io scheduler cfq registered (default)
[    0.917917] io scheduler mq-deadline registered
[    0.922440] io scheduler kyber registered
[    0.926867] pwm_clk=99999999  period_min_ns=10
[    0.932518] Division by zero in kernel.
[    0.936351] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.14.0-xilinx #1
[    0.942863] Hardware name: Xilinx Zynq Platform
[    0.947420] [<c010e764>] (unwind_backtrace) from [<c010a98c>] (show_stack+0x10/0x14)
[    0.955168] [<c010a98c>] (show_stack) from [<c06c6ae8>] (dump_stack+0x80/0xa0)
[    0.962385] [<c06c6ae8>] (dump_stack) from [<c06c5514>] (Ldiv0+0x8/0x10)
[    0.969087] [<c06c5514>] (Ldiv0) from [<c034ed14>] (clk_factor_recalc_rate+0x2c/0x44)
[    0.976923] [<c034ed14>] (clk_factor_recalc_rate) from [<c034da10>] (clk_register+0x2c8/0x498)
[    0.985528] [<c034da10>] (clk_register) from [<c034dbe8>] (clk_hw_register+0x8/0x14)
[    0.993269] [<c034dbe8>] (clk_hw_register) from [<c034eda8>] (clk_hw_register_fixed_factor+0x7c/0xa8)
[    1.002485] [<c034eda8>] (clk_hw_register_fixed_factor) from [<c034edec>] (clk_register_fixed_factor+0x18/0x28)
[    1.012567] [<c034edec>] (clk_register_fixed_factor) from [<c0352cb8>] (clk_wzrd_probe+0x264/0x534)
[    1.021615] [<c0352cb8>] (clk_wzrd_probe) from [<c03c51f4>] (platform_drv_probe+0x50/0x9c)
[    1.029874] [<c03c51f4>] (platform_drv_probe) from [<c03c3d3c>] (driver_probe_device+0x1ec/0x2b0)
[    1.038743] [<c03c3d3c>] (driver_probe_device) from [<c03c3e7c>] (__driver_attach+0x7c/0xa8)
[    1.047179] [<c03c3e7c>] (__driver_attach) from [<c03c258c>] (bus_for_each_dev+0x7c/0x8c)
[    1.055346] [<c03c258c>] (bus_for_each_dev) from [<c03c33b4>] (bus_add_driver+0x16c/0x1d4)
[    1.063601] [<c03c33b4>] (bus_add_driver) from [<c03c4600>] (driver_register+0xa0/0xe0)
[    1.071596] [<c03c4600>] (driver_register) from [<c01019ac>] (do_one_initcall+0xf8/0x118)
[    1.079771] [<c01019ac>] (do_one_initcall) from [<c0900da4>] (kernel_init_freeable+0x188/0x1c8)
[    1.088467] [<c0900da4>] (kernel_init_freeable) from [<c06d6aec>] (kernel_init+0x8/0x108)
[    1.096640] [<c06d6aec>] (kernel_init) from [<c0106fb0>] (ret_from_fork+0x14/0x24)
[    1.105700] dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
[    1.112457] dma-pl330 f8003000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
[    1.121237] Unhandled fault: imprecise external abort (0x406) at 0x00000000
[    1.128191] pgd = c0004000
[    1.130889] [00000000] *pgd=00000000
[    1.134460] Internal error: Oops - BUG: 406 [#1] PREEMPT SMP ARM
[    1.140454] Modules linked in:
[    1.143506] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.14.0-xilinx #1
[    1.150020] Hardware name: Xilinx Zynq Platform
[    1.154535] task: ef03f840 task.stack: ef040000
[    1.159071] PC is at xilinx_dma_chan_reset+0x20/0x13c
[    1.164112] LR is at xilinx_dma_probe+0x7f4/0x948
[    1.168805] pc : [<c0358ea8>]    lr : [<c0359ad8>]    psr: 20000013
[    1.175062] sp : ef041e20  ip : ef09f7b4  fp : 00000000
[    1.180279] r10: 00000000  r9 : ef19e810  r8 : dec0de1c
[    1.185497] r7 : 00000000  r6 : ef7f2508  r5 : ef1cbe10  r4 : ef1cbe10
[    1.192015] r3 : f0970000  r2 : 00000000  r1 : ef1c8020  r0 : ef1cbe10
[    1.198535] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[    1.205661] Control: 18c5387d  Table: 0000404a  DAC: 00000051
[    1.211398] Process swapper/0 (pid: 1, stack limit = 0xef040210)
[    1.217395] Stack: (0xef041e20 to 0xef042000)
[    1.221751] 1e20: ef1c8010 ef1cbe10 ef7f2508 00000000 ef7f2188 c0359ad8 c081d605 ef1cbe10
[    1.229917] 1e40: ef1ca688 00000000 ef1c8020 ef7f2690 00000000 00000001 00000020 c083916b
[    1.238085] 1e60: 00000001 00000018 00000000 c03592e4 ef19e810 c0a15794 00000000 c0a15794
[    1.246253] 1e80: 00000000 00000000 00000000 c03c51f4 ef19e810 c0a5bb80 c0a5bb84 c03c3d3c
[    1.254421] 1ea0: ef19e810 ef19e844 c0a15794 c0a1a4b0 00000000 c093dd58 c093483c c03c3e7c
[    1.262589] 1ec0: 00000000 c0a15794 c03c3e00 c03c258c ef076f58 ef19bbb4 c0a15794 ef29c300
[    1.270757] 1ee0: 00000000 c03c33b4 c081d796 c081d797 00000000 c0a15794 c0a3f280 c0934834
[    1.278924] 1f00: c0917d30 c03c4600 ffffe000 c0a3f280 c0934834 c01019ac c08a80ac 00000000
[    1.287092] 1f20: 00000000 c0132bac 00000000 c08a6fcc 000000d9 00000006 00000006 c08a80c0
[    1.295260] 1f40: 000000d8 c08a80c0 efffccf9 00000000 00000000 00000007 c0a3f280 c0934830
[    1.303428] 1f60: 00000007 c0a3f280 c0934834 000000d9 c0a3f280 c0900da4 00000006 00000006
[    1.311595] 1f80: 00000000 c090059c 00000000 c06d6ae4 00000000 00000000 00000000 00000000
[    1.319763] 1fa0: 00000000 c06d6aec 00000000 c0106fb0 00000000 00000000 00000000 00000000
[    1.327930] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.336099] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 0000000a 02080008
[    1.344278] [<c0358ea8>] (xilinx_dma_chan_reset) from [<c0359ad8>] (xilinx_dma_probe+0x7f4/0x948)
[    1.353155] [<c0359ad8>] (xilinx_dma_probe) from [<c03c51f4>] (platform_drv_probe+0x50/0x9c)
[    1.361590] [<c03c51f4>] (platform_drv_probe) from [<c03c3d3c>] (driver_probe_device+0x1ec/0x2b0)
[    1.370458] [<c03c3d3c>] (driver_probe_device) from [<c03c3e7c>] (__driver_attach+0x7c/0xa8)
[    1.378894] [<c03c3e7c>] (__driver_attach) from [<c03c258c>] (bus_for_each_dev+0x7c/0x8c)
[    1.387070] [<c03c258c>] (bus_for_each_dev) from [<c03c33b4>] (bus_add_driver+0x16c/0x1d4)
[    1.395325] [<c03c33b4>] (bus_add_driver) from [<c03c4600>] (driver_register+0xa0/0xe0)
[    1.403321] [<c03c4600>] (driver_register) from [<c01019ac>] (do_one_initcall+0xf8/0x118)
[    1.411503] [<c01019ac>] (do_one_initcall) from [<c0900da4>] (kernel_init_freeable+0x188/0x1c8)
[    1.420199] [<c0900da4>] (kernel_init_freeable) from [<c06d6aec>] (kernel_init+0x8/0x108)
[    1.428374] [<c06d6aec>] (kernel_init) from [<c0106fb0>] (ret_from_fork+0x14/0x24)
[    1.435937] Code: e5933000 e0833002 e5938000 f57ff04f (e5903000)
[    1.442024] ---[ end trace 9277879887e0e944 ]---
[    1.446708] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.446708]
[    1.455840] CPU1: stopping
[    1.458538] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D         4.14.0-xilinx #1
[    1.466267] Hardware name: Xilinx Zynq Platform
[    1.470802] [<c010e764>] (unwind_backtrace) from [<c010a98c>] (show_stack+0x10/0x14)
[    1.478545] [<c010a98c>] (show_stack) from [<c06c6ae8>] (dump_stack+0x80/0xa0)
[    1.485762] [<c06c6ae8>] (dump_stack) from [<c010ceb8>] (ipi_cpu_stop+0x3c/0x70)
[    1.493157] [<c010ceb8>] (ipi_cpu_stop) from [<c010d6d8>] (handle_IPI+0x64/0x84)
[    1.500543] [<c010d6d8>] (handle_IPI) from [<c0101420>] (gic_handle_irq+0x84/0x90)
[    1.508102] [<c0101420>] (gic_handle_irq) from [<c010b3cc>] (__irq_svc+0x6c/0xa8)
[    1.515570] Exception stack(0xef05ff80 to 0xef05ffc8)
[    1.520619] ff80: 00000001 00000000 00000000 c0116640 00000000 00000000 ffffe000 c0a03c68
[    1.528787] ffa0: c0a03cb4 413fc090 00000000 00000000 2ee98000 ef05ffd0 c01079bc c01079ac
[    1.536949] ffc0: 60000113 ffffffff
[    1.540438] [<c010b3cc>] (__irq_svc) from [<c01079ac>] (arch_cpu_idle+0x1c/0x38)
[    1.547835] [<c01079ac>] (arch_cpu_idle) from [<c01494ac>] (do_idle+0xf8/0x1a8)
[    1.555141] [<c01494ac>] (do_idle) from [<c0149694>] (cpu_startup_entry+0x18/0x1c)
[    1.562699] [<c0149694>] (cpu_startup_entry) from [<001016cc>] (0x1016cc)
[    1.569479] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.569479]
回复 支持 反对

使用道具 举报

1

主题

4

帖子

0

精华

新手上路

积分
28
金钱
28
注册时间
2023-7-21
在线时间
5 小时
 楼主| 发表于 2023-11-20 21:40:12 | 显示全部楼层
U-Boot 2018.01 (Nov 19 2023 - 18:32:39 +0800) Xilinx Zynq ZC702

Board: Xilinx Zynq
Silicon: v3.1
DRAM:  ECC disabled 1 GiB
MMC:   sdhci_transfer_data: Error detected in status(0x208000)!
mmc@e0100000: 0 (SD), mmc@e0101000: 1 (eMMC)
SF: Detected w25q256 with page size 256 Bytes, erase size 4 KiB, total 32 MiB
*** Warning - bad CRC, using default environment

In:    serial@e0000000
Out:   serial@e0000000
Err:   serial@e0000000
Net:   ZYNQ GEM: e000b000, phyaddr 7, interface rgmii-id
eth0: ethernet@e000b000
Hit any key to stop autoboot:  0
Device: mmc@e0100000
Manufacturer ID: 6f
OEM: 303
Name: SDABC
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29.5 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
** Unable to read file uEnv.txt **
Copying Linux from SD to RAM...
reading system.bit
4045674 bytes read in 236 ms (16.3 MiB/s)
  design filename = "system_wrapper;UserID=0XFFFFFFFF;Version=2020.2"
  part number = "7z020clg400"
  date = "2023/03/22"
  time = "14:30:19"
  bytes in bitstream = 4045564
zynq_align_dma_buffer: Align buffer at 10006e to fff80(swap 1)
reading zImage
4353304 bytes read in 252 ms (16.5 MiB/s)
reading system.dtb
21339 bytes read in 16 ms (1.3 MiB/s)
## Flattened Device Tree blob at 02000000
   Booting using the fdt blob at 0x2000000
   Loading Device Tree to 1fff7000, end 1ffff35a ... OK
axi_gpio <addr:0x41200000>
Alientek LCD ID: 7

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.0-xilinx (dxf@dxf-virtual-machine) (gcc version 7.5.0 (Linaro GCC 7.5-2019.12)) #1 SMP PREEMPT Sun Nov 19 18:57:42 CST 2023
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Alientek Navigator Zynq Development Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 256 MiB at 0x30000000
[    0.000000] random: fast init done
[    0.000000] percpu: Embedded 16 pages/cpu @ef7c7000 s34764 r8192 d22580 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000] Kernel command line: console=ttyPS0,115200 earlyprintk root=/dev/mmcblk0p2 rw rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 767060K/1048576K available (6144K kernel code, 252K rwdata, 1700K rodata, 1024K init, 165K bss, 19372K reserved, 262144K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a3f280   ( 253 kB)
[    0.000000]        .bss : 0xc0a3f280 - 0xc0a689ec   ( 166 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] efuse mapped to f0800000
[    0.000000] slcr mapped to f0802000
[    0.000000] L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
[    0.000000] L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 1 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 8 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
[    0.000000] zynq_clock_init: clkc starts at f0802100
[    0.000000] Zynq clock init
[    0.000009] sched_clock: 64 bits at 383MHz, resolution 2ns, wraps every 4398046511103ns
[    0.000029] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x58688d738d, max_idle_ns: 440795214563 ns
[    0.000055] Switching to timer-based delay loop, resolution 2ns
[    0.000144] clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 467424388 ns
[    0.000174] timer #0 at f080a000, irq=17
[    0.000685] Console: colour dummy device 80x30
[    0.000709] Calibrating delay loop (skipped), value calculated using timer frequency.. 766.66 BogoMIPS (lpj=3833333)
[    0.000724] pid_max: default: 32768 minimum: 301
[    0.000849] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000864] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001354] CPU: Testing write buffer coherency: ok
[    0.001532] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.040310] Setting up static identity map for 0x100000 - 0x100060
[    0.060273] Hierarchical SRCU implementation.
[    0.100272] smp: Bringing up secondary CPUs ...
[    0.170586] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.170688] smp: Brought up 1 node, 2 CPUs
[    0.170703] SMP: Total of 2 processors activated (1533.33 BogoMIPS).
[    0.170711] CPU: All CPU(s) started in SVC mode.
[    0.171570] devtmpfs: initialized
[    0.175674] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.175963] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.175983] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.187494] pinctrl core: initialized pinctrl subsystem
[    0.188534] NET: Registered protocol family 16
[    0.190163] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.200639] cpuidle: using governor menu
[    0.209462] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.209475] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.209594] zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xf0880000
[    0.209955] zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
[    0.210520] e0000000.serial: ttyPS0 at MMIO 0xe0000000 (irq = 28, base_baud = 6249999) is a xuartps
[    0.676882] console [ttyPS0] enabled
[    0.680921] e0001000.serial: ttyPS1 at MMIO 0xe0001000 (irq = 29, base_baud = 6249999) is a xuartps
[    0.711308] XGpio: /amba_pl/gpio@41200000: registered, base is 1021
[    0.719081] vgaarb: loaded
[    0.723071] SCSI subsystem initialized
[    0.727197] usbcore: registered new interface driver usbfs
[    0.733074] usbcore: registered new interface driver hub
[    0.738461] usbcore: registered new device driver usb
[    0.743798] media: Linux media interface: v0.10
[    0.748364] Linux video capture interface: v2.00
[    0.753277] pps_core: LinuxPPS API ver. 1 registered
[    0.758230] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.767402] PTP clock support registered
[    0.771379] EDAC MC: Ver: 3.0.0
[    0.775160] FPGA manager framework
[    0.778774] fpga-region fpga-full: FPGA Region probed
[    0.784061] Advanced Linux Sound Architecture Driver Initialized.
[    0.791353] clocksource: Switched to clocksource arm_global_timer
[    0.805865] NET: Registered protocol family 2
[    0.810796] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.817946] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.824528] TCP: Hash tables configured (established 8192 bind 8192)
[    0.830954] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.837393] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.843934] NET: Registered protocol family 1
[    0.848614] RPC: Registered named UNIX socket transport module.
[    0.854558] RPC: Registered udp transport module.
[    0.859247] RPC: Registered tcp transport module.
[    0.863963] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.870863] hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing.
[    0.878988] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.888566] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.895638] jffs2: version 2.2. (NAND) (SUMMARY)  ? 2001-2006 Red Hat, Inc.
[    0.905734] bounce: pool size: 64 pages
[    0.909577] io scheduler noop registered
[    0.913527] io scheduler deadline registered
[    0.917837] io scheduler cfq registered (default)
[    0.922560] io scheduler mq-deadline registered
[    0.927082] io scheduler kyber registered
[    0.931541] pwm_clk=99999999  period_min_ns=10
[    0.937149] Division by zero in kernel.
[    0.940984] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.14.0-xilinx #1
[    0.947496] Hardware name: Xilinx Zynq Platform
[    0.952044] [<c010e764>] (unwind_backtrace) from [<c010a98c>] (show_stack+0x10/0x14)
[    0.959793] [<c010a98c>] (show_stack) from [<c06c6ae8>] (dump_stack+0x80/0xa0)
[    0.967010] [<c06c6ae8>] (dump_stack) from [<c06c5514>] (Ldiv0+0x8/0x10)
[    0.973711] [<c06c5514>] (Ldiv0) from [<c034ed14>] (clk_factor_recalc_rate+0x2c/0x44)
[    0.981547] [<c034ed14>] (clk_factor_recalc_rate) from [<c034da10>] (clk_register+0x2c8/0x498)
[    0.990152] [<c034da10>] (clk_register) from [<c034dbe8>] (clk_hw_register+0x8/0x14)
[    0.997893] [<c034dbe8>] (clk_hw_register) from [<c034eda8>] (clk_hw_register_fixed_factor+0x7c/0xa8)
[    1.007109] [<c034eda8>] (clk_hw_register_fixed_factor) from [<c034edec>] (clk_register_fixed_factor+0x18/0x28)
[    1.017192] [<c034edec>] (clk_register_fixed_factor) from [<c0352cb8>] (clk_wzrd_probe+0x264/0x534)
[    1.026239] [<c0352cb8>] (clk_wzrd_probe) from [<c03c51f4>] (platform_drv_probe+0x50/0x9c)
[    1.034499] [<c03c51f4>] (platform_drv_probe) from [<c03c3d3c>] (driver_probe_device+0x1ec/0x2b0)
[    1.043367] [<c03c3d3c>] (driver_probe_device) from [<c03c3e7c>] (__driver_attach+0x7c/0xa8)
[    1.051804] [<c03c3e7c>] (__driver_attach) from [<c03c258c>] (bus_for_each_dev+0x7c/0x8c)
[    1.059971] [<c03c258c>] (bus_for_each_dev) from [<c03c33b4>] (bus_add_driver+0x16c/0x1d4)
[    1.068226] [<c03c33b4>] (bus_add_driver) from [<c03c4600>] (driver_register+0xa0/0xe0)
[    1.076221] [<c03c4600>] (driver_register) from [<c01019ac>] (do_one_initcall+0xf8/0x118)
[    1.084404] [<c01019ac>] (do_one_initcall) from [<c0900da4>] (kernel_init_freeable+0x188/0x1c8)
[    1.093101] [<c0900da4>] (kernel_init_freeable) from [<c06d6aec>] (kernel_init+0x8/0x108)
[    1.101274] [<c06d6aec>] (kernel_init) from [<c0106fb0>] (ret_from_fork+0x14/0x24)
[    1.110406] dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
[    1.117137] dma-pl330 f8003000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
[    2.125930] xilinx-vdma 43010000.dma: reset timeout, cr dec0de1c, sr dec0de1c
[    2.133070] xilinx-vdma 43010000.dma: Reset channel failed
[    2.138647] xilinx-vdma 43010000.dma: Xilinx AXI VDMA Engine Driver Probed!!
[    3.146024] xilinx-vdma 43000000.dma: reset timeout, cr dec0de1c, sr dec0de1c
[    3.153169] xilinx-vdma 43000000.dma: Reset channel failed
[    4.158707] xilinx-vdma 43000000.dma: reset timeout, cr dec0de1c, sr dec0de1c
[    4.165849] xilinx-vdma 43000000.dma: Reset channel failed
[    4.171510] xilinx-vdma 43000000.dma: Xilinx AXI VDMA Engine Driver Probed!!
[    4.179718] xilinx-vdmafb amba_pl:xlnx_vdmafb_lcd: Alientek LCD ID: 7
[    4.190467] Division by zero in kernel.
[    4.194352] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.14.0-xilinx #1
[    4.200873] Hardware name: Xilinx Zynq Platform
[    4.205426] [<c010e764>] (unwind_backtrace) from [<c010a98c>] (show_stack+0x10/0x14)
[    4.213169] [<c010a98c>] (show_stack) from [<c06c6ae8>] (dump_stack+0x80/0xa0)
[    4.220386] [<c06c6ae8>] (dump_stack) from [<c06c5514>] (Ldiv0+0x8/0x10)
[    4.227092] [<c06c5514>] (Ldiv0) from [<c035276c>] (clk_wzrd_round_rate+0x1c/0x20)
[    4.234663] [<c035276c>] (clk_wzrd_round_rate) from [<c034c684>] (clk_calc_new_rates+0x140/0x1e4)
[    4.243530] [<c034c684>] (clk_calc_new_rates) from [<c034d494>] (clk_core_set_rate_nolock+0x44/0x94)
[    4.252659] [<c034d494>] (clk_core_set_rate_nolock) from [<c034d504>] (clk_set_rate+0x20/0x30)
[    4.261271] [<c034d504>] (clk_set_rate) from [<c03b9e88>] (vdmafb_probe+0x130/0x3f4)
[    4.269016] [<c03b9e88>] (vdmafb_probe) from [<c03c51f4>] (platform_drv_probe+0x50/0x9c)
[    4.277103] [<c03c51f4>] (platform_drv_probe) from [<c03c3d3c>] (driver_probe_device+0x1ec/0x2b0)
[    4.285972] [<c03c3d3c>] (driver_probe_device) from [<c03c3e7c>] (__driver_attach+0x7c/0xa8)
[    4.294408] [<c03c3e7c>] (__driver_attach) from [<c03c258c>] (bus_for_each_dev+0x7c/0x8c)
[    4.302575] [<c03c258c>] (bus_for_each_dev) from [<c03c33b4>] (bus_add_driver+0x16c/0x1d4)
[    4.310831] [<c03c33b4>] (bus_add_driver) from [<c03c4600>] (driver_register+0xa0/0xe0)
[    4.318825] [<c03c4600>] (driver_register) from [<c01019ac>] (do_one_initcall+0xf8/0x118)
[    4.326999] [<c01019ac>] (do_one_initcall) from [<c0900da4>] (kernel_init_freeable+0x188/0x1c8)
[    4.335696] [<c0900da4>] (kernel_init_freeable) from [<c06d6aec>] (kernel_init+0x8/0x108)
[    4.343869] [<c06d6aec>] (kernel_init) from [<c0106fb0>] (ret_from_fork+0x14/0x24)
[    4.351459] Division by zero in kernel.
[    4.355286] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.14.0-xilinx #1
[    4.361799] Hardware name: Xilinx Zynq Platform
[    4.366328] [<c010e764>] (unwind_backtrace) from [<c010a98c>] (show_stack+0x10/0x14)
[    4.374066] [<c010a98c>] (show_stack) from [<c06c6ae8>] (dump_stack+0x80/0xa0)
[    4.381285] [<c06c6ae8>] (dump_stack) from [<c06c5514>] (Ldiv0+0x8/0x10)
[    4.387980] [<c06c5514>] (Ldiv0) from [<c03527c0>] (clk_wzrd_dynamic_reconfig+0x50/0x12c)
[    4.396158] [<c03527c0>] (clk_wzrd_dynamic_reconfig) from [<c034d348>] (clk_change_rate+0xf4/0x1fc)
[    4.405202] [<c034d348>] (clk_change_rate) from [<c034d4c8>] (clk_core_set_rate_nolock+0x78/0x94)
[    4.414072] [<c034d4c8>] (clk_core_set_rate_nolock) from [<c034d504>] (clk_set_rate+0x20/0x30)
[    4.422682] [<c034d504>] (clk_set_rate) from [<c03b9e88>] (vdmafb_probe+0x130/0x3f4)
[    4.430425] [<c03b9e88>] (vdmafb_probe) from [<c03c51f4>] (platform_drv_probe+0x50/0x9c)
[    4.438515] [<c03c51f4>] (platform_drv_probe) from [<c03c3d3c>] (driver_probe_device+0x1ec/0x2b0)
[    4.447384] [<c03c3d3c>] (driver_probe_device) from [<c03c3e7c>] (__driver_attach+0x7c/0xa8)
[    4.455812] [<c03c3e7c>] (__driver_attach) from [<c03c258c>] (bus_for_each_dev+0x7c/0x8c)
[    4.463980] [<c03c258c>] (bus_for_each_dev) from [<c03c33b4>] (bus_add_driver+0x16c/0x1d4)
[    4.472235] [<c03c33b4>] (bus_add_driver) from [<c03c4600>] (driver_register+0xa0/0xe0)
[    4.480229] [<c03c4600>] (driver_register) from [<c01019ac>] (do_one_initcall+0xf8/0x118)
[    4.488399] [<c01019ac>] (do_one_initcall) from [<c0900da4>] (kernel_init_freeable+0x188/0x1c8)
[    4.497097] [<c0900da4>] (kernel_init_freeable) from [<c06d6aec>] (kernel_init+0x8/0x108)
[    4.505272] [<c06d6aec>] (kernel_init) from [<c0106fb0>] (ret_from_fork+0x14/0x24)
[    5.551527] xilinx-vdma 43000000.dma: Cannot stop channel ef191210: dec0de1c
[    6.558572] xilinx-vdma 43000000.dma: reset timeout, cr dec0de1c, sr dec0de1c
[    7.565725] xilinx-vdma 43000000.dma: reset timeout, cr dec0de1c, sr dec0de1c
[    7.582295] Console: switching to colour frame buffer device 100x30
[    7.597564] period=500000  period=500000
[    7.601620] xilinx-vdmafb amba_pl:xlnx_vdmafb_hdmi: Alientek LCD ID: 1
回复 支持 反对

使用道具 举报

1

主题

4

帖子

0

精华

新手上路

积分
28
金钱
28
注册时间
2023-7-21
在线时间
5 小时
 楼主| 发表于 2023-11-20 21:41:34 | 显示全部楼层
dxf@dxf-virtual-machine:~/linux/ZYNQ/ALIENTEK-ZYNQ-05$ petalinux-build -c device-tree
[INFO] Sourcing buildtools
[INFO] Building device-tree
[INFO] Sourcing build environment
[INFO] Generating workspace directory
INFO: bitbake virtual/dtb
NOTE: Started PRServer with DBfile: /home/dxf/linux/ZYNQ/ALIENTEK-ZYNQ-05/build/cache/prserv.sqlite3, Address: 127.0.0.1:38463, PID: 414695
Loading cache: 100% |############################################| Time: 0:00:01
Loaded 6495 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:01
Parsing of 4461 .bb files complete (4459 cached, 2 parsed). 6497 targets, 627 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |#######################################| Time: 0:00:07
Checking sstate mirror object availability: 100% |###############| Time: 0:00:21
Sstate summary: Wanted 485 Local 11 Network 306 Missed 168 Current 1020 (65% match, 88% complete)
Removing 2 stale sstate objects for arch zynq_generic: 100% |####| Time: 0:00:00
NOTE: Executing Tasks
ERROR: device-tree-xilinx-v2022.2+gitAUTOINC+24d29888d0-r0 do_compile: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
*** 0002:devicetree_do_compile(d)
     0003:
File: '/home/dxf/linux/ZYNQ/ALIENTEK-ZYNQ-05/components/yocto/layers/core/meta/classes/devicetree.bbclass', lineno: 131, function: devicetree_do_compile
     0127:            if not(os.path.isfile(dtspath)) or not(dts.endswith(".dts") or devicetree_source_is_overlay(dtspath)):
     0128:                continue # skip non-.dts files and non-overlay files
     0129:        except:
     0130:            continue # skip if can't determine if overlay
*** 0131:        devicetree_compile(dtspath, includes, d)
     0132:}
     0133:
     0134:devicetree_do_install() {
     0135:    for DTB_FILE in `ls *.dtb *.dtbo`; do
File: '/home/dxf/linux/ZYNQ/ALIENTEK-ZYNQ-05/components/yocto/layers/core/meta/classes/devicetree.bbclass', lineno: 103, function: devicetree_compile
     0099:    for i in includes:
     0100:        ppargs.append("-I{0}".format(i))
     0101:    ppargs += ["-o", "{0}.pp".format(dts), dtspath]
     0102:    bb.note("Running {0}".format(" ".join(ppargs)))
*** 0103:    subprocess.run(ppargs, check = True)
     0104:
     0105:    # determine if the file is an overlay or not (using the preprocessed file)
     0106:    isoverlay = devicetree_source_is_overlay("{0}.pp".format(dts))
     0107:
File: '/opt/pkg/petalinux/2022.2/components/yocto/buildtools/sysroots/x86_64-petalinux-linux/usr/lib/python3.9/subprocess.py', lineno: 528, function: run
     0524:            # We don't call process.wait() as .__exit__ does that for us.
     0525:            raise
     0526:        retcode = process.poll()
     0527:        if check and retcode:
*** 0528:            raise CalledProcessError(retcode, process.args,
     0529:                                     output=stdout, stderr=stderr)
     0530:    return CompletedProcess(process.args, retcode, stdout, stderr)
     0531:
     0532:
Exception: subprocess.CalledProcessError: Command '['gcc', '-E', '-nostdinc', '-undef', '-D__DTS__', '-x', 'assembler-with-cpp', '-I/home/dxf/linux/ZYNQ/ALIENTEK-ZYNQ-05/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2022.2+gitAUTOINC+24d29888d0-r0/git/device_tree/data/kernel_dtsi/2022.2/BOARD/', '-I/home/dxf/linux/ZYNQ/ALIENTEK-ZYNQ-05/build/tmp/work-shared/zynq-generic/kernel-source/scripts/dtc/include-prefixes', '-I/home/dxf/linux/ZYNQ/ALIENTEK-ZYNQ-05/project-spec/configs/../../components/plnx_workspace/device-tree/device-tree', '-I/home/dxf/linux/ZYNQ/ALIENTEK-ZYNQ-05/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2022.2+gitAUTOINC+24d29888d0-r0', '-I/home/dxf/linux/ZYNQ/ALIENTEK-ZYNQ-05/build/tmp/work-shared/zynq-generic/kernel-source/arch/arm/boot/dts', '-o', 'system-top.dts.pp', '/home/dxf/linux/ZYNQ/ALIENTEK-ZYNQ-05/project-spec/configs/../../components/plnx_workspace/device-tree/device-tree/system-top.dts']' returned non-zero exit status 1.

ERROR: Logfile of failure stored in: /home/dxf/linux/ZYNQ/ALIENTEK-ZYNQ-05/build/tmp/work/zynq_generic-xilinx-linux-gnueabi/device-tree/xilinx-v2022.2+gitAUTOINC+24d29888d0-r0/temp/log.do_compile.423848
ERROR: Task (/home/dxf/linux/ZYNQ/ALIENTEK-ZYNQ-05/components/yocto/layers/meta-xilinx/meta-xilinx-core/recipes-bsp/device-tree/device-tree.bb:do_compile) failed with exit code '1'
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-11-22 17:33

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表