This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
hw:zynq:linux:petalinux:sdcard [2019/03/20 15:56] jakub.moron |
hw:zynq:linux:petalinux:sdcard [2021/04/21 16:48] (current) jakub.moron |
||
---|---|---|---|
Line 11: | Line 11: | ||
* Copy filesystems: | * Copy filesystems: | ||
- Mount the formatted card | - Mount the formatted card | ||
- | - Copy boot and kernel: (for ''boot_project_name'' see [[hw:zynq:linux:petalinux:boot_kernel|Boot and Kernel configure & build with PetaLinux without BSP (board support package)]]) <code> | + | - Petalinux 2018.3: Copy boot and kernel: (for ''boot_project_name'' see [[hw:zynq:linux:petalinux:boot_kernel|Boot and Kernel configure & build with PetaLinux without BSP (board support package)]]) <code> |
- | cd <boot_project_name> | + | cd <boot_project_path>/<boot_project_name> |
- | sudo cp ./images/linux/* <sd_card_mount_point>/BOOT/ | + | sudo cp ./images/linux/BOOT.BIN ./images/linux/?mage* ./images/linux/?ystem.* ./images/linux/u-boot.bin ./images/linux/vmlinux <sd_card_mount_point>/BOOT/ |
+ | sync | ||
+ | |||
+ | // old: sudo cp ./images/linux/* <sd_card_mount_point>/BOOT/ | ||
</code> | </code> | ||
+ | - Petalinux 2020.2: Copy boot and kernel: (for ''boot_project_name'' see [[hw:zynq:linux:petalinux:boot_kernel|Boot and Kernel configure & build with PetaLinux without BSP (board support package)]]) <code> | ||
+ | cd <boot_project_path>/<boot_project_name> | ||
+ | sudo cp ./images/linux/BOOT.BIN ./images/linux/?mage* ./images/linux/?ystem.* ./images/linux/u-boot.bin ./images/linux/vmlinux ./images/linux/boot.scr <sd_card_mount_point>/BOOT/ | ||
+ | sync | ||
+ | </code> | ||
+ | |||
+ | - Copy root filesystem: <code> | ||
+ | cd <rootfs_path> | ||
+ | sudo cp -a rootfs/* <sd_card_mount_point>/rootfs/ | ||
+ | sync | ||
+ | </code> | ||
+ | - Umount ''BOOT'' and ''rootfs'' | ||