PINE64
debian+phosh running on PinePhone - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+---- Forum: Mobian on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=139)
+---- Thread: debian+phosh running on PinePhone (/showthread.php?tid=9016)



RE: debian+phosh running on PinePhone - colin hodsdon - 03-02-2020

(03-02-2020, 11:07 AM)harvey186 Wrote:
(03-02-2020, 10:44 AM)a-wai Wrote: flashing debian to eMMC is as simple as a "dd" command (ONLY with the latest image, and please keep in mind that this use case is UNTESTED)

OK, than I will better stop here, because I only have used dd for copying / safe my raspberry SD cards. Never used it from a running /active  SD.

https://www.youtube.com/watch?v=c32-QOrI4cw&t=411s

this shows you how , just leave "bs=4m " out of the command, it takes quite a while , make sure  whats on your sdcard " 14.4g " or smaller,


RE: debian+phosh running on PinePhone - harvey186 - 03-02-2020

Thx, but I cab't understand video tutorials because I'm hard hearing. I need something to read.


RE: debian+phosh running on PinePhone - colin hodsdon - 03-02-2020

SO look at the video , you can do it, with the sound off , look at it before you give up ## look at minute 6.50


RE: debian+phosh running on PinePhone - buffer - 03-02-2020

@a-wai would you like to add details about your customized debian image in this wiki section? https://wiki.pine64.org/index.php/PinePhone_Software_Release#Debian_.2B_Phosh


RE: debian+phosh running on PinePhone - harvey186 - 03-03-2020

OK, I have run this command via ssh and it works very well.
sudo dd if=/dev/mmcblk0 of=/dev/mmcblk2 bs=4M status=progress

After a while all was flashed on eMMC and it works smoother. Thx


RE: debian+phosh running on PinePhone - harvey186 - 03-03-2020

Since the last both images the calendar app won't start on my PP. Does anyone has the same issue ?


RE: debian+phosh running on PinePhone - rico - 03-03-2020

Just configure time before launch.
sudo dpkg-reconfigure tzdata

//Edit
Patch to set via timedatectl during build in progress.
But not that week, i'm over booked.


RE: debian+phosh running on PinePhone - parkerwb - 03-03-2020

Rats... can't get 2/29 to boot. Hits the splash screen and just reboots itself. Will try to track it down. On a slow ass 8GB card.

I'm wanting to flash emmc, but have 2/26 w/ Firefox etc. running really nice, but it's a class 10 128GB SD card. Guess I'll need to learn how to resize that down to <14GB for the dd to emmc. Hmm.

(03-03-2020, 11:29 AM)parkerwb Wrote: Rats... can't get 2/29 to boot.

Tried dd to a different sd card for 2/29 and it still just endlessly loops the boot. Tried building image from scratch using ./build.sh and got:

Code:
2020/03/03 18:21:16 apt | Some packages could not be installed. This may mean that you have
2020/03/03 18:21:16 apt | requested an impossible situation or if you are using the unstable
2020/03/03 18:21:16 apt | distribution that some required packages have not yet been created
2020/03/03 18:21:16 apt | or been moved out of Incoming.
2020/03/03 18:21:16 apt | The following information may help to resolve the situation:
2020/03/03 18:21:16 apt |
2020/03/03 18:21:16 apt | The following packages have unmet dependencies:
2020/03/03 18:21:16 apt |  gvfs-backends : Depends: libsmbclient (>= 2:4.10.0+dfsg) but it is not going to be installed
2020/03/03 18:21:16 apt | E: Unable to correct problems, you have held broken packages.
2020/03/03 18:21:16 Action `Install debian packages` failed at stage Run, error: exit status 100
Powering off.



RE: debian+phosh running on PinePhone - nas - 03-03-2020

(03-01-2020, 10:18 PM)cmicallef Wrote: If anyone has scaling issues, see this patch for phoc (https://source.puri.sm/Librem5/phoc/merge_requests/73).

I eventually built phoc and wlroots but I get the attached error when running it. I guess randomly stumbling around can only get you so far!

[attachment=1701]


RE: debian+phosh running on PinePhone - a-wai - 03-03-2020

(03-02-2020, 10:12 PM)buffer Wrote: @a-wai would you like to add details about your customized debian image in this wiki section? https://wiki.pine64.org/index.php/PinePhone_Software_Release#Debian_.2B_Phosh
Done, thanks for the suggestion!

(03-03-2020, 05:32 AM)harvey186 Wrote: Since the last both images the calendar app won't start on my PP. Does anyone has the same issue ?
(03-03-2020, 11:29 AM)parkerwb Wrote: Rats... can't get 2/29 to boot. Hits the splash screen and just reboots itself. Will try to track it down. On a slow ass 8GB card.
Everything works fine here, but I'll check once more tomorrow, in case I missed something.

(03-03-2020, 11:29 AM)parkerwb Wrote: Tried building image from scratch using ./build.sh and got:
Unfortunately that can happen: this system is based on Debian unstable, meaning dependencies break quite often (and at the moment, we need packages that haven't made their way into "testing" yet, so we can't avoid that).

(03-03-2020, 01:14 PM)nas Wrote: I eventually built phoc and wlroots but I get the attached error when running it. I guess randomly stumbling around can only get you so far!

You should build these the debian way, which is, from the package's source dir:
Code:
sudo apt build-dep .
dpkg-buildpackage -uc -us -b
So that you can install using dpkg. Afterwards, just reboot and you'll use your all new phoc. But I suggest you google these commands firstand read a bit about it, debian package building can be tricky on your first attempts Wink

(by the way, the UI is running inside phoc, so to speak, which means you can't just launch phoc from the terminal app, as there is already an instance of phoc running, installing a new package and rebooting is the only way to test)