0
orangepower

Nanopc M4V2 - reflash eMMC

Recommended Posts

Hi 

 

I`m trying to set NAS server (OMV) on nanopi M4v2 with sata HAT and eMMC.

I have instaled OMV but it is working realy slow and I want to make another clean install.

I`m using Armbian Buster from here

https://www.armbian.com/nanopi-m4-v2/

 

I`m tryng now for 4 hours to boot from fresh made SD card but I always end up on eMMC module.

If I unplug module I can boot from SD card.

 

I was trying Recovery key and PWR key combination but with no luck

 

What can I try next.

 

Thank you for help!

Share this post


Link to post
Share on other sites
27 minutes ago, orangepower said:

I`m tryng now for 4 hours to boot from fresh made SD card but I always end up on eMMC module.

Rockchip SoCs always have eMMC as boot priority.

So, to boot from SDCard, you need to stop U-Boot from eMMC by pressing <spacebar> several times during startup.

Then, at U-Boot command line, you can type "setenv devnum 1" followed with "run mmc_boot", it will then boot from SD.

 

Share this post


Link to post
Share on other sites

thank you @martinayotte for the tip.

 

@orangepower : as you, I was in such a trouble: my solution was to remove emmc module from the nanoPi and then from my PC erase emmc's content using an usb2emmc adapter. Kind of brutal solution but really efficient :D

Share this post


Link to post
Share on other sites

I also bought emmc2microsd but there is a problem with small notch on it. My emmc plug in oposite way and than there is no way you can plug microsd anywhere. After a while I forced it in oposide way and was able to erase emmc with PC. 

 

There was no chance to stop booting to go to U-boot. It simply does not work..

 

But I manage to solve this probem..by force.. :) 

Share this post


Link to post
Share on other sites

I use usb to ttl (pc) and from terminal console:

mmc erase blk$ cnt

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0