Page 1 of 1

Boot from M.2?

Posted: Fri Mar 31, 2023 10:38 pm
by ziggy
I know i could boot from eMMC then 'flip' root over to the m.2 and have a similar effect, but i would like to actually boot from it instead. Any one have suggestions?

Re: Boot from M.2?

Posted: Fri Feb 16, 2024 3:45 am
by Sergio
In simple words, how do you do the 'flip' root over to the m.2 ?
I would like to try it.

And you might find your answer here: https://github.com/Joshua-Riek/ubuntu-r ... /NanoPC-T6

Re: Boot from M.2?

Posted: Thu Feb 29, 2024 4:33 pm
by igorp
Sergio wrote:
In simple words, how do you do the 'flip' root over to the m.2 ?
I would like to try it.

And you might find your answer here: https://github.com/Joshua-Riek/ubuntu-r ... /NanoPC-T6


Or:
https://docs.armbian.com/User-Guide_Get ... a-nvme-usb

Re: Boot from M.2?

Posted: Mon Mar 04, 2024 4:40 am
by Homwin
Booting directly from an NVMe requires flashing U-Boot to the SPI.

Boot from an SD Card.
Write the bootloader to the SPI NOR flash.
sudo dd if=/lib/u-boot-friendlyelec-rk3588/rkspi_loader.img of=/dev/mtdblock0 conv=notrunc
sync