Closed song4399 closed 1 year ago
I installed the latest image and burned it to the SD card, and then installed the quick start configuration through the serial port; First: ssh root@192.168.10.122 Then: cd openwifi ./wgd.sh After that the serial monitor gets stuck
U-Boot 2018.01-21439-gd244ce5 (Jul 29 2021 - 16:31:12 +0100) Xilinx Zynq ZC706, Build: jenkins-development-build_uboot-1
Model: Zynq ZC706 Development Board Board: Xilinx Zynq Silicon: v3.1 I2C: ready DRAM: ECC disabled 1 GiB MMC: sdhci@e0100000: 0 (SD) SF: Detected s25fl128s_64k with page size 512 Bytes, erase size 128 KiB, total 32 MiB *** Warning - bad CRC, using default environment
In: serial@e0001000 Out: serial@e0001000 Err: serial@e0001000 Net: ZYNQ GEM: e000b000, phyaddr 7, interface rgmii-id eth0: ethernet@e000b000 reading uEnv.txt 407 bytes read in 20 ms (19.5 KiB/s) Importing environment from SD ... Hit any key to stop autoboot: 0 Device: sdhci@e0100000 Manufacturer ID: 3 OEM: 5344 Name: SC16G Tran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 14.8 GiB Bus Width: 4-bit Erase Group Size: 512 Bytes reading uEnv.txt 407 bytes read in 19 ms (20.5 KiB/s) Loaded environment from uEnv.txt Importing environment from SD ... Running uenvcmd ... Copying Linux from SD to RAM... reading uImage 5593704 bytes read in 319 ms (16.7 MiB/s) reading devicetree.dtb 21449 bytes read in 25 ms (836.9 KiB/s) Unable to read file uramdisk.image.gz
Image Name: Linux-5.10.0-98248-g1bbe32fa5182 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5593640 Bytes = 5.3 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK
Booting using the fdt blob at 0x2a00000 Loading Kernel Image ... OK Loading Device Tree to 1fff7000, end 1ffff3c8 ... OK
Starting kernel ...
C:0x000080C0-0x0055DA40->0x010C9800-0x0161F180 Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 5.10.0-98248-g1bbe32fa5182-dirty (jxj@jxj-pc) (arm-xilinx-linux-gnueabi-gcc.real (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35.0.20200730) #6 SMP PREEMPT Tue Mar 14 12:13:23 CET 2023 CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache OF: fdt: Machine model: Xilinx Zynq ZC706 OF: fdt: earlycon: stdout-path /amba@0/uart@E0001000 not found Memory policy: Data cache writealloc cma: Reserved 128 MiB at 0x38000000 Zone ranges: Normal [mem 0x0000000000000000-0x000000002fffffff] HighMem [mem 0x0000000030000000-0x000000003fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000000000000-0x000000003fffffff] Initmem setup node 0 [mem 0x0000000000000000-0x000000003fffffff] percpu: Embedded 15 pages/cpu s29900 r8192 d23348 u61440 Built 1 zonelists, mobility grouping on. Total pages: 260608 Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlycon rootfstype=ext4 rootwait clk_ignore_unused cpuidle.off=1 Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 891488K/1048576K available (8192K kernel code, 803K rwdata, 5732K rodata, 1024K init, 151K bss, 26016K reserved, 131072K cma-reserved, 131072K highmem) rcu: Preemptible hierarchical RCU implementation. rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. Trampoline variant of Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 efuse mapped to (ptrval) slcr mapped to (ptrval) 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 random: get_random_bytes called from start_kernel+0x33c/0x4dc with crng_init=0 zynq_clock_init: clkc starts at (ptrval) 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 (ptrval), irq=25 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, linear) Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear) CPU: Testing write buffer coherency: ok CPU0: Spectre v2: using BPIALL workaround CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 Setting up static identity map for 0x100000 - 0x100060 rcu: Hierarchical SRCU implementation. smp: Bringing up secondary CPUs ... CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 CPU1: Spectre v2: using BPIALL workaround smp: Brought up 1 node, 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 futex hash table entries: 512 (order: 3, 32768 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations thermal_sys: Registered thermal governor 'step_wise' 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 @ 0x(ptrval) e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 33, base_baud = 3125000) is a xuartps printk: console [ttyPS0] enabled SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb mc: Linux media interface: v0.10 videodev: 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 giometti@linux.it PTP clock support registered jesd204: found 0 devices and 0 topologies FPGA manager framework Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arm_global_timer NET: Registered protocol family 2 tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear) TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear) TCP: Hash tables configured (established 8192 bind 8192) UDP hash table entries: 512 (order: 2, 16384 bytes, linear) UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) NET: Registered protocol family 1 hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing. hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available Initialise system trusted keyrings workingset: timestamp_bits=30 max_order=18 bucket_order=0 Key type asymmetric registered Asymmetric key parser 'x509' registered bounce: pool size: 64 pages io scheduler mq-deadline registered io scheduler kyber registered zynq-pinctrl 700.pinctrl: zynq pinctrl initialized 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 brd: module loaded loop: module loaded spi-nor spi2.0: found s25fl128s1, expected n25q128a11 random: fast init done random: crng init done spi-nor spi2.0: trying to lock already unlocked area spi-nor spi2.0: s25fl128s1 (32768 Kbytes) 5 fixed-partitions partitions found on MTD device spi2.0 Creating 5 MTD partitions on "spi2.0": 0x000000000000-0x000000500000 : "boot" 0x000000500000-0x000000520000 : "bootenv" 0x000000520000-0x000000540000 : "config" 0x000000540000-0x000000fc0000 : "image" 0x000000fc0000-0x000002000000 : "spare" MACsec IEEE 802.1AE libphy: Fixed MDIO Bus: probed tun: Universal TUN/TAP device driver, 1.6 libphy: MACB_mii_bus: probed macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 37 (00:0a:35:00:01:22) ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver usbcore: registered new interface driver usb-storage usbcore: registered new interface driver usbserial_generic usbserial: USB Serial support registered for generic usbcore: registered new interface driver ftdi_sio usbserial: USB Serial support registered for FTDI USB Serial Device ULPI transceiver vendor/product ID 0x0424/0x0007 Found SMSC USB3320 ULPI transceiver. ULPI integrity check: passed. ci_hdrc ci_hdrc.0: EHCI Host Controller ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1 ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected i2c /dev entries driver xiic-i2c 41600000.i2c: Timeout waiting at Tx empty si570: probe of 1-005d failed with error -5 i2c i2c-0: Added multiplexed i2c bus 1 adv7511 2-0039: supply avdd not found, using dummy regulator adv7511 2-0039: supply dvdd not found, using dummy regulator adv7511 2-0039: supply pvdd not found, using dummy regulator adv7511 2-0039: supply bgvdd not found, using dummy regulator adv7511 2-0039: supply dvdd-3v not found, using dummy regulator i2c i2c-0: Added multiplexed i2c bus 2 at24 3-0054: supply vcc not found, using dummy regulator at24 3-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write i2c i2c-0: Added multiplexed i2c bus 3 pca953x 4-0021: supply vcc not found, using dummy regulator pca953x 4-0021: using no AI i2c i2c-0: Added multiplexed i2c bus 4 rtc-pcf8563 5-0051: pcf8563_write_block_data: err=-16 addr=0e, data=03 rtc-pcf8563 5-0051: pcf8563_probe: write error rtc-pcf8563: probe of 5-0051 failed with error -5 i2c i2c-0: Added multiplexed i2c bus 5 i2c i2c-0: Added multiplexed i2c bus 6 at24 7-0050: supply vcc not found, using dummy regulator regulator-dummy: Underflow of regulator enable count i2c i2c-0: Added multiplexed i2c bus 7 i2c i2c-0: Added multiplexed i2c bus 8 pca954x 0-0074: registered 8 multiplexed busses for I2C switch pca9548 IR NEC protocol handler initialized IR RC5(x/sz) protocol handler initialized IR RC6 protocol handler initialized IR JVC protocol handler initialized IR Sony protocol handler initialized IR SANYO protocol handler initialized IR Sharp protocol handler initialized IR MCE Keyboard/mouse protocol handler initialized IR XMP protocol handler initialized usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) gspca_main: v2.14.0 registered cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer with timeout 10s Xilinx Zynq CpuIdle Driver started failed to register cpuidle driver sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper ledtrig-cpu: registered to indicate activity on CPUs hid: raw HID events driver (C) Jiri Kosina usbcore: registered new interface driver usbhid usbhid: USB HID core driver mmc0: SDHCI controller on e0100000.mmc [e0100000.mmc] using ADMA mmc0: new high speed SDHC card at address aaaa mmcblk0: mmc0:aaaa SC16G 14.8 GiB mmcblk0: p1 p2 p3 ad7291: probe of 7-002f failed with error -5 adf4350 spi1.0: supply vcc not found, using dummy regulator adf4350 spi1.0: Probe failed (muxout) adf4350 spi1.1: supply vcc not found, using dummy regulator adf4350 spi1.1: Probe failed (muxout) fpga_manager fpga0: Xilinx Zynq FPGA Manager registered OF: /adv7511_hdmi_snd/simple-audio-card,dai-link@0/cpu: could not find phandle asoc-simple-card adv7511_hdmi_snd: parse error -22 asoc-simple-card: probe of adv7511_hdmi_snd failed with error -22 xt_time: kernel timezone is -0000 ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully NET: Registered protocol family 17 Registering SWP/SWPB emulation handler Loading compiled-in X.509 certificates input: gpio_keys as /devices/soc0/gpio_keys/input/input0 clk: Not disabling unused clocks ALSA device list: No soundcards found. EXT4-fs (mmcblk0p2): recovery complete EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:2. devtmpfs: mounted Freeing unused kernel memory: 1024K Run /sbin/init as init process systemd[1]: System time before build time, advancing clock. systemd[1]: Failed to find module 'autofs4' NET: Registered protocol family 10 Segment Routing with IPv6 systemd[1]: systemd 247.3-7+rpi1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified) systemd[1]: Detected architecture arm.
Welcome to Kuiper GNU/Linux 11.2 (bullseye)!
systemd[1]: Set hostname to
Raspbian GNU/Linux 11 analog ttyPS0
analog login: root (automatic login)
Linux analog 5.10.0-98248-g1bbe32fa5182-dirty #6 SMP PREEMPT Tue Mar 14 12:13:23 CET 2023 armv7l
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Feb 9 10:45:28 GMT 2023 on ttyPS0 root@analog:~# ssh root@192.168.10.122 root@192.168.10.122's password: Linux analog 5.10.0-98248-g1bbe32fa5182-dirty #6 SMP PREEMPT Tue Mar 14 12:13:23 CET 2023 armv7l
The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Thu Feb 9 10:45:28 2023 root@analog:~# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.10.122 netmask 255.255.255.0 broadcast 192.168.10.255 inet6 fe80::80c0:610f:5e8b:61ab prefixlen 64 scopeid 0x20 ether 00:0a:35:00:01:22 txqueuelen 1000 (Ethernet) RX packets 93 bytes 7496 (7.3 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 56 bytes 7929 (7.7 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 37 base 0xb000
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
root@analog:~# cd ~/openwifi root@analog:~/openwifi# ./wgd.sh usage: Script for load (or download+load) different driver and FPGA img without rebooting no argument: Load .ko driver files and FPGA img (if system_top.bit.bin exist) in current dir with test_mode=0. 1st argument: If it is a NUMBER, it will be assigned to test_mode. Then load everything from current dir. 1st argument: If it is a string called "remote", it will download driver/FPGA and load everything.
You should offer more detailed information according to our template.
root@analog:~# cd ~/openwifi root@analog:~/openwifi# ./wgd.sh usage: Script for load (or download+load) different driver and FPGA img without rebooting no argument: Load .ko driver files and FPGA img (if system_top.bit.bin exist) in current dir with test_mode=0. 1st argument: If it is a NUMBER, it will be assigned to test_mode. Then load everything from current dir. 1st argument: If it is a string called "remote", it will download driver/FPGA and load everything.