...
If modifying the root filesystem, remove the existing:
Code Block sudo rm -rf /media/<user>/rootfs/*
Load the new filesystem to the SD Card.
Code Block sudo tar -Jxf <YOCTO_IMAGE>-<MACHINE>.tar.xz -C /media/<user>/rootfs && sync
Linux Kernel
Note |
---|
If you don't do not need to update your Linux kernel or device tree images, this step can be skipped. The root file system already contains a kernel and default dtb files in its boot directory. |
Remove the existing Linux kernel and device tree image filesimages.
Code Block sudo rm /media/<user>/rootfs/boot/zImage sudo rm /media/<user>/rootfs/boot/devicetree-zImage-am572x-phycore-rdk-41300111i.dtb
Load the new Linux kernel and device tree images to the SD Card. Note that u-boot expects the kernel to be named zImage and the standard SOM dtb file to be named am572x-phycore-rdk-41300111i.dtb:
Code Block sudo cp zImage /media/<user>/rootfs/boot/zImage && sync sudo cp zImage-am572x-phycore-rdk-41300111i.dtb /media/<user>/rootfs/boot/am572x-phycore-rdk-41300111i.dtb && sync
...