Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. If modifying the root filesystem, remove the existing:

    Code Block
    sudo rm -rf /media/<user>/rootfs/*


  2. 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.

  1. If modifying the kernel, remove the existing kernel image Remove the existing Linux kernel and device tree binary filesimages.

    Code Block
    sudo rm /media/<user>/rootfs/boot/zImage
    sudo rm /media/<user>/rootfs/boot/devicetree-zImage-am572x-phycore-rdk-41300111i.dtb


  2.  Load the new Linux kernel and device tree binary 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


...