PINE64
How to boot Manjaro from NVME with uboot on eMMC - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Pinebook Pro Tutorials (https://forum.pine64.org/forumdisplay.php?fid=117)
+--- Thread: How to boot Manjaro from NVME with uboot on eMMC (/showthread.php?tid=8804)

Pages: 1 2 3 4 5


RE: How to boot Manjaro from NVME with uboot on eMMC - clover - 01-29-2020

Although following this tutorial was successful and I moved my emmc manjaro image root to nvme, at this time my SD card will not boot.


How to boot Manjaro from NVME with uboot on eMMC - tophneal - 01-29-2020

So pcm's command dd if=spiflash.bin of=/dev/mtd0 didn't work for you?


RE: How to boot Manjaro from NVME with uboot on eMMC - as400 - 01-29-2020

(01-29-2020, 11:46 AM)clover Wrote: Although following this tutorial was successful and I moved my emmc manjaro image root to nvme, at this time my SD card will not boot.

What OS do you have on SD ? Can you try manjaro ?

If it doesn't boot try this on SD card:


Code:
dd if=/dev/zero bs=32k seek=1 count=1 of=<microSD>
dd if=/dev/zero bs=64k seek=128 count=64 of=<microSD>
dd if=/dev/zero bs=64k seek=192 count=64 of=<microSD>

(01-29-2020, 11:48 AM)tophneal Wrote: So pcm's command dd if=spiflash.bin of=/dev/mtd0 didn't work for you?

I know there are people who succeeded. For me it didn't work.
Had to use rkdeveloptool. Which is not big deal actually.


RE: How to boot Manjaro from NVME with uboot on eMMC - mamboman777 - 01-29-2020

(01-29-2020, 10:32 AM)as400 Wrote: @mamboman777 I have no problems booting from sd card whatsoever with this uboot.

@tophneal this package was offered once by Manjaro team. Patches are by @pcm720. So all credits go to them. Sd card has priority on boot.

What troubleshooting steps could I take to get boot from SD working?


RE: How to boot Manjaro from NVME with uboot on eMMC - as400 - 01-29-2020

(01-29-2020, 12:26 PM)mamboman777 Wrote: What troubleshooting steps could I take to get boot from SD working?

Try destroying uboot on your sd:



Code:
dd if=/dev/zero bs=32k seek=1 count=1 of=<microSD>
dd if=/dev/zero bs=64k seek=128 count=64 of=<microSD>
dd if=/dev/zero bs=64k seek=192 count=64 of=<microSD>



RE: How to boot Manjaro from NVME with uboot on eMMC - mamboman777 - 01-29-2020

(01-29-2020, 12:38 PM)as400 Wrote:
(01-29-2020, 12:26 PM)mamboman777 Wrote: What troubleshooting steps could I take to get boot from SD working?

Try destroying uboot on your sd:



Code:
dd if=/dev/zero bs=32k seek=1 count=1 of=<microSD>
dd if=/dev/zero bs=64k seek=128 count=64 of=<microSD>
dd if=/dev/zero bs=64k seek=192 count=64 of=<microSD>

I attempted, but I do not know if I entered "microSD"  correctly.  I'm sorry for such a noob question, but could you please tell me how to find out what to put in "<microSD>"?


RE: How to boot Manjaro from NVME with uboot on eMMC - as400 - 01-29-2020

Try lsblk command.
In the output you should have mmcblk1 and mmcblk2.
Identify your sd card by capacity and the device you are looking for will be /dev/mmcblk1 or /dev/mmcblk2.
Do not destroy uboot on eMMc it will be one of the mmcblk devices.


RE: How to boot Manjaro from NVME with uboot on eMMC - mamboman777 - 01-29-2020

(01-29-2020, 12:58 PM)as400 Wrote: Try lsblk command.
In the output you should have mmcblk1 and mmcblk2.
Identify your sd card by capacity and the device you are looking for will be /dev/mmcblk1 or /dev/mmcblk2.
Do not destroy uboot on eMMc it will be one of the mmcblk devices.

Thank you for your help.  I want to make sure I don't mess up the eMMC.  Here's the output of lsblk.  Can you please tell me which device I should use? 

Thanks again!


Code:
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
mmcblk2      179:0    0  58.2G  0 disk
└─mmcblk2p1  179:1    0  58.2G  0 part
mmcblk2boot0 179:32   0     4M  1 disk
mmcblk2boot1 179:64   0     4M  1 disk
mmcblk1      179:96   0 119.1G  0 disk
├─mmcblk1p1  179:97   0     2G  0 part
├─mmcblk1p2  179:98   0    16M  0 part
├─mmcblk1p3  179:99   0     2G  0 part
├─mmcblk1p4  179:100  0    16M  0 part
├─mmcblk1p5  179:101  0     2M  0 part
├─mmcblk1p6  179:102  0   512B  0 part
├─mmcblk1p7  179:103  0   512B  0 part
├─mmcblk1p8  179:104  0    16M  0 part
├─mmcblk1p9  179:105  0   512B  0 part
├─mmcblk1p10 179:106  0   512B  0 part
├─mmcblk1p11 179:107  0     8M  0 part
└─mmcblk1p12 179:108  0    32M  0 part
nvme0n1      259:0    0 953.9G  0 disk
└─nvme0n1p1  259:1    0 953.9G  0 part /mnt



RE: How to boot Manjaro from NVME with uboot on eMMC - as400 - 01-29-2020

No problem Smile

Use /dev/mmcblk1


RE: How to boot Manjaro from NVME with uboot on eMMC - mamboman777 - 01-29-2020

(01-29-2020, 01:21 PM)as400 Wrote: No problem Smile

Use /dev/mmcblk1

Good news: I successfully completed the commands listed and I didn't mess up my eMMC.  Bad news...I was not able to boot from the SD card.  Any other ideas?