前回の続きです。
前回はVivadoプロジェクトでのビットストリーム生成まで行いました。今回はこれをPetalinuxプロジェクトに取り込みます。
Petalinuxツールでの手順
Petalinuxプロジェクトの作成
まずはPetalinuxプロジェクトの作成。
入力:
petalinux-create --type project --template zynq --name Zybo-base-linux-peta
実行結果:
noki@noki-VirtualBox:~/work/petalinux$ petalinux-create --type project --template zynq --name Zybo-base-linux-peta INFO: Create project: Zybo-base-linux-peta INFO: New project successfully created in /home/noki/work/petalinux/Zybo-base-linux-peta noki@noki-VirtualBox:~/work/petalinux$
ハードウェアコンフィグレーションの取り込み
Petalinux(ver 2020.2)のユーザガイド(UG1144)を見ると、今までと違ってxsaファイルを指定するように変わっています。
xsaファイルは、Vivadoから以下のように生成できます。
- File > Export > Export Hardware... をクリック
- ウィザード最初はとりあえず Nextをクリック
- Output では include bitstreamを選択
- XSAファイル名とエクスポート先を指定、Finishをクリック
次にPetalinuxの操作です。 petalinux-configコマンドで、ハードウェア情報としてxsaファイルを指定します。
petalinux-config --get-hw-description ../../zybo/Zybo-base-linux/proj/Zybo-base-linux.xsa
実行結果:
noki@noki-VirtualBox:~/work/petalinux/Zybo-base-linux-peta$ petalinux-config --get-hw-description ../../zybo/Zybo-base-linux/proj/Zybo-base-linux.xsa INFO: Sourcing build tools INFO: Getting hardware description... INFO: Rename Zybo-base-linux.xsa to system.xsa [INFO] Generating Kconfig for project [INFO] Menuconfig project configuration written to /home/noki/work/petalinux/Zybo-base-linux-peta/project-spec/configs/config *** End of the configuration. *** Execute 'make' to start the build or try 'make help'. [INFO] Extracting yocto SDK to components/yocto [INFO] Sourcing build environment [INFO] Generating kconfig for Rootfs [INFO] Silentconfig rootfs [INFO] Generating plnxtool conf [INFO] Adding user layers [INFO] Generating workspace directory noki@noki-VirtualBox:~/work/petalinux/Zybo-base-linux-peta$
Linuxイメージのビルド
Petalinuxのビルドのコマンドを走らせるだけです。
入力:
petalinux-build
実行結果:
noki@noki-VirtualBox:~/work/petalinux/Zybo-base-linux-peta$ petalinux-build INFO: Sourcing build tools [INFO] Building project [INFO] Sourcing build environment [INFO] Generating workspace directory INFO: bitbake petalinux-image-minimal Parsing recipes: 100% |##########################################| Time: 0:07:51 Parsing of 2995 .bb files complete (0 cached, 2995 parsed). 4265 targets, 204 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies NOTE: Fetching uninative binary shim from file:///home/noki/work/petalinux/Zybo-base-linux-peta/components/yocto/downloads/uninative/9498d8bba047499999a7310ac2576d0796461184965351a56f6d32c888a1f216/x86_64-nativesdk-libc.tar.xz;sha256sum=9498d8bba047499999a7310ac2576d0796461184965351a56f6d32c888a1f216 Initialising tasks: 100% |#######################################| Time: 0:00:08 Checking sstate mirror object availability: 100% |###############| Time: 0:00:30 Sstate summary: Wanted 976 Found 801 Missed 175 Current 0 (82% match, 0% complete) NOTE: Executing Tasks NOTE: Setscene tasks completed NOTE: Tasks Summary: Attempted 3513 tasks of which 2615 didn't need to be rerun and all succeeded. INFO: Successfully copied built images to tftp dir: /tftpboot [INFO] Successfully built project noki@noki-VirtualBox:~/work/petalinux/Zybo-base-linux-peta$
今回は40分ぐらいで完了しました。
ブートイメージの作成
起動用のBOOT.BINを作ります。FPGAのビットストリームも含まれます。
Petalinuxプロジェクトのimages/linuxディレクトリ下にsystem.bitというのがありましたが、Vivadoプロジェクトで生成されたビットストリーム(system_wrapper.bit)と比較すると全く同じでした。このsystem.bitを使うことにします。
入力:
petalinux-package --boot --fsbl images/linux/zynq_fsbl.elf --fpga images/linux/system.bit --u-boot
実行結果:
noki@noki-VirtualBox:~/work/petalinux/Zybo-base-linux-peta$ petalinux-package --boot --fsbl images/linux/zynq_fsbl.elf --fpga images/linux/system.bit --u-boot INFO: Sourcing build tools INFO: File in BOOT BIN: "/home/noki/work/petalinux/Zybo-base-linux-peta/images/linux/zynq_fsbl.elf" INFO: File in BOOT BIN: "/home/noki/work/petalinux/Zybo-base-linux-peta/images/linux/system.bit" INFO: File in BOOT BIN: "/home/noki/work/petalinux/Zybo-base-linux-peta/images/linux/u-boot.elf" INFO: File in BOOT BIN: "/home/noki/work/petalinux/Zybo-base-linux-peta/images/linux/system.dtb" INFO: Generating Zynq binary package BOOT.BIN... ****** Xilinx Bootgen v2020.2 **** Build date : Nov 15 2020-06:11:24 ** Copyright 1986-2020 Xilinx, Inc. All Rights Reserved. [INFO] : Bootimage generated successfully INFO: Binary is ready. noki@noki-VirtualBox:~/work/petalinux/Zybo-base-linux-peta$
noki@noki-VirtualBox:~/work/petalinux/Zybo-base-linux-peta$ ll images/linux/ total 82372 drwxrwxr-x 3 noki noki 4096 10月 11 22:07 ./ drwxrwxr-x 3 noki noki 4096 10月 1 01:18 ../ -rw-rw-r-- 1 noki noki 2957068 10月 11 22:07 BOOT.BIN -rw-r--r-- 1 noki noki 2010 10月 1 01:18 boot.scr -rw-r--r-- 1 noki noki 11554268 10月 1 01:39 image.ub drwxr-xr-x 2 noki noki 4096 10月 1 01:18 pxelinux.cfg/ -rw-r--r-- 1 noki noki 13964800 10月 1 01:39 rootfs.cpio -rw-r--r-- 1 noki noki 7200308 10月 1 01:39 rootfs.cpio.gz -rw-r--r-- 1 noki noki 7200372 10月 1 01:39 rootfs.cpio.gz.u-boot -rw-r--r-- 1 noki noki 8650752 10月 1 01:39 rootfs.jffs2 -rw-r--r-- 1 noki noki 6784 10月 1 01:39 rootfs.manifest -rw-r--r-- 1 noki noki 7236872 10月 1 01:39 rootfs.tar.gz -rw-r--r-- 1 noki noki 2083850 10月 1 00:46 system.bit -rw-r--r-- 1 noki noki 25867 10月 1 01:22 system.dtb -rw-r--r-- 1 noki noki 743119 10月 1 01:24 u-boot.bin -rw-r--r-- 1 noki noki 809080 10月 1 01:24 u-boot.elf -rw-r--r-- 1 noki noki 4326040 10月 1 01:39 uImage -rw-r--r-- 1 noki noki 12671032 10月 1 01:39 vmlinux -rw-r--r-- 1 noki noki 4325976 10月 1 01:39 zImage -rw-r--r-- 1 noki noki 552296 10月 1 01:21 zynq_fsbl.elf noki@noki-VirtualBox:~/work/petalinux/Zybo-base-linux-peta$
Linuxイメージの実機起動
microSDカードを用意して、images/linuxディレクトリにある
- BOOT.BIN
- boot.scr
- image.ub
をコピーします。
boot.scrはPetalinux 2017.4でやったときには存在しませんでした。
なお、PC自体にSDカードスロットはありますが、VirtualBoxから扱うのが面倒そうなので、USB接続のカードリーダを使用しました。
VirtualBox(ホスト=Mac、ゲスト=Windows 10)でSDカードを認識させる方法 - give IT a try
カードリーダはELECOM社製のものです。
VirtualBoxメニューで、デバイス > USB > Generic USB Storageと選択すると、仮想マシンUbuntuからSDカードにアクセスできました。
noki@noki-VirtualBox:~$ ls /dev/sd* /dev/sda /dev/sda1 /dev/sdb /dev/sdb1 /dev/sdb2 noki@noki-VirtualBox:~$
抜き差しして試してみると、/dev/sdbがSDカードに当たるようでした。
SDカードに上記ファイルをコピー、ZYBOに差し込んで、PCとZYBOをUSBケーブルで接続、PCでTeratermを起動、ZYBOで電源投入すると、ちゃんとLinux起動が確認できました。
シリアルコンソールに出力された起動ログを全部掲載してみます。
最後のほうでユーザ名、パスワードを入力してログインしています。
U-Boot 2020.01 (Sep 30 2021 - 16:22:50 +0000) CPU: Zynq 7z010 Silicon: v3.1 DRAM: ECC disabled 512 MiB Flash: 0 Bytes NAND: 0 MiB MMC: mmc@e0100000: 0 Loading Environment from SPI Flash... SF: Detected s25fl128s with page size 256 Bytes, erase size 64 KiB, total 16 MiB *** Warning - bad CRC, using default environment In: serial@e0001000 Out: serial@e0001000 Err: serial@e0001000 Net: ZYNQ GEM: e000b000, mdio bus e000b000, phyaddr -1, interface rgmii-id Warning: ethernet@e000b000 using MAC address from DT eth0: ethernet@e000b000 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot.scr 2010 bytes read in 15 ms (130.9 KiB/s) ## Executing script at 03000000 11554268 bytes read in 650 ms (17 MiB/s) ## Loading kernel from FIT Image at 10000000 ... Using 'conf@system-top.dtb' configuration Verifying Hash Integrity ... OK Trying 'kernel@1' kernel subimage Description: Linux kernel Type: Kernel Image Compression: uncompressed Data Start: 0x100000f8 Data Size: 4325976 Bytes = 4.1 MiB Architecture: ARM OS: Linux Load Address: 0x00200000 Entry Point: 0x00200000 Hash algo: sha256 Hash value: eee70692c31f7b4758702d73c0abc4366b6e9af4b6ccad4298214c93a1fc2b1f Verifying Hash Integrity ... sha256+ OK ## Loading ramdisk from FIT Image at 10000000 ... Using 'conf@system-top.dtb' configuration Verifying Hash Integrity ... OK Trying 'ramdisk@1' ramdisk subimage Description: petalinux-image-minimal Type: RAMDisk Image Compression: uncompressed Data Start: 0x10426a34 Data Size: 7200308 Bytes = 6.9 MiB Architecture: ARM OS: Linux Load Address: unavailable Entry Point: unavailable Hash algo: sha256 Hash value: f9c831ec9998ae4ac1ab2a714a3c155cf27d0337528795c188f66d1b98002d65 Verifying Hash Integrity ... sha256+ OK ## Loading fdt from FIT Image at 10000000 ... Using 'conf@system-top.dtb' configuration Verifying Hash Integrity ... OK Trying 'fdt@system-top.dtb' fdt subimage Description: Flattened Device Tree blob Type: Flat Device Tree Compression: uncompressed Data Start: 0x1042045c Data Size: 25867 Bytes = 25.3 KiB Architecture: ARM Hash algo: sha256 Hash value: 89e73a92946f87241fbdb15e974fd2d913c8477282aa60df32038686f32d6e84 Verifying Hash Integrity ... sha256+ OK Booting using the fdt blob at 0x1042045c Loading Kernel Image Loading Ramdisk to 1e428000, end 1eb05e34 ... OK Loading Device Tree to 1e41e000, end 1e42750a ... OK Starting kernel ... Booting Linux on physical CPU 0x0 Linux version 5.4.0-xilinx-v2020.2 (oe-user@oe-host) (gcc version 9.2.0 (GCC)) #1 SMP PREEMPT Thu Sep 30 16:22:50 UTC 2021 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 earlycon: cdns0 at MMIO 0xe0001000 (options '115200n8') printk: bootconsole [cdns0] enabled Memory policy: Data cache writealloc cma: Reserved 16 MiB at 0x1f000000 percpu: Embedded 15 pages/cpu s31948 r8192 d21300 u61440 Built 1 zonelists, mobility grouping on. Total pages: 129920 Kernel command line: console=ttyPS0,115200 earlycon root=/dev/ram0 rw Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear) mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 484516K/524288K available (6144K kernel code, 217K rwdata, 1844K rodata, 1024K init, 131K bss, 23388K reserved, 16384K cma-reserved, 0K highmem) rcu: Preemptible hierarchical RCU implementation. rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. 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+0x260/0x440 with crng_init=0 zynq_clock_init: clkc starts at (ptrval) Zynq clock init sched_clock: 64 bits at 325MHz, resolution 3ns, wraps every 4398046511103ns clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4af477f6aa, max_idle_ns: 440795207830 ns Switching to timer-based delay loop, resolution 3ns Console: colour dummy device 80x30 Calibrating delay loop (skipped), value calculated using timer frequency.. 650.00 BogoMIPS (lpj=3250000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 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 (1300.00 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 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 @ 0x(ptrval) e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 26, base_baud = 6250000) is a xuartps printk: console [ttyPS0] enabled printk: console [ttyPS0] enabled printk: bootconsole [cdns0] disabled printk: bootconsole [cdns0] disabled vgaarb: loaded 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 EDAC MC: Ver: 3.0.0 FPGA manager framework Advanced Linux Sound Architecture Driver Initialized. clocksource: Switched to clocksource arm_global_timer thermal_sys: Registered thermal governor 'step_wise' NET: Registered protocol family 2 tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear) TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear) TCP: Hash tables configured (established 4096 bind 4096) UDP hash table entries: 256 (order: 1, 8192 bytes, linear) UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) 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. PCI: CLS 0 bytes, default 64 Trying to unpack rootfs image as initramfs... Freeing initrd memory: 7032K hw perfevents: no interrupt-affinity property for /pmu@f8891000, guessing. hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available workingset: timestamp_bits=14 max_order=17 bucket_order=3 jffs2: version 2.2. (NAND) (SUMMARY) c 2001-2006 Red Hat, Inc. io scheduler mq-deadline registered io scheduler kyber registered zynq-pinctrl 700.pinctrl: zynq pinctrl initialized XGpio: gpio@41230000: registered, base is 1023 GPIO IRQ not connected XGpio: gpio@41200000: registered, base is 1019 XGpio: gpio@41220000: registered, base is 1015 XGpio: gpio@41220000: dual channel registered, base is 1011 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 43000000.dma: Xilinx AXI VDMA Engine Driver Probed!! brd: module loaded loop: module loaded spi_master spi0: cannot find modalias for /amba/spi@e000d000/flash@0 spi_master spi0: Failed to create SPI device for /amba/spi@e000d000/flash@0 libphy: Fixed MDIO Bus: probed CAN device driver interface libphy: MACB_mii_bus: probed RTL8211E Gigabit Ethernet e000b000.ethernet-ffffffff:00: attached PHY driver [RTL8211E Gigabit Ethernet] (mii_bus:phy_addr=e000b000.ethernet-ffffffff:00, irq=POLL) macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 28 (00:0a:35:00:1e:53) 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 i2c /dev entries driver cdns-i2c e0004000.i2c: 400 kHz mmio e0004000 irq 22 cdns-i2c e0005000.i2c: 400 kHz mmio e0005000 irq 23 xilinx-vtc 43c00000.v_tc: device found, version 6.020 cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer 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.mmc [e0100000.mmc] using ADMA ledtrig-cpu: registered to indicate activity on CPUs clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 551318127 ns timer #0 at (ptrval), irq=41 usbcore: registered new interface driver usbhid usbhid: USB HID core driver fpga_manager fpga0: Xilinx Zynq FPGA Manager registered NET: Registered protocol family 10 Segment Routing with IPv6 sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver NET: Registered protocol family 17 can: controller area network core (rev 20170425 abi 9) NET: Registered protocol family 29 can: raw protocol (rev 20170425) can: broadcast manager protocol (rev 20170425 t) can: netlink gateway (rev 20190810) max_hops=1 Registering SWP/SWPB emulation handler of-fpga-region fpga-full: FPGA Region probed hctosys: unable to open rtc device (rtc0) of_cfs_init mmc0: new high speed SDHC card at address 59b4 of_cfs_init: OK ALSA device list: No soundcards found. Freeing unused kernel memory: 1024K mmcblk0: mmc0:59b4 NCard 7.36 GiB Run /init as init process INIT: mmcblk0: p1 p2 version 2.88 booting Starting udev udevd[74]: starting version 3.2.8 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[75]: starting eudev-3.2.8 random: fast init done FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. hwclock: can't open '/dev/misc/rtc': No such file or directory Thu Sep 30 16:39:32 UTC 2021 hwclock: can't open '/dev/misc/rtc': No such file or directory urandom_read: 2 callbacks suppressed random: dd: uninitialized urandom read (512 bytes read) Configuring packages on first boot.... (This may take several minutes. Please do not power off the machine.) 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 Configuring network interfaces... udhcpc: started, v1.31.0 udhcpc: sending discover udhcpc: sending discover udhcpc: sending discover udhcpc: no lease, forking to background done. Starting haveged: haveged: listening socket at 3 haveged: haveged starting up Starting Dropbear SSH server: random: dropbearkey: uninitialized urandom read (32 bytes read) random: dropbearkey: uninitialized urandom read (32 bytes read) haveged: haveged: ver: 1.9.5; arch: generic; vend: ; build: (gcc 9.2.0 CTV); collect: 128K haveged: haveged: cpu: (VC); data: 16K (D); inst: 16K (D); idx: 12/40; sz: 15006/57790 haveged: haveged: tot tests(BA8): A:1/1 B:1/1 continuous tests(B): last entropy estimate 7.99919 haveged: haveged: fills: 0, generated: 0 random: crng init done Public key portion is: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYauJlnpZlSMdVB09VYHIapW/xJICPWVLS4hd8MfzGCF5K0u1OLkcizlug//SJJj+WM8/2rIcN/u2csFKZjXQjg47evhpialK6ZkTgxkBETaQpYZZ6vWtI7havTl/fpyzb1v933SKGyjjLnoD1PWQB2si9uTzsV1IR3uWKFuXIhLsYw4fI2awkpPI5pdG3fnZcmU6+IBqQTuPwJFRek2DrEJ5HjeWlqG78Hb8dR/bsgC9wRZW0zCBx1Rbtf6w6t4Y39Tx1UgCpaF612JWjuT6/xqNgB9UgbAvHbEt+GwxJbiUmOJhTG6IbyoR8hxLmWexvaM6cx0mcbz6IY31wRiR9 root@Zybo-base-linux-peta Fingerprint: sha1!! 8d:89:2a:e7:6b:92:14:31:f4:e5:db:0a:04:6c:64:ec:08:92:c8:45 dropbear. hwclock: can't open '/dev/misc/rtc': No such file or directory Starting internet superserver: inetd. Starting syslogd/klogd: done Starting tcf-agent: OK PetaLinux 2020.2 Zybo-base-linux-peta /dev/ttyPS0 Zybo-base-linux-peta login: root Password: root@Zybo-base-linux-peta:~# ls / bin dev home lib mnt root sbin tmp var boot etc init media proc run sys usr root@Zybo-base-linux-peta:~#
ここまで
今回はここまでにしておきます。
次回はPetalinuxの設定等、今までやった通りに変更していきたいと思います。
Vitisを使ってのFSBLのカスタマイズもやりたい。