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.0.1 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
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 2021.01-desk-xz7-l-1.0.1 (Jan 12 2024 - 10:44:15 +0000)

CPU:   Zynq 7z020
Silicon: v3.1
Model: Bora
DRAM:  ECC disabled 1 GiB
Flash: 0 Bytes
NAND:  0 MiB
MMC:   mmc@e0100000: 0
Loading Environment from FAT... 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
SOM ConfigID CRC mismatch for 0x00ffffff (was 0xff000000, expected 0xd2fd1072) at block 2 (offset 96): using default
SF: Detected s25fl256s1 with page size 256 Bytes, erase size 64 KiB, total 32 MiB
SOM ConfigID#: ffffffff
SOM UniqueID#: 01234567:89abcdef
CB ConfigID#: 44444444
CB UniqueID#: 0f000043:732e532d
SF: Detected s25fl256s1 with page size 256 Bytes, erase size 64 KiB, total 32 MiB
ethaddr#: 00:50:c2:1e:af:e0
Net:
ZYNQ GEM: e000b000, mdio bus e000b000, phyaddr 7, interface rgmii-id
eth0: ethernet@e000b000
Hit ENTER within 2 seconds to stop autoboot
Zynq>
Zynq> setenv serverip 192.168.0.99
Zynq> setenv serverip 192.168.0.89
Zynq>
Zynq> ping 192.168.0.99
Using ethernet@e000b000 device
host 192.168.0.99 is alive
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: #
         29.3 KiB/s
done
Bytes transferred = 306 (132 hex)
Config file 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: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #####################################
         492.2 KiB/s
done
Bytes transferred = 4845944 (49f178 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: #####
         3.9 KiB/s
done
Bytes transferred = 20776 (5128 hex)
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Device Tree to 2fff7000, end 2ffff127 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.0-xilinx-v2021.2 (oe-user@oe-host) (arm-xilinx-linux-gnueabi-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.1) #1 SMP PREEMPT Tue Oct 12 09:30:57 UTC 2021
[    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
[    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 s32780 r8192 d24564 u65536
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
[    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] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1009768K/1048576K available (7168K kernel code, 279K rwdata, 1952K rodata, 1024K init, 162K bss, 22424K reserved, 16384K cma-reserved, 245760K highmem)
[    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] 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] random: get_random_bytes called from start_kernel+0x2c0/0x4a0 with crng_init=0
[    0.000000] zynq_clock_init: clkc starts at (ptrval)
[    0.000000] Zynq clock init
[    0.000012] sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns
[    0.005711] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce07af025, max_idle_ns: 440795209040 ns
[    0.016642] Switching to timer-based delay loop, resolution 3ns
[    0.023160] Console: colour dummy device 80x30
[    0.026883] Calibrating delay loop (skipped), value calculated using timer frequency.. 666.66 BogoMIPS (lpj=3333333)
[    0.037293] pid_max: default: 32768 minimum: 301
[    0.042069] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.049069] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.057747] CPU: Testing write buffer coherency: ok
[    0.061517] CPU0: Spectre v2: using BPIALL workaround
[    0.066738] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.072799] Setting up static identity map for 0x100000 - 0x100060
[    0.078366] rcu: Hierarchical SRCU implementation.
[    0.083338] smp: Bringing up secondary CPUs ...
[    0.088374] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.088386] CPU1: Spectre v2: using BPIALL workaround
[    0.098120] smp: Brought up 1 node, 2 CPUs
[    0.102023] SMP: Total of 2 processors activated (1333.33 BogoMIPS).
[    0.108346] CPU: All CPU(s) started in SVC mode.
[    0.113577] devtmpfs: initialized
[    0.121205] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.124119] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.133449] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.141390] pinctrl core: initialized pinctrl subsystem
[    0.146244] NET: Registered protocol family 16
[    0.151986] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.157751] thermal_sys: Registered thermal governor 'step_wise'
[    0.158064] cpuidle: using governor ladder
[    0.166490] cpuidle: using governor menu
[    0.182920] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.185270] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.191180] zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0x(ptrval)
[    0.198320] e0000000.serial: ttyPS1 at MMIO 0xe0000000 (irq = 34, base_baud = 3125000) is a xuartps
[    0.207208] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 35, base_baud = 3125000) is a xuartps
[    0.221095] printk: console [ttyPS0] enabled
[    0.221095] printk: console [ttyPS0] enabled
[    0.225401] printk: bootconsole [cdns0] disabled
[    0.225401] printk: bootconsole [cdns0] disabled
[    0.249764] vgaarb: loaded
[    0.252877] SCSI subsystem initialized
[    0.256880] usbcore: registered new interface driver usbfs
[    0.262445] usbcore: registered new interface driver hub
[    0.267854] usbcore: registered new device driver usb
[    0.273166] mc: Linux media interface: v0.10
[    0.277472] videodev: Linux video capture interface: v2.00
[    0.283034] pps_core: LinuxPPS API ver. 1 registered
[    0.287990] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.297146] PTP clock support registered
[    0.301133] EDAC MC: Ver: 3.0.0
[    0.304787] FPGA manager framework
[    0.308523] Advanced Linux Sound Architecture Driver Initialized.
[    0.315670] clocksource: Switched to clocksource arm_global_timer
[    0.333003] NET: Registered protocol family 2
[    0.338055] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.346504] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.354351] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.361625] TCP: Hash tables configured (established 8192 bind 8192)
[    0.368142] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.374856] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.382150] NET: Registered protocol family 1
[    0.387192] RPC: Registered named UNIX socket transport module.
[    0.393145] RPC: Registered udp transport module.
[    0.397843] RPC: Registered tcp transport module.
[    0.402551] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.409014] PCI: CLS 0 bytes, default 64
[    0.413538] hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing.
[    0.421726] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.431307] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.438901] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.446303] bounce: pool size: 64 pages
[    0.450145] io scheduler mq-deadline registered
[    0.454690] io scheduler kyber registered
[    0.459083] zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
[    0.467882] dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
[    0.474620] dma-pl330 f8003000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
[    0.494490] brd: module loaded
[    0.504350] loop: module loaded
[    0.509420] spi-nor spi0.0: found s25fl256s1, expected s25fl128s1
[    0.515753] spi-nor spi0.0: s25fl256s1 (32768 Kbytes)
[    0.520830] 1 fixed-partitions partitions found on MTD device spi0.0
[    0.527212] Creating 1 MTD partitions on "spi0.0":
[    0.531997] 0x000000000000-0x000002000000 : "boot"
[    0.539971] libphy: Fixed MDIO Bus: probed
[    0.545761] CAN device driver interface
[    0.552305] libphy: MACB_mii_bus: probed
[    0.588525] macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 37 (00:50:c2:1e:af:e0)
[    0.598695] e1000e: Intel(R) PRO/1000 Network Driver
[    0.603654] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.610494] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.617022] ehci-pci: EHCI PCI platform driver
[    0.621603] usbcore: registered new interface driver usb-storage
[    0.628610] ULPI transceiver vendor/product ID 0x0424/0x0006
[    0.634270] Found SMSC USB331x ULPI transceiver.
[    0.638914] ULPI integrity check: passed.
[    0.645037] i2c /dev entries driver
[    0.652029] rtc-ds3232 0-0068: registered as rtc0
[    0.657089] rtc-ds3232 0-0068: setting system clock to 2018-03-13T16:58:43 UTC (1520960323)
[    0.665717] cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 31
[    0.674184] cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer with timeout 10s
[    0.681730] EDAC MC: ECC not enabled
[    0.685786] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 666666 KHz, changing to: 666667 KHz
[    0.696741] Xilinx Zynq CpuIdle Driver started
[    0.700300] sdhci: Secure Digital Host Controller Interface driver
[    0.703396] sdhci: Copyright(c) Pierre Ossman
[    0.705609] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.709168] ledtrig-cpu: registered to indicate activity on CPUs
[    0.712452] clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 1075096770 ns
[    0.717158] timer #0 at (ptrval), irq=50
[    0.719468] usbcore: registered new interface driver usbhid
[    0.722290] usbhid: USB HID core driver
[    0.727216] fpga_manager fpga0: Xilinx Zynq FPGA Manager registered
[    0.731464] mmc0: SDHCI controller on e0100000.mmc [e0100000.mmc] using ADMA
[    0.731891] NET: Registered protocol family 10
[    0.738446] Segment Routing with IPv6
[    0.740512] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    0.747434] NET: Registered protocol family 17
[    0.751951] can: controller area network core
[    0.756461] NET: Registered protocol family 29
[    0.760957] can: raw protocol
[    0.763937] can: broadcast manager protocol
[    0.768183] can: netlink gateway - max_hops=1
[    0.772960] Registering SWP/SWPB emulation handler
[    0.780068] of-fpga-region fpga-full: FPGA Region probed
[    0.786017] of_cfs_init
[    0.788569] of_cfs_init: OK
[    0.804164] mmc0: new high speed SDHC card at address e624
[    0.808353] mmcblk0: mmc0:e624 SA16G 14.8 GiB
[    0.812870]  mmcblk0: p1 p2
[    0.868043] macb e000b000.ethernet eth0: PHY [e000b000.ethernet-ffffffff:07] driver [Micrel KSZ9031 Gigabit PHY] (irq=POLL)
[    0.873627] macb e000b000.ethernet eth0: configuring for phy/rgmii-id link mode
[    2.978167] macb e000b000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
[    2.982060] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    3.005758] IP-Config: Guessing netmask 255.255.255.0
[    3.008289] IP-Config: Complete:
[    3.009910]      device=eth0, hwaddr=00:50:c2:1e:af:e0, ipaddr=192.168.0.89, mask=255.255.255.0, gw=255.255.255.255
[    3.015136]      host=192.168.0.89, domain=, nis-domain=(none)
[    3.018210]      bootserver=255.255.255.255, rootserver=192.168.0.99, rootpath=
[    3.025602]
[    3.027419] ALSA device list:
[    3.030388]   No soundcards found.
[    3.065988] VFS: Mounted root (nfs filesystem) on device 0:13.
[    3.070992] devtmpfs: mounted
[    3.075627] Freeing unused kernel memory: 1024K
[    3.106049] Run /sbin/init as init process
[    3.126158] random: fast init done
INIT: version 2.97 booting
Starting udev
[    4.004569] udevd[86]: starting version 3.2.9
[    4.036441] random: udevd: uninitialized urandom read (16 bytes read)
[    4.041474] random: udevd: uninitialized urandom read (16 bytes read)
[    4.047809] random: udevd: uninitialized urandom read (16 bytes read)
[    4.136197] udevd[87]: starting eudev-3.2.9
[    4.816861] FAT-fs (mmcblk0p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
INIT: Entering runlevel: 5
Configuring network interfaces... RTNETLINK answers: File exists
ifup skipped for nfsroot interface eth0
run-parts: /etc/network/if-pre-up.d/nfsroot: exit status 1
Starting system message bus: dbus.
Starting haveged: haveged: command socket is listening at fd 3
haveged: haveged starting up


Starting Dropbear SSH server: dropbear.
Starting rpcbind daemon...done.
starting statd: done
Starting atd: OK
Starting internet superserver: inetd.
NFS daemon support not enabled in kernel
Starting system log daemon...0
Mar 13 16:58:56 bora kernel: [    0.000000] L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
Mar 13 16:58:56 bora kernel: [    0.000000] L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
Mar 13 16:58:56 bora kernel: [    0.413538] hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing.
Mar 13 16:58:56 bora kernel: [    0.509420] spi-nor spi0.0: found s25fl256s1, expected s25fl128s1
Mar 13 16:58:56 bora kernel: [    4.816861] FAT-fs (mmcblk0p2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Mar 13 16:58:56 bora kernel: [    6.305391] urandom_read: 4 callbacks suppressed
Starting internet superserver: xinetd.
Starting crond: OK
Starting tcf-agent: OK

PetaLinux 2021.2 bora ttyPS0


root@bora:~# ls -la /lib/modules/$(uname -r)
total 224
drwxr-xr-x 3 1001 1001  4096 Mar  9 12:34 .
drwxr-xr-x 3 1001 1001  4096 Mar  9 12:34 ..
drwxr-xr-x 5 1001 1001  4096 Mar  9 12:34 kernel
-rw-r--r-- 1 1001 1001  3183 Mar  9 12:34 modules.alias
-rw-r--r-- 1 1001 1001  5300 Mar  9 12:34 modules.alias.bin
-rw-r--r-- 1 1001 1001  9855 Mar  9 12:34 modules.builtin
-rw-r--r-- 1 1001 1001 19213 Mar  9 12:34 modules.builtin.alias.bin
-rw-r--r-- 1 1001 1001 11391 Mar  9 12:34 modules.builtin.bin
-rw-r--r-- 1 1001 1001 67302 Mar  9 12:34 modules.builtin.modinfo
-rw-r--r-- 1 1001 1001  9556 Mar  9 12:34 modules.dep
-rw-r--r-- 1 1001 1001 20218 Mar  9 12:34 modules.dep.bin
-rw-r--r-- 1 1001 1001     0 Mar  9 12:34 modules.devname
-rw-r--r-- 1 1001 1001  8204 Mar  9 12:34 modules.order
-rw-r--r-- 1 1001 1001    85 Mar  9 12:34 modules.softdep
-rw-r--r-- 1 1001 1001 14203 Mar  9 12:34 modules.symbols
-rw-r--r-- 1 1001 1001 21168 Mar  9 12:34 modules.symbols.bin
root@bora:~# cat /etc/os-release
ID=petalinux
NAME="PetaLinux"
VERSION="2021.2 (gatesgarth)"
VERSION_ID=2021.2
PRETTY_NAME="PetaLinux 2021.2 (gatesgarth)"
BUILD_VERSION="desk-xz7-l-1.0.1"
root@bora:~# cat /etc/build
-----------------------
Build Configuration:  |
-----------------------
DISTRO = petalinux
DISTRO_VERSION = 2021.2
MACHINE = zynq-generic
IMAGE_BASENAME = dave-image-devel
-----------------------
Layer Revisions:      |
-----------------------
meta              = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-poky         = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-perl         = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-python       = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-filesystems  = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-gnome        = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-multimedia   = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-networking   = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-webserver    = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-xfce         = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-initramfs    = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-oe           = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-clang        = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-chromium     = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-qt5          = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-microblaze   = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-xilinx-bsp   = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-xilinx-pynq  = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-xilinx-contrib = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-xilinx-standalone = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-xilinx-tools = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-petalinux    = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-virtualization = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-openamp      = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-jupyter      = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-vitis-ai     = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-python2      = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-som          = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-security     = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-tpm          = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-user         = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
meta-dave         = HEAD:e944801f104f86191cd086d0cea8f3df88dda061
workspace         = HEAD:829c44d28c8c46b51744c14a92107ec3c5790934 -- modified
root@bora:~# uname -a
Linux bora 5.10.0-xilinx-v2021.2 #1 SMP PREEMPT Tue Oct 12 09:30:57 UTC 2021 armv7l armv7l armv7l GNU/Linux
root@bora:~# shutdown -h now

Broadcast message from root@bora (ttyPS0) (Tue Mar 13 16:59:20 2018):

The system is going down for system halt NOW!
INIT: Sending processes configured via /etc/inittab the TERM signal
root@bora:~# Stopping haveged:

Stopping Dropbear SSH server: stopped /usr/sbin/dropbear (pid 221)
dropbear.
Stopping atd: OK
Stopping system message bus: dbus.
Stopping internet superserver: inetd.
stopping mountd: done
stopping nfsd: done
Stopping system log daemon...0
Stopping tcf-agent: OK
Stopping internet superserver: xinetd.
stopping statd: done
Stopping crond: OK
Stopping rpcbind daemon...
done.
not deconfiguring network interfaces: network file systems still mounted.
Sending all processes the TERM signal...
logout
Sending all processes the KILL signal...
Unmounting remote filesystems...
Deactivating swap...
Unmounting local filesystems...
[   39.677675] reboot: System halted