中级会员
- 积分
- 282
- 金钱
- 282
- 注册时间
- 2012-9-13
- 在线时间
- 32 小时
|
1金钱
各位大佬好,
这边是在linux 上开发, 在验证正点原子的 xsa文件通过petalinux工具生成linux 设备树都没问题。 kernel 可以运行起来。
但是自己 在vivado上做了一个 比较小的系统, vitis 上严重没有问题,可以运行。
但是petalinux工具生成linux 设备树后编译打包的 image.ub 无法正常启动。
请问 如果需要linux 能正常运行, vivado 工程上 最少要包含那些东西。
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.1.70 (guoz@guoz) (aarch64-xilinx-linux-gcc (GCC) 12.2.0, GNU ld (GNU Binutils) 2.39.0.20220819) #8 SMP Wed May 8 18:34:59 CST 2024
[ 0.000000] Machine model: Alientek Zynq MPSoC-P5 Development Board
[ 0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[ 0.000000] printk: bootconsole [cdns0] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[ 0.000000] Reserved memory: created DMA memory pool at 0x0000000500000000, size 512 MiB
[ 0.000000] OF: reserved mem: initialized node reserved, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA32 [mem 0x0000000000000000-0x00000000ffffffff]
[ 0.000000] Normal [mem 0x0000000100000000-0x000000087fffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000007fefffff]
[ 0.000000] node 0: [mem 0x0000000800000000-0x000000087fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000087fffffff]
[ 0.000000] On node 0, zone Normal: 256 pages in unavailable ranges
[ 0.000000] cma: Reserved 256 MiB at 0x000000006ba00000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.2
[ 0.000000] percpu: Embedded 18 pages/cpu s33640 r8192 d31896 u73728
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1033987
[ 0.000000] Kernel command line: earlycon console=ttyPS0,115200 clk_ignore_unused root=/dev/mmcblk1p2 rw rootwait
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:all(zero), heap allocff, heap freeff
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: mapped [mem 0x000000007bf00000-0x000000007ff00000] (64MB)
[ 0.000000] Memory: 3771708K/4193280K available (13376K kernel code, 902K rwdata, 4044K rodata, 2112K init, 347K bss, 159428K reserved, 262144K cma-reserved)
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: cp15 timer(s) running at 99.99MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0x1ffffffffffffff max_cycles: 0x171015c90f, max_idle_ns: 440795203080 ns
[ 0.000000] sched_clock: 57 bits at 100MHz, resolution 10ns, wraps every 4398046511101ns
[ 0.008377] Console: colour dummy device 80x25
[ 0.012555] Calibrating delay loop (skipped), value calculated using timer frequency.. 199.99 BogoMIPS (lpj=399996)
[ 0.022971] pid_max: default: 32768 minimum: 301
[ 0.027700] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.034987] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.043692] rcu: Hierarchical SRCU implementation.
[ 0.047596] rcu: Max phase no-delay instances is 1000.
[ 0.053056] EFI services will not be available.
[ 0.057488] smp: Bringing up secondary CPUs ...
[ 0.062248] Detected VIPT I-cache on CPU1
[ 0.062318] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.062732] Detected VIPT I-cache on CPU2
[ 0.062789] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.063175] Detected VIPT I-cache on CPU3
[ 0.063234] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.063280] smp: Brought up 1 node, 4 CPUs
[ 0.097530] SMP: Total of 4 processors activated.
[ 0.102229] CPU features: detected: 32-bit EL0 Support
[ 0.107362] CPU features: detected: CRC32 instructions
[ 0.112547] CPU: All CPU(s) started at EL2
[ 0.116586] alternatives: applying system-wide alternatives
[ 0.123216] devtmpfs: initialized
[ 0.129911] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.135217] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.147687] pinctrl core: initialized pinctrl subsystem
[ 0.148534] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.153960] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[ 0.160354] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.168212] audit: initializing netlink subsys (disabled)
[ 0.173651] audit: type=2000 audit(0.108:1): state=initialized audit_enabled=0 res=1
[ 0.173984] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.188151] ASID allocator initialised with 65536 entries
[ 0.206755] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.207904] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page
[ 0.214182] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.220963] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page
[ 0.227224] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.234007] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page
[ 0.240273] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.247058] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[ 0.321393] raid6: neonx8 gen() 2246 MB/s
[ 0.389448] raid6: neonx4 gen() 2206 MB/s
[ 0.457513] raid6: neonx2 gen() 2121 MB/s
[ 0.525573] raid6: neonx1 gen() 1807 MB/s
[ 0.593629] raid6: int64x8 gen() 1415 MB/s
[ 0.661679] raid6: int64x4 gen() 1560 MB/s
[ 0.729742] raid6: int64x2 gen() 1396 MB/s
[ 0.797820] raid6: int64x1 gen() 1032 MB/s
[ 0.797859] raid6: using algorithm neonx8 gen() 2246 MB/s
[ 0.869887] raid6: .... xor() 1654 MB/s, rmw enabled
[ 0.869932] raid6: using neon recovery algorithm
[ 0.874207] iommu: Default domain type: Translated
[ 0.878696] iommu: DMA domain TLB invalidation policy: strict mode
[ 0.885157] SCSI subsystem initialized
[ 0.888840] usbcore: registered new interface driver usbfs
[ 0.894206] usbcore: registered new interface driver hub
[ 0.899506] usbcore: registered new device driver usb
[ 0.904597] mc: Linux media interface: v0.10
[ 0.908822] videodev: Linux video capture interface: v2.00
[ 0.914301] pps_core: LinuxPPS API ver. 1 registered
[ 0.919236] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.928378] PTP clock support registered
[ 0.932308] EDAC MC: Ver: 3.0.0
[ 0.935679] zynqmp-ipi-mbox mailbox@ff9905c0: Registered ZynqMP IPI mbox with TX/RX channels.
[ 0.944189] FPGA manager framework
[ 0.947445] Advanced Linux Sound Architecture Driver Initialized.
[ 0.953728] Bluetooth: Core ver 2.22
[ 0.957005] NET: Registered PF_BLUETOOTH protocol family
[ 0.962308] Bluetooth: HCI device and connection manager initialized
[ 0.968657] Bluetooth: HCI socket layer initialized
[ 0.973527] Bluetooth: L2CAP socket layer initialized
[ 0.978577] Bluetooth: SCO socket layer initialized
[ 0.983792] clocksource: Switched to clocksource arch_sys_counter
[ 0.989683] VFS: Disk quotas dquot_6.6.0
[ 0.993480] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 1.005151] NET: Registered PF_INET protocol family
[ 1.005338] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 1.015308] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 1.021144] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 1.028865] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 1.036979] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[ 1.044934] TCP: Hash tables configured (established 32768 bind 32768)
[ 1.050761] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 1.057466] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 1.064666] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 1.070472] RPC: Registered named UNIX socket transport module.
[ 1.076104] RPC: Registered udp transport module.
[ 1.080798] RPC: Registered tcp transport module.
[ 1.085496] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.091938] PCI: CLS 0 bytes, default 64
[ 1.096511] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 1.104416] Initialise system trusted keyrings
[ 1.108126] workingset: timestamp_bits=62 max_order=20 bucket_order=0
[ 1.115051] NFS: Registering the id_resolver key type
[ 1.119548] Key type id_resolver registered
[ 1.123694] Key type id_legacy registered
[ 1.127708] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.134393] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 1.141800] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 1.184209] NET: Registered PF_ALG protocol family
[ 1.184262] xor: measuring software checksum speed
[ 1.192047] 8regs : 2521 MB/sec
[ 1.196387] 32regs : 2522 MB/sec
[ 1.201012] arm64_neon : 2356 MB/sec
[ 1.201184] xor: using function: 32regs (2522 MB/sec)
[ 1.206240] Key type asymmetric registered
[ 1.210326] Asymmetric key parser 'x509' registered
[ 1.215224] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 1.222598] io scheduler mq-deadline registered
[ 1.227122] io scheduler kyber registered
[ 1.262864] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 1.269700] brd: module loaded
[ 1.272831] loop: module loaded
[ 1.275941] tun: Universal TUN/TAP device driver, 1.6
[ 1.276075] CAN device driver interface
[ 1.279754] usbcore: registered new interface driver asix
[ 1.284632] usbcore: registered new interface driver ax88179_178a
[ 1.290708] usbcore: registered new interface driver cdc_ether
[ 1.296541] usbcore: registered new interface driver net1080
[ 1.302189] usbcore: registered new interface driver cdc_subset
[ 1.308104] usbcore: registered new interface driver zaurus
[ 1.313687] usbcore: registered new interface driver cdc_ncm
[ 1.319331] usbcore: registered new interface driver r8153_ecm
[ 1.325770] usbcore: registered new interface driver uas
[ 1.330479] usbcore: registered new interface driver usb-storage
[ 1.337156] rtc_zynqmp ffa60000.rtc: registered as rtc0
[ 1.341687] rtc_zynqmp ffa60000.rtc: setting system clock to 2023-12-31T06:09:54 UTC (1704002994)
[ 1.350590] i2c_dev: i2c /dev entries driver
[ 1.356126] usbcore: registered new interface driver uvcvideo
[ 1.360934] Bluetooth: HCI UART driver ver 2.3
[ 1.364990] Bluetooth: HCI UART protocol H4 registered
[ 1.370119] Bluetooth: HCI UART protocol BCSP registered
[ 1.375442] Bluetooth: HCI UART protocol LL registered
[ 1.380559] Bluetooth: HCI UART protocol ATH3K registered
[ 1.385965] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 1.392246] Bluetooth: HCI UART protocol Intel registered
[ 1.397624] Bluetooth: HCI UART protocol QCA registered
[ 1.402854] usbcore: registered new interface driver bcm203x
[ 1.408522] usbcore: registered new interface driver bpa10x
[ 1.414077] usbcore: registered new interface driver bfusb
[ 1.419558] usbcore: registered new interface driver btusb
[ 1.425058] usbcore: registered new interface driver ath3k
[ 1.430587] EDAC MC: ECC not enabled
[ 1.434180] EDAC DEVICE0: Giving out device to module edac controller cache_err: DEV edac (POLLED)
[ 1.443029] cortex_edac edac: cortex l1/l2 driver is deprecated
[ 1.449088] EDAC DEVICE1: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[ 1.461436] sdhci: Secure Digital Host Controller Interface driver
[ 1.467304] sdhci: Copyright(c) Pierre Ossman
[ 1.471652] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.477547] ########## gpio_leds_create err1.
[ 1.481828] ########## gpio_led_probe2 err priv.
[ 1.486711] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.492669] SMCCC: SOC_ID: ID = jep106:0049:0000 Revision = 0x14710093
[ 1.499210] zynqmp_firmware_probe Platform Management API v1.1
[ 1.505016] zynqmp_firmware_probe Trustzone version v1.0
[ 1.537017] securefw securefw: securefw probed
[ 1.537361] zynqmp-aes zynqmp-aes.0: will run requests pump with realtime priority
[ 1.543912] usbcore: registered new interface driver usbhid
[ 1.549059] usbhid: USB HID core driver
[ 1.555242] ARM CCI_400_r1 PMU driver probed
[ 1.555802] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[ 1.563909] usbcore: registered new interface driver snd-usb-audio
[ 1.570433] pktgen: Packet Generator for packet performance testing. Version: 2.75
[ 1.577780] Initializing XFRM netlink socket
[ 1.581645] NET: Registered PF_INET6 protocol family
[ 1.587048] Segment Routing with IPv6
[ 1.590231] In-situ OAM (IOAM) with IPv6
[ 1.594163] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.600357] NET: Registered PF_PACKET protocol family
[ 1.605082] NET: Registered PF_KEY protocol family
[ 1.609877] can: controller area network core
[ 1.614239] NET: Registered PF_CAN protocol family
[ 1.618998] can: raw protocol
[ 1.621955] can: broadcast manager protocol
[ 1.626133] can: netlink gateway - max_hops=1
[ 1.630557] Bluetooth: RFCOMM TTY layer initialized
[ 1.635357] Bluetooth: RFCOMM socket layer initialized
[ 1.640491] Bluetooth: RFCOMM ver 1.11
[ 1.644228] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 1.649530] Bluetooth: BNEP filters: protocol multicast
[ 1.654753] Bluetooth: BNEP socket layer initialized
[ 1.659710] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 1.665629] Bluetooth: HIDP socket layer initialized
[ 1.670611] 8021q: 802.1Q VLAN Support v1.8
[ 1.674848] 9pnet: Installing 9P2000 support
[ 1.679058] Key type dns_resolver registered
[ 1.683453] registered taskstats version 1
[ 1.687380] Loading compiled-in X.509 certificates
[ 1.694089] Btrfs loaded, crc32c=crc32c-generic, zoned=no, fsverity=no
[ 1.698812] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[ 2.114524] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 24, base_baud = 6249999) is a xuartps
[ 2.123612] printk: console [ttyPS0] enabled
[ 2.123612] printk: console [ttyPS0] enabled
[ 2.127917] printk: bootconsole [cdns0] disabled
[ 2.127917] printk: bootconsole [cdns0] disabled
[ 23.143782] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 23.149693] rcu: 1-...0: (0 ticks this GP) idle=2524/1/0x4000000000000000 softirq=49/49 fqs=2626
[ 23.158554] (detected by 0, t=5255 jiffies, g=-1103, q=9 ncpus=4)
[ 23.164725] Task dump for CPU 1:
[ 23.167937] task:kworker/u8:0 state:R running task stack:0 pid:7 ppid:2 flags:0x0000000a
[ 23.177842] Workqueue: events_unbound deferred_probe_work_func
[ 23.183674] Call trace:
[ 23.186104] __switch_to+0xe4/0x160
[ 23.189585] 0xffffff8800096e40
[ 86.211782] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 86.217693] rcu: 1-...0: (0 ticks this GP) idle=2524/1/0x4000000000000000 softirq=49/49 fqs=10507
[ 86.226642] (detected by 0, t=21022 jiffies, g=-1103, q=9 ncpus=4)
[ 86.232900] Task dump for CPU 1:
[ 86.236111] task:kworker/u8:0 state:R running task stack:0 pid:7 ppid:2 flags:0x0000000a
[ 86.246016] Workqueue: events_unbound deferred_probe_work_func
[ 86.251839] Call trace:
[ 86.254270] __switch_to+0xe4/0x160
[ 86.257751] 0xffffff8800096e40
[ 149.279783] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 149.285694] rcu: 1-...0: (0 ticks this GP) idle=2524/1/0x4000000000000000 softirq=49/49 fqs=18388
[ 149.294643] (detected by 0, t=36789 jiffies, g=-1103, q=9 ncpus=4)
[ 149.300901] Task dump for CPU 1:
[ 149.304112] task:kworker/u8:0 state:R running task stack:0 pid:7 ppid:2 flags:0x0000000a
[ 149.314017] Workqueue: events_unbound deferred_probe_work_func
[ 149.319841] Call trace:
[ 149.322271] __switch_to+0xe4/0x160
[ 149.325752] 0xffffff8800096e40
[ 212.347784] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 212.353695] rcu: 1-...0: (0 ticks this GP) idle=2524/1/0x4000000000000000 softirq=49/49 fqs=26268
[ 212.362644] (detected by 0, t=52556 jiffies, g=-1103, q=9 ncpus=4)
[ 212.368902] Task dump for CPU 1:
[ 212.372114] task:kworker/u8:0 state:R running task stack:0 pid:7 ppid:2 flags:0x0000000a
[ 212.382018] Workqueue: events_unbound deferred_probe_work_func
[ 212.387842] Call trace:
[ 212.390272] __switch_to+0xe4/0x160
[ 212.393753] 0xffffff8800096e40
[ 275.415784] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 275.421688] rcu: 1-...0: (0 ticks this GP) idle=2524/1/0x4000000000000000 softirq=49/49 fqs=34149
[ 275.430637] (detected by 0, t=68323 jiffies, g=-1103, q=9 ncpus=4)
[ 275.436895] Task dump for CPU 1:
[ 275.440106] task:kworker/u8:0 state:R running task stack:0 pid:7 ppid:2 flags:0x0000000a
[ 275.450011] Workqueue: events_unbound deferred_probe_work_func
[ 275.455835] Call trace:
[ 275.458265] __switch_to+0xe4/0x160
[ 275.461746] 0xffffff8800096e40
[ 338.483785] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 338.489689] rcu: 1-...0: (0 ticks this GP) idle=2524/1/0x4000000000000000 softirq=49/49 fqs=42029
[ 338.498638] (detected by 0, t=84090 jiffies, g=-1103, q=11 ncpus=4)
[ 338.504983] Task dump for CPU 1:
[ 338.508194] task:kworker/u8:0 state:R running task stack:0 pid:7 ppid:2 flags:0x0000000a
[ 338.518099] Workqueue: events_unbound deferred_probe_work_func
[ 338.523922] Call trace:
[ 338.526353] __switch_to+0xe4/0x160
[ 338.529834] 0xffffff8800096e40
[ 401.551786] rcu: INFO: rcu_sched detected stalls on CPUs/tasks:
[ 401.557690] rcu: 1-...0: (0 ticks this GP) idle=2524/1/0x4000000000000000 softirq=49/49 fqs=49910
[ 401.566639] (detected by 0, t=99857 jiffies, g=-1103, q=11 ncpus=4)
[ 401.572984] Task dump for CPU 1:
[ 401.576195] task:kworker/u8:0 state:R running task stack:0 pid:7 ppid:2 flags:0x0000000a
[ 401.586100] Workqueue: events_unbound deferred_probe_work_func
[ 401.591924] Call trace:
[ 401.594354] __switch_to+0xe4/0x160
[ 401.597835] 0xffffff8800096e40
|
|