日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

ZC706P+ADRV9009连接RADIOVERSE详解之二

發布時間:2024/3/24 编程问答 34 豆豆
生活随笔 收集整理的這篇文章主要介紹了 ZC706P+ADRV9009连接RADIOVERSE详解之二 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

上一個BLOG我們在WIN上安裝了RADIOVERSE軟件以及做好了SD卡映像。這篇文字我們記錄ZC706+ADRV9009硬件鏈接情況:

這里看到USB UART串口是可選的,主要是用來查看啟動的系統log。

實際連接如下:

?圖中:

1,外接12V電源

2,上一篇文章中做好的SD卡。

3,USB串口。

4,1000M 以太網口。

5,30.72M的外接參考時鐘(不需要專門的高精度時鐘,可以臨時使用一個有源晶振搭一個)。

6,ADRV9009射頻子卡插在FMC_HPC上。

7,設置為SD卡啟動方式。

上述連接完成之后,就可以通電。通電后幾十秒鐘。

通過串口終端可以看到如下啟動信息:

U-Boot 2014.01-dirty (Jul 21 2014 - 14:45:35)I2C: ready Memory: ECC disabled DRAM: 1 GiB MMC: zynq_sdhci: 0 SF: Detected S25FL128S_64K with page size 512 Bytes, erase size 128 KiB, total 32 MiB *** Warning - bad CRC, using default environmentIn: serial Out: serial Err: serial Net: Gem.e000b000 Hit any key to stop autoboot: 3 2 1 0 Device: zynq_sdhci 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 reading uEnv.txt 379 bytes read in 7 ms (52.7 KiB/s) Loaded environment from uEnv.txt Importing environment from SD ... Running uenvcmd ... Copying Linux from SD to RAM... reading uImage 2999904 bytes read in 294 ms (9.7 MiB/s) reading devicetree.dtb 11848 bytes read in 14 ms (826.2 KiB/s) reading uramdisk.image.gz ** Unable to read file uramdisk.image.gz ** ## Booting kernel from Legacy Image at 03000000 ...Image Name: Linux-3.14.0-g5ea3bc9Image Type: ARM Linux Kernel Image (uncompressed)Data Size: 2999840 Bytes = 2.9 MiBLoad Address: 00008000Entry Point: 00008000Verifying Checksum ... OK ## Flattened Device Tree blob at 02a00000Booting using the fdt blob at 0x2a00000Loading Kernel Image ... OKLoading Device Tree to 1fffa000, end 1ffffe47 ... OKStarting kernel ...Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0Linux version 3.14.0-g5ea3bc9 (jeckard@hotel.adral.analog.com) (gcc version 4.7.3 (Sourcery CodeBench Lite 2013.05-40) ) #1 SMP PREEMPT Thu May 1 08:26:35 EDT 2014CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387dCPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cacheMachine model: Xilinx Zynq ZC706bootconsole [earlycon0] enabledcma: CMA: reserved 40 MiB at 2d000000Memory policy: Data cache writeallocPERCPU: Embedded 7 pages/cpu @ec7c8000 s7680 r8192 d12800 u32768Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260624Kernel command line: console=ttyPS0,115200 root=/dev/mmcblk0p2 rw earlyprintk rootfstype=ext4 rootwaitPID 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: 992360K/1048576K available (3984K kernel code, 213K rwdata, 1512K rodata, 183K init, 126K bss, 56216K reserved, 270336K highmem)Virtual kernel memory layout:vector : 0xffff0000 - 0xffff1000 ( 4 kB)fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)lowmem : 0xc0000000 - 0xef800000 ( 760 MB)pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)modules : 0xbf000000 - 0xbfe00000 ( 14 MB).text : 0xc0008000 - 0xc0566420 (5498 kB).init : 0xc0567000 - 0xc0594e00 ( 184 kB).data : 0xc0596000 - 0xc05cb400 ( 213 kB).bss : 0xc05cb40c - 0xc05eacd4 ( 127 kB)Preemptible hierarchical RCU implementation.Dump stacks of tasks blocking RCU-preempt GP.RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2NR_IRQS:16 nr_irqs:16 16slcr mapped to f0004000zynq_clock_init: clkc starts at f0004100Zynq clock initsched_clock: 16 bits at 54kHz, resolution 18432ns, wraps every 1207951633nstimer #0 at f0006000, irq=43Console: colour dummy device 80x30Calibrating delay loop... 1325.46 BogoMIPS (lpj=6627328)pid_max: default: 32768 minimum: 301Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)CPU: Testing write buffer coherency: okCPU0: thread -1, cpu 0, socket 0, mpidr 80000000Setting up static identity map for 0x3c3eb8 - 0x3c3eecL310 cache controller enabledl2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72760000, Cache size: 512 kBCPU1: Booted secondary processorCPU1: thread -1, cpu 1, socket 0, mpidr 80000001Brought up 2 CPUsSMP: Total of 2 processors activated.CPU: All CPU(s) started in SVC mode.devtmpfs: initializedVFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4regulator-dummy: no parametersNET: Registered protocol family 16DMA: preallocated 256 KiB pool for atomic coherent allocationssyscon f8000000.slcr: regmap [mem 0xf8000000-0xf8000fff] registeredhw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.hw-breakpoint: maximum watchpoint size is 4 bytes.bio: create slab <bio-0> at 0SCSI subsystem initializedusbcore: registered new interface driver usbfsusbcore: registered new interface driver hubusbcore: registered new device driver usbmedia: Linux media interface: v0.10Linux video capture interface: v2.00Advanced Linux Sound Architecture Driver Initialized.Switched to clocksource ttc_clocksourceNET: Registered protocol family 2TCP 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)TCP: reno registeredUDP hash table entries: 512 (order: 2, 16384 bytes)UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)NET: Registered protocol family 1hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters availablefutex hash table entries: 512 (order: 3, 32768 bytes)bounce pool size: 64 pagesmsgmni has been set to 1490io scheduler noop registeredio scheduler deadline registeredio scheduler cfq registered (default)dma-pl330 f8003000.ps7-dma: Loaded driver for PL330 DMAC-2364208dma-pl330 f8003000.ps7-dma: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16e0001000.uart: ttyPS0 at MMIO 0xe0001000 (irq = 82, base_baud = 3124999) is a xuartps 垃薻獎晛[ttyPS0] enabled console [ttyPS0] enabledbootconsole [earlycon0] disabled bootconsole [earlycon0] disabled[drm] Initialized drm 1.1.0 20060810 drivers/gpu/drm/adi_axi_hdmi/axi_hdmi_drv.c:axi_hdmi_platform_probe[176] platform 70e00000.axi_hdmi: Driver axi-hdmi requests probe deferral brd: module loaded loop: module loaded cdns-spi e0006000.spi: at 0xE0006000 mapped to 0xF0016000, irq=58 cdns-spi e0007000.spi: at 0xE0007000 mapped to 0xF0018000, irq=81 libphy: XEMACPS mii bus: probed xemacps e000b000.eth: pdev->id -1, baseaddr 0xe000b000, irq 54 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ULPI transceiver vendor/product ID 0x0424/0x0007 Found SMSC USB3320 ULPI transceiver. ULPI integrity check: passed. zynq-ehci zynq-ehci.0: Xilinx Zynq USB EHCI Host Controller zynq-ehci zynq-ehci.0: new USB bus registered, assigned bus number 1 zynq-ehci zynq-ehci.0: irq 53, io mem 0x00000000 zynq-ehci zynq-ehci.0: USB 2.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected usbcore: registered new interface driver usb-storage usbcore: registered new interface driver usbserial 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 mousedev: PS/2 mouse device common for all mice i2c /dev entries driver i2c i2c-0: Added multiplexed i2c bus 1 i2c i2c-0: Added multiplexed i2c bus 2 at24 3-0054: 1024 byte 24c08 EEPROM, writable, 1 bytes/write i2c i2c-0: Added multiplexed i2c bus 3 pca953x 4-0021: failed reading register pca953x: probe of 4-0021 failed with error -5 i2c i2c-0: Added multiplexed i2c bus 4 rtc-pcf8563 5-0051: chip found, driver version 0.4.3 rtc-pcf8563 5-0051: low voltage detected, date/time is not reliable. rtc-pcf8563 5-0051: retrieved date/time is not valid. rtc-pcf8563 5-0051: rtc core: registered rtc-pcf8563 as rtc0 i2c i2c-0: Added multiplexed i2c bus 5 at24 6-0050: 256 byte 24c02 EEPROM, writable, 1 bytes/write i2c i2c-0: Added multiplexed i2c bus 6 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 sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper mmc0: no vqmmc regulator found mmc0: no vmmc regulator found mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA platform leds.2: Driver leds-gpio requests probe deferral ledtrig-cpu: registered to indicate activity on CPUs hidraw: raw HID events driver (C) Jiri Kosina usbcore: registered new interface driver usbhid usbhid: USB HID core driver mmc0: new high speed SDHC card at address aaaa mmcblk0: mmc0:aaaa SC16G 14.8 GiB adv7511-hdmi-snd adv7511_hdmi_snd.6: adv7511 <-> 75c00000.axi-spdif-tx mapping okmmcblk0: p1 p2 TCP: cubic registered NET: Registered protocol family 17 Registering SWP/SWPB emulation handler regulator-dummy: disabling Console: switching to colour frame buffer device 128x48 axi-hdmi 70e00000.axi_hdmi: fb0: frame buffer device axi-hdmi 70e00000.axi_hdmi: registered panic notifier [drm] Initialized axi_hdmi_drm 1.0.0 20120930 on minor 0 platform leds.2: Driver leds-gpio requests probe deferral rtc-pcf8563 5-0051: low voltage detected, date/time is not reliable. rtc-pcf8563 5-0051: retrieved date/time is not valid. rtc-pcf8563 5-0051: hctosys: invalid date/time ALSA device list:#0: HDMI monitor 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: 180K (c0567000 - c0594000) random: init urandom read with 27 bits of entropy available ∷+嬮 ureadahead main process (735) terminated with status 5Last login: Wed Dec 31 19:00:06 EST 1969 on tty1 Welcome to Linaro 12.11 (GNU/Linux 3.14.0-g5ea3bc9 armv7l)* Documentation: https://wiki.linaro.org/root@linaro-ubuntu-desktop:~#

如果這里出現一堆內存錯誤提示,應該是SD卡沒有做好,嘗試用另外一個新的SD卡從新做燒寫啟動映像。(因為這種內存寫卡是基于物理層扇區而不是基于文件系統,所以無法規避SD卡的壞塊,存在寫不成功的可能)。

如果正常啟動,ZC706P右邊LED區域有如下幾個狀態階段:

?

?

?

?階段1:圖中LD4在通電后立即亮表明電源OK。

階段2:幾十秒鐘后LD10亮,表明SD卡配置信息已經被加載,PL配置完畢。

階段3:LD0 ~ LD3 循環閃爍,表示正在初始化ADRV9009板子。

階段4:LD0 ~ LD3 不再亮,此時板子已經就緒可以通過網線連接了。

我們上電后要靜待到階段4,之后通過網線連接上位機進行軟件操作。具體在下一篇文章中介紹。

總結

以上是生活随笔為你收集整理的ZC706P+ADRV9009连接RADIOVERSE详解之二的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。