Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[SOLVED] Proper way to flash MMC

Featured Replies

Hi all,

I'm experimenting with OPi Zero 2+ and I would like to flash onboard eMMC with a fresh Armbian (from a clean img, not from running system).

What I did is booting from SD, downloading an Armbian img and dd'ing it into emmc device file, being sure it would have been enough since is what we do (I think?) when we write img to SD cards.

I found out it won't boot unless I manually flash sunxi-spl.bin at 0x2000.

What am I missing? Isn't that supposed to be flashed with image?

Is dd a proper method to flash a clean image on mmc from a running system?

 

Thank you

 

Why not make a "clean" SD-card, boot this, create root-pwd/your first user with pwd and then install this "clean" image to eMMC

via armbian-config -> system -> install (to eMMC)

 

I have - personally - never dd the image to eMMC

  • Author

Yes, surely it's an easier way, but that's just a starting point for something more complicated where I won't flash a clean image (but a customized one that should be different from the OS used for flashing) and, last but not least,  I'm interested in knowing where the problem is :)

 

UPDATE: Ok, I reflashed it and now it works :huh:

So flashing through dd seems fine

 

From serial monitor I see that sometime it hangs on

U-Boot SPL 2018.11-armbian (Feb 08 2019 - 11:35:32 +0100)
DRAM: 512 MiB
Trying to boot from MMC2

that's what was happening before, but it's another kind of problem (looks like u-boot for h5 has a few issues)

  • DrSchottky changed the title to [SOLVED] Proper way to flash MMC
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.