Skip to content

Releases: autocore-ai/SDV

PCU images for k8s

26 May 00:42
Compare
Choose a tag to compare
PCU images for k8s Pre-release
Pre-release

Flash SD card

To install MPU image(without SDK) on an SD card, you will need another PC with an SD card reader.

  1. Download an image
    Official images with recommended OS and middle-ware are available on Mega or below Assets.
  2. Write the image to SD card
    Connect an SD card reader with the SD card plugged in
    Load the MPU image file (.img or .zip) into the tool
    Flash until finish

For Linux users, you could also use the following command (replace the path, name, device name with your own):

$ flex-installer -b bootpartition_LS_arm64_lts_5.4.tgz -r rootfs_ubuntu_focal_LS_arm64.tgz -f firmware_ls1046afrwy_uboot_sdboot.img -d /dev/mmcblk0

Flash EMMC

The on-board EMMC size is 64GB.

  1. Download an image
    Official images with recommended OS and middle-ware are available on Mega or below Assets.
    Extract the zip file to a USB drive. Then plug the USB drive to PCU

  2. Boot from QSPI
    Power on the board, and hit any key to enter Uboot mode during start up:
    Hit any key to stop autoboot: 10
    Then boot from QSPI:

$ run qspi_bootcmd

The default user name for QSPI system is root.

  1. Partition and format EMMC storage drive
$ flex-installer -i pf -d /dev/mmcblk0
  1. Install from the USB drive(/dev/sda1 in this case)
$ mount -t vfat /dev/sda1 /tmp/

Make sure the five files "setup.env", "flex-installer", "bootpartition_LS_arm64_lts_5.4.tgz", "rootfs_ubuntu_focal_LS_arm64.tgz", and "firmware_ls1046afrwy_uboot_emmcboot.img" are in the USB drive.

$ cd /tmp/nxp_img (The files are stored in nxp_img folder in this case)
$ ./setup.env
$ flex-installer -b bootpartition_LS_arm64_lts_5.4.tgz -r rootfs_ubuntu_focal_LS_arm64.tgz -f firmware_ls1046afrwy_uboot_emmcboot.img -d /dev/mmcblk0