Closed GNiramay closed 3 years ago
Hi Niramay
The LED labelled with E is active when the boot process fails. How did you configure the DIP switches of the Mercury PE1 base board? (CFG A = "0001", CFG B = "0000" ?) Did you select the ME-XU5-4EV-1I-D11E-G1-R1.2 variant when you created the build?
Best regards, Andreas
Dear Andreas,
Sorry for the late reply. I was caught up with a conference.
DIp switch configuration: CFG A = 0000, CFG B = 0000
I created the build with the following commands. (I am using Ubuntu 20.04)
git clone https://github.com/enclustra-bsp/bsp-xilinx.git https://github.com/enclustra-bsp/bsp-xilinx.git ./build.sh -d Zynq-Ultrascale+/Mercury_XU5/Mercury_PE1/MMC
Please let me know if I did something wrong.
Thank you and regards, Niramay
On Fri, Jul 9, 2021 at 4:14 AM abuerkler @.***> wrote:
Hi Niramay
The LED labelled with E is active when the boot process fails. How did you configure the DIP switches of the Mercury PE1 base board? (CFG A = "0001", CFG B = "0000" ?) Did you select the ME-XU5-4EV-1I-D11E-G1-R1.2 variant when you created the build?
Best regards, Andreas
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/enclustra-bsp/bsp-xilinx/issues/36#issuecomment-877041635, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI6PQWNPJB7UB6ONSKIXBL3TW24XVANCNFSM5ACCMJPQ .
Hi Niramay
If you start the build with: ./build.sh -d Zynq-Ultrascale+/Mercury_XU5/Mercury_PE1/MMC
The ME-XU5-2CG-1E-D10H variant is chosen as default one. Please try to specify the module variant with: ./build.sh -d Zynq-Ultrascale+/Mercury_XU5/Mercury_PE1/MMC -o 3
The variant index can be determined by adding '--list-dev-options':
./build.sh -d Zynq-Ultrascale+/Mercury_XU5/Mercury_PE1/MMC --list-dev-options Available options for Zynq-Ultrascale+/Mercury_XU5/Mercury_PE1/MMC:
Best regards, Andreas
Dear all,
Thank you for your valuable information. I followed the build as you described and it seems to have worked. My only concern now is that one of the messages that were displayed on the screen were: "[ 4.856970] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2". Can you tell me how to fix it?
The following are the commands I followed after creating the boot image.
./build.sh -d Zynq-Ultrascale+/Mercury_XU5/Mercury_PE1/MMC -o 3
Then keeping the partition structure constant, the files were transferred to the SD card in the following way.
cd bsp-xilinx/out_Zynq-Ultrascale+_Mercury_XU5_Mercury_PE1_MMC
sudo mount /dev/mmcblk0p1 /mnt/boot/
sudo mount /dev/mmcblk0p2 /mnt/rootfs/
sudo rm -f /mnt/boot/*
sudo rm -rf /mnt/rootfs/*
cp boot.bin /mnt/boot/
cp devicetree.dtb /mnt/boot/
cp uboot.scr /mnt/boot/
cp Image /mnt/boot/
sudo tar -xvf rootfs.tar -C /mnt/rootfs/
sudo umount /mnt/boot
sudo umount /mnt/rootfs
Circuit connections:
CFG A = 0000
CFG B = 0000
VSEL A = B
VSEL B = B
[
After powering on the board and pressing the button "PWR", the LED's with the following labels started glowing:
On the board: PWGD, DONE, SC
On the Zynq chip: 1
]
Connect the USB cable to the your laptop (the host)
In the host terminal, enter the following command to open a serial terminal to talk to our board.
sudo screen /dev/ttyUSB1 115200
buildroot login: root
Password: root
While the system was loading, it dumped a lot of information on the screen. It can be found in the attached text file.
On Thu, Jul 15, 2021 at 4:07 AM abuerkler @.***> wrote:
Hi Niramay
If you start the build with: ./build.sh -d Zynq-Ultrascale+/Mercury_XU5/Mercury_PE1/MMC
The ME-XU5-2CG-1E-D10H variant is chosen as default one. Please try to specify the module variant with: ./build.sh -d Zynq-Ultrascale+/Mercury_XU5/Mercury_PE1/MMC -o 3
The variant index can be determined by adding '--list-dev-options':
./build.sh -d Zynq-Ultrascale+/Mercury_XU5/Mercury_PE1/MMC --list-dev-options Available options for Zynq-Ultrascale+/Mercury_XU5/Mercury_PE1/MMC:
- ME-XU5-3EG-2I-D11E
- ME-XU5-2CG-1E-D10H (default)
- ME-XU5-4EV-1I-D11E-G1
- ME-XU5-4CG-1E-D11E-G1
- ME-XU5-5EV-2I-D12E-G1
- ME-XU5-5EV-3E-D13E
- ME-XU5-4EV-1I-D11E
- ME-XU5-2EG-1I-D11E
- ME-XU5-5EV-1E-D11E
- ME-XU5-5EV-2I-D12E
Best regards, Andreas
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/enclustra-bsp/bsp-xilinx/issues/36#issuecomment-880529658, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI6PQWPA4OFFQTRL7ZSE5T3TX2QOPANCNFSM5ACCMJPQ .
Xilinx Zynq MP First Stage Boot Loader Release 2020.1 Feb 22 2021 - 12:03:03 NOTICE: ATF running on XCZU4EV/silicon v4/RTL5.1 at 0xfffea000 NOTICE: BL31: v2.2(release):xilinx-v2020.1 NOTICE: BL31: Built : 08:40:10, Jan 21 2021
U-Boot 2020.01-g51f2664e (Jul 15 2021 - 10:58:52 -0500) Enclustra Mercury XU5
Model: Enclustra XU5-4EV-1I-D11E-G1 SOM Board: Xilinx ZynqMP DRAM: 2 GiB PMUFW: v1.1 EL Level: EL2 Chip ID: zu4ev NAND: 0 MiB MMC: @.: 0, @.: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment
In: @. Out: @. Err: @. Bootmode: SD_MODE1 Reset reason: EXTERNAL SF: Detected s25fl512s_256k with page size 256 Bytes, erase size 256 KiB, total 64 MiB Net: ZYNQ GEM: ff0b0000, mdio bus ff0b0000, phyaddr 3, interface rgmii-id eth0: @. Hit any key to stop autoboot: 0 364 bytes read in 11 ms (32.2 KiB/s)
16886272 bytes read in 1224 ms (13.2 MiB/s) 28713 bytes read in 19 ms (1.4 MiB/s)
Booting using the fdt blob at 0x7180000 Loading Device Tree to 000000001fff5000, end 000000001ffff028 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.4.0-g4fabb195a @.Aspire-E5-573) (gcc version 7.2.0 (GCC)) #1 SMP Sat Jun 19 09:57:06 CDT 2021
[ 0.000000] Machine model: Enclustra XU5-4EV-1I-D11E-G1 SOM
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 256 MiB at 0x000000006fc00000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.1
[ 0.000000] percpu: Embedded 21 pages/cpu s48664 r8192 d29160 u86016
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] Speculative Store Bypass Disable mitigation not required
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 516867
[ 0.000000] Kernel command line: console=ttyPS0,115200 rw earlyprintk rootwait root=/dev/mmcblk1p2
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 1780800K/2096128K available (11580K kernel code, 618K rwdata, 3512K rodata, 704K init, 316K bss, 53184K 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=8 to nr_cpu_ids=4.
[ 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=4
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Adjusting CPU interface base to 0x00000000f902f000
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] random: get_random_bytes called from start_kernel+0x2ac/0x450 with crng_init=0
[ 0.000000] arch_timer: cp15 timer(s) running at 33.33MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x7b0074340, max_idle_ns: 440795202884 ns
[ 0.000003] sched_clock: 56 bits at 33MHz, resolution 30ns, wraps every 2199023255543ns
[ 0.000277] Console: colour dummy device 80x25
[ 0.000295] Calibrating delay loop (skipped), value calculated using timer frequency.. 66.66 BogoMIPS (lpj=133332)
[ 0.000303] pid_max: default: 32768 minimum: 301
[ 0.000417] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.000426] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.001206] ASID allocator initialised with 32768 entries
[ 0.001257] rcu: Hierarchical SRCU implementation.
[ 0.001425] EFI services will not be available.
[ 0.001544] smp: Bringing up secondary CPUs ...
[ 0.001846] Detected VIPT I-cache on CPU1
[ 0.001877] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.002202] Detected VIPT I-cache on CPU2
[ 0.002222] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.002523] Detected VIPT I-cache on CPU3
[ 0.002543] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.002588] smp: Brought up 1 node, 4 CPUs
[ 0.002600] SMP: Total of 4 processors activated.
[ 0.002604] CPU features: detected: 32-bit EL0 Support
[ 0.002610] CPU features: detected: CRC32 instructions
[ 0.002641] CPU: All CPU(s) started at EL2
[ 0.002654] alternatives: patching kernel code
[ 0.003641] devtmpfs: initialized
[ 0.007279] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.007290] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.012781] xor: measuring software checksum speed
[ 0.052036] 8regs : 2303.000 MB/sec
[ 0.092061] 32regs : 2830.000 MB/sec
[ 0.132091] arm64_neon: 2524.000 MB/sec
[ 0.132096] xor: using function: 32regs (2830.000 MB/sec)
[ 0.132105] pinctrl core: initialized pinctrl subsystem
[ 0.132690] NET: Registered protocol family 16
[ 0.133870] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.133889] audit: initializing netlink subsys (disabled)
[ 0.133956] audit: type=2000 audit(0.132:1): state=initialized audit_enabled=0 res=1
[ 0.134224] cpuidle: using governor menu
[ 0.134342] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.144548] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.144554] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.144559] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.144563] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 1.230835] DRBG: Continuing without Jitter RNG
[ 1.304967] raid6: neonx8 gen() 1645 MB/s
[ 1.372998] raid6: neonx8 xor() 1532 MB/s
[ 1.441038] raid6: neonx4 gen() 1502 MB/s
[ 1.509083] raid6: neonx4 xor() 1436 MB/s
[ 1.577160] raid6: neonx2 gen() 1165 MB/s
[ 1.645176] raid6: neonx2 xor() 1198 MB/s
[ 1.713229] raid6: neonx1 gen() 726 MB/s
[ 1.781240] raid6: neonx1 xor() 845 MB/s
[ 1.849330] raid6: int64x8 gen() 978 MB/s
[ 1.917363] raid6: int64x8 xor() 732 MB/s
[ 1.985396] raid6: int64x4 gen() 1035 MB/s
[ 2.053439] raid6: int64x4 xor() 736 MB/s
[ 2.121533] raid6: int64x2 gen() 684 MB/s
[ 2.189552] raid6: int64x2 xor() 595 MB/s
[ 2.257575] raid6: int64x1 gen() 397 MB/s
[ 2.325656] raid6: int64x1 xor() 436 MB/s
[ 2.325660] raid6: using algorithm neonx8 gen() 1645 MB/s
[ 2.325663] raid6: .... xor() 1532 MB/s, rmw enabled
[ 2.325667] raid6: using neon recovery algorithm
[ 2.325933] iommu: Default domain type: Translated
[ 2.326124] SCSI subsystem initialized
[ 2.326265] usbcore: registered new interface driver usbfs
[ 2.326294] usbcore: registered new interface driver hub
[ 2.326319] usbcore: registered new device driver usb
[ 2.326366] mc: Linux media interface: v0.10
[ 2.326385] videodev: Linux video capture interface: v2.00
[ 2.326405] pps_core: LinuxPPS API ver. 1 registered
[ 2.326408] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti @.>
[ 2.326419] PTP clock support registered
[ 2.326436] EDAC MC: Ver: 3.0.0
[ 2.326796] zynqmp-ipi-mbox @.: Registered ZynqMP IPI mbox with TX/RX channels.
[ 2.326953] FPGA manager framework
[ 2.327071] Advanced Linux Sound Architecture Driver Initialized.
[ 2.327341] Bluetooth: Core ver 2.22
[ 2.327364] NET: Registered protocol family 31
[ 2.327368] Bluetooth: HCI device and connection manager initialized
[ 2.327375] Bluetooth: HCI socket layer initialized
[ 2.327381] Bluetooth: L2CAP socket layer initialized
[ 2.327390] Bluetooth: SCO socket layer initialized
[ 2.327673] clocksource: Switched to clocksource arch_sys_counter
[ 2.327735] VFS: Disk quotas dquot_6.6.0
[ 2.327774] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 2.331623] NET: Registered protocol family 2
[ 2.331958] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[ 2.331985] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 2.332091] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[ 2.332283] TCP: Hash tables configured (established 16384 bind 16384)
[ 2.332343] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 2.332384] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[ 2.332492] NET: Registered protocol family 1
[ 2.332715] RPC: Registered named UNIX socket transport module.
[ 2.332719] RPC: Registered udp transport module.
[ 2.332723] RPC: Registered tcp transport module.
[ 2.332726] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.332943] PCI: CLS 0 bytes, default 64
[ 2.333318] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[ 2.333464] hw perfevents: enabled with armv8_pmuv3 PMU driver, 7 counters available
[ 2.334130] Initialise system trusted keyrings
[ 2.334202] workingset: timestamp_bits=62 max_order=19 bucket_order=0
[ 2.334841] NFS: Registering the id_resolver key type
[ 2.334854] Key type id_resolver registered
[ 2.334858] Key type id_legacy registered
[ 2.334867] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 2.334883] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 2.347762] NET: Registered protocol family 38
[ 2.347768] Key type asymmetric registered
[ 2.347773] Asymmetric key parser 'x509' registered
[ 2.347793] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 2.347798] io scheduler mq-deadline registered
[ 2.347802] io scheduler kyber registered
[ 2.372126] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[ 2.374622] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 2.378411] brd: module loaded
[ 2.382451] loop: module loaded
[ 2.383002] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 2.384022] libphy: Fixed MDIO Bus: probed
[ 2.384965] tun: Universal TUN/TAP device driver, 1.6
[ 2.385044] CAN device driver interface
[ 2.385670] usbcore: registered new interface driver asix
[ 2.385705] usbcore: registered new interface driver ax88179_178a
[ 2.385726] usbcore: registered new interface driver cdc_ether
[ 2.385747] usbcore: registered new interface driver net1080
[ 2.385767] usbcore: registered new interface driver cdc_subset
[ 2.385790] usbcore: registered new interface driver zaurus
[ 2.385820] usbcore: registered new interface driver cdc_ncm
[ 2.386420] usbcore: registered new interface driver uas
[ 2.386450] usbcore: registered new interface driver usb-storage
[ 2.386958] rtc_zynqmp ffa60000.rtc: registered as rtc0
[ 2.387002] i2c /dev entries driver
[ 2.388239] usbcore: registered new interface driver uvcvideo
[ 2.388243] USB Video Class driver (1.1.1)
[ 2.388537] Bluetooth: HCI UART driver ver 2.3
[ 2.388542] Bluetooth: HCI UART protocol H4 registered
[ 2.388546] Bluetooth: HCI UART protocol BCSP registered
[ 2.388564] Bluetooth: HCI UART protocol LL registered
[ 2.388568] Bluetooth: HCI UART protocol ATH3K registered
[ 2.388583] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 2.388616] Bluetooth: HCI UART protocol Intel registered
[ 2.388631] Bluetooth: HCI UART protocol QCA registered
[ 2.388659] usbcore: registered new interface driver bcm203x
[ 2.388684] usbcore: registered new interface driver bpa10x
[ 2.388709] usbcore: registered new interface driver bfusb
[ 2.388734] usbcore: registered new interface driver btusb
[ 2.388772] usbcore: registered new interface driver ath3k
[ 2.388920] EDAC MC0: 13 UE BankGroup Number 0 Block Number 0 on mc#0csrow#0channel#0 (csrow:0 channel:0 page:0x0 offset:0x0 grain:1)
[ 2.388997] EDAC MC0: Giving out device to module 1 controller synps_ddr_controller: DEV synps_edac (INTERRUPT)
[ 2.389137] EDAC DEVICE0: Giving out device to module zynqmp-ocm-edac controller zynqmp_ocm: DEV ff960000.memory-controller (INTERRUPT)
[ 2.389471] sdhci: Secure Digital Host Controller Interface driver
[ 2.389475] sdhci: Copyright(c) Pierre Ossman
[ 2.389478] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.389762] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.389809] zynqmp_firmware_probe Platform Management API v1.1
[ 2.389814] zynqmp_firmware_probe Trustzone version v1.0
[ 2.414398] alg: No test for xilinx-zynqmp-aes (zynqmp-aes)
[ 2.414545] zynqmp_aes zynqmp_aes: AES Successfully Registered
[ 2.414545]
[ 2.414684] alg: No test for xilinx-keccak-384 (zynqmp-keccak-384)
[ 2.414903] alg: No test for xilinx-zynqmp-rsa (zynqmp-rsa)
[ 2.415128] usbcore: registered new interface driver usbhid
[ 2.415131] usbhid: USB HID core driver
[ 2.417340] fpga_manager fpga0: Xilinx ZynqMP FPGA Manager registered
[ 2.417605] usbcore: registered new interface driver snd-usb-audio
[ 2.418310] pktgen: Packet Generator for packet performance testing. Version: 2.75
[ 2.418682] Initializing XFRM netlink socket
[ 2.418758] NET: Registered protocol family 10
[ 2.419131] Segment Routing with IPv6
[ 2.419219] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.419533] NET: Registered protocol family 17
[ 2.419546] NET: Registered protocol family 15
[ 2.419562] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 2.419590] can: controller area network core (rev 20170425 abi 9)
[ 2.419617] NET: Registered protocol family 29
[ 2.419623] can: raw protocol (rev 20170425)
[ 2.419627] can: broadcast manager protocol (rev 20170425 t)
[ 2.419633] can: netlink gateway (rev 20190810) max_hops=1
[ 2.419710] Bluetooth: RFCOMM TTY layer initialized
[ 2.419720] Bluetooth: RFCOMM socket layer initialized
[ 2.419731] Bluetooth: RFCOMM ver 1.11
[ 2.419739] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.419742] Bluetooth: BNEP filters: protocol multicast
[ 2.419748] Bluetooth: BNEP socket layer initialized
[ 2.419752] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.419757] Bluetooth: HIDP socket layer initialized
[ 2.419853] 9pnet: Installing 9P2000 support
[ 2.419870] Key type dns_resolver registered
[ 2.420088] registered taskstats version 1
[ 2.420092] Loading compiled-in X.509 certificates
[ 2.420468] Btrfs loaded, crc32c=crc32c-generic
[ 2.428354] ff000000.serial: ttyPS0 at MMIO 0xff000000 (irq = 33, base_baud = 6249999) is a xuartps
[ 3.665658] printk: console [ttyPS0] enabled
[ 3.670245] of-fpga-region fpga-full: FPGA Region probed
[ 3.676099] GPIO IRQ not connected
[ 3.679485] XGpio: @.: registered, base is 510
[ 3.685503] xilinx-zynqmp-dma fd500000.dma: ZynqMP DMA driver Probe success
[ 3.692609] xilinx-zynqmp-dma fd510000.dma: ZynqMP DMA driver Probe success
[ 3.699719] xilinx-zynqmp-dma fd520000.dma: ZynqMP DMA driver Probe success
[ 3.706814] xilinx-zynqmp-dma fd530000.dma: ZynqMP DMA driver Probe success
[ 3.713917] xilinx-zynqmp-dma fd540000.dma: ZynqMP DMA driver Probe success
[ 3.721014] xilinx-zynqmp-dma fd550000.dma: ZynqMP DMA driver Probe success
[ 3.728117] xilinx-zynqmp-dma fd560000.dma: ZynqMP DMA driver Probe success
[ 3.735217] xilinx-zynqmp-dma fd570000.dma: ZynqMP DMA driver Probe success
[ 3.754731] random: fast init done
[ 3.859729] zynqmp_pll_disable() clock disable failed for dpll_int, ret = -13
[ 4.165208] spi-nor spi0.0: s25fl512s (65536 Kbytes)
[ 4.170196] 6 fixed-partitions partitions found on MTD device spi0.0
[ 4.176539] Creating 6 MTD partitions on "spi0.0":
[ 4.181324] 0x000000000000-0x000000900000 : "qspi-bootimage"
[ 4.187711] 0x000000900000-0x000001700000 : "qspi-kernel"
[ 4.193723] 0x000001700000-0x000001780000 : "qspi-device-tree"
[ 4.200181] 0x000003f80000-0x000004000000 : "qspi-bootargs"
[ 4.206369] 0x000001780000-0x000001800000 : "qspi-bootscript"
[ 4.212733] 0x000001800000-0x000003f80000 : "qspi-rootfs"
[ 4.219166] macb ff0b0000.ethernet: Not enabling partial store and forward
[ 4.226556] libphy: MACB_mii_bus: probed
[ 4.300960] Micrel KSZ9031 Gigabit PHY ff0b0000.ethernet-ffffffff:03: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=ff0b0000.ethernet-ffffffff:03, irq=POLL)
[ 4.316778] macb ff0b0000.ethernet eth0: Cadence GEM rev 0x50070106 at 0xff0b0000 irq 21 (20:b0:f7:05:34:40)
[ 4.326902] macb ff0c0000.ethernet: Not enabling partial store and forward
[ 4.334202] libphy: MACB_mii_bus: probed
[ 4.408957] Micrel KSZ9031 Gigabit PHY ff0c0000.ethernet-ffffffff:03: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=ff0c0000.ethernet-ffffffff:03, irq=POLL)
[ 4.424771] macb ff0c0000.ethernet eth1: Cadence GEM rev 0x50070106 at 0xff0c0000 irq 22 (20:b0:f7:05:34:41)
[ 4.434867] xilinx-axipmon ffa00000.perf-monitor: Probed Xilinx APM
[ 4.441380] xilinx-axipmon fd0b0000.perf-monitor: Probed Xilinx APM
[ 4.447944] xilinx-axipmon fd490000.perf-monitor: Probed Xilinx APM
[ 4.454419] xilinx-axipmon ffa10000.perf-monitor: Probed Xilinx APM
[ 4.460909] dwc3-of-simple ff9d0000.usb0: dwc3_simple_set_phydata: Can't find usb3-phy
[ 4.469204] dwc3 fe200000.dwc3: Failed to get clk 'ref': -2
[ 4.474993] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 4.480485] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 4.488233] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238f625 hci version 0x100 quirks 0x0000000202010810
[ 4.497636] xhci-hcd xhci-hcd.0.auto: irq 35, io mem 0xfe200000
[ 4.503747] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 4.512002] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.519213] usb usb1: Product: xHCI Host Controller
[ 4.524082] usb usb1: Manufacturer: Linux 5.4.0-g4fabb195a xhci-hcd
[ 4.530340] usb usb1: SerialNumber: xhci-hcd.0.auto
[ 4.535466] hub 1-0:1.0: USB hub found
[ 4.539236] hub 1-0:1.0: 1 port detected
[ 4.543331] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 4.548823] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 4.556477] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[ 4.563204] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[ 4.571463] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.578681] usb usb2: Product: xHCI Host Controller
[ 4.583550] usb usb2: Manufacturer: Linux 5.4.0-g4fabb195a xhci-hcd
[ 4.589807] usb usb2: SerialNumber: xhci-hcd.0.auto
[ 4.594903] hub 2-0:1.0: USB hub found
[ 4.598664] hub 2-0:1.0: 1 port detected
[ 4.603357] cdns-i2c ff020000.i2c: 100 kHz mmio ff020000 irq 24
[ 4.641396] mmc0: SDHCI controller on ff160000.mmc [ff160000.mmc] using ADMA 64-bit
[ 4.680707] mmc1: SDHCI controller on ff170000.mmc [ff170000.mmc] using ADMA 64-bit
[ 4.690598] rtc_zynqmp ffa60000.rtc: setting system clock to 1970-07-14T04:20:24 UTC (16777224)
[ 4.699295] of_cfs_init
[ 4.701756] of_cfs_init: OK
[ 4.704659] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 4.736190] mmc0: new HS200 MMC card at address 0001
[ 4.741501] mmcblk0: mmc0:0001 IB2916 14.6 GiB
[ 4.746191] mmcblk0boot0: mmc0:0001 IB2916 partition 1 4.00 MiB
[ 4.752255] mmcblk0boot1: mmc0:0001 IB2916 partition 2 4.00 MiB
[ 4.758267] mmcblk0rpmb: mmc0:0001 IB2916 partition 3 4.00 MiB, chardev (245:0)
[ 4.766622] mmcblk0: p1
[ 4.781203] mmc1: new high speed SDHC card at address aaaa
[ 4.786978] mmcblk1: mmc1:aaaa SC32G 29.7 GiB
[ 4.795064] mmcblk1: p1 p2
[ 4.842801] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 4.850312] ALSA device list:
[ 4.853275] No soundcards found.
[ 4.856970] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 4.865580] cfg80211: failed to load regulatory.db
[ 4.931217] EXT4-fs (mmcblk1p2): recovery complete
[ 4.939686] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 4.947793] VFS: Mounted root (ext4 filesystem) on device 179:26.
[ 4.957943] devtmpfs: mounted
[ 4.961048] Freeing unused kernel memory: 704K
[ 4.965522] Run /sbin/init as init process
[ 5.076873] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Initializing random number generator: OK
Saving random seed: [ 5.139552] random: dd: uninitialized urandom read (512 bytes read)
OK
Starting network: OK
Starting dhcpcd...
no interfaces have a carrier
forked to background, child pid 200
[ 5.241360] pps pps0: new PPS source ptp0
[ 5.247757] macb ff0b0000.ethernet: gem-ptp-timer ptp clock registered.
[ 5.256933] pps pps1: new PPS source ptp1
[ 5.260967] macb ff0c0000.ethernet: gem-ptp-timer ptp clock registered.
[ 5.290371] random: dhcpcd: uninitialized urandom read (112 bytes read)
[ 6.947696] random: crng init done
Starting sshd: OK
Starting tcf-agent: OK
Welcome to Buildroot buildroot login: root Password: #
Hi Niramay
The error message about the missing regulatory.db file comes from wireless support. If you don't need WIFI, you can disable it in the kernel configuration (CFG_CFG80211). The easiest way is to remove the corresponding lines (everything containing "80211") from the file sources/xilinx-linux/arch/arm64/configs/xilinx_zynqmp_defconfig.
Best regards, Andreas
@abuerkler, thanks a lot for answering all of my questions. With this, I think I can close the issue
Dear all,
I am a physics grad student with very little experience in electronics and I'm having trouble booting my zynq ultrascale+ board using an SD Card. Can someone please help me?
When I switched on the board, 3 LEDs with labels PWGD,SC, E started glowing. I believe that the LED with label E corresponds to some error in booting. I tried to modify the SD Card in different ways but always ended up with this LED glowing.
I followed the steps described in the Enclustra git repository to prepare all the necessary files (boot.bin, uboot.scr etc.). Then I transferred them to the SD card as described on the Xilinx confluence page. I also copied additional files to the boot partition of the SD Card as described in Enclustra documentation.
Then, before switching the board on, I made the following changes on the board.
Please let me know if you need any other information.
Hardware information:
zynq mezzanine: ME-XU5-4EV-1I-D11E-G1-R1.2 baseboard: ME-PE1-300-W-R4.6
SD Card - related information :