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.
  Reply
#12
So pcm's command dd if=spiflash.bin of=/dev/mtd0 didn't work for you?
  Reply
#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.
  Reply
#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?
  Reply
#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>
  Reply
#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>"?
  Reply
#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.
  Reply
#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
  Reply
#19
No problem Smile

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to update Manjaro to 20.10 pineitup 6 2,147 01-04-2021, 02:00 PM
Last Post: nightranger73
  How to rewrite uboot to emmc pineitup 5 1,679 12-27-2020, 10:35 AM
Last Post: nightranger73
  How to install Ubuntu to eMMC and to install KDE (Neon) Wizzard 66 38,381 12-22-2020, 03:05 PM
Last Post: Wizzard
  Make your own Manjaro image flatulent_piney 0 774 11-07-2020, 03:30 AM
Last Post: flatulent_piney
  Manjaro ARM, Cryptomator, and MEGA Sync dp1kinobe 3 1,765 10-24-2020, 06:38 AM
Last Post: pineitup
  Tutorial: Run Debian off NVMe hive 4 1,557 10-19-2020, 10:09 AM
Last Post: hive
  Downgrading packages on Manjaro ARM (on the example of boinc) wrzomar 0 839 10-02-2020, 12:20 PM
Last Post: wrzomar
  Extracting a copy of SPI NOR flash contents using micro SD card and u-boot hmuller 0 598 09-21-2020, 11:24 AM
Last Post: hmuller
  Program SPI NOR Flash on Pinebook Pro with u-boot on micro SD Card hmuller 0 792 09-21-2020, 10:02 AM
Last Post: hmuller
  Freepascal FPC3.20 and Lazarus IDE on Manjaro KDE dieselnutjob 0 832 08-02-2020, 06:57 AM
Last Post: dieselnutjob

Forum Jump:


Users browsing this thread: 1 Guest(s)