1. Image Packaging Configuration -> Root filesystem type -> SDカードを選択する(”ZYBO (Zynq) 初心者ガイド (9) Linuxカーネルを少しカスタマイズする”から引用)
2. Yocto Settings -> Enable Debug Tweaks を有効にする (Spaceキーを押す)(”ZYBO (Zynq) 初心者ガイド (9) Linuxカーネルを少しカスタマイズする”から引用)
3. Subsystem AUTO Hardware Settings -> Serial Settings -> Primary stdin/stdout を psu_uart_1 に変更(”Docker 上のUbuntu 16.04 のPetaLinux 2018.2 でビルドしてみた3”より引用)
だそうだ。このオプションは要らないかも?debug-tweaks はデバッグ用にセキュリティを弱くするみたい。login 時に root でパスワードがないなど。
masaaki@afe35354e423:~/cam_dp_183$ petalinux-config --get-hw-description=cam_dp_183.sdk
INFO: Getting hardware description...
INFO: Rename cam_dp_wrapper.hdf to system.hdf
[INFO] generating Kconfig for project
[INFO] menuconfig project
configuration written to /home/masaaki/cam_dp_183/project-spec/configs/config
*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.
[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
[INFO] generating machine configuration
[INFO] generating bbappends for project . This may take time !
[INFO] generating u-boot configuration files
[INFO] generating kernel configuration files
[INFO] generating kconfig for Rootfs
[INFO] oldconfig rootfs
[INFO] generating petalinux-user-image.bb
masaaki@afe35354e423:~/cam_dp_183$ LANG=en_US.UTF-8 petalinux-build
[INFO] building project
[INFO] sourcing bitbake
INFO: bitbake petalinux-user-image
Loading cache: 100% |############################################| Time: 0:00:00
Loaded 3460 entries from dependency cache.
Parsing recipes: 100% |##########################################| Time: 0:00:04
Parsing of 2569 .bb files complete (2527 cached, 42 parsed). 3461 targets, 137 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |#######################################| Time: 0:00:07
Checking sstate mirror object availability: 100% |###############| Time: 0:00:13
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: petalinux-user-image-1.0-r0 do_rootfs: [log_check] petalinux-user-image: found 1 warning message in the logfile:
[log_check] warning: %post(sysvinit-inittab-2.88dsf-r10.plnx_zynqmp) scriptlet failed, exit status 1
NOTE: Tasks Summary: Attempted 3132 tasks of which 2525 didn't need to be rerun and all succeeded.
Summary: There was 1 WARNING message shown.
INFO: Copying Images from deploy to images
NOTE: Failed to copy built images to tftp dir: /tftpboot
[INFO] successfully built project
日 | 月 | 火 | 水 | 木 | 金 | 土 |
---|---|---|---|---|---|---|
- | - | - | - | - | 1 | 2 |
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |