DrSchottky Posted March 17, 2019 Posted March 17, 2019 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
guidol Posted March 17, 2019 Posted March 17, 2019 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
DrSchottky Posted March 17, 2019 Author Posted March 17, 2019 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 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)
Recommended Posts