How to boot Manjaro from NVME with uboot on eMMC
#11
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.
#12
So pcm's command dd if=spiflash.bin of=/dev/mtd0 didn't work for you?
#13
(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.
#14
(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?
#15
(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>
#16
(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>"?
#17
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.
#18
(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
#19
No problem Smile

Use /dev/mmcblk1
#20
(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?


Possibly Related Threads…
Thread Author Replies Views Last Post
  Install Tow-Boot on the SPI Shad0w 12 7,571 09-03-2023, 02:55 AM
Last Post: Spamiswak
Question Can't Boot from MicroSD (What Am I Missing) falken 10 3,625 04-28-2023, 04:26 PM
Last Post: pinemouth
  Building PPSSPP with Manjaro AUR LivingLinux 0 1,109 06-11-2022, 05:07 PM
Last Post: LivingLinux
  How to update Manjaro to 20.10 pineitup 8 13,326 07-31-2021, 04:44 AM
Last Post: jiyong
  How to rewrite uboot to emmc pineitup 5 8,685 12-27-2020, 10:35 AM
Last Post: nightranger73
  How to install Ubuntu to eMMC and to install KDE (Neon) Wizzard 66 97,673 12-22-2020, 03:05 PM
Last Post: Wizzard
  Make your own Manjaro image flatulent_piney 0 3,186 11-07-2020, 03:30 AM
Last Post: flatulent_piney
  Manjaro ARM, Cryptomator, and MEGA Sync dp1kinobe 3 7,017 10-24-2020, 06:38 AM
Last Post: pineitup
  Tutorial: Run Debian off NVMe hive 4 6,118 10-19-2020, 10:09 AM
Last Post: hive
  Downgrading packages on Manjaro ARM (on the example of boinc) wrzomar 0 3,378 10-02-2020, 12:20 PM
Last Post: wrzomar

Forum Jump:


Users browsing this thread: 1 Guest(s)