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.
#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.
#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.
#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.
#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.
#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
#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!
#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.
#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!
#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


Possibly Related Threads…
Thread Author Replies Views Last Post
  PInebook not booting with eMMC enabled aragaer 2 69 10-22-2021, 03:28 PM
Last Post: aragaer
  eMMC disconnecting for no reason? overlisted 0 140 10-05-2021, 06:55 PM
Last Post: overlisted
  U-Boot with direct NVMe boot support for eMMC/SPI Flash pcm720 120 115,445 09-11-2021, 02:16 PM
Last Post: calinb
  Pinebook Pro not powering on when eMMC hardware switch is off vgrimaldi 2 609 06-29-2021, 05:19 AM
Last Post: KC9UDX
  UK Pinebook Pro for sale (UK buyers only, 64GB, eMMC reader, NVME add-on) Z0rua 0 543 06-01-2021, 12:51 PM
Last Post: Z0rua
  I am ready to accept that there may be a problem with my emmc. djhnsn 4 1,210 05-18-2021, 12:25 AM
Last Post: djhnsn
  Wiped EMMC, forgot do write new image, won't recognize EMMC zeno 4 1,120 05-11-2021, 01:53 PM
Last Post: wdt
  Latest PBP Factory Image? calinb 2 730 05-10-2021, 03:24 PM
Last Post: calinb
  Need Advice for Wiping eMMC on Dead LCD Pinebook Pro calinb 9 1,982 05-10-2021, 12:49 PM
Last Post: calinb
  eMMC not gets detected by initramfs? overlisted 6 2,492 05-09-2021, 09:08 PM
Last Post: djhnsn

Forum Jump:


Users browsing this thread: 1 Guest(s)