Steps to Boot a PetaLinux Image on Hardware with JTAG - 2021.1 English

PetaLinux Tools Documentation Reference Guide (UG1144)

Document ID
UG1144
Release Date
2021-06-16
Version
2021.1 English
  1. Power off the board.
  2. Connect the JTAG port on the board with the JTAG cable to your workstation.
  3. Connect the serial port on the board to your workstation.
  4. If your system has Ethernet, also connect the Ethernet port on the board to your local network.
  5. Ensure that the mode switches are set to JTAG mode. Refer to the board documentation for details.
  6. Power on the board.
  7. Open a console on your workstation and start with preferred serial communication program (For example, kermit, minicom) with the baud rate set to 115200 on that console.
  8. Run the petalinux-boot command as follows on your workstation:

    $ petalinux-boot --jtag --prebuilt 3 --hw_server-url <hostname:3121>

    Note: If you wish not to use prebuilt capability for JTAG boot, refer to Additional Options for Booting with JTAG.

    The --jtag option tells petalinux-boot to boot on hardware via JTAG, and the --prebuilt 3 option boots the Linux kernel. Wait for the appearance of the shell prompt on the command console to indicate completion of the command.

    Note: To know more about different boot levels for prebuilt option, see Using petalinux-boot Command with Prebuilt Images.

    The example of the message on the workstation command console for successful petalinux-boot is:

    
    [3.958]PLM Initialization Time 
    [4.021]***********Boot PDI Load: Started***********
    [4.099]Loading PDI from JTAG
    [4.159]Monolithic/Master Device
    [4.285]0.153 ms: PDI initialization time
    [4.359]+++Loading Image#: 0x1, Name: lpd, Id: 0x04210002
    [4.444]---Loading Partition#: 0x1, Id: 0xC
    [27.674]****************************************
    [31.900]Xilinx Versal Platform Loader and Manager 
    [36.295]Release 2021.1   Jun  1 2021  -  15:25:35
    [40.607]Platform Version: v2.0 PMC: v2.0, PS: v2.0
    [45.002]BOOTMODE: 0x0, MULTIBOOT: 0x0
    [48.299]****************************************
    [52.564] 48.010 ms for Partition#: 0x1, Size: 2288 Bytes
    [57.426]---Loading Partition#: 0x2, Id: 0x0
    [61.780] 0.516 ms for Partition#: 0x2, Size: 48 Bytes
    [65.881]---Loading Partition#: 0x3, Id: 0x0
    [106.053] 36.331 ms for Partition#: 0x3, Size: 59280 Bytes
    [108.364]---Loading Partition#: 0x4, Id: 0x0
    [112.297] 0.012 ms for Partition#: 0x4, Size: 2640 Bytes
    [117.154]---Loading Partition#: 0x5, Id: 0x0
    [121.089] 0.014 ms for Partition#: 0x5, Size: 3440 Bytes
    [125.944]---Loading Partition#: 0x6, Id: 0x0
    [129.871] 0.007 ms for Partition#: 0x6, Size: 80 Bytes
    PSM Firmware version: 2021.1 [Build: Jun  1 2021 15:25:35 ] 
    [139.818]+++Loading Image#: 0x2, Name: pl_cfi, Id: 0x18700000
    [145.126]---Loading Partition#: 0x7, Id: 0x3
    [985.682] 836.632 ms for Partition#: 0x7, Size: 1304480 Bytes
    [988.250]---Loading Partition#: 0x8, Id: 0x5
    [1604.539] 612.366 ms for Partition#: 0x8, Size: 933344 Bytes
    [1607.150]+++Loading Image#: 0x3, Name: aie_subsys, Id: 0x0421C005
    [1612.862]---Loading Partition#: 0x9, Id: 0x7
    [1619.981] 3.108 ms for Partition#: 0x9, Size: 352 Bytes
    [1622.170]+++Loading Image#: 0x4, Name: fpd, Id: 0x0420C003
    [1627.291]---Loading Partition#: 0xA, Id: 0x8
    [1631.722] 0.422 ms for Partition#: 0xA, Size: 1040 Bytes
    [1636.526]+++Loading Image#: 0x5, Name: apu_subsystem, Id: 0x1C000000
    [1642.264]---Loading Partition#: 0xB, Id: 0x0
    [1660.095] 13.821 ms for Partition#: 0xB, Size: 29520 Bytes
    [1662.496]---Loading Partition#: 0xC, Id: 0x0
    [1702.715] 36.209 ms for Partition#: 0xC, Size: 59344 Bytes
    [1705.118]---Loading Partition#: 0xD, Id: 0x0
    [2352.939] 643.811 ms for Partition#: 0xD, Size: 1001184 Bytes
    N[2I55.6 3]****n******BootlPDI Load:  Sne***********
     [2360: 11]316211.9 0 ms: ROM Time
    [2333.210] stal P MoBoot Tixe 
    000
    NOTICE:  BL31: v2.4(debug):v1.1-7609-g851523ea2
    NOTICE:  BL31: Built : 08:27:07, Apr 28 2021
    INFO:    GICv3 with legacy support detected.
    INFO:    ARM GICv3 driver initialized in EL3
    INFO:    BL31: Initializing runtime services
    WARNING: BL31: cortex_a72: CPU workaround for 859971 was missing!
    WARNING: BL31: cortex_a72: CPU workaround for 1319367 was missing!
    INFO:    BL31: cortex_a72: CPU workaround for cve_2017_5715 was applied
    INFO:    BL31: cortex_a72: CPU workaround for cve_2018_3639 was applied
    INFO:    BL31: Preparing for EL3 exit to normal world
    INFO:    Entry point address = 0x8000000
    INFO:    SPSR = 0x3c9
    
    
    U-Boot 2021.01 (May 28 2021 - 10:52:42 +0000)
    
    Model: Xilinx Versal vck190 Eval board revA (QSPI)
    DRAM:  16 GiB
    EL Level:	EL2
    MMC:   sdhci@f1050000: 0
    In:    serial@ff000000
    Out:   serial@ff000000
    Err:   serial@ff000000
    Bootmode: JTAG_MODE
    Net:   
    ZYNQ GEM: ff0c0000, mdio bus ff0c0000, phyaddr 1, interface rgmii-id
    Could not get PHY for eth0: addr 1
    
    ZYNQ GEM: ff0d0000, mdio bus ff0c0000, phyaddr 2, interface rgmii-id
    
    Warning: ethernet@ff0d0000 (eth1) using random MAC address - 3a:7f:e2:ba:77:6b
    eth1: ethernet@ff0d0000
    Hit any key to stop autoboot:  0 
    JTAG: Trying to boot script at 20000000
    ## Executing script at 20000000
    Trying to load boot images from jtag
    ## Loading init Ramdisk from Legacy Image at 04000000 ...
       Image Name:   petalinux-initramfs-image-versal
       Image Type:   AArch64 Linux RAMDisk Image (uncompressed)
       Data Size:    5107909 Bytes = 4.9 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 00001000
       Booting using the fdt blob at 0x001000
    
    ZYNQ GEM: ff0c0000, mdio bus ff0c0000, phyaddr 1, interface rgmii-id
    Could not get PHY for eth0: addr 1
       Loading Ramdisk to 7d9fa000, end 7ded90c5 ... OK
       Loading Device Tree to 000000007d9ef000, end 000000007d9f9340 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
    [    0.000000] Linux version 5.10.0-xilinx-v2020.2 (oe-user@oe-host) (aarch64-xilinx-linux-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #1 SMP Fri May 28 08:10:27 UTC 2021
    [    0.000000] Machine model: Xilinx Versal vck190 Eval board revA (QSPI)
    [    0.000000] earlycon: pl11 at MMIO32 0x00000000ff000000 (options '115200n8')
    [    0.000000] printk: bootconsole [pl11] enabled
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 256 MiB at 0x000000006d800000
    [    0.000000] Zone ranges:
    [    0.000000]   DMA32    [mem 0x0000000000000000-0x00000000ffffffff]
    [    0.000000]   Normal   [mem 0x0000000100000000-0x00000501ffffffff]
    [    0.000000] Movable zone start for each node
    [    0.000000] Early memory node ranges
    [    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
    [    0.000000]   node   0: [mem 0x0000000800000000-0x000000097fffffff]
    [    0.000000]   node   0: [mem 0x0000050000000000-0x00000501ffffffff]
    [    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000501ffffffff]
    [    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 22 pages/cpu s50968 r8192 d30952 u90112
    [    0.000000] Detected PIPT I-cache on CPU0
    [    0.000000] CPU features: detected: GIC system register CPU interface
    [    0.000000] CPU features: detected: Spectre-v2
    [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 4128768
    [    0.000000] Kernel command line: console=ttyAMA0  earlycon=pl011,mmio32,0xFF000000,115200n8 clk_ignore_unused init_fatal_sh=1
    [    0.000000] Dentry cache hash table entries: 2097152 (order: 12, 16777216 bytes, linear)
    [    0.000000] Inode-cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
    [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
    [    0.000000] software IO TLB: mapped [mem 0x0000000069800000-0x000000006d800000] (64MB)
    [    0.000000] Memory: 16102948K/16777216K available (13760K kernel code, 972K rwdata, 3820K rodata, 2048K init, 588K bss, 412124K reserved, 262144K cma-reserved)
    [    0.000000] rcu: Hierarchical RCU implementation.
    [    0.000000] rcu: 	RCU event tracing is enabled.
    [    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
    [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
    [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
    [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
    [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
    [    0.000000] GICv3: 160 SPIs implemented
    [    0.000000] GICv3: 0 Extended SPIs implemented
    [    0.000000] GICv3: Distributor has no Range Selector support
    [    0.000000] GICv3: 16 PPIs implemented
    [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000f9080000
    [    0.000000] ITS [mem 0xf9020000-0xf903ffff]
    [    0.000000] ITS@0x00000000f9020000: allocated 65536 Devices @800080000 (flat, esz 8, psz 64K, shr 0)
    [    0.000000] ITS: using cache flushing for cmd queue
    [    0.000000] GICv3: using LPI property table @0x0000000800030000
    [    0.000000] GIC: using cache flushing for LPI property table
    [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x0000000800040000
    [    0.000000] irq-xilinx: mismatch in kind-of-intr param
    [    0.000000] irq-xilinx: /amba_pl@0/interrupt-controller@a5000000: num_irq=32, sw_irq=0, edge=0x7fffffff
    [    0.000000] irq-xilinx: mismatch in kind-of-intr param
    [    0.000000] irq-xilinx: /amba_pl@0/interrupt-controller@a4000000: num_irq=32, sw_irq=0, edge=0xffffffff
    [    0.000000] random: get_random_bytes called from start_kernel+0x31c/0x524 with crng_init=0
    [    0.000000] arch_timer: cp15 timer(s) running at 100.00MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x171024e7e0, max_idle_ns: 440795205315 ns
    [    0.000002] sched_clock: 56 bits at 100MHz, resolution 10ns, wraps every 4398046511100ns
    [    0.008349] Console: colour dummy device 80x25
    [    0.012837] Calibrating delay loop (skipped), value calculated using timer frequency.. 200.00 BogoMIPS (lpj=400000)
    [    0.023367] pid_max: default: 32768 minimum: 301
    [    0.028155] Mount-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.035841] Mountpoint-cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
    [    0.044643] rcu: Hierarchical SRCU implementation.
    [    0.049586] Platform MSI: gic-its@f9020000 domain created
    [    0.055088] PCI/MSI: /axi/interrupt-controller@f9000000/gic-its@f9020000 domain created
    [    0.063207] EFI services will not be available.
    [    0.067846] smp: Bringing up secondary CPUs ...
    [    0.072717] Detected PIPT I-cache on CPU1
    [    0.072738] GICv3: CPU1: found redistributor 1 region 0:0x00000000f90a0000
    [    0.072744] GICv3: CPU1: using allocated LPI pending table @0x0000000800050000
    [    0.072768] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
    [    0.072819] smp: Brought up 1 node, 2 CPUs
    [    0.101767] SMP: Total of 2 processors activated.
    [    0.106507] CPU features: detected: 32-bit EL0 Support
    [    0.111684] CPU features: detected: CRC32 instructions
    [    0.116890] CPU: All CPU(s) started at EL2
    [    0.121029] alternatives: patching kernel code
    [    0.126157] devtmpfs: initialized
    [    0.131979] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
    [    0.141816] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
    [    0.151529] pinctrl core: initialized pinctrl subsystem
    [    0.157106] DMI not present or invalid.
    [    0.161080] NET: Registered protocol family 16
    [    0.166168] DMA: preallocated 2048 KiB GFP_KERNEL pool for atomic allocations
    [    0.173560] DMA: preallocated 2048 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
    [    0.181659] audit: initializing netlink subsys (disabled)
    [    0.187178] audit: type=2000 audit(0.120:1): state=initialized audit_enabled=0 res=1
    [    0.194998] cpuidle: using governor menu
    [    0.198994] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    0.205857] ASID allocator initialised with 65536 entries
    [    0.211374] Serial: AMBA PL011 UART driver
    [    0.226066] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
    [    0.232834] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
    [    0.239591] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
    [    0.246348] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
    [    0.804516] cryptd: max_cpu_qlen set to 1000
    [    0.823256] DRBG: Continuing without Jitter RNG
    [    0.900908] raid6: neonx8   gen()  3799 MB/s
    [    0.973252] raid6: neonx8   xor()  2882 MB/s
    [    1.045598] raid6: neonx4   gen()  3833 MB/s
    [    1.117938] raid6: neonx4   xor()  3002 MB/s
    [    1.190284] raid6: neonx2   gen()  3392 MB/s
    [    1.262627] raid6: neonx2   xor()  2759 MB/s
    [    1.334972] raid6: neonx1   gen()  2639 MB/s
    [    1.407310] raid6: neonx1   xor()  2151 MB/s
    [    1.479661] raid6: int64x8  gen()  2099 MB/s
    [    1.552004] raid6: int64x8  xor()  1282 MB/s
    [    1.624350] raid6: int64x4  gen()  2248 MB/s
    [    1.696690] raid6: int64x4  xor()  1295 MB/s
    [    1.769041] raid6: int64x2  gen()  2119 MB/s
    [    1.841383] raid6: int64x2  xor()  1162 MB/s
    [    1.913730] raid6: int64x1  gen()  1640 MB/s
    [    1.986072] raid6: int64x1  xor()   865 MB/s
    [    1.990373] raid6: using algorithm neonx4 gen() 3833 MB/s
    [    1.995814] raid6: .... xor() 3002 MB/s, rmw enabled
    [    2.000815] raid6: using neon recovery algorithm
    [    2.005751] iommu: Default domain type: Translated 
    [    2.010832] SCSI subsystem initialized
    [    2.014705] usbcore: registered new interface driver usbfs
    [    2.020251] usbcore: registered new interface driver hub
    [    2.025621] usbcore: registered new device driver usb
    [    2.030746] mc: Linux media interface: v0.10
    [    2.035057] videodev: Linux video capture interface: v2.00
    [    2.040612] EDAC MC: Ver: 3.0.0
    [    2.044090] zynqmp-ipi-mbox mailbox@ff3f0440: Registered ZynqMP IPI mbox with TX/RX channels.
    [    2.052800] FPGA manager framework
    [    2.056303] Advanced Linux Sound Architecture Driver Initialized.
    [    2.062642] Bluetooth: Core ver 2.22
    [    2.066253] NET: Registered protocol family 31
    [    2.070732] Bluetooth: HCI device and connection manager initialized
    [    2.077135] Bluetooth: HCI socket layer initialized
    [    2.082049] Bluetooth: L2CAP socket layer initialized
    [    2.087145] Bluetooth: SCO socket layer initialized
    [    2.092235] clocksource: Switched to clocksource arch_sys_counter
    [    2.098491] VFS: Disk quotas dquot_6.6.0
    [    2.102479] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
    [    2.112003] NET: Registered protocol family 2
    [    2.116682] tcp_listen_portaddr_hash hash table entries: 8192 (order: 5, 131072 bytes, linear)
    [    2.125489] TCP established hash table entries: 131072 (order: 8, 1048576 bytes, linear)
    [    2.134244] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
    [    2.142295] TCP: Hash tables configured (established 131072 bind 65536)
    [    2.149058] UDP hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    2.156134] UDP-Lite hash table entries: 8192 (order: 6, 262144 bytes, linear)
    [    2.163730] NET: Registered protocol family 1
    [    2.168405] RPC: Registered named UNIX socket transport module.
    [    2.174379] RPC: Registered udp transport module.
    [    2.179124] RPC: Registered tcp transport module.
    [    2.183862] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    2.190661] PCI: CLS 0 bytes, default 64
    [    2.194690] Trying to unpack rootfs image as initramfs...
    [    2.375100] Freeing initrd memory: 4988K
    [    2.405447] Initialise system trusted keyrings
    [    2.410022] workingset: timestamp_bits=46 max_order=22 bucket_order=0
    [    2.417049] NFS: Registering the id_resolver key type
    [    2.422159] Key type id_resolver registered
    [    2.426383] Key type id_legacy registered
    [    2.430438] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
    [    2.437208] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
    [    2.473425] NET: Registered protocol family 38
    [    2.477913] xor: measuring software checksum speed
    [    2.484487]    8regs           :  5654 MB/sec
    [    2.490382]    32regs          :  6519 MB/sec
    [    2.496458]    arm64_neon      :  5834 MB/sec
    [    2.500847] xor: using function: 32regs (6519 MB/sec)
    [    2.505939] Key type asymmetric registered
    [    2.510066] Asymmetric key parser 'x509' registered
    [    2.514996] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    2.522453] io scheduler mq-deadline registered
    [    2.527019] io scheduler kyber registered
    [    2.531904] ps_pcie_dma init()
    [    2.550411] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
    [    2.557454] Serial: AMBA driver
    [    2.561564] cacheinfo: Unable to detect cache hierarchy for CPU 0
    [    2.570707] brd: module loaded
    [    2.576795] loop: module loaded
    [    2.580414] mtdoops: mtd device (mtddev=name/number) must be supplied
    [    2.587788] libphy: Fixed MDIO Bus: probed
    [    2.592721] tun: Universal TUN/TAP device driver, 1.6
    [    2.597895] CAN device driver interface
    [    2.602146] usbcore: registered new interface driver asix
    [    2.607615] usbcore: registered new interface driver ax88179_178a
    [    2.613772] usbcore: registered new interface driver cdc_ether
    [    2.619665] usbcore: registered new interface driver net1080
    [    2.625381] usbcore: registered new interface driver cdc_subset
    [    2.631360] usbcore: registered new interface driver zaurus
    [    2.636994] usbcore: registered new interface driver cdc_ncm
    [    2.643161] usbcore: registered new interface driver uas
    [    2.648537] usbcore: registered new interface driver usb-storage
    [    2.654772] i2c /dev entries driver
    [    2.659126] usbcore: registered new interface driver uvcvideo
    [    2.664918] USB Video Class driver (1.1.1)
    [    2.669277] Bluetooth: HCI UART driver ver 2.3
    [    2.673761] Bluetooth: HCI UART protocol H4 registered
    [    2.678939] Bluetooth: HCI UART protocol BCSP registered
    [    2.684305] Bluetooth: HCI UART protocol LL registered
    [    2.689484] Bluetooth: HCI UART protocol ATH3K registered
    [    2.694931] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [    2.701276] Bluetooth: HCI UART protocol Intel registered
    [    2.706725] Bluetooth: HCI UART protocol QCA registered
    [    2.712007] usbcore: registered new interface driver bcm203x
    [    2.717725] usbcore: registered new interface driver bpa10x
    [    2.723356] usbcore: registered new interface driver bfusb
    [    2.728900] usbcore: registered new interface driver btusb
    [    2.734450] usbcore: registered new interface driver ath3k
    [    2.740252] sdhci: Secure Digital Host Controller Interface driver
    [    2.746480] sdhci: Copyright(c) Pierre Ossman
    [    2.750868] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.756720] ledtrig-cpu: registered to indicate activity on CPUs
    [    2.762786] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
    [    2.769382] zynqmp_firmware_probe Platform Management API v1.0
    [    2.775266] zynqmp_firmware_probe Trustzone version v1.0
    [    2.781109] xlnx_event_manager xlnx_event_manager: Xilinx Event Management driver probed
    [    2.832727] usbcore: registered new interface driver usbhid
    [    2.838354] usbhid: USB HID core driver
    [    2.842855] sysmon f1270000.sysmon: Successfully registered Versal Sysmon
    [    2.849990] ARM CCI_500 PMU driver probed
    [    2.850191] fpga_manager fpga0: Xilinx Versal FPGA Manager registered
    [    2.861082] pktgen: Packet Generator for packet performance testing. Version: 2.75
    [    2.869262] Initializing XFRM netlink socket
    [    2.873614] NET: Registered protocol family 10
    [    2.878396] Segment Routing with IPv6
    [    2.882217] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    2.888452] NET: Registered protocol family 17
    [    2.892938] NET: Registered protocol family 15
    [    2.897426] can: controller area network core
    [    2.901836] NET: Registered protocol family 29
    [    2.906314] can: raw protocol
    [    2.909302] can: broadcast manager protocol
    [    2.913516] can: netlink gateway - max_hops=1
    [    2.917984] Bluetooth: RFCOMM TTY layer initialized
    [    2.922907] Bluetooth: RFCOMM socket layer initialized
    [    2.928096] Bluetooth: RFCOMM ver 1.11
    [    2.931880] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [    2.937233] Bluetooth: BNEP filters: protocol multicast
    [    2.942503] Bluetooth: BNEP socket layer initialized
    [    2.947504] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [    2.953475] Bluetooth: HIDP socket layer initialized
    [    2.958582] 9pnet: Installing 9P2000 support
    [    2.962895] Key type dns_resolver registered
    [    2.967331] registered taskstats version 1
    [    2.971465] Loading compiled-in X.509 certificates
    [    2.977123] Btrfs loaded, crc32c=crc32c-generic
    [    2.987963] ff000000.serial: ttyAMA0 at MMIO 0xff000000 (irq = 32, base_baud = 0) is a SBSA
    [    2.996422] printk: console [ttyAMA0] enabled
    [    2.996422] printk: console [ttyAMA0] enabled
    [    3.005166] printk: bootconsole [pl11] disabled
    [    3.005166] printk: bootconsole [pl11] disabled
    [    3.022407] xilinx-ai-engine aiepart_0_50: fpga bridge [xlnx-aie-bridge-0-0] registered
    [    3.030423] aie aie0: AI engine part(0,0),(50,9), id 1 is probed successfully.
    [    3.037639] xilinx-ai-engine 20000000000.ai_engine: Xilinx AI Engine device(cols=50) probed
    [    3.046261] of-fpga-region fpga: FPGA Region probed
    [    3.051742] xilinx-zynqmp-dma ffa80000.dma: ZynqMP DMA driver Probe success
    [    3.058924] xilinx-zynqmp-dma ffa90000.dma: ZynqMP DMA driver Probe success
    [    3.066098] xilinx-zynqmp-dma ffaa0000.dma: ZynqMP DMA driver Probe success
    [    3.073263] xilinx-zynqmp-dma ffab0000.dma: ZynqMP DMA driver Probe success
    [    3.080432] xilinx-zynqmp-dma ffac0000.dma: ZynqMP DMA driver Probe success
    [    3.087611] xilinx-zynqmp-dma ffad0000.dma: ZynqMP DMA driver Probe success
    [    3.094778] xilinx-zynqmp-dma ffae0000.dma: ZynqMP DMA driver Probe success
    [    3.101940] xilinx-zynqmp-dma ffaf0000.dma: ZynqMP DMA driver Probe success
    [    3.109390] spi-nor spi0.0: found n25q00a, expected m25p80
    [    3.115168] spi-nor spi0.0: trying to lock already unlocked area
    [    3.121175] spi-nor spi0.0: n25q00a (262144 Kbytes)
    [    3.126071] 4 fixed-partitions partitions found on MTD device spi0.0
    [    3.132417] Creating 4 MTD partitions on "spi0.0":
    [    3.137200] 0x000000000000-0x000000040000 : "boot"
    [    3.142542] 0x000000040000-0x000000060000 : "bootenv"
    [    3.148062] 0x000000060000-0x000000080000 : "config"
    [    3.153474] 0x000000080000-0x000000c80000 : "kernel"
    [    3.159720] macb ff0c0000.ethernet: Not enabling partial store and forward
    [    3.166627] macb ff0c0000.ethernet: invalid hw address, using random
    [    3.173439] libphy: MACB_mii_bus: probed
    [    3.177508] mdio_bus ff0c0000.ethernet-ffffffff: MDIO device at address 1 is missing.
    [    3.186233] macb ff0c0000.ethernet eth0: Cadence GEM rev 0x0107010b at 0xff0c0000 irq 24 (1e:f8:0a:1a:3a:2b)
    [    3.196390] macb ff0d0000.ethernet: Not enabling partial store and forward
    [    3.221435] libphy: MACB_mii_bus: probed
    [    3.225503] macb ff0d0000.ethernet eth1: Cadence GEM rev 0x0107010b at 0xff0d0000 irq 25 (3a:7f:e2:ba:77:6b)
    [    3.236239] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    3.241728] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
    [    3.249459] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238fe65 hci version 0x110 quirks 0x0000000000010810
    [    3.258867] xhci-hcd xhci-hcd.0.auto: irq 42, io mem 0xfe200000
    [    3.264989] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
    [    3.273258] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.280593] usb usb1: Product: xHCI Host Controller
    [    3.285463] usb usb1: Manufacturer: Linux 5.10.0-xilinx-v2020.2 xhci-hcd
    [    3.292154] usb usb1: SerialNumber: xhci-hcd.0.auto
    [    3.297253] hub 1-0:1.0: USB hub found
    [    3.301012] hub 1-0:1.0: 1 port detected
    [    3.305113] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
    [    3.310599] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
    [    3.318261] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
    [    3.324961] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
    [    3.333225] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    3.340439] usb usb2: Product: xHCI Host Controller
    [    3.345308] usb usb2: Manufacturer: Linux 5.10.0-xilinx-v2020.2 xhci-hcd
    [    3.352001] usb usb2: SerialNumber: xhci-hcd.0.auto
    [    3.357060] hub 2-0:1.0: USB hub found
    [    3.360945] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
    [    3.368836] rtc_zynqmp f12a0000.rtc: registered as rtc0
    [    3.374070] rtc_zynqmp f12a0000.rtc: setting system clock to 2021-06-04T00:38:57 UTC (1622767137)
    [    3.383293] cdns-i2c ff030000.i2c: 400 kHz mmio ff030000 irq 27
    [    3.389557] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 1349999987 (-34)
    [    3.398309] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 1349999 KHz, changing to: 1199999 KHz
    [    3.409099] cpu cpu0: dev_pm_opp_set_rate: failed to find current OPP for freq 1349999987 (-34)
    [    3.420019] of_cfs_init
    [    3.422493] of_cfs_init: OK
    [    3.425353] cfg80211: Loading compiled-in X.509 certificates for regulatory database
    [    3.448251] mmc0: SDHCI controller on f1050000.sdhci [f1050000.sdhci] using ADMA 64-bit
    [    3.501399] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
    [    3.507931] clk: Not disabling unused clocks
    [    3.512756] ALSA device list:
    [    3.515714]   No soundcards found.
    [    3.519394] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
    [    3.528010] cfg80211: failed to load regulatory.db
    [    3.533372] Freeing unused kernel memory: 2048K
    [    3.552298] Run /init as init process
    udhcpc: started, v1.32.0
    [    3.603160] macb ff0c0000.ethernet eth0: Could not attach PHY (-19)
    ip: SIOCSIFFLAGS: No such device
    [    3.622207] mmc0: new high speed SDHC card at address aaaa
    [    3.628096] mmcblk0: mmc0:aaaa SC32G 29.7 GiB 
    udhcpc: sending discover
    [    3.637220]  mmcblk0: p1
    udhcpc: sendto: Network is down
    udhcpc: read error: Network is down, reopening socket
    [    4.428244] usb 1-1: new high-speed USB device number 2 using xhci-hcd
    [    4.580526] usb 1-1: New USB device found, idVendor=0781, idProduct=5567, bcdDevice= 1.00
    [    4.588698] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [    4.595825] usb 1-1: Product: Cruzer Blade
    [    4.599913] usb 1-1: Manufacturer: SanDisk
    [    4.604002] usb 1-1: SerialNumber: 4C530000320522104494
    [    4.609708] usb-storage 1-1:1.0: USB Mass Storage device detected
    [    4.615994] scsi host0: usb-storage 1-1:1.0
    [    5.648939] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Blade     1.00 PQ: 0 ANSI: 6
    [    5.659473] sd 0:0:0:0: [sda] 30629376 512-byte logical blocks: (15.7 GB/14.6 GiB)
    [    5.667704] sd 0:0:0:0: [sda] Write Protect is off
    [    5.672704] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
    [    5.715642]  sda:
    [    5.720816] sd 0:0:0:0: [sda] Attached SCSI removable disk
    udhcpc: sending discover
    udhcpc: sendto: Network is down
    udhcpc: read error: Network is down, reopening socket
    udhcpc: sending discover
    udhcpc: sendto: Network is down
    udhcpc: read error: Network is down, reopening socket
    udhcpc: no lease, failing
    ERROR: There's no '/dev' on rootfs.
    
    sh: can't access tty; job control turned off
    / # 
    

    By default, network settings for PetaLinux reference designs are configured using DHCP. The output you see may be slightly different from the above example, depending on the PetaLinux reference design being tested.

  9. Determine the IP address of the PetaLinux system by running ifconfig on the system console.