Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,345
» Latest member: keiwen
» Forum threads: 16,154
» Forum posts: 116,718

Full Statistics

Latest Threads
Pinephone pro packet inje...
Forum: PinePhone Pro Hardware
Last Post: Kevin Kofler
Yesterday, 02:03 PM
» Replies: 3
» Views: 2,042
Modem Issues with the Pin...
Forum: PinePhone Hardware
Last Post: biketool
Yesterday, 12:50 PM
» Replies: 5
» Views: 1,489
Cannot make calls
Forum: PostmarketOS on PinePhone
Last Post: gregb49
07-01-2025, 09:39 AM
» Replies: 3
» Views: 754
baremetal via Zig on Pine...
Forum: PinePhone Software
Last Post: WhiteHexagon
07-01-2025, 05:33 AM
» Replies: 0
» Views: 40
cryptocurrency on mobian/...
Forum: Mobian on PinePhone
Last Post: biketool
06-30-2025, 02:57 PM
» Replies: 33
» Views: 49,580
Full desktop Surfing and ...
Forum: General Discussion of PinePhone Pro
Last Post: Dendrocalamus64
06-30-2025, 10:51 AM
» Replies: 8
» Views: 296
XLibre for Mobian
Forum: Mobian on PinePhone
Last Post: Haroldkent
06-30-2025, 01:38 AM
» Replies: 1
» Views: 148
Backing up data on Pineph...
Forum: General Discussion of PinePhone Pro
Last Post: Dendrocalamus64
06-29-2025, 02:46 PM
» Replies: 4
» Views: 180
Printing and scanning doc...
Forum: General Discussion of PinePhone Pro
Last Post: biketool
06-29-2025, 11:48 AM
» Replies: 4
» Views: 171
Printing and scanning doc...
Forum: General Discussion on Pinebook Pro
Last Post: Www
06-28-2025, 01:25 AM
» Replies: 0
» Views: 220

 
  baremetal via Zig on PinePhone - JumpDrive help please
Posted by: WhiteHexagon - 07-01-2025, 05:33 AM - Forum: PinePhone Software - No Replies

background:  2 years ago, I was following along with @lupyuen  great series of articles to get LVGL running on PinePhone.  I was emulating the same journey but using Zig for all the hardware interfacing (and I got quite far).  But at the time I was stuck on an old version of Zig and lost motivation.  Now I finally have some hardware to run latest Zig, and I decided to port my project over to Zig 0.14 including it's new build system.

I've struggled for a few days to recreate the environment I had running (I also switched from macos to to Linux and still learning!).  So I decided to go back to basics, and try to understand how NuttX interects with the JumpDrive image.

This is what I tried:

1. compiling some very simple Zig code, that should toggle the phone LEDs.
2. build the above as an elf file for arm freestanding with a target of cortex_a53
3. created a simple .ld linker file that ensure my entry point is at 0x40080000
4. using objCopy extract hex via the -O binary
5. gzip the resulting binary file into Image.gz

I was expecting that whatever the JumpDrive util does, it somehow jumps to executing the code directly from Image.gz.  However now I suspect that this .gz might be a bit more complicated than straight arm machine code.  But I have no idea what? and I struggle to follow the NuttX build (maybe something to do with a util called binfmt? but also I saw mention of nxflat).

Ultimately it would be nice to find a way to deploy to PinePhone as 'baremetal'.  But for now the JumpDrive 'hack' would be enough, allowing me to hop between SDCards to compare/debug different images.

Does anyone have any idea how to wrap my baremetal code into something JumpDrive can recognize from the Image.gz file please.


  XLibre for Mobian
Posted by: Hiraghm - 06-29-2025, 12:38 PM - Forum: Mobian on PinePhone - Replies (1)

I've been running Mobian on my Pinephone for about 4 years now... maybe 5.
I prefer X11 to Wayland for my own reasons, so I'm looking to find out if I can port XLibre to Aarch64 Mobian.
XLibre looks like it will be supported and extended in future, whereas it looks like XOrg is either stalled or ending.

Has anyone tried it yet?


  Backing up data on Pinephone Pro to hard disk, optical disk and flash?
Posted by: Www - 06-28-2025, 01:47 AM - Forum: General Discussion of PinePhone Pro - Replies (4)

Backing up data on Pinephone Pro to hard disk, optical disk and flash?

Backing up to hard disk, bluray/dvd usb, flash?

Hi, I am interested in backing up data to hard drive, optical bluray, dvd and flash? How doable is this on Pinephone Pro.  How to run these devices and power on usb?  Is there software to backup and copy verified and sequential time backups?   Can you backup all the internal data aswell?


Thanks.


  Full desktop Surfing and Absolute Privacy on the pinephone?
Posted by: Www - 06-28-2025, 01:38 AM - Forum: General Discussion of PinePhone Pro - Replies (8)

Full desktop Surfing and Absolute Privacy on the pinephone pro?



Can you browse with a full Internet browser allowing you to backup current session tabs list, boomarks, history and saved pages?



With absolute privacy?


  Printing and scanning documents with pinephone?
Posted by: Www - 06-28-2025, 01:31 AM - Forum: General Discussion of PinePhone Pro - Replies (4)

Printing and scanning documents with pinephone?

I want to print and scan papers from a pinephone pro. I know they are linux machines, but can they handel this? I have epson and brother gear.

I don't want to connect through the network and Internet, but through usb or wifi direct.

Thanks.


Question Printing and scanning documents with pinebook?
Posted by: Www - 06-28-2025, 01:25 AM - Forum: General Discussion on Pinebook Pro - No Replies

Printing and scanning documents with pinebook?

I want to use the pinebook or tab to print to printer, but also looking at bulk scanning with features like paperport.  I know they are linux machines, but can they handel this? I have epson and brother gear.

I don't want to connect through the network and Internet, but through usb or wifi direct.

Thanks.


Question Full desktop Surfing and Absolute Privacy on the pinebook?
Posted by: Www - 06-28-2025, 01:04 AM - Forum: General Discussion on Pinebook Pro - No Replies

Full desktop Surfing and Absolute Privacy on the pinebook?

Can you browse with a full Internet browser allowing you to backup current session tabs list, boomarks, history and saved pages?

With absolute privacy?


Question Backing up to bluray/dvd usb?
Posted by: Www - 06-28-2025, 12:55 AM - Forum: General Discussion on Pinebook Pro - No Replies

Backing up to bluray/dvd usb?

Hi, I am interested in setting up privacy machines to backup data to optical bluray ray and dvd?  How doab,e is this on Pinebook Pro and pinebook and tabs?


  FM? A future new PinePhone?
Posted by: jebez - 06-26-2025, 08:17 AM - Forum: General Discussion of PinePhone Pro - Replies (1)

Hi

I recently drowned my Samsung Galaxy Xcover Pro SM-G715FN/DS, the display not works...

Since I've Arch Linux KDE on PC (my config https://bbs.archlinux.org/viewtopic.php?...5#p2221235), I'm interested to the PinePhone Pro with Manjaro (based on Arch Linux) Plasma Mobile.

Is there a FM receiver? https://forum.pine64.org/showthread.php?tid=10863

But the display is 1440x720, I'd like at least 1920x1080.
Also I'd like eSIM https://en.wikipedia.org/wiki/ESIM instead of SIM card & its slot.

Will there be a future new PinePhone?

Thanks.


  Clamares password needed with new Mobian installation
Posted by: fauvetan - 06-25-2025, 03:01 PM - Forum: General Discussion on PinePhone - Replies (1)

Hello,

I just try to install Mobian on my Pinephone using the dd’s method but when I put the SD card inside the phone and try to boot on it, I get the “Enter disk decryption passphrase” of Clamares. I read that “1234” is the default password, but it doesn’t work. Clamares tell me it’s a wrong password. 

I flashed my sd card many times, trying some tweeks, but the message still the same.


So, what can I do to bypass this situation?
Thank you.