How can I flash SPI so that I can boot from NVMe?
#4
(08-11-2021, 05:07 AM)codingpanic Wrote: I think I may try this firmware on eMMC, that way I can at least boot NVMe directly. This way I dont regrest flashing my SPI. If I do have problems, I can always disable the eMMC and boot off SD card. 

Thanks!

Yes. Also, given that I'm finding my eMMC to be a good place to store /boot and / backup images from NVMe SSD while I tinker with my kernel on NVME, I decided to wait before attempting to flash my SPI. I have the same functionality and no risk by simply using the NVMe-enabled Manjaro boot loader on my eMMC.


As long as I preserve the Manjaro U-boot loader on eMMC (the 32.0MB before the first partition), I suspect the Manjaro U-boot loader will work with other distros installed to my NVMe SSD too, but I've not tried anything but Manjaro on my NVMe SSD so far.

Code:
$ sudo parted -l
...
Model: MMC DA4064 (sd/mmc)
Disk /dev/mmcblk2: 62.5GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:  

Number  Start   End     Size    Type     File system  Flags
1      32.0MB  256MB   224MB   primary  fat16        lba
2      256MB   62.5GB  62.3GB  primary  ext4
You might already know about this thread, but here's more info:



https://forum.manjaro.org/t/nvme-support...04-1/63774


My Manjaro U-boot seems to have the functionality of Nadia's patch and I don't recall if pcm720's code requires it (I read that long thread over a month ago).


Also, be sure to check to see if you're are really booting from NVMe (/boot and / are reported by lsblk as mounted on my Manjaro system, though I guess boot might not be mounted on other systems after boot so maybe boot logs or dmesg would reveal where they booted from):

Code:
$ lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
mmcblk2      179:0    0  58.2G  0 disk  
├─mmcblk2p1  179:1    0 213.6M  0 part  
└─mmcblk2p2  179:2    0    58G  0 part  
mmcblk2boot0 179:32   0     4M  1 disk  
mmcblk2boot1 179:64   0     4M  1 disk  
zram0        252:0    0   5.7G  0 disk [SWAP]
nvme0n1      259:0    0 931.5G  0 disk  
├─nvme0n1p1  259:1    0 213.6M  0 part /boot
└─nvme0n1p2  259:2    0 931.3G  0 part /
Please let us know how things go for you! Big Grin
  Reply


Messages In This Thread
RE: How can I flash SPI so that I can boot from NVMe? - by calinb - 08-11-2021, 01:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cant boot into an OS trashtendenz 4 1,572 06-26-2025, 02:20 AM
Last Post: samlevy0515
  3 days in, slow/stuck or no boot. lgmpbp2 34 11,412 06-11-2025, 08:53 AM
Last Post: lgmpbp2
  upgrading u-boot--what version? where to get it? bsammon 14 6,796 04-03-2025, 07:47 AM
Last Post: Tazdevl
Tongue Yet another Pinebook Pro won't boot thread pinemouth 5 4,938 12-27-2024, 11:38 AM
Last Post: akash3995
  broken tow-boot hashkeeper 1 778 12-25-2024, 10:12 PM
Last Post: jessipinkman
  Unable to boot? YossiS 4 1,433 09-04-2024, 10:35 AM
Last Post: wdt
  uboot wont boot to SD card after upgrade jbradley419 7 4,101 01-19-2024, 02:29 PM
Last Post: wdt
  Video Flashing/adjusting on boot and reboot jbradley419 0 1,050 01-16-2024, 09:17 AM
Last Post: jbradley419
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 5,513 12-15-2023, 02:11 PM
Last Post: wdt
  PBP won't boot after trying to reinstall Manjaro ARM soupgirl 3 2,388 12-13-2023, 08:17 PM
Last Post: trillobite

Forum Jump:


Users browsing this thread: 2 Guest(s)