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
  Video Flashing/adjusting on boot and reboot jbradley419 0 233 01-16-2024, 09:17 AM
Last Post: jbradley419
  Happy eMMC and SDcard OS usage for Pinebook Pro Newbies... Paulie420 42 59,121 11-20-2023, 06:22 PM
Last Post: wdt
  I'm booting from NVME but I want to switch back to eMMC acruhl 4 1,384 04-23-2023, 06:58 AM
Last Post: acruhl
  Doesn’t power on after flashing emmc badguru 3 1,138 02-25-2023, 09:00 PM
Last Post: badguru
  Pinebook Pro won't turn on after flashing image Idaho 2 1,028 02-21-2023, 02:31 PM
Last Post: Idaho
  eMMC problem with Tow-Boot/u-boot on SPI repa 3 1,615 02-21-2023, 01:49 AM
Last Post: repa
  Partial boot after installing Manjaro on emmc regivanx 11 2,957 02-06-2023, 09:11 AM
Last Post: wdt
  Unable to Boot anything (emmc or SDcard) line72 5 1,896 01-17-2023, 12:07 PM
Last Post: nfms
  What OS have you recently flashed onto PBP eMMC? jcun4128 6 2,245 11-26-2022, 09:39 AM
Last Post: KC9UDX
  Unable to boot from emmc after flashing it rfm83 3 1,681 11-08-2022, 10:59 PM
Last Post: rfm83

Forum Jump:


Users browsing this thread: 1 Guest(s)