DESK-XZ7-L-AN-0003: Using PXE protocol for boot

From DAVE Developer's Wiki
Jump to: navigation, search
Info Box


History
Issue Date Notes

2024/01/25

DESK-XZ7-L-1.x.x release
2025/06/12 DESK-XZ7-L 2.x.x release



Using PXE protocol for boot[edit | edit source]

pxe command lets U-Boot to load kernel and rootfs. U-Boot loads pxelinux.conf file installed in the pxelinux.cfg directory, in your host device, with TFTP server. After parsing the configuration file, it boots the target.

pxe configuration file[edit | edit source]

Since we can boot more targets from the same server, pxe configuration file depends on U-Boot parameters.

For using pxe commands to boot your target, the folder hostname/pxelinux.cfg has to be created, for example bora/pxelinux.cfg, in the host device tftp server directory. On DESK-XZ7-L-MVM the tftp directory is /tftpboot.

U-Boot searchs the pxelinux.conf file in this order:

  • hardware type and MAC address, for example bora/pxelinux.cfg/01-00-50-c2-1e-af-e0
  • IP address and each subnet mask, for example bora/pxelinux.cfg/C0A80059, bora/pxelinux.cfg/C0A8005, bora/pxelinux.cfg/C0A800, ..., bora/pxelinux.cfg/C
  • file named default-$CONFIG_SYS_ARCH-$CONFIG_SYS_SOC, for example bora/pxelinux.cfg/default-arm-zynq-desk_xz7
  • file named default-$CONFIG_SYS_ARCH, for example bora/pxelinux.cfg/default-arm-zynq
  • file named default, for example bora/pxelinux.cfg/default

Here below there is an example of configuration file name for a board that has 00-50-c2-1e-af-e0 as the MAC address

└── bora
    ├── pxelinux.cfg
    │   └── 01-00-50-c2-1e-af-e0
    ├── rootfs.cpio.gz.u-boot
    ├── system.dtb
    └── zImage

Each pxelinux.conf file has a format like below:

  • menu title: it is used as main title for the configuration file, and it is printed in U-Boot
  • DEFAULT: this is the default configuration to use
  • TIMEOUT: after some seconds defined with this property, if a configuration is not chosen U-Boot runs the DEFAULT configuration
  • LABEL: this is a string for selecting from various configurations. For example, we can use a label for booting from NFS and another one from eMMC
    • KERNEL: this is the kernel filename that will be loaded on the target
    • FDT: this is the device tree that will be loaded on the target
    • INITRD: this is the ramdisk file system loaded on the target
    • APPEND: (optional) kernel cmd line parameters


An example of pxelinux.conf file is the following one:

menu title Select the boot mode

DEFAULT boot_nfs
TIMEOUT 20
LABEL boot_rootfs_ram
        KERNEL zImage
        FDT system.dtb
        INITRD rootfs.cpio.gz.u-boot

LABEL boot_nfs
        KERNEL zImage
        FDT system.dtb
        APPEND console=ttyPS0,115200 earlycon root=/dev/nfs ip=${ipaddr} nfsroot=${serverip}:/home/dvdk/nfsroot,v3,tcp rw

pxe boot example[edit | edit source]

To use pxe command on the target, you need to send the commands like the example here below:

  • network configuration
Zynq> setenv ipaddr 192.168.0.89
Zynq> setenv serverip 192.168.0.99
  • get the pxe configuration file
Zynq> pxe get
missing environment variable: pxeuuid
Retrieving file: bora/pxelinux.cfg/01-00-50-c2-1e-af-e0
Using ethernet@e000b000 device
TFTP from server 192.168.0.99; our IP address is 192.168.0.89
Filename 'bora/pxelinux.cfg/01-00-50-c2-1e-af-e0'.
Load address: 0x2000000
Loading: #
        89.8 KiB/s
done
Bytes transferred = 278 (116 hex)
Config file found
  • boot the target using the pxe command with NFS
Zynq> pxe boot
Select the boot mode
1:      boot_rootfs_ram
2:      boot_nfs
Enter choice: 2
  • a complete boot log is like the following one:

U-Boot 2024.01-desk-xz7-l-2.0.0 (Jun 10 2025 - 15:58:48 +0000)

CPU:   Zynq 7z020
Silicon: v3.1
Model: Bora
DRAM:  ECC disabled 1 GiB
Core:  23 devices, 17 uclasses, devicetree: board
Flash: 0 Bytes
NAND:  0 MiB
MMC:   mmc@e0100000: 0
Loading Environment from SPIFlash... SF: Detected s25fl256s1 with page size 256 Bytes, erase size 64 KiB, total 32 MiB
OK
In:    serial@e0001000
Out:   serial@e0001000
Err:   serial@e0001000
SF: Detected s25fl256s1 with page size 256 Bytes, erase size 64 KiB, total 32 MiB
SF: Detected s25fl256s1 with page size 256 Bytes, erase size 64 KiB, total 32 MiB
SOM UniqueID not found, using default
SOM UniqueID not found, using default
SOM ConfigID#: 00000001
SOM UniqueID#: ffffffff:ffffffff
CB ConfigID#: 00000001
CB UniqueID#: 3b000043:73db012d
SF: Detected s25fl256s1 with page size 256 Bytes, erase size 64 KiB, total 32 MiB
Warning: MAC addr not found in SPI NOR at block 8
Net:
ZYNQ GEM: e000b000, mdio bus e000b000, phyaddr 7, interface rgmii-id
eth0: ethernet@e000b000
Hit ENTER within 2 seconds to stop autoboot
Zynq> pxe get
missing environment variable: pxeuuid
Retrieving file: bora/pxelinux.cfg/01-00-50-c2-1e-af-e0
ethernet@e000b000 Waiting for PHY auto negotiation to complete........ done
Using ethernet@e000b000 device
TFTP from server 192.168.0.99; our IP address is 192.168.0.89
Filename 'bora/pxelinux.cfg/01-00-50-c2-1e-af-e0'.
Load address: 0x2000000
Loading: #
         0 Bytes/s
done
Bytes transferred = 348 (15c hex)
Config file 'bora/image.ub' found
Zynq> pxe boot
Select the boot mode
1:      boot_rootfs_ram
2:      boot_nfs
Enter choice: 2
2:      boot_nfs
Retrieving file: bora/zImage
Using ethernet@e000b000 device
TFTP from server 192.168.0.99; our IP address is 192.168.0.89
Filename 'bora/zImage'.
Load address: 0x2000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###############################################
         247.1 KiB/s
done
Bytes transferred = 6228192 (5f08e0 hex)
append: console=ttyPS0,115200 earlycon root=/dev/nfs ip=192.168.0.89 nfsroot=192.168.0.99:/home/dvdk/nfsroot,v3,tcp rw
Retrieving file: bora/system.dtb
Using ethernet@e000b000 device
TFTP from server 192.168.0.99; our IP address is 192.168.0.89
Filename 'bora/system.dtb'.
Load address: 0x1f00000
Loading: #####
         163.1 KiB/s
done
Bytes transferred = 20567 (5057 hex)
Kernel image @ 0x2000000 [ 0x000000 - 0x5f08e0 ]
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
Working FDT set to 1f00000
   Loading Device Tree to 2fff7000, end 2ffff056 ... OK
Working FDT set to 2fff7000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.6.40-xilinx-g2b7f6f70a62a (oe-user@oe-host) (arm-xilinx-linux-gnueabi-gcc (GCC) 13.3.0, GNU ld (GNU Binutils) 2.42.0.20240716) #1 SMP PREEMPT Tue Oct 29 11:52:30 UTC 2024
[    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: Bora
[    0.000000] earlycon: cdns0 at MMIO 0xe0001000 (options '115200n8')
[    0.000000] printk: bootconsole [cdns0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 16 MiB at 0x3f000000 on node -1
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000002fffffff]
[    0.000000]   HighMem  [mem 0x0000000030000000-0x000000003fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff]
[    0.000000] percpu: Embedded 16 pages/cpu s35988 r8192 d21356 u65536
[    0.000000] Kernel command line: console=ttyPS0,115200 earlycon root=/dev/nfs ip=192.168.0.89 nfsroot=192.168.0.99:/home/dvdk/nfsroot,v3,tcp rw
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260608
[    0.000000] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.000000] Memory: 1008176K/1048576K available (9216K kernel code, 828K rwdata, 2720K rodata, 1024K init, 171K bss, 24016K reserved, 16384K cma-reserved, 245760K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] ftrace: allocating 37947 entries in 112 pages
[    0.000000] ftrace: allocated 112 pages with 3 groups
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible 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]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    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 (ptrval)
[    0.000000] slcr mapped to (ptrval)
[    0.000000] GIC physical location is 0xf8f01000
[    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] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] zynq_clock_init: clkc starts at (ptrval)
[    0.000000] Zynq clock init
[    0.000001] sched_clock: 64 bits at 167MHz, resolution 6ns, wraps every 4398046511103ns
[    0.005676] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x26703d7dd8, max_idle_ns: 440795208065 ns
[    0.016740] Switching to timer-based delay loop, resolution 6ns
[    0.023155] Console: colour dummy device 80x30
[    0.027102] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=1666666)
[    0.037642] CPU: Testing write buffer coherency: ok
[    0.042472] CPU0: Spectre v2: using BPIALL workaround
[    0.047534] pid_max: default: 32768 minimum: 301
[    0.052302] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.059461] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.068230] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.074278] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[    0.080025] RCU Tasks Rude: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[    0.087589] Setting up static identity map for 0x100000 - 0x100060
[    0.093798] rcu: Hierarchical SRCU implementation.
[    0.098325] rcu:     Max phase no-delay instances is 1000.
[    0.104831] smp: Bringing up secondary CPUs ...
[    0.109155] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.109181] CPU1: Spectre v2: using BPIALL workaround
[    0.118967] smp: Brought up 1 node, 2 CPUs
[    0.122909] SMP: Total of 2 processors activated (666.66 BogoMIPS).
[    0.129123] CPU: All CPU(s) started in SVC mode.
[    0.134595] devtmpfs: initialized
[    0.143419] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.145791] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.155369] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.163134] pinctrl core: initialized pinctrl subsystem
[    0.169440] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.175527] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.181729] thermal_sys: Registered thermal governor 'step_wise'
[    0.181832] cpuidle: using governor ladder
[    0.190240] cpuidle: using governor menu
[    0.199231] platform axi: Fixed dependency cycle(s) with /axi/interrupt-controller@f8f01000
[    0.208151] platform replicator: Fixed dependency cycle(s) with /axi/etb@f8801000
[    0.210138] amba f8801000.etb: Fixed dependency cycle(s) with /replicator
[    0.217177] platform replicator: Fixed dependency cycle(s) with /axi/tpiu@f8803000
[    0.224546] amba f8803000.tpiu: Fixed dependency cycle(s) with /replicator
[    0.231608] platform replicator: Fixed dependency cycle(s) with /axi/funnel@f8804000
[    0.239124] amba f8804000.funnel: Fixed dependency cycle(s) with /axi/ptm@f889d000
[    0.246584] amba f8804000.funnel: Fixed dependency cycle(s) with /axi/ptm@f889c000
[    0.254148] amba f8804000.funnel: Fixed dependency cycle(s) with /replicator
[    0.261528] amba f8804000.funnel: Fixed dependency cycle(s) with /axi/ptm@f889c000
[    0.268876] amba f889c000.ptm: Fixed dependency cycle(s) with /axi/funnel@f8804000
[    0.276660] amba f8804000.funnel: Fixed dependency cycle(s) with /axi/ptm@f889d000
[    0.284030] amba f889d000.ptm: Fixed dependency cycle(s) with /axi/funnel@f8804000
[    0.292374] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.299476] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.306611] e0000000.serial: ttyPS1 at MMIO 0xe0000000 (irq = 26, base_baud = 3125000) is a xuartps
[    0.315768] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 27, base_baud = 3125000) is a xuartps
[    0.329084] printk: console [ttyPS0] enabled
[    0.329084] printk: console [ttyPS0] enabled
[    0.333397] printk: bootconsole [cdns0] disabled
[    0.333397] printk: bootconsole [cdns0] disabled
[    0.350936] SCSI subsystem initialized
[    0.355082] usbcore: registered new interface driver usbfs
[    0.360661] usbcore: registered new interface driver hub
[    0.366031] usbcore: registered new device driver usb
[    0.371510] mc: Linux media interface: v0.10
[    0.375786] videodev: Linux video capture interface: v2.00
[    0.381371] pps_core: LinuxPPS API ver. 1 registered
[    0.386367] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.395553] PTP clock support registered
[    0.399561] EDAC MC: Ver: 3.0.0
[    0.403518] FPGA manager framework
[    0.407254] Advanced Linux Sound Architecture Driver Initialized.
[    0.414785] vgaarb: loaded
[    0.418072] clocksource: Switched to clocksource arm_global_timer
[    0.439747] NET: Registered PF_INET protocol family
[    0.445131] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.455081] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.463693] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.471488] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.479401] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.486897] TCP: Hash tables configured (established 8192 bind 8192)
[    0.493402] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.500091] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.507379] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.513850] RPC: Registered named UNIX socket transport module.
[    0.519805] RPC: Registered udp transport module.
[    0.524511] RPC: Registered tcp transport module.
[    0.529226] RPC: Registered tcp-with-tls transport module.
[    0.534709] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.541168] PCI: CLS 0 bytes, default 64
[    0.545657] armv7-pmu f8891000.pmu: hw perfevents: no interrupt-affinity property, guessing.
[    0.554464] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.564653] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.572158] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.579732] bounce: pool size: 64 pages
[    0.583604] io scheduler mq-deadline registered
[    0.588138] io scheduler kyber registered
[    0.592234] io scheduler bfq registered
[    0.597293] zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
[    0.607787] dma-pl330 f8003000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.615443] dma-pl330 f8003000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
[    0.639362] brd: module loaded
[    0.651797] loop: module loaded
[    0.657410] spi-nor spi0.0: found s25fl256s1, expected s25fl128s1
[    0.663807] spi-nor spi0.0: s25fl256s1 (32768 Kbytes)
[    0.669034] 1 fixed-partitions partitions found on MTD device spi0.0
[    0.675474] Creating 1 MTD partitions on "spi0.0":
[    0.680308] 0x000000000000-0x000002000000 : "qspi-boot"
[    0.691584] CAN device driver interface
[    0.819329] macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 42 (00:50:c2:1e:af:e0)
[    0.829577] e1000e: Intel(R) PRO/1000 Network Driver
[    0.834543] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.841609] usbcore: registered new interface driver usb-storage
[    0.848912] ULPI transceiver vendor/product ID 0x0424/0x0006
[    0.854617] Found SMSC USB331x ULPI transceiver.
[    0.859269] ULPI integrity check: passed.
[    0.866061] i2c_dev: i2c /dev entries driver
[    0.870502] cdns-i2c e0004000.i2c: can't get pinctrl, bus recovery not supported
[    0.880194] hwmon hwmon0: temp1_input not attached to any thermal zone
[    0.888478] rtc-ds3232 0-0068: registered as rtc0
[    0.893539] rtc-ds3232 0-0068: setting system clock to 2018-03-09T12:40:13 UTC (1520599213)
[    0.902169] cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 44
[    0.911300] cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer with timeout 10s
[    0.918970] EDAC MC: ECC not enabled
[    0.923511] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 666666 KHz, changing to: 666667 KHz
[    0.934463] Xilinx Zynq CpuIdle Driver started
[    0.939771] sdhci: Secure Digital Host Controller Interface driver
[    0.945969] sdhci: Copyright(c) Pierre Ossman
[    0.950385] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.957845] ledtrig-cpu: registered to indicate activity on CPUs
[    0.964354] clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns
[    0.973570] timer #0 at (ptrval), irq=47
[    0.978119] usbcore: registered new interface driver usbhid
[    0.983694] usbhid: USB HID core driver
[    0.991721] fpga_manager fpga0: Xilinx Zynq FPGA Manager registered
[    0.992087] mmc0: SDHCI controller on e0100000.mmc [e0100000.mmc] using ADMA
[    0.999944] NET: Registered PF_INET6 protocol family
[    1.012005] Segment Routing with IPv6
[    1.015787] In-situ OAM (IOAM) with IPv6
[    1.019959] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.027230] NET: Registered PF_PACKET protocol family
[    1.032394] can: controller area network core
[    1.036881] NET: Registered PF_CAN protocol family
[    1.041773] can: raw protocol
[    1.044812] can: broadcast manager protocol
[    1.049128] can: netlink gateway - max_hops=1
[    1.053968] Registering SWP/SWPB emulation handler
[    1.098409] of-fpga-region fpga-region: FPGA Region probed
[    1.104726] of_cfs_init
[    1.107272] of_cfs_init: OK
[    1.193577] macb e000b000.ethernet eth0: PHY [e000b000.ethernet-ffffffff:07] driver [Micrel KSZ9031 Gigabit PHY] (irq=POLL)
[    1.204833] macb e000b000.ethernet eth0: configuring for phy/rgmii-id link mode
[    5.393500] macb e000b000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    5.438166] IP-Config: Guessing netmask 255.255.255.0
[    5.443250] IP-Config: Complete:
[    5.446485]      device=eth0, hwaddr=00:50:c2:1e:af:e0, ipaddr=192.168.0.89, mask=255.255.255.0, gw=255.255.255.255
[    5.457105]      host=192.168.0.89, domain=, nis-domain=(none)
[    5.463080]      bootserver=255.255.255.255, rootserver=192.168.0.99, rootpath=
[    5.463632] clk: Disabling unused clocks
[    5.475111] ALSA device list:
[    5.478106]   No soundcards found.
[    5.548344] VFS: Mounted root (nfs filesystem) on device 0:15.
[    5.557589] devtmpfs: mounted
[    5.577723] Freeing unused kernel image (initmem) memory: 1024K
[    5.584397] Run /sbin/init as init process
INIT: version 3.04 booting
Starting udev
[    8.766088] udevd[82]: starting version 3.2.14
[   10.758115] random: crng init done
[   11.209976] udevd[83]: starting eudev-3.2.14
Configuring packages on first boot....
 (This may take several minutes. Please do not power off the machine.)
Running postinst /etc/rpm-postinsts/100-postfix-cfg...
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... ifup skipped for nfsroot interface eth0
run-parts: /etc/network/if-pre-up.d/nfsroot: exit status 1
ifup: failed to bring up eth0
Starting system message bus: dbus.
Starting Dropbear SSH server: Generating 2048 bit rsa key, this may take a while...
Public key portion is:
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCTpL/mBhQTII8WMb3y1snyDtX2vqiwVvGsg57OIqYpACIzk820ZFYT+xRz6svH437wX8BnLKxlHkehwhjai6e/9Q9L1/Og5j/fA6ji5+uIkCiO0nEjR7MzbP016ijfx3K+Tpn9ivkhSPHn2B1i5oxct9tnx0+b+Wh948tXoltVn5DUyJMxV42mRLjgeoQoGI37bgaIB2XgD2n0fwDIMb7Vj1lzCELGaIGxX++ClM/oIjtSi206veJ1hkgSEocxV/vBKjSSbt3ZJzAojZPgXrcZsynAVlH2478PhMpr65mpFG/KnHKwWAkIOwphYG4rZAI0n88acPF79s1KAu3mnh2l root@bora
Fingerprint: SHA256:E9ygrhD20Jozf5mDLkwPGNMJj02KvedTgpoFDUsnDy4
dropbear.
Starting openvpn:.
Starting rpcbind daemon...done.
Starting atd: OK
egrep: warning: egrep is obsolescent; using grep -E
starting DNS forwarder and DHCP server: dnsmasq... done.
Starting internet superserver: inetd.
Starting ntpd: done
Starting system log daemon...0
Mar  9 12:40:12 bora kernel: L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
Mar  9 12:40:12 bora kernel: L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
Mar  9 12:40:12 bora kernel: armv7-pmu f8891000.pmu: hw perfevents: no interrupt-affinity property, guessing.
Mar  9 12:40:12 bora kernel: spi-nor spi0.0: found s25fl256s1, expected s25fl128s1
Starting internet superserver: xinetd.
Starting Postfix...postsuper: fatal: scan_dir_push: open directory defer: Permission denied
postfix/postfix-script: fatal: Postfix integrity check failed!
 Failed
Starting Lighttpd Web Server: lighttpd.
* starting FTP Server: vsftpd... done.
Starting crond: OK
Starting tcf-agent: OK

********************************************************************************************
The PetaLinux source code and images provided/generated are for demonstration purposes only.
Please refer to https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/2741928025/Moving+from+PetaLinux+to+Production+Deployment
for more details.
********************************************************************************************
PetaLinux 2024.2+release-S11061705 bora ttyPS0

bora login: root (automatic login)

root@bora:~#
root@bora:~# uname -a
Linux bora 6.6.40-xilinx-g2b7f6f70a62a #1 SMP PREEMPT Tue Oct 29 11:52:30 UTC 2024 armv7l GNU/Linux
root@bora:~# cat /etc/os-release
ID=petalinux
NAME="PetaLinux"
VERSION="2024.2+release-S11061705 (scarthgap)"
VERSION_ID=2024.2-release-s11061705
VERSION_CODENAME="scarthgap"
PRETTY_NAME="PetaLinux 2024.2+release-S11061705 (scarthgap)"
CPE_NAME="cpe:/o:openembedded:petalinux:2024.2+release-S11061705"
BUILD_VERSION="desk-xz7-l-2.0.0"
root@bora:~# cat /etc/buildinfo
-----------------------
Build Configuration:  |
-----------------------
DISTRO = petalinux
DISTRO_VERSION = 2024.2+release-S11061705
MACHINE = zynq-generic-7z020
IMAGE_BASENAME = petalinux-image-minimal
-----------------------
Layer Revisions:      |
-----------------------
meta              = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-poky         = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-microblaze   = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-xilinx-core  = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-xilinx-standalone = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-xilinx-standalone-sdt = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-xilinx-bsp   = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-xilinx-vendor = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-xilinx-virtualization = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-xilinx-mali400 = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-xilinx-demos = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-xilinx-multimedia = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-xilinx-tools = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-amd-adaptive-socs-core = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-amd-adaptive-socs-bsp = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-arm          = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-arm-toolchain = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-perl         = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-python       = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-filesystems  = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-gnome        = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-multimedia   = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-networking   = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-webserver    = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-xfce         = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-initramfs    = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-oe           = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-xilinx-contrib = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-virtualization = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-kria         = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-embedded-plus = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-security     = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-tpm          = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-xilinx-tsn   = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-petalinux    = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-openamp      = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-qt5          = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-aws          = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-jupyter      = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-rauc         = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-system-controller = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-ros-common   = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-ros2         = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-ros2-jazzy   = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-system-controller-restricted = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-user         = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
meta-dave         = HEAD:988f0475300d2f5ff4cea89df5eebfb16e8ad28d
workspace         = HEAD:13055268986ea93853c7dfc2d70253a9ae0a266a -- modified
root@bora:~#
root@bora:~# shutdown -h now

Broadcast message from root@bora (ttyPS0) (Fri Mar  9 12:42:01 2018):

The system is going down for system halt NOW!
INIT: Switching to runlevel: 0
root@bora:~# Stopping Dropbear SSH server: stopped /usr/sbin/dropbear (pid 449)
dropbear.
Stopping Postfix... Successful
Stopping atd: OK
Stopping system message bus: dbus.
egrep: warning: egrep is obsolescent; using grep -E
stopping DNS forwarder and DHCP server: dnsmasq... stopped /usr/bin/dnsmasq (pid 467)
done.
Stopping internet superserver: inetd.
Stopping ntpd: done
Stopping system log daemon...0
Stopping tcf-agent: OK
Stopping internet superserver: xinetd.
Unmounting remote filesystems...
Stopping crond: OK
Stopping rpcbind daemon...
done.
Stopping Lighttpd Web Server: stopped /usr/sbin/lighttpd (pid 546)
lighttpd.
Stopping openvpn:.
not deconfiguring network interfaces: network file systems still mounted.
* stopping FTP Server: vsftpd... no /usr/sbin/vsftpd found; none killed
Sending all processes the TERM signal...
Sending all processes the KILL signal...
Deactivating swap...
Unmounting local filesystems...
[  117.218835] reboot: System halted