This is how you flash to eMMC easily
#11
(06-27-2020, 05:47 PM)Hiraghm Wrote: Sorry to reopen this thread so late, but...

I would like to try Mobian on SD card on my PinePhone, and then if I liked it, flash it to the emcc...

is there a specific size SD card I need to use to do it this way?

Once I flash it to the emcc, I'd like to be able to stick a big SD card in the phone, and mount it in my home directory... is that feasible?
The SDcard size is not too critical, anything from 8Gb upward will be OK  for testing. See other threads about SDcard performance, a card with good read/write speed of small files will give a much better experience when used fir the root file system. Samsung Evo+ works for me, spending more, or less, could be a bad choice!

And yes when you boot from eMMC you can mount an SDcard for data via standard linux functionality: I have a 128G Evo+ mounted as ~/SDcard.
  • ROCKPro64 v2.1 2GB, 16Gb eMMC for rootfs, SX8200Pro 512GB NVMe for /home, HDMI video & sound, Bluetooth keyboard & mouse. Arch (6.2 kernel, Openbox desktop) for general purpose daily PC.
  • PinePhone Pro Explorer Edition, daily driver, rk2aw & U-boot on SPI, Arch/SXMO & Arch/phosh on eMMC
  • PinePhone BraveHeart now v1.2b 3/32Gb, Tow-boot with Arch/SXMO on eMMC
#12
Is there a way to access the boot blocks on the eMMC module for updating u-boot during this process?

All of the install methods to eMMC seem to ignore u-boot, do the images flash u-boot on install by a script? Or can I just dd u-boot to the /dev/sd[x] device that is exposed using jumpdrive to flash it?
#13
u-boot is part of the image, actually, so flashing an image will also flash u-boot Wink
#14
What if you have a UBports version that quit booting? You can't get jump drive on the phone. I'm admittedly NOOB, but am using my PBPro to try and get a bootable micro SD card to boot the phone from.
Dennis Hoshield
PBPro/ANSI/Manjaro
#15
(07-13-2020, 04:42 PM)dhosh Wrote: What if you have a UBports version that quit booting?  You can't get jump drive on the phone.  I'm admittedly  NOOB,  but am using my PBPro to try and get a bootable micro SD card to boot the phone from.
put Jumpdrive on an "sdcard"(with Balena_Etcher ) put that in your phone, then connect it to your PC , (then your PC can see the EMMC)  then flash the copy of Ubports that you previously downloaded and extracted on your PC,with Balena-Etcher , but read the drive its going to write to carefully, sometimes it shows the sdcard with jumpdrive on it as well as the emmc, choose the correct one ,

if you make a    bootable sdcard,  it will try to boot that    sdcard,    not the phone emmc

(07-13-2020, 04:42 PM)dhosh Wrote: What if you have a UBports version that quit booting?  You can't get jump drive on the phone.  I'm admittedly  NOOB,  but am using my PBPro to try and get a bootable micro SD card to boot the phone from.
#16
Hi.

I have had the Pinephone UBPorts Ed. for a while now.  I have been having the usual problems and would like to flash the eMMC.  I flashed jumpdrive to the SD card, however when I plug it into the computer it shows numerous drives.  Which one is the eMMC drive?


.jpg   Screenshot.jpg (Size: 17.22 KB / Downloads: 680)

Any help would be appreciated.

Thanks
Dan
#17
The eMMC is the first block device, and the uSD the second. Either may contain partitions which the GUI may show as drives to mount. dmesg will show the details, something along the lines of:

[178118.500549] scsi 4:0:0:0: Direct-Access JumpDriv e eMMC PQ: 0 ANSI: 2
[178118.500800] scsi 4:0:0:1: Direct-Access JumpDriv e microSD PQ: 0 ANSI: 2
[178118.503076] sd 4:0:0:0: Attached scsi generic sg2 type 0
[178118.506159] sd 4:0:0:1: Attached scsi generic sg3 type 0
[178118.506302] sd 4:0:0:0: Power-on or device reset occurred
[178118.507808] sd 4:0:0:1: Power-on or device reset occurred
[178118.508154] sd 4:0:0:0: [sdc] 30785536 512-byte logical blocks: (15.8 GB/14.7 GiB)
[178118.508263] sd 4:0:0:1: [sdd] 249737216 512-byte logical blocks: (128 GB/119 GiB)
[178118.508511] sd 4:0:0:1: [sdd] Write Protect is off
[178118.508513] sd 4:0:0:1: [sdd] Mode Sense: 0f 00 00 00
[178118.508636] sd 4:0:0:1: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[178118.509335] sd 4:0:0:0: [sdc] Write Protect is off
[178118.509336] sd 4:0:0:0: [sdc] Mode Sense: 0f 00 00 00
[178118.509529] sd 4:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[178118.514637] sdd: sdd1
[178118.519379] sdc: sdc1 sdc2
[178118.520597] sd 4:0:0:0: [sdc] Attached SCSI removable disk
[178118.520714] sd 4:0:0:1: [sdd] Attached SCSI removable disk

Generally when you're flashing you target the underlying drive, not the partition, so in this example /dev/sdc is the eMMC and /dev/sdd is the uSD card.
#18
Thanks wibble.

I realised while I was laying awake last night, that I was looking via the file manager and only getting a very basic look at the drives.

I'll try again with dmesg later today.

Thanks again.
Dan
#19
(03-16-2020, 02:25 PM)Luke Wrote: Hello everyone,

We now have a utility to flash eMMC. Many thanks go out to @MartijnBraam @Danct12 and others who contributed to making this happen.


Here's how it works:
1) download the Jumpdrive image
2) flash the Jumpdrive image to a SD card
3) boot from the SD card
4) connect the PinePhone to your computer using USB-A -> USB-C cable.
5) flash the exposed (mounted) PinePhone drive with a chosen OS image as you'd flash any SD card
6) once the flashing process is complete, disconnect the PinePhone from your PC, power it down and remove the Jumpdrive SD card
7) boot into your OS of choice on eMMC


Download Jumpdrive
Hello,
Is there a way to reset UBPorts via telnet or reset a password? I just changed it via terminal from only digits to letters/digits and now not able to login as the prompt is only digits based. What are the options to reset password/system instead of reinstalling the whole OS, and could jumpdrive/telnet help in this regard? Any particular commands?
Any help would be appreciated.
Thanks.
#20
Is there a special way to power on the device once the SD card is in?

I dd'ed an SD card with the jumpboot image but when I try to power on with the power button, it does nothing... No power on at all.

If I just stick in an SD card and boot it up, I can see the device in fdisk -l.

Thoughts?
Joe


Possibly Related Threads…
Thread Author Replies Views Last Post
  install iso from sd card to emmc aular 2 1,310 03-11-2024, 10:24 PM
Last Post: tllim
  New Pinephone is dead. eMMC, boot, hardware issues. Shane 4 2,266 05-10-2023, 03:31 AM
Last Post: fxc
  Jumpdrive broken? eMMc broken Uturn 5 2,758 04-21-2023, 12:37 AM
Last Post: Uturn
  trouble flashing eMMC TylerBlackberry 3 1,898 04-13-2023, 05:55 AM
Last Post: Kevin Kofler
  emmc formatted by mistake (it no longer appears) elode 5 4,155 07-12-2022, 04:33 AM
Last Post: elode
  Tow Boot - How to Flash a New OS? arkadione 3 3,515 06-15-2022, 04:10 PM
Last Post: kmsgli
  My Pine doesn't allow me to install to eMMC on different OS's Kimberley van Buyten 1 1,714 05-31-2022, 04:26 PM
Last Post: fxc
  no emmc after flash ragele 3 2,862 05-30-2022, 04:26 AM
Last Post: fxc
  eMMC label gilwood 1 2,608 12-31-2021, 06:25 PM
Last Post: moonwalkers
  Cannot Create Profile - Cannot even Flash OS absolutenoob 6 6,369 12-17-2021, 03:52 AM
Last Post: guenther

Forum Jump:


Users browsing this thread: 11 Guest(s)