what is the magic dd incantation to copy the system from the sd card to the emmc?
#12
I did your test, wdt. I switched off my eMMC and the Armbian SD card will not boot from the PBP micro SD slot so, given that the boot order of the hard-coded SoC  ROM  is eMMC before micro SD, there is either no U-boot  code on the Armbian SD card or its code transfers control to the eMMC U-boot code.
Next I used dd to write PCM720's two U-boot files to the Armbian SD card and then it booted (with eMMC still disabled)! I've been using the PCM720 U-boot on eMMC for over a year now and it's been working well for me so I didn't want to mess with something newer and figured I'd try it on the Armbian SD card.
So Armbian boots from micro SD using PCM720 U-boot without eMMC memory enabled. What is different about Armbian that keeps it from booting when files or the image are copied to eMMC?

(08-08-2022, 07:00 PM)wdt Wrote: armbian uses boot.txt, run thru a simple compiler to make boot.scr
This is one of the things uboot looks for
While the kernel has to be configured to use nvme, 1st uboot has to find it (and be able to read it)
The text file is armbianEnv.txt, right? Yes--boot.cmd has a comment that says:

Code:
# Please edit /boot/armbianEnv.txt to set supported parameters
and also boot.scr:

Code:
# Please edit /boot/armbianEnv.txt to set supported parameters
But why is a compile even necessary when just moving the system to a new device that is obviously supported by the system when booted from SD? After I boot from SD, I can access both my eMMC and NVMe so it's obviously supported by the Armbian kernel. Is it a problem with initrd that requires it to be recompiled?
I don't understand this Armbian compiler requirement or the need for it. With other OSes on the PBP, it is sufficient to simply dd an image to a new memory device or copy the files over to a device that's already partitioned and formatted, as long a U-boot is valid.
Thanks!
-Cal
  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-09-2022, 01:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Exclamation 'failed to open panfrost' after system update using archarm Puckla 1 866 03-01-2024, 06:46 PM
Last Post: Puckla
  Help installing Manjaro on eMMC of Pinebook Pro pine4546464 4 3,382 12-13-2023, 07:22 PM
Last Post: trillobite
  Manjaro 20.04 not loading from SD (with Manjaro on eMMC) zaius 1 930 12-07-2023, 03:11 PM
Last Post: wdt
  Fedora 36 -> 37 upgrade kills system tydeman 0 846 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,545 08-21-2023, 09:08 PM
Last Post: vanessadonald
  2TB SD Card Write Errors jiacovelli 3 1,717 06-02-2023, 06:13 PM
Last Post: KC9UDX
  Blank screen after Armbian 20.04 install to emmc? psychoacoustic 3 4,485 04-01-2023, 03:22 PM
Last Post: TRS-80
  Fix for Armbian not booting on PBP from eMMC agreenbhm 7 5,511 04-01-2023, 02:58 PM
Last Post: TRS-80
  My installation guide starting from messed up eMMC Besouro 0 1,204 12-19-2022, 01:01 PM
Last Post: Besouro
  newer ""emmc-installer" images (manjaro xfce) magistral 1 1,479 10-10-2022, 06:22 AM
Last Post: maxjrh

Forum Jump:


Users browsing this thread: 5 Guest(s)