eMMC boot help
#1
I am trying to get the [unsupported] armbian image to load from eMMC on my pine h64 model b.  The armbian image 

https://dl.armbian.com/pineh64/archive/A..._5.1.15.7z

seems to work like a charm on SD, but I'd like to get the os onto eMMC for faster io.  I have been able to get the Android eMMC and AOSC builds to boot from eMMC on this board, but I'd really prefer Armbian, just because it is a known and will be similar to the rock64 boards I have running Armbian.

However, flashing the image directly onto eMMC doesn't seem to work.  Trying to boot just gives me a black cursor on the serial console.  No activity at all, no u-boot or anything.  As far as I can tell, this should work.  The image seems to have the correct `eGON.BT0` header at the right offset in the image, so I presumed it would have/should have booted.  But no dice

I am new to u-boot, but took a stab at building and installing it onto the eMMC for the h6 anyway, using as a guide: 

http://linux-sunxi.org/Mainline_U-Boot

After following the instructions, building u-boot on a rock64 (targeting the h6), and writing it to the eMMC at the 8kb offset, I pop the card onto the h6.  

However on boot I end up with :
Quote:U-Boot SPL 2020.01-rc2-00035-g3ff1ff3ff7 (Nov 17 2019 - 10:16:56 +0000)
DRAM: 4096 MiB
Trying to boot from MMC2


and it just hangs there.  AFAICT MMC2 is the correct device.
Any pointers?  is there a different branch of u-boot I should be using for the pine64 H6-b ?



One of the complexities is that I can't seem to get the H6 to boot from SD and still be able to read/write to the eMMC device.  Any changes I want to make to the eMMC has to be done on the rock64 and then plugged back onto the H6.  If there is a way to get both SD and eMMC to play nicely on the H6 it would surely shorten the 'round trip' time for making changes.

Any help is greatly appreciated.  TIA


Messages In This Thread
eMMC boot help - by SuburbanDad - 11-18-2019, 08:18 AM
RE: eMMC boot help - by martinayotte - 11-18-2019, 10:54 AM
RE: eMMC boot help - by SuburbanDad - 11-18-2019, 12:22 PM
RE: eMMC boot help - by SuburbanDad - 11-18-2019, 09:48 PM
RE: eMMC boot help - by SuburbanDad - 11-19-2019, 01:25 AM
RE: eMMC boot help - by tophneal - 11-18-2019, 02:51 PM
RE: eMMC boot help - by martinayotte - 11-18-2019, 03:53 PM
RE: eMMC boot help - by martinayotte - 11-19-2019, 10:49 AM
RE: eMMC boot help - by xalius - 11-19-2019, 03:29 PM
RE: eMMC boot help - by SuburbanDad - 11-20-2019, 01:05 AM
RE: eMMC boot help - by martinayotte - 11-20-2019, 02:21 PM
RE: eMMC boot help - by SuburbanDad - 11-22-2019, 02:12 PM
RE: eMMC boot help - by martinayotte - 12-12-2019, 03:42 PM
RE: eMMC boot help - by roel - 12-17-2019, 01:26 AM
RE: eMMC boot help - by Neko May - 12-30-2019, 03:44 AM
RE: eMMC boot help - by as365n4 - 07-02-2020, 04:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PINE H64 u-boot and kernel shinymetal 2 5,941 02-28-2018, 02:05 PM
Last Post: shinymetal

Forum Jump:


Users browsing this thread: 2 Guest(s)