debian+phosh running on PinePhone
#81
(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,
#82
Thx, but I cab't understand video tutorials because I'm hard hearing. I need something to read.
#83
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
#84
@a-wai would you like to add details about your customized debian image in this wiki section? https://wiki.pine64.org/index.php/PinePh..._.2B_Phosh
*.*.* PinePhone BraveHeart edition w/ distro: Debian + Phosh // GuixOS, Debian, Arch // pocket linux enthusiast // washed up sysadmin *.*.*
#85
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
#86
Since the last both images the calendar app won't start on my PP. Does anyone has the same issue ?
#87
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.
#88
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.
#89
(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]
#90
(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/PinePh..._.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)


Possibly Related Threads…
Thread Author Replies Views Last Post
  atinout binaries for mobian/debian? NeutralGrey 4 1,312 10-31-2024, 04:16 AM
Last Post: astylethargic
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 39 8,084 10-15-2024, 01:12 PM
Last Post: anonymous
  Pinephone seems tobe using 4G data instead of Wifi data grump_fiddle_reinstall 1 792 06-25-2024, 10:38 AM
Last Post: mikehenson
  unofficial kali linux for pinephone help needed pinesmell 5 5,012 01-08-2024, 02:50 PM
Last Post: ERPlegend
  Auto start application on Phosh login Zebulon Walton 8 5,062 10-14-2023, 06:29 AM
Last Post: alaraajavamma
  Problem with updates: Repository 'Debian bookworm' changed its 'non-free component' Anna 7 5,252 08-31-2023, 12:38 PM
Last Post: vusra
  Has anyone got briar-desktop running on mobian? vusra 5 3,930 06-19-2023, 03:02 PM
Last Post: vusra
  Using sway along phosh fdlamotte 2 3,861 05-11-2023, 04:24 PM
Last Post: kabouik
  Axolotl on PinePhone / Mobian arno_nuehm 219 197,745 03-26-2023, 01:49 AM
Last Post: shulamy
  PinePhone won't boot after software update jb2000 2 1,897 03-17-2023, 07:26 AM
Last Post: Zebulon Walton

Forum Jump:


Users browsing this thread: 22 Guest(s)