DESK-XZ7-L/Deployment/Standalone boot

From DAVE Developer's Wiki
Jump to: navigation, search
History
Issue Date Notes

2022/11/22

DESK-XZ7-L-1.0.0-rc1 release

2023/01/23

DESK-XZ7-L-1.0.1 release

2024/06/12

DESK-XZ7-L-1.1.0 release
2025/06/12 DESK-XZ7-L-2.0.0 release



Standalone boot[edit | edit source]

This document was written and tested with the software/hardware combination described in the history table above. However, it contains general concepts that can be adapted to any DAVE Embedded Systems' Linux platform.


200px-Emblem-important.svg.png

The following programming examples are intended for laboratory usage or for preliminary deployment strategy.

A complete deployment strategy has to be carefully identifiyed taking into account the overall arguments like: boot speed, safe boot, recovery mechanisms, watchdog supervisor, etc.

We'll explain how to program and configure a SOM to boot in standalone mode, without the need for a system microSD card, with the following option:

  • booting with Quad-SPI NOR
    • in this configuration the primary boot images will be fetched from Quad-SPI NOR flash storage, while the root file system will be fetched from microSD
  • booting with NAND
    • in this configuration the primary boot images and rootfs will be fetched from NAND flash storage

Program the Quad-SPI NOR flash[edit | edit source]

This chapter is compatible with BORA, BORA Xpress and BORA Lite platforms, but below there is log for BORA Xpress SOM.

First of all, create a bootable microSD card as described here. Alternatively you can download binaries from mirror and install it on microSD or into tftpboot directory in your host device.

Then, boot the board with the microSD card and stop the automatic boot process of U-Boot in order to access the console.

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 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
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

Warning: ethernet@e000b000 (eth0) using random MAC address - 62:bd:95:67:66:9c
eth0: ethernet@e000b000
Hit ENTER within 2 seconds to stop autoboot
Zynq>

Programming Quad-SPI NOR flash from microSD[edit | edit source]

  • Initialize and format Quad-SPI NOR flash memory
Zynq> sf probe
SF: Detected s25fl256s1 with page size 256 Bytes, erase size 64 KiB, total 32 MiB
Zynq> sf erase 0 0x1000000
SF: 16777216 bytes @ 0x0 Erased: OK
  • Install BOOT.BIN on Quad-SPI NOR flash memory
Zynq> fatload mmc 0:1 $kernel_addr_r BOOT.BIN
5221272 bytes read in 296 ms (16.8 MiB/s)
Zynq> sf write $kernel_addr_r 0x0 $filesize
device 0 offset 0x0, size 0x4fab98
SF: 5221272 bytes @ 0x0 Written: OK
  • Install image.ub on Quad-SPI NOR flash memory
Zynq> mw $kernel_addr_r 0x0 $filesize
Zynq> fatload mmc 0:1 $kernel_addr_r image.ub
6250683 bytes read in 358 ms (16.7 MiB/s)
Zynq> sf write $kernel_addr_r 0x700000 $filesize
device 0 offset 0x700000, size 0x5f60bb
SF: 6250683 bytes @ 0x700000 Written: OK
  • Install boot.scr on Quad-SPI NOR flash memory
Zynq> mw $kernel_addr_r 0x0 $filesize
Zynq> fatload mmc 0:1 $kernel_addr_r boot.scr
3830 bytes read in 14 ms (266.6 KiB/s)
Zynq> sf write $kernel_addr_r 0xFC0000 $filesize
device 0 offset 0xfc0000, size 0xef6
SF: 3830 bytes @ 0xfc0000 Written: OK

Programming Quad-SPI NOR flash from ethernet[edit | edit source]

  • Initialize and format Quad-SPI NOR flash memory
Zynq> sf probe
SF: Detected s25fl256s1 with page size 256 Bytes, erase size 64 KiB, total 32 MiB
Zynq> sf erase 0 0x1000000
SF: 16777216 bytes @ 0x0 Erased: OK
  • Properly define the ethernet configuration parameter:
Zynq> setenv ipaddr 192.168.0.89
Zynq> setenv serverip 192.168.0.99
  • download via TFTP the BOOT.BIN binary image and write BOOT.BIN on Quad-SPI NOR flash memory
Zynq> tftpboot $kernel_addr_r desk-xz7-l/bora_BOOT.BIN
Using ethernet@e000b000 device
TFTP from server 192.168.0.99; our IP address is 192.168.0.89
Filename 'desk-xz7-l/bora_BOOT.BIN'.
Load address: 0x2000000
Loading: #################################################################
         ...
         #################################################################
         #############################################
         5.3 MiB/s
done
Bytes transferred = 5221272 (4fab98 hex)
Zynq> sf write $kernel_addr_r 0x0 $filesize
device 0 offset 0x0, size 0x4fab98
SF: 5221272 bytes @ 0x0 Written: OK
Zynq>
  • download via TFTP the image.ub binary image and write image.ub on Quad-SPI NOR flash memory
Zynq> mw $kernel_addr_r 0x0 $filesize
Zynq> tftpboot $kernel_addr_r desk-xz7-l/bora_image.ub
Using ethernet@e000b000 device
TFTP from server 192.168.0.99; our IP address is 192.168.0.89
Filename 'desk-xz7-l/bora_image.ub'.
Load address: 0x2000000
Loading: #################################################################
         ...
         ###################################################
         5.3 MiB/s
done
Bytes transferred = 6250683 (5f60bb hex)
Zynq> sf write $kernel_addr_r 0x700000 $filesize
device 0 offset 0x700000, size 0x5f60bb
SF: 6250683 bytes @ 0x700000 Written: OK
Zynq>
  • download via TFTP the boot.scr binary image and write boot.scr on Quad-SPI NOR flash memory
Zynq> mw $kernel_addr_r 0x0 $filesize
Zynq> tftpboot $kernel_addr_r desk-xz7-l/bora_boot.scr
Using ethernet@e000b000 device
TFTP from server 192.168.0.99; our IP address is 192.168.0.89
Filename 'desk-xz7-l/bora_boot.scr'.
Load address: 0x2000000
Loading: #
         623 KiB/s
done
Bytes transferred = 3830 (ef6 hex)
Zynq> sf write $kernel_addr_r 0xFC0000 $filesize
device 0 offset 0xfc0000, size 0xef6
SF: 3830 bytes @ 0xfc0000 Written: OK
Zynq>

Once change boot mode and restarted, the complete boot log can be like this 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
*** Warning - bad CRC, using default environment

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

Warning: ethernet@e000b000 (eth0) using random MAC address - 7a:53:47:88:07:8e
eth0: ethernet@e000b000
Hit ENTER within 2 seconds to stop autoboot
SF: Detected s25fl256s1 with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0xfc0000, size 0x40000
SF: 262144 bytes @ 0xfc0000 Read: OK
QSPI: Trying to boot script at 3000000
## Executing script at 03000000
Trying to load boot images from qspi
SF: Detected s25fl256s1 with page size 256 Bytes, erase size 64 KiB, total 32 MiB
device 0 offset 0x700000, size 0x600000
SF: 6291456 bytes @ 0x700000 Read: OK
## Loading kernel from FIT Image at 10000000 ...
   Using 'conf-system-top.dtb' configuration
   Verifying Hash Integrity ... OK
   Trying 'kernel-1' kernel subimage
     Description:  Linux kernel
     Type:         Kernel Image
     Compression:  uncompressed
     Data Start:   0x100000ec
     Data Size:    6228192 Bytes = 5.9 MiB
     Architecture: ARM
     OS:           Linux
     Load Address: 0x00200000
     Entry Point:  0x00200000
     Hash algo:    sha256
     Hash value:   7449b0f03f22fedb3e928e4fa02b3c8a74d6714780d21cf72b84ba3c052291a7
   Verifying Hash Integrity ... sha256+ OK
## Loading fdt from FIT Image at 10000000 ...
   Using 'conf-system-top.dtb' configuration
   Verifying Hash Integrity ... OK
   Trying 'fdt-system-top.dtb' fdt subimage
     Description:  Flattened Device Tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x105f0ad8
     Data Size:    20567 Bytes = 20.1 KiB
     Architecture: ARM
     Hash algo:    sha256
     Hash value:   9fd8a85d99438d1229ea21f6762f14d7557e27d18b3f6349f55c06ffe08e88cb
   Verifying Hash Integrity ... sha256+ OK
   Booting using the fdt blob at 0x105f0ad8
Working FDT set to 105f0ad8
   Loading Kernel Image
   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/mmcblk0p2 ro rootwait
[    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.005666] clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x26703d7dd8, max_idle_ns: 440795208065 ns
[    0.016730] Switching to timer-based delay loop, resolution 6ns
[    0.023141] Console: colour dummy device 80x30
[    0.027092] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=1666666)
[    0.037631] CPU: Testing write buffer coherency: ok
[    0.042461] CPU0: Spectre v2: using BPIALL workaround
[    0.047523] pid_max: default: 32768 minimum: 301
[    0.052292] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.059450] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.068213] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.074273] RCU Tasks: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[    0.080013] RCU Tasks Rude: Setting shift to 1 and lim to 1 rcu_task_cb_adjust=1.
[    0.087578] Setting up static identity map for 0x100000 - 0x100060
[    0.093789] rcu: Hierarchical SRCU implementation.
[    0.098315] rcu:     Max phase no-delay instances is 1000.
[    0.104816] smp: Bringing up secondary CPUs ...
[    0.109136] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.109163] CPU1: Spectre v2: using BPIALL workaround
[    0.118963] smp: Brought up 1 node, 2 CPUs
[    0.122899] SMP: Total of 2 processors activated (666.66 BogoMIPS).
[    0.129113] CPU: All CPU(s) started in SVC mode.
[    0.134577] devtmpfs: initialized
[    0.143370] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.145729] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.155316] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.163076] pinctrl core: initialized pinctrl subsystem
[    0.169390] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.175494] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.181676] thermal_sys: Registered thermal governor 'step_wise'
[    0.181773] cpuidle: using governor ladder
[    0.190185] cpuidle: using governor menu
[    0.199124] platform axi: Fixed dependency cycle(s) with /axi/interrupt-controller@f8f01000
[    0.208114] platform replicator: Fixed dependency cycle(s) with /axi/etb@f8801000
[    0.210099] amba f8801000.etb: Fixed dependency cycle(s) with /replicator
[    0.217155] platform replicator: Fixed dependency cycle(s) with /axi/tpiu@f8803000
[    0.224499] amba f8803000.tpiu: Fixed dependency cycle(s) with /replicator
[    0.231568] platform replicator: Fixed dependency cycle(s) with /axi/funnel@f8804000
[    0.239084] amba f8804000.funnel: Fixed dependency cycle(s) with /axi/ptm@f889d000
[    0.246547] amba f8804000.funnel: Fixed dependency cycle(s) with /axi/ptm@f889c000
[    0.254111] amba f8804000.funnel: Fixed dependency cycle(s) with /replicator
[    0.261489] amba f8804000.funnel: Fixed dependency cycle(s) with /axi/ptm@f889c000
[    0.268841] amba f889c000.ptm: Fixed dependency cycle(s) with /axi/funnel@f8804000
[    0.276634] amba f8804000.funnel: Fixed dependency cycle(s) with /axi/ptm@f889d000
[    0.283983] amba f889d000.ptm: Fixed dependency cycle(s) with /axi/funnel@f8804000
[    0.292342] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.299441] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.306568] e0000000.serial: ttyPS1 at MMIO 0xe0000000 (irq = 26, base_baud = 3125000) is a xuartps
[    0.315733] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 27, base_baud = 3125000) is a xuartps
[    0.329047] printk: console [ttyPS0] enabled
[    0.329047] printk: console [ttyPS0] enabled
[    0.333360] printk: bootconsole [cdns0] disabled
[    0.333360] printk: bootconsole [cdns0] disabled
[    0.350991] SCSI subsystem initialized
[    0.355159] usbcore: registered new interface driver usbfs
[    0.360734] usbcore: registered new interface driver hub
[    0.366106] usbcore: registered new device driver usb
[    0.371584] mc: Linux media interface: v0.10
[    0.375941] videodev: Linux video capture interface: v2.00
[    0.381524] pps_core: LinuxPPS API ver. 1 registered
[    0.386520] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.395709] PTP clock support registered
[    0.399716] EDAC MC: Ver: 3.0.0
[    0.403675] FPGA manager framework
[    0.407409] Advanced Linux Sound Architecture Driver Initialized.
[    0.414940] vgaarb: loaded
[    0.418213] clocksource: Switched to clocksource arm_global_timer
[    0.439917] NET: Registered PF_INET protocol family
[    0.445313] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.455262] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.463870] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.471662] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.479574] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[    0.487068] TCP: Hash tables configured (established 8192 bind 8192)
[    0.493568] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.500269] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.507555] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.514046] RPC: Registered named UNIX socket transport module.
[    0.519993] RPC: Registered udp transport module.
[    0.524699] RPC: Registered tcp transport module.
[    0.529414] RPC: Registered tcp-with-tls transport module.
[    0.534820] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.541348] PCI: CLS 0 bytes, default 64
[    0.545815] armv7-pmu f8891000.pmu: hw perfevents: no interrupt-affinity property, guessing.
[    0.554614] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.564793] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.572297] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.579870] bounce: pool size: 64 pages
[    0.583740] io scheduler mq-deadline registered
[    0.588274] io scheduler kyber registered
[    0.592372] io scheduler bfq registered
[    0.597440] zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
[    0.607970] dma-pl330 f8003000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.615601] dma-pl330 f8003000.dma-controller:       DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
[    0.639752] brd: module loaded
[    0.654629] loop: module loaded
[    0.660227] spi-nor spi0.0: found s25fl256s1, expected s25fl128s1
[    0.666605] spi-nor spi0.0: s25fl256s1 (32768 Kbytes)
[    0.671812] 1 fixed-partitions partitions found on MTD device spi0.0
[    0.678208] Creating 1 MTD partitions on "spi0.0":
[    0.683046] 0x000000000000-0x000002000000 : "qspi-boot"
[    0.694238] CAN device driver interface
[    0.812941] macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 42 (7a:53:47:88:07:8e)
[    0.823185] e1000e: Intel(R) PRO/1000 Network Driver
[    0.828152] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    0.835223] usbcore: registered new interface driver usb-storage
[    0.842514] ULPI transceiver vendor/product ID 0x0424/0x0006
[    0.848228] Found SMSC USB331x ULPI transceiver.
[    0.852881] ULPI integrity check: passed.
[    0.857944] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    0.859718] i2c_dev: i2c /dev entries driver
[    0.862909] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1
[    0.867343] cdns-i2c e0004000.i2c: can't get pinctrl, bus recovery not supported
[    0.883896] hwmon hwmon0: temp1_input not attached to any thermal zone
[    0.892211] rtc-ds3232 0-0068: registered as rtc0
[    0.897246] rtc-ds3232 0-0068: setting system clock to 2025-06-12T10:39:54 UTC (1749724794)
[    0.902808] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    0.905933] cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 44
[    0.911311] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
[    0.925314] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.932567] usb usb1: Product: EHCI Host Controller
[    0.937486] usb usb1: Manufacturer: Linux 6.6.40-xilinx-g2b7f6f70a62a ehci_hcd
[    0.944735] usb usb1: SerialNumber: ci_hdrc.0
[    0.946125] cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer with timeout 10s
[    0.949924] hub 1-0:1.0: USB hub found
[    0.956807] EDAC MC: ECC not enabled
[    0.960143] hub 1-0:1.0: 1 port detected
[    0.964631] cpufreq: cpufreq_online: CPU0: Running at unlisted initial frequency: 666666 KHz, changing to: 666667 KHz
[    0.978597] Xilinx Zynq CpuIdle Driver started
[    0.984228] sdhci: Secure Digital Host Controller Interface driver
[    0.990427] sdhci: Copyright(c) Pierre Ossman
[    0.994859] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.001632] ledtrig-cpu: registered to indicate activity on CPUs
[    1.008205] clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns
[    1.017444] timer #0 at (ptrval), irq=47
[    1.021960] usbcore: registered new interface driver usbhid
[    1.027536] usbhid: USB HID core driver
[    1.036024] mmc0: SDHCI controller on e0100000.mmc [e0100000.mmc] using ADMA
[    1.036340] fpga_manager fpga0: Xilinx Zynq FPGA Manager registered
[    1.051397] NET: Registered PF_INET6 protocol family
[    1.058012] Segment Routing with IPv6
[    1.061821] In-situ OAM (IOAM) with IPv6
[    1.065862] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.072833] NET: Registered PF_PACKET protocol family
[    1.077891] can: controller area network core
[    1.079699] mmc0: new high speed SDHC card at address aaaa
[    1.082329] NET: Registered PF_CAN protocol family
[    1.088608] mmcblk0: mmc0:aaaa SA16G 14.8 GiB
[    1.092554] can: raw protocol
[    1.099868] can: broadcast manager protocol
[    1.100711]  mmcblk0: p1 p2
[    1.104066] can: netlink gateway - max_hops=1
[    1.111797] Registering SWP/SWPB emulation handler
[    1.155065] of-fpga-region fpga-region: FPGA Region probed
[    1.161337] of_cfs_init
[    1.163904] of_cfs_init: OK
[    1.167072] clk: Disabling unused clocks
[    1.172145] ALSA device list:
[    1.175115]   No soundcards found.
[    1.418616] EXT4-fs (mmcblk0p2): orphan cleanup on readonly fs
[    1.431415] EXT4-fs (mmcblk0p2): mounted filesystem 85e9dc48-645a-4268-8e0a-cfb6132365ab ro with ordered data mode. Quota mode: disabled.
[    1.443906] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.452228] devtmpfs: mounted
[    1.463807] Freeing unused kernel image (initmem) memory: 1024K
[    1.470192] Run /sbin/init as init process
INIT: version 3.04 booting
[    1.669238] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[    1.870614] usb 1-1: New USB device found, idVendor=0781, idProduct=5591, bcdDevice= 1.00
[    1.878981] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.886257] usb 1-1: Product:  SanDisk 3.2Gen1
[    1.890808] usb 1-1: Manufacturer:  USB
[    1.894652] usb 1-1: SerialNumber: 0101c87a64b5cb45bccaae1bd784c1bad724ebe2453b86693086a660b9568077c3bd000000000000000000005c22d5f9ff81320091558107a1aaf0ca
[    1.909818] usb-storage 1-1:1.0: USB Mass Storage device detected
[    1.917055] scsi host0: usb-storage 1-1:1.0
[    2.390609] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Starting udev
[    2.771513] udevd[87]: starting version 3.2.14
[    2.908493] usb 1-1: Get one byte OTG status failed
[    2.990452] scsi 0:0:0:0: Direct-Access      USB      SanDisk 3.2Gen1 1.00 PQ: 0 ANSI: 6
[    3.000008] sd 0:0:0:0: Attached scsi generic sg0 type 0
[    3.013722] sd 0:0:0:0: [sda] 240353280 512-byte logical blocks: (123 GB/115 GiB)
[    3.022087] sd 0:0:0:0: [sda] Write Protect is off
[    3.027584] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    3.044355]  sda: sda1
[    3.047280] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    4.118255] random: crng init done
[    4.179467] udevd[88]: starting eudev-3.2.14
[    6.353866] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    7.137243] EXT4-fs (mmcblk0p2): re-mounted 85e9dc48-645a-4268-8e0a-cfb6132365ab r/w. Quota mode: disabled.
INIT: Entering runlevel: 5
Configuring network interfaces... done.
Starting system message bus: dbus.
Starting Dropbear SSH server: 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
Jun 12 10:39:53 bora kernel: L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
Jun 12 10:39:53 bora kernel: L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
Jun 12 10:39:53 bora kernel: armv7-pmu f8891000.pmu: hw perfevents: no interrupt-affinity property, guessing.
Jun 12 10:39:53 bora kernel: spi-nor spi0.0: found s25fl256s1, expected s25fl128s1
Jun 12 10:39:55 bora kernel: FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Jun 12 10:39:55 bora kernel: usb 1-1: Get one byte OTG status failed
Jun 12 10:39:59 bora kernel: FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Starting internet superserver: xinetd.
Starting Postfix...postfix/postfix-script: starting the Postfix mail system
 Successful
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) (Thu Jun 12 10:41:44 2025):

The system is going down for system halt NOW!
INIT: Switchinroot@bora:~# Stopping Dropbear SSH server: stopped /usr/sbin/dropbear (pid 481)
dropbear.
Stopping Postfix...postfix/postfix-script: stopping the Postfix mail system
 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 499)
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 605)
lighttpd.
Stopping openvpn:.
Deconfiguring network interfaces... done.
* 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...
[  118.470386] reboot: System halted