jtag도 실행안되서 처음부터 난관인데
예외처리가 안되었었나? 아무튼 jtag 조차도 usb로 붙는게 아니라 usb를 붙이는 별도 프로그램으로 하는거니까
rpi pico로 xvd 어쩌구 해도 똑같다는 의미겠네??
| C:\AMDDesignTools\2026.1\Vivado\bin>hw_server.bat ****** Xilinx hw_server v2026.1 **** Build date : May 29 2026 at 14:55:19 ** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved. ** Copyright 2022-2026 Advanced Micro Devices, Inc. All Rights Reserved. INFO: hw_server application started INFO: Use Ctrl-C to exit hw_server application Cannot create listening port TCP::3121: Socket bind error. ?≪꽭??沅뚰븳???섑빐 ?④꺼吏??뚯폆???≪꽭?ㅻ? ?쒕룄?덉뒿?덈떎 C:\AMDDesignTools\2026.1\Vivado\bin>netsh interface ipv4 show excludedportrange protocol=tcp 프로토콜 tcp 포트 제외 범위 시작 포트 끝 포트 ---------- -------- 2544 2643 2644 2743 2744 2843 2844 2943 3044 3143 5710 5809 9086 9185 50000 50059 * 50131 50131 * - 관리 포트 제외입니다. |
아무튼 방화벽에 막혔는지 기 외의 포트로 빠져서 시도
| C:\AMDDesignTools\2026.1\Vivado\bin>hw_server.bat -s tcp::4121 |
잘 된다. 크으~ platform cable 빌려온 보람이 있네(!)

xsdb.bat로 쉘? 실행
| C:\AMDDesignTools\2026.1\Vitis\bin\xsdb.bat |
아래 명령을 보내면 가장 마지막 줄이 boot mode 값이라고 한다.
3비트 5가 sd 카드 맞다고 하니 일단 다음단계!
| C:\AMDDesignTools\2026.1\Vitis\bin>xsdb.bat ****** System Debugger (XSDB) v2026.1 **** Build date : May 29 2026-14:58:42 ** Copyright 1986-2022 Xilinx, Inc. All Rights Reserved. ** Copyright 2022-2026 Advanced Micro Devices, Inc. All Rights Reserved. xsdb% connect -url TCP:localhost:4121 tcfchan#0 xsdb% targets 1 APU 2 ARM Cortex-A9 MPCore #0 (Running) 3 ARM Cortex-A9 MPCore #1 (Running) 4 xc7z030 xsdb% targets -set -filter {name =~ "*Cortex-A9*#0"} xsdb% mrd 0xF800025C F800025C: 00000005 xsdb% |
tria에서 받았던 거 윈도우에서 포맷하고 잘 된다.
저번에 먼가 안뜨는거 같더니 착각이었나..?
로그인은 root/root
| U-Boot 2017.01 (Aug 01 2018 - 17:52:10 -0400) Board: Xilinx Zynq DRAM: ECC disabled 1 GiB MMC: sdhci_transfer_data: Error detected in status(0x208000)! sdhci@e0100000: 0 (SD), sdhci@e0101000: 1 (eMMC) SF: Detected n25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: ZYNQ GEM: e000b000, phyaddr 0, interface rgmii-id eth0: ethernet@e000b000 U-BOOT for pz7030-fmc2-sd-oob-2017-4 ethernet@e000b000 Waiting for PHY auto negotiation to complete...... done BOOTP broadcast 1 DHCP client bound to address 192.168.219.152 (187 ms) Hit any key to stop autoboot: 0 Device: sdhci@e0100000 Manufacturer ID: 9e OEM: 4245 Name: Tran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 14.9 GiB Bus Width: 4-bit Erase Group Size: 512 Bytes reading image.ub 27755328 bytes read in 4596 ms (5.8 MiB/s) ## Loading kernel from FIT Image at 10000000 ... Using 'conf@1' configuration Verifying Hash Integrity ... OK Trying 'kernel@0' kernel subimage Description: Linux Kernel Type: Kernel Image Compression: uncompressed Data Start: 0x100000d4 Data Size: 3756880 Bytes = 3.6 MiB Architecture: ARM OS: Linux Load Address: 0x00008000 Entry Point: 0x00008000 Hash algo: sha1 Hash value: e4362b8cd92ecdfa23f07d4d7e839d4e91bc8fba Verifying Hash Integrity ... sha1+ OK ## Loading ramdisk from FIT Image at 10000000 ... Using 'conf@1' configuration Trying 'ramdisk@0' ramdisk subimage Description: ramdisk Type: RAMDisk Image Compression: uncompressed Data Start: 0x1039920c Data Size: 23981378 Bytes = 22.9 MiB Architecture: ARM OS: Linux Load Address: unavailable Entry Point: unavailable Hash algo: sha1 Hash value: 0d3ceaf0530d45f830c926636da97a6421dc774b Verifying Hash Integrity ... sha1+ OK ## Loading fdt from FIT Image at 10000000 ... Using 'conf@1' configuration Trying 'fdt@0' fdt subimage Description: Flattened Device Tree blob Type: Flat Device Tree Compression: uncompressed Data Start: 0x10395518 Data Size: 15426 Bytes = 15.1 KiB Architecture: ARM Hash algo: sha1 Hash value: cd55e7107c89aa310bed18d9bcfb8635559bb731 Verifying Hash Integrity ... sha1+ OK Booting using the fdt blob at 0x10395518 Loading Kernel Image ... OK Loading Ramdisk to 06921000, end 07fffd42 ... OK Loading Device Tree to 0691a000, end 06920c41 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x0 Linux version 4.9.0-xilinx-v2017.4 (training@ubuv1604) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP PREEMPT Wed Aug 1 17:55:14 EDT 2018 CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache OF: fdt:Machine model: xlnx,zynq-7000 bootconsole [earlycon0] enabled cma: Reserved 16 MiB at 0x3f000000 Memory policy: Data cache writealloc percpu: Embedded 14 pages/cpu @ef7d1000 s25932 r8192 d23220 u57344 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260608 Kernel command line: console=ttyPS0,115200 earlyprintk 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: 989440K/1048576K available (6144K kernel code, 200K rwdata, 1468K rodata, 1024K init, 229K bss, 42752K reserved, 16384K cma-reserved, 245760K 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 - 0xc0700000 (7136 kB) .init : 0xc0900000 - 0xc0a00000 (1024 kB) .data : 0xc0a00000 - 0xc0a32100 ( 201 kB) .bss : 0xc0a32100 - 0xc0a6b798 ( 230 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 = 25, base_baud = 3125000) 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/gpio@41200000: registered, base is 1020 GPIO IRQ not connected XGpio: /amba_pl/gpio@41210000: registered, base is 1015 vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb usb_phy@0 supply vcc not found, using dummy regulator 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 <giometti@linux.it> PTP clock support registered EDAC MC: Ver: 3.0.0 FPGA manager framework fpga-region fpga-full: FPGA Region probed Advanced Linux Sound Architecture Driver Initialized. 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. Trying to unpack rootfs image as initramfs... Freeing initrd memory: 23420K (c6921000 - c8000000) 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 xdevcfg f8007000.devcfg: ioremap 0xf8007000 to f08c1000 [drm] Initialized brd: module loaded loop: module loaded m25p80 spi0.0: n25q128a13 (16384 Kbytes) 4 ofpart partitions found on MTD device spi0.0 Creating 4 MTD partitions on "spi0.0": 0x000000000000-0x000000640000 : "boot" 0x000000640000-0x000000660000 : "bootenv" 0x000000660000-0x000001000000 : "kernel" 0x000001000000-0x000001000000 : "spare" mtd: partition "spare" is out of reach -- disabled libphy: Fixed MDIO Bus: probed CAN device driver interface libphy: MACB_mii_bus: probed [Firmware Warn]: /amba/ethernet@e000b000/phy@0: Whitelisted compatible string. Please remove macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 27 (00:0a:35:00:1e:53) Marvell 88E1510 e000b000.etherne:00: attached PHY driver [Marvell 88E1510] (mii_bus:phy_addr=e000b000.etherne:00, 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 cdc_acm cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters usbcore: registered new interface driver usb-storage mousedev: PS/2 mouse device common for all mice i2c /dev entries driver cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at f09ab000 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 mmc0: new high speed SDHC card at address 59b4 mmcblk0: mmc0:59b4 14.9 GiB mmcblk0: p1 p2 p3 mmc1: SDHCI controller on e0101000.sdhci [e0101000.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 Registering SWP/SWPB emulation handler hctosys: unable to open rtc device (rtc0) of_cfs_init of_cfs_init: OK ALSA device list: No soundcards found. Freeing unused kernel memory: 1024K (c0900000 - c0a00000) INIT: mmc1: new high speed MMC card at address 0001 mmcblk1: mmc1:0001 DG4008 7.28 GiB version 2.88 bootingmmcblk1boot0: mmc1:0001 DG4008 partition 1 4.00 MiB mmcblk1boot1: mmc1:0001 DG4008 partition 2 4.00 MiB mmcblk1rpmb: mmc1:0001 DG4008 partition 3 4.00 MiB mmcblk1: p1 Starting udev udevd[761]: starting version 3.2 random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) random: udevd: uninitialized urandom read (16 bytes read) udevd[762]: starting eudev-3.2 random: udevd: uninitialized urandom read (16 bytes read) random: fast init done Populating dev cache hwclock: can't open '/dev/misc/rtc': No such file or directory Wed Aug 1 21:57:48 UTC 2018 hwclock: can't open '/dev/misc/rtc': No such file or directory Starting internet superserver: inetd. ********************************************************************* *** *** *** Avnet PicoZed Out Of Box PetaLinux Build V1.2 *** *** The PS LED is mapped to Zynq MIO47 *** *** *** ********************************************************************* Starting Python webserver Export and initialize the GPIO Set web page location: killall: httpd: no process killed Start the Python webserver in the background Running postinst /etc/rpm-postinsts/100-sysvinit-inittab... update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing) Removing any system startup links for run-postinsts ... /etc/rcS.d/S99run-postinsts INIT: Entering runlevel: 5 ********************************************************************* *** *** *** Avnet Out Of Box PetaLinux Build V1.2 *** *** MAC address init config for eth0 *** *** *** ********************************************************************* /home/root/mac_eeprom_config.sh --bus 0 --slave 0x51 --file /etc/network/interfaces --interface eth0 Reading MAC ID from target EEPROM at 0x51 on bus i2c-0 Retrieved MAC ID ff:ff:ff:ff:ff:ff from target EEPROM Networking interfaces configuration file detected programming EEPROM MAC ID to eth0 Configuring network interfaces... ifconfig: SIOCSIFHWADDR: Cannot assign requested address Starting system message bus: dbus. Starting Dropbear SSH server: Generating key, this may take a while... Public key portion is: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDg1/Ob44ru4/Yi8vbLn5eUo21ZncZEcQOKEE0UnCNOhyrgjAbrrcU8Zp0eUbTWSUS1bAW4bknsQKQyOIfEvbXebRfF4ykY+mzND0nZ++DgSWETA0yFXrp01Eo8Ou84iPDPHCHObjC4k6hhKxJ8/nFVi40H8mbGgGeZDUCH6Bc8uPuIwsWY9AdMY1VoHNbmu5HWtZ6u/h6zhJ4GDCUpazsKK5y9cp9m9eS1G0Rkhpf9kP6izzOpd0zS64y7PFvH63+wR1Olb+h+t5dN6OaB7I13pm/YI84Mu14JxBHfTxhjAW9ewfu7s/zBEUgr/nBSkXAQK2fD6SfiTuNe2O3wSpXF root@pz7030-fmc2-sd-oob-2017-4 Fingerprint: md5 a5:23:5d:a7:da:a9:25:22:d2:08:7b:0e:b8:bf:ab:77 dropbear. hwclock: can't open '/dev/misc/rtc': No such file or directory Starting syslogd/klogd: done Starting tcf-agent: OK PetaLinux 2017.4 pz7030-fmc2-sd-oob-2017-4 /dev/ttyPS0 pz7030-fmc2-sd-oob-2017-4 login: root Password: |
| root@pz7030-fmc2-sd-oob-2017-4:~# cat /proc/cpuinfo processor : 0 model name : ARMv7 Processor rev 0 (v7l) BogoMIPS : 666.66 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x3 CPU part : 0xc09 CPU revision : 0 processor : 1 model name : ARMv7 Processor rev 0 (v7l) BogoMIPS : 666.66 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpd32 CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x3 CPU part : 0xc09 CPU revision : 0 Hardware : Xilinx Zynq Platform Revision : 0003 Serial : 0000000000000000 root@pz7030-fmc2-sd-oob-2017-4:~# free -m total used free shared buffers cached Mem: 1006 79 926 59 0 59 -/+ buffers/cache: 20 985 Swap: 0 0 0 root@pz7030-fmc2-sd-oob-2017-4:~# mount rootfs on / type rootfs (rw,size=494720k,nr_inodes=123680) proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) devtmpfs on /dev type devtmpfs (rw,relatime,size=494720k,nr_inodes=123680,mode=755) tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755) tmpfs on /var/volatile type tmpfs (rw,relatime) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000) |
'embeded > FPGA - XILINX' 카테고리의 다른 글
| xvd-pico 라즈베리 파이 피코로 xilinx virtual platform cable (0) | 2026.11.25 |
|---|---|
| microblaze v (0) | 2026.11.23 |
| xilinx jtag using rpi pico (0) | 2026.11.14 |
| amd(xilinx) vitis 설치 (1) | 2026.11.12 |
| picozed 데이터 조사중 (0) | 2026.11.12 |
