what is the magic dd incantation to copy the system from the sd card to the emmc?
#10
(08-08-2022, 08:49 AM)wdt Wrote: You could probably get Armbian (on emmc) to work
by replacing its uboot with PCM
Not sure, I think PCM is a BSP, separate trust.img???
If you have a usb->emmc adapter
OR,,, as the very last stage of an install
Thanks for your prompt reply, wdt!

My Manjaro system (/ on NVMe) relies on eMMC of course (both Manjaro /boot and uboot are on my eMMC) so I don't think I'll mess around with my eMMC until I get another eMMC module for experimenting. I have the usb > eMMC adapter accessory from the Pine64 store but I never ordered a spare eMMC. The Foresee eMMC module appears to be a non-standard/common design so it's probably best to order the module from Pine64 too.

I remember reading about trust.img, etc. over a year ago, but I don't recall how it works. I'll have to re-study! PCM720 provides the following two files for eMMC/SD installation and, to the best of my knowledge Manjaro has not over-written them since I installed them to my eMMC.

Notes from PCM720's release page: https://github.com/pcm720/u-boot-build-scripts/releases

Quote:Writing to SD/eMMC:
# dd if=idbloader.img of=/dev/<mmc> seek=64 conv=notrunc
# dd if=u-boot.itb of=/dev/<mmc> seek=16384 conv=notrunc

Writing to SPI Flash (Manjaro):
# flash_erase /dev/mtd0 0 0
# dd if=spiflash.bin of=/dev/mtd0

If dd doesn't work for you (see #2), try nandwrite:
# nandwrite -p /dev/mtd0 spiflash.bin

As I mentioned, I have only installed the two SD/eMMC files to my eMMC idbloader.img and u-boot.itb). I have not attempted to install spiflash.bin to SPI.
  Reply


Messages In This Thread
RE: what is the magic dd incantation to copy the system from the sd card to the emmc? - by calinb - 08-08-2022, 01:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation 'failed to open panfrost' after system update using archarm Puckla 1 345 03-01-2024, 06:46 PM
Last Post: Puckla
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 2,197 12-13-2023, 07:22 PM
Last Post: trillobite
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 427 12-07-2023, 03:11 PM
Last Post: wdt
  Fedora 36 -> 37 upgrade kills system tydeman 0 464 10-28-2023, 09:53 AM
Last Post: tydeman
  [Manjaro] u-boot won't boot from eMMC with (unbootable) SD card present zackw 1 2,003 08-21-2023, 09:08 PM
Last Post: vanessadonald
  2TB SD Card Write Errors jiacovelli 3 1,084 06-02-2023, 06:13 PM
Last Post: KC9UDX
  Blank screen after Armbian 20.04 install to emmc? psychoacoustic 3 3,538 04-01-2023, 03:22 PM
Last Post: TRS-80
  Fix for Armbian not booting on PBP from eMMC agreenbhm 7 3,931 04-01-2023, 02:58 PM
Last Post: TRS-80
  My installation guide starting from messed up eMMC Besouro 0 880 12-19-2022, 01:01 PM
Last Post: Besouro
  newer ""emmc-installer" images (manjaro xfce) magistral 1 1,126 10-10-2022, 06:22 AM
Last Post: maxjrh

Forum Jump:


Users browsing this thread: 1 Guest(s)