How to write image to emmc module on the pinebook
#1
Hello,

I've just received my pinebook today and am curious as to how one would write the OS image directly to the emmc module?  I've seen where the pine64-installer has an option to write to an emmc but it seems like this tool is for a x86/x86_64 system which the pine isn't.  Is there some emmc to usb adapter one would need to do this or is there some magic I'm missing?
  Reply
#2
(06-26-2017, 11:27 AM)eclay Wrote: Hello,

I've just received my pinebook today and am curious as to how one would write the OS image directly to the emmc module?  I've seen where the pine64-installer has an option to write to an emmc but it seems like this tool is for a x86/x86_64 system which the pine isn't.  Is there some emmc to usb adapter one would need to do this or is there some magic I'm missing?

You could in theory write an image directly to eMMC by putting the unit in FEL mode and using ayufan's boot tools. But the easy way is to use the pine installer to flash the desired image to an SD, insert the SD into the pinebook, and follow the instructions to flash the image to eMMC.
You can find me on IRC, Discord and Twitter


  Reply
#3
(06-26-2017, 11:42 AM)Luke Wrote:
(06-26-2017, 11:27 AM)eclay Wrote: Hello,

I've just received my pinebook today and am curious as to how one would write the OS image directly to the emmc module?  I've seen where the pine64-installer has an option to write to an emmc but it seems like this tool is for a x86/x86_64 system which the pine isn't.  Is there some emmc to usb adapter one would need to do this or is there some magic I'm missing?

You could in theory write an image directly to eMMC by putting the unit in FEL mode and using ayufan's boot tools. But the easy way is to use the pine installer to flash the desired image to an SD, insert the SD into the pinebook, and follow the instructions to flash the image to eMMC.


Thanks.  Once my pine charges I will give it a try.  It arrived completely dead and evidently it won't boot without some charge on the batteries.
  Reply
#4
(06-26-2017, 11:53 AM)eclay Wrote:
(06-26-2017, 11:42 AM)Luke Wrote:
(06-26-2017, 11:27 AM)eclay Wrote: Hello,

I've just received my pinebook today and am curious as to how one would write the OS image directly to the emmc module?  I've seen where the pine64-installer has an option to write to an emmc but it seems like this tool is for a x86/x86_64 system which the pine isn't.  Is there some emmc to usb adapter one would need to do this or is there some magic I'm missing?

You could in theory write an image directly to eMMC by putting the unit in FEL mode and using ayufan's boot tools. But the easy way is to use the pine installer to flash the desired image to an SD, insert the SD into the pinebook, and follow the instructions to flash the image to eMMC.


Thanks.  Once my pine charges I will give it a try.  It arrived completely dead and evidently it won't boot without some charge on the batteries.

Re. flat battery - I posted this earlier
You can find me on IRC, Discord and Twitter


  Reply
#5
(06-26-2017, 12:08 PM)Luke Wrote:
(06-26-2017, 11:53 AM)eclay Wrote:
(06-26-2017, 11:42 AM)Luke Wrote:
(06-26-2017, 11:27 AM)eclay Wrote: Hello,

I've just received my pinebook today and am curious as to how one would write the OS image directly to the emmc module?  I've seen where the pine64-installer has an option to write to an emmc but it seems like this tool is for a x86/x86_64 system which the pine isn't.  Is there some emmc to usb adapter one would need to do this or is there some magic I'm missing?

You could in theory write an image directly to eMMC by putting the unit in FEL mode and using ayufan's boot tools. But the easy way is to use the pine installer to flash the desired image to an SD, insert the SD into the pinebook, and follow the instructions to flash the image to eMMC.


Thanks.  Once my pine charges I will give it a try.  It arrived completely dead and evidently it won't boot without some charge on the batteries.

Re. flat battery - I posted this earlier

Yep, I caught that post.  Didn't know if it was an older post or more recent. 

I was able to use pine64-installer and choose ubuntu mate write to emmc and it worked as you described.

Thanks
  Reply
#6
(06-26-2017, 11:42 AM)Luke Wrote: But the easy way is to use the pine installer to flash the desired image to an SD, insert the SD into the pinebook, and follow the instructions to flash the image to eMMC.

Correct me if I'm wrong, but ayufan's current images only support flashing the eMMC with a brand new downloaded image, and not the contents on the SD card.
  Reply
#7
(06-26-2017, 04:41 PM)jordanjay29 Wrote: Correct me if I'm wrong, but ayufan's current images only support flashing the eMMC with a brand new downloaded image, and not the contents on the SD card.

Luke is referring to the PINE64 installer, a program you can run from Linux, MacOS/X or Windows IIRC (have only used Linux) to write to an SSD, not the included scripts found in /usr/local/sbin - you burn one of multiple downloadable images or a saved image file, then upon booting said microSD in the pinebook, you can run the script to install or reinstall to the eMMC (I've done this twice since friday, once after munging my eMMC from an Android install and once after setting the brightness too low and finding it easier to reinstall than to try to figure out where Ubuntu keeps default brightness settings) - link to the install client is here: https://github.com/pine64dev/PINE64-Inst.../README.md
------
it doesn't get happy
it doesn't get sad
it just runs programs
  Reply
#8
this is exactly what I came here hoping for. I upgraded the internal storage on the pinebook as soon as I got it, and ended up with an android image already on it. but i can't seem to get the pinebook to boot from the sd card. I have, to be fair, only tried the ubuntu minimal images thus far and am about to flash upo the mate image and see where it goes. 

if that doesn't work, I'm wondering if anyone has any ideas of maybe sd card limitations, or usb boot options I could go with in the meantime?

I ran across a post about mashing some button mounted on the internal board while trying to flash(will have to try and track that one down again), but there appears to be a button and a switch, and i haven't come across any documentation on either just yet.
  Reply
#9
ok, three posts down, I found out about the switch. got that covered!
  Reply
#10
I gave a complete step by step on how to flash an image to eMMC (the easy way) in this post 

edit: ... and in this post...

edit 2: so I will sticky this post in hope of others seeing it before asking the same question Wink
You can find me on IRC, Discord and Twitter


  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [SOLVED] Pinebook stopped to charge UltraBloxX 6 306 08-14-2019, 01:56 PM
Last Post: UltraBloxX
  Pinebook 1080p screen with other SBC? binholz 5 194 08-07-2019, 05:56 AM
Last Post: jezek
  Pinebook internals kodkuce 1 216 07-30-2019, 02:45 PM
Last Post: binholz
  EU Shop for spare parts/eMMC? Noxmiles 4 364 07-05-2019, 03:16 PM
Last Post: soupbowl
  how to install emmc in just arrived pinebook dkebler 11 5,072 06-13-2019, 01:13 AM
Last Post: zk1sps
  Pinebook Pro Video Out Options faroh8Je 2 106 06-12-2019, 05:16 AM
Last Post: Luke
  Pinebook HDMI not working DarkShadow 3 156 05-16-2019, 03:56 PM
Last Post: DarkShadow
  Pinebook Pro Network diagnostics hardware xavi 3 221 05-01-2019, 09:53 PM
Last Post: tllim
  Scandinavian or alternate PineBook Keyboard? GreenThing 8 527 04-18-2019, 02:23 AM
Last Post: freppa
Information Pinebook 14" keyboard misses keypresses UPDATE MarkHaysHarris777 22 7,957 02-13-2019, 02:34 PM
Last Post: schallee

Forum Jump:


Users browsing this thread: 1 Guest(s)