• Content Count

  • Joined

  • Last visited

About elliottal

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. thanks the link you posted was what I needed. It works now
  2. Hello, I am having an issue booting linux on the zybo z7-20 board after following ug1144 2017.4 edition to configure sd card ext filesystem boot found on page 47 of the document. It would boot fine before when using INITRAMFS but now that I have switched to an ext4 filesystem for boot I get a kernel panic error. Here is a log from booting the board from the sd card. Connected to COM5 at 115200 ....... TIMEOUT ! Hit any key to stop autoboot: 4 3 2 1 0 Device: [email protected] Manufacturer ID: 6 OEM: 524b Name: MSTran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 7.3 GiB Bus Width: 4-bit Erase Group Size: 512 Bytes reading image.ub 3706424 bytes read in 323 ms (10.9 MiB/s) ## Loading kernel from FIT Image at 10000000 ... Using '[email protected]' configuration Verifying Hash Integrity ... OK Trying '[email protected]' kernel subimage Description: Linux Kernel Type: Kernel Image Compression: uncompressed Data Start: 0x100000d4 Data Size: 3674216 Bytes = 3.5 MiB Architecture: ARM OS: Linux Load Address: 0x00008000 Entry Point: 0x00008000 Hash algo: sha1 Hash value: b92ee16705ff92b540e4db3aa41264c6d3802e30 Verifying Hash Integrity ... sha1+ OK ## Loading fdt from FIT Image at 10000000 ... Using '[email protected]' configuration Trying '[email protected]' fdt subimage Description: Flattened Device Tree blob Type: Flat Device Tree Compression: uncompressed Data Start: 0x10381230 Data Size: 30915 Bytes = 30.2 KiB Architecture: ARM Hash algo: sha1 Hash value: b229130affcadb2365e0b70ea1bf51f0f9eb33cb Verifying Hash Integrity ... sha1+ OK Booting using the fdt blob at 0x10381230 Loading Kernel Image ... OK Loading Device Tree to 07ff5000, end 07fff8c2 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 4.9.0-xilinx-apf ([email protected]) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #4 SMP PREEMPT Fri Jul 26 09:43:31 EDT 2019 CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache OF: fdt:Machine model: Zynq Zybo Z7 Development Board bootconsole [earlycon0] enabled cma: Reserved 128 MiB at 0x38000000 Memory policy: Data cache writealloc percpu: Embedded 14 pages/cpu @ef7c9000 s25932 r8192 d23220 u57344 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260608 Kernel command line: console=ttyPS0,115200 earlyprintk uio_pdrv_genirq.of_id=generic-uio PID hash table entries: 4096 (order: 2, 16384 bytes) Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 899044K/1048576K available (5120K kernel code, 198K rwdata, 1440K rodata, 1024K init, 341K bss, 18460K reserved, 131072K cma-reserved, 131072K highmem) Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) lowmem : 0xc0000000 - 0xf0000000 ( 768 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .text : 0xc0008000 - 0xc0600000 (6112 kB) .init : 0xc0800000 - 0xc0900000 (1024 kB) .data : 0xc0900000 - 0xc0931bc0 ( 199 kB) .bss : 0xc0931bc0 - 0xc0986fd8 ( 342 kB) Preemptible hierarchical RCU implementation. Build-time adjustment of leaf fanout to 32. RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2 NR_IRQS:16 nr_irqs:16 16 efuse mapped to f0802000 slcr mapped to f0804000 L2C: platform modifies aux control register: 0x72360000 -> 0x72760000 L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000 L2C-310 erratum 769419 enabled L2C-310 enabling early BRESP for Cortex-A9 L2C-310 full line of zeros enabled for Cortex-A9 L2C-310 ID prefetch enabled, offset 1 lines L2C-310 dynamic clock gating enabled, standby mode enabled L2C-310 cache controller enabled, 8 ways, 512 kB L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001 zynq_clock_init: clkc starts at f0804100 Zynq clock init sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every 4398046511103ns clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce07af025, max_idle_ns: 440795209040 ns Switching to timer-based delay loop, resolution 3ns clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns timer #0 at f080c000, irq=17 Console: colour dummy device 80x30 Calibrating delay loop (skipped), value calculated using timer frequency.. 666.66 BogoMIPS (lpj=3333333) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) CPU: Testing write buffer coherency: ok CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 Setting up static identity map for 0x100000 - 0x100058 CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 Brought up 2 CPUs SMP: Total of 2 processors activated (1333.33 BogoMIPS). CPU: All CPU(s) started in SVC mode. devtmpfs: initialized VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations cpuidle: using governor menu hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. hw-breakpoint: maximum watchpoint size is 4 bytes. zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xf0880000 zynq-pinctrl 700.pinctrl: zynq pinctrl initialized e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 27, base_baud = 6249999) is a xuartps à¬Ëk׋«Ò+W/ª*LW�Y·X±¶ed console [ttyPS0] enabled bootconsole [earlycon0] disabled bootconsole [earlycon0] disabled GPIO IRQ not connected XGpio: /amba_pl/[email protected]: registered, base is 1023 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb media: Linux media interface: v0.10 Linux video capture interface: v2.00 pps_core: LinuxPPS API ver. 1 registered pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]> PTP clock support registered EDAC MC: Ver: 3.0.0 FPGA manager framework fpga-region fpga-full: FPGA Region probed clocksource: Switched to clocksource arm_global_timer NET: Registered protocol family 2 TCP established hash table entries: 8192 (order: 3, 32768 bytes) TCP bind hash table entries: 8192 (order: 4, 65536 bytes) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) NET: Registered protocol family 1 RPC: Registered named UNIX socket transport module. RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available futex hash table entries: 512 (order: 3, 32768 bytes) workingset: timestamp_bits=30 max_order=18 bucket_order=0 jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. bounce: pool size: 64 pages io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330 dma-pl330 f8003000.dmac: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16 xilinx-vdma 43010000.dma: Xilinx AXI VDMA Engine Driver Probed!! xilinx-frmbuf 43c80000.v_frmbuf_wr: Xilinx AXI frmbuf DMA_DEV_TO_MEM xilinx-frmbuf 43c80000.v_frmbuf_wr: Xilinx AXI FrameBuffer Engine Driver Probed!! xdevcfg f8007000.devcfg: ioremap 0xf8007000 to f0904000 [drm] Initialized [drm] load() is defered & will be called again brd: module loaded loop: module loaded m25p80 spi0.0: found s25fl128s, expected m25p80 m25p80 spi0.0: s25fl128s (16384 Kbytes) 4 ofpart partitions found on MTD device spi0.0 Creating 4 MTD partitions on "spi0.0": 0x000000000000-0x000000500000 : "boot" 0x000000500000-0x000000520000 : "bootenv" 0x000000520000-0x000000fa0000 : "kernel" 0x000000fa0000-0x000001000000 : "spare" libphy: Fixed MDIO Bus: probed CAN device driver interface libphy: MACB_mii_bus: probed macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 29 (00:18:3e:02:c8:3c) RTL8211E Gigabit Ethernet e000b000.etherne:01: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=e000b000.etherne:01, irq=-1) e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k e1000e: Copyright(c) 1999 - 2015 Intel Corporation. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-pci: EHCI PCI platform driver usbcore: registered new interface driver usb-storage e0002000.usb supply vbus not found, using dummy regulator ci_hdrc ci_hdrc.0: unable to init phy: -110 ci_hdrc: probe of ci_hdrc.0 failed with error -110 mousedev: PS/2 mouse device common for all mice i2c /dev entries driver cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 23 cdns-i2c e0005000.i2c: 400 kHz mmio e0005000 irq 24 xilinx-video amba_pl:video_cap: device registered xilinx-csi2rxss 43c60000.mipi_csi2_rx_subsystem: Xilinx CSI2 Rx Subsystem Soft Reset Timeout! xilinx-csi2rxss 43c60000.mipi_csi2_rx_subsystem: Xilinx CSI2 Rx Subsystem device found! xilinx-video amba_pl:video_cap: Entity type for entity 43c60000.mipi_csi2_rx_subsystem was not initialized! cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at f094c000 with timeout 10s EDAC MC: ECC not enabled Xilinx Zynq CpuIdle Driver started sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA ledtrig-cpu: registered to indicate activity on CPUs usbcore: registered new interface driver usbhid usbhid: USB HID core driver NET: Registered protocol family 10 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered protocol family 17 can: controller area network core (rev 20120528 abi 9) NET: Registered protocol family 29 can: raw protocol (rev 20120528) can: broadcast manager protocol (rev 20161123 t) can: netlink gateway (rev 20130117) max_hops=1 mmc0: Problem switching card into high-speed mode! mmc0: new SDHC card at address 0001 Registering SWP/SWPB emulation handler mmcblk0: mmc0:0001 MS 7.32 GiB mmcblk0: p1 p2 [drm] No max horizontal width in DT, using default 1920 [drm] No max vertical height in DT, using default 1080 OF: graph: no port node found in /amba_pl/xilinx_drm [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [drm] No driver support for vblank timestamp query. Console: switching to colour frame buffer device 100x30 xilinx-drm amba_pl:xilinx_drm: fb0: frame buffer device [drm] Initialized xilinx_drm 1.0.0 20130509 on minor 0 hctosys: unable to open rtc device (rtc0) of_cfs_init of_cfs_init: OK DOVDD_reg: disabling AVDD_reg: disabling DVDD_reg: disabling VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6 Please append a correct "root=" boot option; here are the available partitions: 0100 16384 ram0 (driver?) 0101 16384 ram1 (driver?) 0102 16384 ram2 (driver?) 0103 16384 ram3 (driver?) 0104 16384 ram4 (driver?) 0105 16384 ram5 (driver?) 0106 16384 ram6 (driver?) 0107 16384 ram7 (driver?) 0108 16384 ram8 (driver?) 0109 16384 ram9 (driver?) 010a 16384 ram10 (driver?) 010b 16384 ram11 (driver?) 010c 16384 ram12 (driver?) 010d 16384 ram13 (driver?) 010e 16384 ram14 (driver?) 010f 16384 ram15 (driver?) 1f00 5120 mtdblock0 (driver?) 1f01 128 mtdblock1 (driver?) 1f02 10752 mtdblock2 (driver?) 1f03 384 mtdblock3 (driver?) b300 7680000 mmcblk0 driver: mmcblk b301 195584 mmcblk0p1 000a629c-01 b302 7483392 mmcblk0p2 000a629c-02 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) CPU1: stopping CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.9.0-xilinx-apf #4 Hardware name: Xilinx Zynq Platform [<c010e244>] (unwind_backtrace) from [<c010a4a4>] (show_stack+0x10/0x14) [<c010a4a4>] (show_stack) from [<c02dc2d0>] (dump_stack+0x80/0x9c) [<c02dc2d0>] (dump_stack) from [<c010c9f8>] (ipi_cpu_stop+0x3c/0x70) [<c010c9f8>] (ipi_cpu_stop) from [<c010d210>] (handle_IPI+0x64/0x84) [<c010d210>] (handle_IPI) from [<c0101420>] (gic_handle_irq+0x78/0x94) [<c0101420>] (gic_handle_irq) from [<c010ae8c>] (__irq_svc+0x6c/0xa8) Exception stack(0xef075f70 to 0xef075fb8) 5f60: 00000000 00000000 2ef9b000 ef7dc9c0 5f80: 46f2edf3 00000000 ef7dbe40 00000001 45180d2f 00000000 00000000 00000001 5fa0: 0000000b ef075fc0 c04b5600 c04b5624 60000013 ffffffff [<c010ae8c>] (__irq_svc) from [<c04b5624>] (cpuidle_enter_state+0xe4/0x1b0) [<c04b5624>] (cpuidle_enter_state) from [<c014c834>] (cpu_startup_entry+0x17c/0x19c) [<c014c834>] (cpu_startup_entry) from [<001014cc>] (0x1014cc) ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) random: fast init done Can somebody help me determine what this means and why the board has a kernel panic? Thanks for your time!
  3. Hello, I'm working on the zybo z7-20 board and followed the Zybo Z7-20 Petalinux BSP Project guide on github to run linux on the zybo. All seems well however I had some apps that I needed to add to the rootfs to run. I am working with a touch screen and the two apps I used for that were evtest and tslib. after adding evtest to the rootfs it executes just fine but the tslib binary files will not and the output for them is: "sh: usr/bin/ts_test: No such file or directory". I recently did the same thing on the zynq zc702 board from xilinx and it all worked fine. i'm using the same binary files that were cross compiled for the zc702 board since its the same chip on the zc702 and the zybo. Im also working with QT to develop a UI and when i upload the qt binary to run on the zybo I get the same error that says "no such file or directory" when the file is actually there. when i run the ldd command on the files I am trying to execute it gives me "not a dynamic executable" message. I am not sure what is going on and why the binary files wont execute and is giving me the error messages. thanks for your time
  4. Thanks again @Ionel, That solved it. I was now able to build the petalinux project.
  5. thanks for the info @Ionel that again was what I needed to do. I also made sure to use the correct link for the repository. I went ahead and did the same thing for all of the digilent apps that had recipes to grab from github. I unfortunately have yet another build error ERROR: libuio-1.0-r0 do_install: oe_libinstall: unable to locate shared library ERROR: libuio-1.0-r0 do_install: Function failed: do_install I've been trying to figure this out but haven't had much success yet.
  6. thank you for your response and that did solve the problem. However, now there is another fetch being made to github.com/mitchellorsucci/libuio.git that is trying to use libuio-1.0. I have already set up the sstate-cache thats available from Xilinx for offiline builds so this seems to be something specific towards the zybo Z7-20? I noticed that the Petalinux BSP project features list has "HDMI input via UIO drivers" and the libuio library is used for interfacing for UIO devices so it seems that is what it is used for? Anyway would you have a build solution for this? I have already downloaded the library from github but am not sure what to do with it from there. thanks for your time.
  7. Hello, I'm working on setting up a Petalinux project for the zybo z7-20 on an offline computer. So far I followed the Zybo Z7-20 Petalinux BSP Project readme to set up the project however I cannot build the project due to it being configured to download two sources from github. One is downloading u-boot from git://github.com/digilent/u-boot-digilent.git and another is downloading the linux kernel from git://github.com/digilent/linux-digilent.git and since I am on an offline computer it cannot download these. Is there an option for petalinux to pull these locally and/or can I download them and place them in the petalinux project so its already there and doesnt need to be downloaded. any help with this would be appreciated, elliottal