Flashing image to EMMC
#1
Hi All,

I received my PBP last week, all working fine out of the box, love the device so far!

The only issue I've had so far is that the image on the EMMC seems to be corrupted, I can boot from SD cards just fine, posting this from the standard Debian.

What's strange, once I've booted from a SD I can boot the device from the EMMC once or twice but after it will just loop through the boot process. Sometimes it will get to the logon screen but it will hang there and after a period of time it will power cycle again.

Is there a straight forward way to flash the Debian image to the EMMC storage when booted from a SD? So far it seems my only option is to get the USB adapter and do it that way.
  Reply
#2
Since you already have the Debian running on an SD, you could use this installer script to reinstall it to your emmc. You can also use xcat or dd to copy compressed, or uncompressed, img.gz files. The adapter is very handy to just plug into your computer and burn with Etcher, but it is far from necessary.
  Reply
#3
(01-07-2020, 07:50 AM)Styles Wrote: What's strange, once I've booted from a SD I can boot the device from the EMMC once or twice but after it will just loop through the boot process. Sometimes it will get to the logon screen but it will hang there and after a period of time it will power cycle again.

Have you checked that the eMMC module is fully seated in its connector? You can find assembly/disassembly instructions here. It is odd that it is working intermittently.

You can find the eMMC module in this picture. It is labeled #26.
  Reply
#4
(01-07-2020, 09:26 AM)hmuller Wrote:
(01-07-2020, 07:50 AM)Styles Wrote: What's strange, once I've booted from a SD I can boot the device from the EMMC once or twice but after it will just loop through the boot process. Sometimes it will get to the logon screen but it will hang there and after a period of time it will power cycle again.

Have you checked that the eMMC module is fully seated in its connector? You can find assembly/disassembly instructions here. It is odd that it is working intermittently.

You can find the eMMC module in this picture. It is labeled #26.

Yeah, I reseated it, pressed down firmly. Seems fine no wobble or anything.

Its really odd because its started whining, last couple days. I tried running the installer script but I probably targeted the wrong drive will try again. Otherwise I'll just mess in the SD card for now.
  Reply
#5
Okay so I thought I'd give the Manjaro image a try, dropped it onto a 200 gb SD card.

If I run df -h I can only see the SD card, I'm assuming I should be able to see the EMMC drive there. Seems like its faulty to me. Edit: at least this explains why I couldn't reflash the EMMC...

On a side note, can we boot these from NVME drives? I read that its not possible but the post was from a while ago.
  Reply
#6
@Styles, You may not be able to see the eMMC drive using "df -h". Depends on a few things.

I tend to use "fdisk -l" which will list all the disks. The one that shows up similar to the below is the eMMC. The other "mmcblk" device would be your SD card.

mmcblk1boot0
mmcblk1boot1
mmcblk1rpmb
mmcblk1

Only the last one is really usable. It's a quirk of the eMMC standard that we have the other 3.

If you have entries like this, they are partitions on the device;

mmcblk1p1
mmcblk1p2
mmcblk1p3
...
--
Arwen Evenstar
Princess of Rivendale
  Reply
#7
@Arwen
Thanks for the tip! I can actually see it there now, mmcblk2.
I'll have another crack at flashing it now. Will post back with results.

Clearly need to brush up on disk stuff in Linux!
  Reply
#8
(01-08-2020, 03:49 AM)Styles Wrote: On a side note, can we boot these from NVME drives? I read that its not possible but the post was from a  while ago.

Yes. And according to strit, in the IRC, this code for NVMe support is now in the uboot shipped with Manjaro.
  Reply
#9
(01-08-2020, 07:14 AM)tophneal Wrote:
(01-08-2020, 03:49 AM)Styles Wrote: On a side note, can we boot these from NVME drives? I read that its not possible but the post was from a  while ago.

Yes. And according to strit, in the IRC, this code for NVMe support is now in the uboot shipped with Manjaro.

Thanks that will be the next bit of tinkering I do.

@Arwen 
Thanks again for the tip, got it sorted now booting from the eMMC!
  Reply
#10
(01-07-2020, 08:03 AM)tophneal Wrote: Since you already have the Debian running on an SD, you could use this installer script to reinstall it to your emmc. You can also use xcat or dd to copy compressed, or uncompressed, img.gz files. The adapter is very handy to just plug into your computer and burn with Etcher, but it is far from necessary.

I am still figuring things out and I want to re-install the original OS on my Pinebook Pro. I managed to get the Debian on a SD card and are able to boot the PBP from teh SD card. How do I run the installer script now?
Sad 
Cheers
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Happy eMMC and SDcard OS usage for Pinebook Pro Newbies... Paulie420 40 16,322 02-27-2021, 11:01 AM
Last Post: wdt
  Pinebook Pro 128GB EMMC for sale **sold** dgkPBP 7 1,382 01-15-2021, 08:48 AM
Last Post: dgkPBP
  U-Boot with direct NVMe boot support for eMMC/SPI Flash pcm720 115 84,224 01-04-2021, 09:57 AM
Last Post: wdt
  Booting to sdcard stopped working after emmc flash techiedog 3 951 12-31-2020, 06:30 PM
Last Post: Anarethos
  Flash non-bootable eMMC? midnightcheese 2 527 12-24-2020, 08:01 AM
Last Post: midnightcheese
  Pinebook Pro refuses to boot from eMMC pivic 23 4,167 12-14-2020, 05:08 PM
Last Post: KC9UDX
  Pinebook Pro won´t boot either from eMMC or microSD robieguarneros 40 8,930 11-16-2020, 10:48 AM
Last Post: axel
  emmc vs NVMe real-world performances Henry 7 2,617 11-15-2020, 02:03 PM
Last Post: rimaille
  eMMC not gets detected by initramfs? overlisted 4 1,107 11-04-2020, 03:13 PM
Last Post: overlisted
  Can we dualboot eMMC and SSD Madiator2011 3 1,191 09-16-2020, 11:58 AM
Last Post: Arwen

Forum Jump:


Users browsing this thread: 1 Guest(s)