cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
WLOron
Observer
Observer
1,127 Views
Registered: ‎09-10-2020

Run Qt Application in Embedded linux

Jump to solution

Hello,

I’m using a Zynq UltraSCALE+ ZCU106 to develop an application in Petalinux with Qt. In my desktop, I have installed Petalinux 2020.1 and Qt Creator 5.13.2 in a VM.


During the project’s configuration, I ran the following commands:

$ petalinux-create –t project –n PetaQT_v2 –s /home/wlorion/Download/xilinx-zcu106-2020.1-final.bsp
$ cd PetaQT_v2
$ petalinux-configure -c rootfs
    Petalinux Package Groups ---> packagegroup-petalinux-qt:
        [*] packagegroup-petalinux-qt
        [*] populate_sdk_qt5
$ petalinux-build
$ cd images/linux/
$ petalinux-package –boot –fsbl –u-boot –pmufw –fpga system.bit
$ cd ../..
$ petalinux-build –sdk
$ petalinux-package –sysroot

 

After that, I configured Qt Creator:

- Using Qt Version in: /home/wlorion/Documents/PetaLinux/PetaQT_v2/images/linux/sdk/sysroots/x86_64-petalinux-linux/usr/bin/qmake

 

- Kits:

kit.png

- Compiler C:

compilec.png

- Compiler c++:

compilec++.png

- Run Settings

enviroment.png

- Changes in .pro of qt project:

pro.png

 

These configurations were adopted after reading these other links with adaptations for my board:

https://www.hackster.io/mindaugas2/creating-gui-app-for-the-ultra96-with-qt-28d308#comments

https://forums.xilinx.com/t5/Embedded-Linux/2019-2-xilinx-tools-qt-5-11-3-qt-creator-KITS/td-p/1097904

 

After the above, I setup 2 partitions in a SD Card:

- BOOT: fat32 with 800 MiB

- root: ext4 with 14.09 GiB

 

Copying BOOT.BIN, image.ub and boot.scr from <project folder>/images/linux/ to SD Card BOOT and copying and extracting rootfs.tar.gz with this command:

$ sudo tar -xzvf rootfs.tar.gz -C /media/wlorion/root/

 

After that, I made a folder in the SD card root partition, /root/home/petalinux, to receive my qt project to run in the board. But when I ran it, I didn't find the folder in any place of the embedded petalinux filesystem. Tried to see it in prompt, but unsuccessfully.

Can anyone help me to understand how I can implement the qt project I made in my desktop to embedded linux?

 

Best Regards,

wlorion

Tags (3)
0 Kudos
1 Solution

Accepted Solutions
watari
Teacher
Teacher
1,007 Views
Registered: ‎06-16-2013

Hi @WLOron 

 

Because you use initramfs as rootfs and you don't set proper parameter on linux argument, you can't find what you want to use.

So, would you set proper parameter on linux argument by petalinux-config ?

ex)

rootfs=/dev/mmcblk0p2

 

Or, run the following commnad after booting.

 

mount /dev/mmcblk0p2 /mnt/

 

Best regards

View solution in original post

0 Kudos
4 Replies
watari
Teacher
Teacher
1,106 Views
Registered: ‎06-16-2013

Hi @WLOron 

 

Would you share boot log message to investigate the route cause ?

 

Best regards,

0 Kudos
WLOron
Observer
Observer
1,067 Views
Registered: ‎09-10-2020

@watari 

 

thanks for your answer.

 

The boot log is this:

Xilinx Zynq MP First Stage Boot Loader
Release 2020.1   Sep  2 2020  -  20:20:04
NOTICE:  ATF running on XCZU7EV/silicon v4/RTL5.1 at 0xfffea000
NOTICE:  BL31: v2.2(release):xilinx_rebase_v2.2_2020.1
NOTICE:  BL31: Built : 20:21:01, Sep  2 2020


U-Boot 2020.01 (Sep 02 2020 - 20:13:36 +0000)

Model: ZynqMP ZCU106 RevA
Board: Xilinx ZynqMP
DRAM:  4 GiB
PMUFW:  v1.1
EL Level:       EL2
Chip ID:        zu7ev
NAND:  0 MiB
MMC:   mmc@ff170000: 0
In:    serial@ff000000
Out:   serial@ff000000
Err:   serial@ff000000
Bootmode: LVL_SHFT_SD_MODE1
Reset reason:   EXTERNAL
Net:
ZYNQ GEM: ff0e0000, mdio bus ff0e0000, phyaddr 12, interface rgmii-id

Warning: ethernet@ff0e0000 using MAC address from DT
eth0: ethernet@ff0e0000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
2007 bytes read in 16 ms (122.1 KiB/s)
## Executing script at 20000000
108247856 bytes read in 7140 ms (14.5 MiB/s)
## Loading kernel from FIT Image at 10000000 ...
   Using 'conf@system-top.dtb' configuration
   Trying 'kernel@1' kernel subimage
     Description:  Linux kernel
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x100000f8
     Data Size:    8135414 Bytes = 7.8 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x00080000
     Entry Point:  0x00080000
     Hash algo:    sha256
     Hash value:   2c72cb8068b5ef16219327b17cc1e41bdb5dd0c0b967d8c80151aceec1256
   Verifying Hash Integrity ... sha256+ OK
## Loading ramdisk from FIT Image at 10000000 ...
   Using 'conf@system-top.dtb' configuration
   Trying 'ramdisk@1' ramdisk subimage
     Description:  petalinux-image-minimal
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x107cffe4
     Data Size:    100054481 Bytes = 95.4 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    sha256
     Hash value:   90240a1d04e75c346395165682c9ebf88fb18fd36dce17dc0fef5bbcd1ab1
   Verifying Hash Integrity ... sha256+ OK
## Loading fdt from FIT Image at 10000000 ...
   Using 'conf@system-top.dtb' configuration
   Trying 'fdt@system-top.dtb' fdt subimage
     Description:  Flattened Device Tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x107c2500
     Data Size:    55827 Bytes = 54.5 KiB
     Architecture: AArch64
     Hash algo:    sha256
     Hash value:   2e9b4686e27b0db03147046ee9643673c9fd38d5e048bb00740a9a31048fd
   Verifying Hash Integrity ... sha256+ OK
   Booting using the fdt blob at 0x107c2500
   Uncompressing Kernel Image
   Loading Ramdisk to 73094000, end 78fff5d1 ... OK
   Loading Device Tree to 000000000ffef000, end 000000000ffffa12 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.0-xilinx-v2020.1 (oe-user@oe-host) (gcc version
[    0.000000] Machine model: ZynqMP ZCU106 RevA
[    0.000000] earlycon: cdns0 at MMIO 0x00000000ff000000 (options '115200n8')
[    0.000000] printk: bootconsole [cdns0] enabled
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 1000 MiB at 0x0000000034800000
[    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.1
[    0.000000] percpu: Embedded 22 pages/cpu s49944 r8192 d31976 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Speculative Store Bypass Disable mitigation not required
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1031940
[    0.000000] Kernel command line:  earlycon console=ttyPS0,115200 clk_ignore_u
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes,
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0x7bf00000-0x7ff00000] (64MB)
[    0.000000] Memory: 2908028K/4193280K available (11644K kernel code, 672K rwd
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jif
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] random: get_random_bytes called from start_kernel+0x2a8/0x42c wit
[    0.000000] arch_timer: cp15 timer(s) running at 99.99MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:
[    0.000003] sched_clock: 56 bits at 99MHz, resolution 10ns, wraps every 43980
[    0.008321] Console: colour dummy device 80x25
[    0.012393] Calibrating delay loop (skipped), value calculated using timer fr
[    0.022756] pid_max: default: 32768 minimum: 301
[    0.027483] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, line
[    0.034705] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes,
[    0.043429] ASID allocator initialised with 32768 entries
[    0.047903] rcu: Hierarchical SRCU implementation.
[    0.052855] EFI services will not be available.
[    0.057237] smp: Bringing up secondary CPUs ...
[    0.061937] Detected VIPT I-cache on CPU1
[    0.061968] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.062316] Detected VIPT I-cache on CPU2
[    0.062335] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.062660] Detected VIPT I-cache on CPU3
[    0.062679] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.062726] smp: Brought up 1 node, 4 CPUs
[    0.097066] SMP: Total of 4 processors activated.
[    0.101738] CPU features: detected: 32-bit EL0 Support
[    0.106842] CPU features: detected: CRC32 instructions
[    0.111975] CPU: All CPU(s) started at EL2
[    0.116024] alternatives: patching kernel code
[    0.121527] devtmpfs: initialized
[    0.129794] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma
[    0.133890] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.164168] xor: measuring software checksum speed
[    0.200859]    8regs     :  2375.000 MB/sec
[    0.240885]    32regs    :  2724.000 MB/sec
[    0.280917]    arm64_neon:  2365.000 MB/sec
[    0.280954] xor: using function: 32regs (2724.000 MB/sec)
[    0.284827] pinctrl core: initialized pinctrl subsystem
[    0.290665] NET: Registered protocol family 16
[    0.295397] DMA: preallocated 256 KiB pool for atomic allocations
[    0.300507] audit: initializing netlink subsys (disabled)
[    0.305969] audit: type=2000 audit(0.248:1): state=initialized audit_enabled=
[    0.313563] cpuidle: using governor menu
[    0.317581] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.337577] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.338630] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.345298] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.351956] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    1.432463] DRBG: Continuing without Jitter RNG
[    1.506814] raid6: neonx8   gen()  1542 MB/s
[    1.574851] raid6: neonx8   xor()  1461 MB/s
[    1.642906] raid6: neonx4   gen()  1478 MB/s
[    1.710955] raid6: neonx4   xor()  1419 MB/s
[    1.778985] raid6: neonx2   gen()  1124 MB/s
[    1.847044] raid6: neonx2   xor()  1172 MB/s
[    1.915081] raid6: neonx1   gen()   728 MB/s
[    1.983119] raid6: neonx1   xor()   880 MB/s
[    2.051216] raid6: int64x8  gen()  1162 MB/s
[    2.119243] raid6: int64x8  xor()   760 MB/s
[    2.187315] raid6: int64x4  gen()   977 MB/s
[    2.255310] raid6: int64x4  xor()   733 MB/s
[    2.323377] raid6: int64x2  gen()   677 MB/s
[    2.391423] raid6: int64x2  xor()   591 MB/s
[    2.459495] raid6: int64x1  gen()   449 MB/s
[    2.527546] raid6: int64x1  xor()   450 MB/s
[    2.527583] raid6: using algorithm neonx8 gen() 1542 MB/s
[    2.531540] raid6: .... xor() 1461 MB/s, rmw enabled
[    2.536471] raid6: using neon recovery algorithm
[    2.541445] iommu: Default domain type: Translated
[    2.546110] SCSI subsystem initialized
[    2.549755] usbcore: registered new interface driver usbfs
[    2.555097] usbcore: registered new interface driver hub
[    2.560371] usbcore: registered new device driver usb
[    2.565410] mc: Linux media interface: v0.10
[    2.569620] videodev: Linux video capture interface: v2.00
[    2.575070] pps_core: LinuxPPS API ver. 1 registered
[    2.579985] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome
[    2.589078] PTP clock support registered
[    2.592972] EDAC MC: Ver: 3.0.0
[    2.596444] zynqmp-ipi-mbox mailbox@ff990400: Registered ZynqMP IPI mbox with
[    2.604742] FPGA manager framework
[    2.608059] Advanced Linux Sound Architecture Driver Initialized.
[    2.614240] Bluetooth: Core ver 2.22
[    2.617545] NET: Registered protocol family 31
[    2.621943] Bluetooth: HCI device and connection manager initialized
[    2.628260] Bluetooth: HCI socket layer initialized
[    2.633103] Bluetooth: L2CAP socket layer initialized
[    2.638125] Bluetooth: SCO socket layer initialized
[    2.643283] clocksource: Switched to clocksource arch_sys_counter
[    2.649116] VFS: Disk quotas dquot_6.6.0
[    2.652956] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    2.663705] NET: Registered protocol family 2
[    2.664401] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 3276
[    2.672609] TCP established hash table entries: 32768 (order: 6, 262144 bytes
[    2.680624] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linea
[    2.688080] TCP: Hash tables configured (established 32768 bind 32768)
[    2.694245] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    2.700911] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    2.708090] NET: Registered protocol family 1
[    2.712527] RPC: Registered named UNIX socket transport module.
[    2.718148] RPC: Registered udp transport module.
[    2.722814] RPC: Registered tcp transport module.
[    2.727484] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.734128] PCI: CLS 0 bytes, default 64
[    2.737879] Trying to unpack rootfs image as initramfs...
[    7.476261] Freeing initrd memory: 97708K
[    7.476727] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    7.481928] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters av
[    7.490340] Initialise system trusted keyrings
[    7.493945] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    7.501067] NFS: Registering the id_resolver key type
[    7.505275] Key type id_resolver registered
[    7.509414] Key type id_legacy registered
[    7.513397] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    7.520066] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    7.541087] NET: Registered protocol family 38
[    7.541129] Key type asymmetric registered
[    7.543960] Asymmetric key parser 'x509' registered
[    7.548822] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2
[    7.556155] io scheduler mq-deadline registered
[    7.560651] io scheduler kyber registered
[    7.566624] xilinx-frmbuf a00f0000.v_frmbuf_rd: Unable to locate reset proper
[    7.572428] xilinx-frmbuf: probe of a00f0000.v_frmbuf_rd failed with error -2
[    7.579553] xilinx-frmbuf a0200000.v_frmbuf_wr: Unable to locate reset proper
[    7.587303] xilinx-frmbuf: probe of a0200000.v_frmbuf_wr failed with error -2
[    7.618197] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    7.622443] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    7.629178] brd: module loaded
[    7.633629] loop: module loaded
[    7.634462] mtdoops: mtd device (mtddev=name/number) must be supplied
[    7.638655] libphy: Fixed MDIO Bus: probed
[    7.642564] tun: Universal TUN/TAP device driver, 1.6
[    7.646705] CAN device driver interface
[    7.651335] usbcore: registered new interface driver asix
[    7.655833] usbcore: registered new interface driver ax88179_178a
[    7.661873] usbcore: registered new interface driver cdc_ether
[    7.667666] usbcore: registered new interface driver net1080
[    7.673288] usbcore: registered new interface driver cdc_subset
[    7.679171] usbcore: registered new interface driver zaurus
[    7.684718] usbcore: registered new interface driver cdc_ncm
[    7.691104] usbcore: registered new interface driver uas
[    7.695619] usbcore: registered new interface driver usb-storage
[    7.702121] rtc_zynqmp ffa60000.rtc: registered as rtc0
[    7.706810] i2c /dev entries driver
[    7.711935] usbcore: registered new interface driver uvcvideo
[    7.715920] USB Video Class driver (1.1.1)
[    7.720948] Bluetooth: HCI UART driver ver 2.3
[    7.724403] Bluetooth: HCI UART protocol H4 registered
[    7.729501] Bluetooth: HCI UART protocol BCSP registered
[    7.734794] Bluetooth: HCI UART protocol LL registered
[    7.739882] Bluetooth: HCI UART protocol ATH3K registered
[    7.745258] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    7.751513] Bluetooth: HCI UART protocol Intel registered
[    7.756850] Bluetooth: HCI UART protocol QCA registered
[    7.762051] usbcore: registered new interface driver bcm203x
[    7.767674] usbcore: registered new interface driver bpa10x
[    7.773211] usbcore: registered new interface driver bfusb
[    7.778661] usbcore: registered new interface driver btusb
[    7.784121] usbcore: registered new interface driver ath3k
[    7.789654] EDAC MC: ECC not enabled
[    7.793240] EDAC DEVICE0: Giving out device to module zynqmp-ocm-edac control
[    7.805610] sdhci: Secure Digital Host Controller Interface driver
[    7.811340] sdhci: Copyright(c) Pierre Ossman
[    7.815662] sdhci-pltfm: SDHCI platform and OF driver helper
[    7.821641] ledtrig-cpu: registered to indicate activity on CPUs
[    7.827303] zynqmp_firmware_probe Platform Management API v1.1
[    7.833053] zynqmp_firmware_probe Trustzone version v1.0
[    7.841514] zynqmp-pinctrl firmware:zynqmp-firmware:pinctrl: zynqmp pinctrl i
[    7.869884] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[    7.871799] zynqmp_aes zynqmp_aes: AES Successfully Registered
[    7.871799]
[    7.877411] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[    7.885072] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[    7.890576] usbcore: registered new interface driver usbhid
[    7.894389] usbhid: USB HID core driver
[    7.900600] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[    7.904922] usbcore: registered new interface driver snd-usb-audio
[    7.911650] pktgen: Packet Generator for packet performance testing. Version:
[    7.918806] Initializing XFRM netlink socket
[    7.922584] NET: Registered protocol family 10
[    7.927333] Segment Routing with IPv6
[    7.930646] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    7.936753] NET: Registered protocol family 17
[    7.940856] NET: Registered protocol family 15
[    7.945269] bridge: filtering via arp/ip/ip6tables is no longer available by
[    7.958144] can: controller area network core (rev 20170425 abi 9)
[    7.964312] NET: Registered protocol family 29
[    7.968698] can: raw protocol (rev 20170425)
[    7.972937] can: broadcast manager protocol (rev 20170425 t)
[    7.978562] can: netlink gateway (rev 20190810) max_hops=1
[    7.984087] Bluetooth: RFCOMM TTY layer initialized
[    7.988860] Bluetooth: RFCOMM socket layer initialized
[    7.993973] Bluetooth: RFCOMM ver 1.11
[    7.997681] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    8.002954] Bluetooth: BNEP filters: protocol multicast
[    8.008146] Bluetooth: BNEP socket layer initialized
[    8.013075] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    8.018960] Bluetooth: HIDP socket layer initialized
[    8.024012] 9pnet: Installing 9P2000 support
[    8.028146] Key type dns_resolver registered
[    8.032627] registered taskstats version 1
[    8.036437] Loading compiled-in X.509 certificates
[    8.041583] Btrfs loaded, crc32c=crc32c-generic
[    8.054615] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 42, base_baud =
[    8.063634] printk: console [ttyPS0] enabled
[    8.063634] printk: console [ttyPS0] enabled
[    8.067929] printk: bootconsole [cdns0] disabled
[    8.067929] printk: bootconsole [cdns0] disabled
[    8.077403] ff010000.serial: ttyPS1 at MMIO 0xff010000 (irq = 43, base_baud =
[    8.090653] of-fpga-region fpga-full: FPGA Region probed
[    8.097669] xilinx-dpdma fd4c0000.dma: Xilinx DPDMA engine is probed
[    8.104247] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[    8.111350] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[    8.118455] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[    8.125553] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[    8.132656] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[    8.139761] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[    8.146866] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[    8.153971] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[    8.161143] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success
[    8.168250] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success
[    8.175358] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success
[    8.182456] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success
[    8.189561] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success
[    8.196657] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success
[    8.203763] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success
[    8.210856] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success
[    8.218139] xilinx-psgtr fd400000.zynqmp_phy: Lane:1 type:8 protocol:4 pll_lo
[    8.229149] xilinx-dp-snd-codec fd4a0000.zynqmp-display:zynqmp_dp_snd_codec0:
[    8.239818] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm0: Xilinx DisplayPort Sound PC
[    8.247849] xilinx-dp-snd-pcm zynqmp_dp_snd_pcm1: Xilinx DisplayPort Sound PC
[    8.256345] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xi
[    8.268779] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: xi
[    8.281480] xilinx-dp-snd-card fd4a0000.zynqmp-display:zynqmp_dp_snd_card: Xi
[    8.291647] OF: graph: no port node found in /amba/zynqmp-display@fd4a0000
[    8.298616] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    8.305225] [drm] No driver support for vblank timestamp query.
[    8.311204] xlnx-drm xlnx-drm.0: bound fd4a0000.zynqmp-display (ops 0xffffffc
[    9.395301] [drm] Cannot find any crtc or sizes
[    9.400051] [drm] Initialized xlnx 1.0.0 20130509 for fd4a0000.zynqmp-display
[    9.408151] zynqmp-display fd4a0000.zynqmp-display: ZynqMP DisplayPort Subsys
[    9.416946] ahci-ceva fd0c0000.ahci: fd0c0000.ahci supply ahci not found, usi
[    9.425675] ahci-ceva fd0c0000.ahci: fd0c0000.ahci supply phy not found, usin
[    9.434325] ahci-ceva fd0c0000.ahci: fd0c0000.ahci supply target not found, u
[    9.443333] xilinx-psgtr fd400000.zynqmp_phy: Lane:3 type:3 protocol:2 pll_lo
[    9.451218] ahci-ceva fd0c0000.ahci: AHCI 0001.0301 32 slots 2 ports 6 Gbps 0
[    9.460173] ahci-ceva fd0c0000.ahci: flags: 64bit ncq sntf pm clo only pmp fb
[    9.470519] scsi host0: ahci-ceva
[    9.474070] scsi host1: ahci-ceva
[    9.477489] ata1: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x1
[    9.485398] ata2: SATA max UDMA/133 mmio [mem 0xfd0c0000-0xfd0c1fff] port 0x1
[    9.493860] spi-nor spi0.0: found mt25qu512a (n25q512a), expected m25p80
[    9.500809] spi-nor spi0.0: mt25qu512a (n25q512a) (131072 Kbytes)
[    9.506917] 3 fixed-partitions partitions found on MTD device spi0.0
[    9.513263] Creating 3 MTD partitions on "spi0.0":
[    9.518049] 0x000000000000-0x000001e00000 : "boot"
[    9.523650] 0x000001e00000-0x000001e40000 : "bootenv"
[    9.529385] 0x000001e40000-0x000005a40000 : "kernel"
[    9.537027] macb ff0e0000.ethernet: Not enabling partial store and forward
[    9.544365] libphy: MACB_mii_bus: probed
[    9.551636] TI DP83867 ff0e0000.ethernet-ffffffff:0c: attached PHY driver [TI
[    9.564679] macb ff0e0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0e
[    9.574813] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[    9.581344] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[    9.587822] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[    9.594291] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[    9.602187] dwc3 fe200000.dwc3: Failed to get clk 'ref': -2
[    9.607969] xilinx-psgtr fd400000.zynqmp_phy: Lane:2 type:0 protocol:3 pll_lo
[    9.618247] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    9.623737] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus nu
[    9.631483] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f625 hci version 0x100
[    9.640893] xhci-hcd xhci-hcd.0.auto: irq 52, io mem 0xfe200000
[    9.647036] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bc
[    9.655294] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=
[    9.662512] usb usb1: Product: xHCI Host Controller
[    9.667382] usb usb1: Manufacturer: Linux 5.4.0-xilinx-v2020.1 xhci-hcd
[    9.673986] usb usb1: SerialNumber: xhci-hcd.0.auto
[    9.679130] hub 1-0:1.0: USB hub found
[    9.682898] hub 1-0:1.0: 1 port detected
[    9.687002] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    9.692486] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus nu
[    9.700143] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    9.706883] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bc
[    9.715147] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=
[    9.722366] usb usb2: Product: xHCI Host Controller
[    9.727235] usb usb2: Manufacturer: Linux 5.4.0-xilinx-v2020.1 xhci-hcd
[    9.733842] usb usb2: SerialNumber: xhci-hcd.0.auto
[    9.738950] hub 2-0:1.0: USB hub found
[    9.742716] hub 2-0:1.0: 1 port detected
[    9.747710] pca953x 0-0020: 0-0020 supply vcc not found, using dummy regulato
[    9.755642] pca953x 0-0021: 0-0021 supply vcc not found, using dummy regulato
[    9.771288] i2c i2c-0: Added multiplexed i2c bus 3
[    9.782215] i2c i2c-0: Added multiplexed i2c bus 4
[    9.798477] random: fast init done
[    9.805533] ata1: SATA link down (SStatus 0 SControl 330)
[    9.810961] ata2: SATA link down (SStatus 0 SControl 330)
[    9.833148] i2c i2c-0: Added multiplexed i2c bus 5
[    9.838053] i2c i2c-0: Added multiplexed i2c bus 6
[    9.842847] pca954x 0-0075: registered 4 multiplexed busses for I2C mux pca95
[    9.850173] cdns-i2c ff020000.i2c: 400 kHz mmio ff020000 irq 32
[    9.857838] at24 7-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write
[    9.864565] i2c i2c-1: Added multiplexed i2c bus 7
[    9.869547] i2c i2c-1: Added multiplexed i2c bus 8
[    9.877055] si570 9-005d: registered, current frequency 300000000 Hz
[    9.883440] i2c i2c-1: Added multiplexed i2c bus 9
[    9.902948] si570 10-005d: registered, current frequency 148500000 Hz
[    9.909409] i2c i2c-1: Added multiplexed i2c bus 10
[    9.914476] si5324 11-0069: si5328 probed
[    9.976946] si5324 11-0069: si5328 probe successful
[    9.981851] i2c i2c-1: Added multiplexed i2c bus 11
[    9.986922] i2c i2c-1: Added multiplexed i2c bus 12
[    9.991911] i2c i2c-1: Added multiplexed i2c bus 13
[    9.996909] i2c i2c-1: Added multiplexed i2c bus 14
[   10.001782] pca954x 1-0074: registered 8 multiplexed busses for I2C switch pc
[   10.009671] i2c i2c-1: Added multiplexed i2c bus 15
[   10.014660] i2c i2c-1: Added multiplexed i2c bus 16
[   10.019650] i2c i2c-1: Added multiplexed i2c bus 17
[   10.024983] i2c i2c-1: Added multiplexed i2c bus 18
[   10.030033] i2c i2c-1: Added multiplexed i2c bus 19
[   10.035031] i2c i2c-1: Added multiplexed i2c bus 20
[   10.040033] i2c i2c-1: Added multiplexed i2c bus 21
[   10.045030] i2c i2c-1: Added multiplexed i2c bus 22
[   10.049910] pca954x 1-0075: registered 8 multiplexed busses for I2C switch pc
[   10.057496] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 33
[   10.067114] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer with timeout 60
[   10.074552] cdns-wdt ff150000.watchdog: Xilinx Watchdog Timer with timeout 10
[   10.082144] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 1199880
[   10.089592] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed
[   10.130790] mmc0: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA
[   10.141319] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   10.148088] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[   10.155363] rtc_zynqmp ffa60000.rtc: setting system clock to 2020-09-10T03:09
[   10.164235] of_cfs_init
[   10.166695] of_cfs_init: OK
[   10.169641] cfg80211: Loading compiled-in X.509 certificates for regulatory d
[   10.191975] mmc0: new high speed SDHC card at address aaaa
[   10.197865] mmcblk0: mmc0:aaaa SB16G 14.8 GiB
[   10.206563]  mmcblk0: p1 p2
[   10.256224] usb 2-1: New USB device found, idVendor=2109, idProduct=0813, bcd
[   10.264396] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   10.271527] usb 2-1: Product: USB3.0 Hub
[   10.275441] usb 2-1: Manufacturer: VIA Labs, Inc.
[   10.318357] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   10.324888] clk: Not disabling unused clocks
[   10.329150] ALSA device list:
[   10.331032] hub 2-1:1.0: USB hub found
[   10.332108]   #0: DisplayPort monitor
[   10.332185] platform regulatory.0: Direct firmware load for regulatory.db fai
[   10.336096] hub 2-1:1.0: 4 ports detected
[   10.339508] cfg80211: failed to load regulatory.db
[   10.357367] Freeing unused kernel memory: 704K
[   10.371311] Run /init as init process
INIT: version 2.88 booting
Starting udev
[   10.472072] udevd[166]: starting version 3.2.8
[   10.476839] random: udevd: uninitialized urandom read (16 bytes read)
[   10.483341] random: udevd: uninitialized urandom read (16 bytes read)
[   10.489846] random: udevd: uninitialized urandom read (16 bytes read)
[   10.501541] udevd[167]: starting eudev-3.2.8
[   10.535325] [drm] Cannot find any crtc or sizes
[   10.561554] mali: loading out-of-tree module taints kernel.
[   10.683351] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[   10.840883] usb 1-1: New USB device found, idVendor=2109, idProduct=2813, bcd
[   10.849101] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[   10.856234] usb 1-1: Product: USB2.0 Hub
[   10.860156] usb 1-1: Manufacturer: VIA Labs, Inc.
[   10.900207] xilinx-vcu xilinx-vcu: Could not get core_enc clock
[   10.906402] VCU PLL: enable
[   10.909913] xilinx-vcu xilinx-vcu: xvcu_probe: Probed successfully
[   10.923156] hub 1-1:1.0: USB hub found
[   10.927114] hub 1-1:1.0: 4 ports detected
[   10.934863] al5d a0120000.al5d: l2 prefetch size:17530880 (bits), l2 color bi
[   10.936545] al5e a0100000.al5e: l2 prefetch size:17530880 (bits), l2 color bi
[   10.955191] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data
[   11.000655] EXT4-fs (mmcblk0p2): recovery complete
[   11.008621] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. O
[   11.275335] usb 1-1.3: new low-speed USB device number 3 using xhci-hcd
Configuring packages on first boot....
 (This may take several minutes. Please do not power off the machine.)
Running postinst /etc/rpm-postinsts/100-sysvinit-inittab...
Running postinst /etc/rpm-postinsts/101-libmali-xlnx...
[   11.363630] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/
[   11.403643] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/
[   11.432245] Warn: update-alternatives: libmali-xlnx has multiple providers wi
[   11.450310] usb 1-1.3: New USB device found, idVendor=17ef, idProduct=6019, b
[   11.458689] usb 1-1.3: New USB device strings: Mfr=0, Product=2, SerialNumber
[   11.465992] usb 1-1.3: Product: Lenovo Optical USB Mouse
[   11.477609] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/
[   11.517765] update-alternatives: Linking /usr/lib/libMali.so.9.0 to /usr/lib/
[   11.534665] input: Lenovo Optical USB Mouse as /devices/platform/amba/ff9d000
[   11.550222] hid-generic 0003:17EF:6019.0001: input: USB HID v1.11 Mouse [Leno
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
 Removing any system startup links for run-postinsts ...
  /etc/rcS.d/S99run-postinsts
INIT: Entering runlevel: 5
Configuring network interfaces... [   11.633819] pps pps0: new PPS source ptp0
[   11.637963] macb ff0e0000.ethernet: gem-ptp-timer ptp clock registered.
udhcpc: started, v1.31.0
udhcpc: sending discover
[   11.695300] usb 1-1.4: new low-speed USB device number 4 using xhci-hcd
[   11.861229] usb 1-1.4: New USB device found, idVendor=413c, idProduct=2003, b
[   11.869578] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber
[   11.876882] usb 1-1.4: Product: Dell USB Keyboard
[   11.881579] usb 1-1.4: Manufacturer: Dell
[   11.950684] input: Dell Dell USB Keyboard as /devices/platform/amba/ff9d0000.
[   12.023549] hid-generic 0003:413C:2003.0002: input: USB HID v1.10 Keyboard [D
udhcpc: sending discover
udhcpc: sending discover
udhcpc: no lease, forking to background
done.
Starting system message bus: dbus.
Starting haveged: haveged: listening socket at 3
haveged: haveged starting up


Starting Xserver
Starting Dropbear SSH server:
Generating 2048 bit rsa key, this may take a while...

X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.10.0-693.el7.x86_64 x86_64
Current Operating System: Linux xilinx-zcu106-2020_1 5.4.0-xilinx-v2020.1 #1 SMP
Kernel command line:  earlycon console=ttyPS0,115200 clk_ignore_unused root=/dev
Build Date: 26 May 2020  09:01:47PM

Current version of pixman: 0.38.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Sep 10 03:10:05 2020
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
haveged: haveged: ver: 1.9.5; arch: generic; vend: ; build: (gcc 9.2.0 CTV); col

haveged: haveged: cpu: (VC); data: 16K (D); inst: 16K (D); idx: 11/40; sz: 15456

haveged: haveged: tot tests(BA8): A:1/1 B:1/1 continuous tests(B):  last entropy

haveged: haveged: fills: 0, generated: 0

[   21.644017] random: crng init done
[   21.647416] random: 7 urandom warning(s) missed due to ratelimiting
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCGZDq2Q2L0PXgaNGzcV8+/lEHQ0GzY8FQIIdPJnDEP                                                                                                                                                                                                                                           wAq9it2F3MaJP8VBepgtCMbCTWAmjvvA08WcDJXUEo16VkrjzXP52ahxd85/p1R4R root@xilinx-zc
Fingerprint: sha1!! b0:de:55:11:17:cb:38:22:a5:1a:bf:19:af:9e:9d:99:21:e0:18:19
dropbear.
Starting internet superserver: inetd.
Starting syslogd/klogd: done
Starting tcf-agent: OK

PetaLinux 2020.1 xilinx-zcu106-2020_1 /dev/ttyPS0

xilinx-zcu106-2020_1 login: The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported high keycode 372 for name <I372> ignored
>                   X11 cannot support keycodes above 255.
>                   This warning only shows for the first high keycode.
Errors from xkbcomp are not fatal to the X server
D-BUS per-session daemon address is: unix:abstract=/tmp/dbus-sCwIcEiuML,guid=ee9
matchbox: Cant find a keycode for keysym 269025056
matchbox: ignoring key shortcut XF86Calendar=!$contacts

matchbox: Cant find a keycode for keysym 2809
matchbox: ignoring key shortcut telephone=!$dates

matchbox: Cant find a keycode for keysym 269025050
matchbox: ignoring key shortcut XF86Start=!matchbox-remote -desktop

[settings daemon] Forking. run with -n to prevent fork
dbus-daemon[851]: Activating service name='org.a11y.atspi.Registry' requested by
dbus-daemon[851]: Successfully activated service 'org.a11y.atspi.Registry'
SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry

** (matchbox-desktop:846): WARNING **: 03:10:09.235: Error loading icon: Icon 'a

** (matchbox-desktop:846): WARNING **: 03:10:09.237: Error loading icon: Icon 'a

[D.[  124.865914] Console: switching to colour frame buffer device 200x56
[  124.872597] zynqmp-display fd4a0000.zynqmp-display: fb0: xlnxdrmfb frame buff                                                                                                                                                                                                                                           er device

 

 Best Regards,

WLOrion

0 Kudos
watari
Teacher
Teacher
1,008 Views
Registered: ‎06-16-2013

Hi @WLOron 

 

Because you use initramfs as rootfs and you don't set proper parameter on linux argument, you can't find what you want to use.

So, would you set proper parameter on linux argument by petalinux-config ?

ex)

rootfs=/dev/mmcblk0p2

 

Or, run the following commnad after booting.

 

mount /dev/mmcblk0p2 /mnt/

 

Best regards

View solution in original post

0 Kudos
WLOron
Observer
Observer
975 Views
Registered: ‎09-10-2020

@watari 

 

Thanks for your help, I can resolve my problem now.

 

Best Regards

0 Kudos