Here’s a simple way to boot into NVMe SSD by using a TF card.
- Download sdcard image from Downloading and Installing the Operating System | Bit-Brick
- Flash to image to SSD and TF card.
unzip -p bit-brick-bianbu-desktop-sdcard.zip bit-brick-bianbu-desktop-sdcard.img | dd of=/dev/<your-ssd or your TF card> bs=1M status=progress
- Mount the TF card, and add two new lines to
env_k1-x.txt
:nvme_boot=setenv bootfs_devname nvme; setenv boot_devnum 0; setenv bootfs_part 5; setenv rootfs_part 6; run mmc_boot autoboot=nvme scan; run nvme_boot;
- Change UUID of TF card partition. Since we flash the same image to TF card and SSD, the partitions will have the same UUID. This command change the UUID of TF card partitions.
tune2fs -U $(uuidgen) /dev/mmcblk0p5 tune2fs -U $(uuidgen) /dev/mmcblk0p6
- Plug in TF card and NVMe SSD. And Boot!.