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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,474
» Latest member: geometrylitegame12
» Forum threads: 16,196
» Forum posts: 116,880

Full Statistics

Latest Threads
Pinephone Pro wont boot t...
Forum: General Discussion of PinePhone Pro
Last Post: KC9UDX
7 hours ago
» Replies: 5
» Views: 201
PinePhone Pro discontinue...
Forum: General Discussion of PinePhone Pro
Last Post: Kevin Kofler
9 hours ago
» Replies: 8
» Views: 415
fixing the ppkb mainboard...
Forum: PinePhone Pro Accessories
Last Post: Jite
11 hours ago
» Replies: 2
» Views: 84
Are there plannes to crea...
Forum: PinePhone Pro Hardware
Last Post: biketool
Yesterday, 04:12 AM
» Replies: 5
» Views: 949
prototyping to help someo...
Forum: General
Last Post: Samliams
Yesterday, 02:22 AM
» Replies: 1
» Views: 122
Pinephone pro stuck while...
Forum: PinePhone Pro Hardware
Last Post: Supervisor
08-16-2025, 06:40 PM
» Replies: 2
» Views: 120
Compatible U.S. carriers ...
Forum: General Discussion on PinePhone
Last Post: Zebulon Walton
08-15-2025, 07:34 PM
» Replies: 2
» Views: 161
Long dialpad keypress to ...
Forum: Mobian on PinePhone
Last Post: Zebulon Walton
08-15-2025, 06:48 PM
» Replies: 3
» Views: 113
Password reset via u-boot...
Forum: PineNote Software
Last Post: lunnabae
08-13-2025, 01:17 AM
» Replies: 6
» Views: 1,774
incorporate a multimeter ...
Forum: General
Last Post: lalisa12
08-13-2025, 01:14 AM
» Replies: 2
» Views: 535

 
  [Presentation] What's inside a PinePhone? Exploring the internals with Apache NuttX
Posted by: lupyuen - 08-09-2023, 09:43 PM - Forum: PinePhone Software - No Replies

At the Apache Asia Conference "Community Over Code" (19 Aug 2023), I'll talk (remotely) about Apache NuttX Real-Time Operating System (RTOS) for PinePhone. Here are the pre-recorded video and presentation slides...

Video Presentation

PDF Slides with Transcript

Presentation Slides

What's inside a Smartphone? Exploring the internals with Apache NuttX Real-Time Operating System

Smartphones are incredibly complex gadgets. What if we could learn the internals of smartphones... By booting Apache NuttX RTOS (Real-Time Operating System) on our phone?

Over the past year, we have written a series of 24 articles explaining the inner workings of PINE64 PinePhone, and how we implemented the smartphone features with Apache NuttX RTOS.

The articles cover the essential (and esoteric) topics on smartphone technology: MIPI DSI LCD Display, I2C Touch Panel, USB Controller, LTE Modem, Accelerometer / Gyroscope, Arm64 Interrupts and many more.

We are also experimenting with newer, easier ways to create Smartphone Apps, with LVGL Graphics Library, Zig Programming Language, WebAssembly Simulation and Arm64 Emulation.

More about Apache NuttX RTOS for PinePhone

Articles on Apache NuttX RTOS for PinePhone

Apache NuttX RTOS for Star64 64-bit RISC-V SBC (StarFive JH7110)


  can't get any audio to work
Posted by: gadgetguy - 08-09-2023, 02:19 PM - Forum: P64-LTS / SOPINE Hardware, Accessories and POT - No Replies

I have a couple of PINE A64(+) boards and I use the hdmi audio, which works fine. I have script with a pactl command to set the sink automatically and it then works.

I how have several LTS boards, and I can not get any audio/sound (headphone jack or HDMI) to work on the LTS/SOPINE linux version.
I am running Armbian 23.02.2 Buster with Lumix 5.15.93-sunxi64. I run apt update -> upgrade to keep up to date.

I have tried the html sound coming out of my monitor, it doesn't work, but I have ready that its not support in the LTS release.
I have also tried the headphone jack. I test using play and aplay. They both look like they are generating audio, but nothing comes out.

When I try to run pactl, I get:
# pactl info
Connection failure: Connection refused
pa_context_connect() failed: Connection refused


My DTC listing for sound is:
/dts-v1/;

/ {
#address-cells = < 0x01 >;
model = "SoPine with baseboard";
serial-number = "92c0a5baf0f6ec54";
#size-cells = < 0x01 >;
interrupt-parent = < 0x01 >;
compatible = "pine64,sopine-baseboard\0pine64,sopine\0allwinner,sun50i-a64";

sound {
simple-audio-card,name = "sun50i-a64-audio";
#address-cells = < 0x01 >;
simple-audio-card,aux-devs = < 0x12 >;
simple-audio-card,widgets = "Microphone\0Microphone Jack\0Headphone\0Headphone Jack";
simple-audio-card,routing = "Left DAC\0DACL\0Right DAC\0DACR\0Headphone Jack\0HP\0ADCL\0Left ADC\0ADCR\0Right ADC\0MIC2\0Microphone Jack";
#size-cells = < 0x00 >;
compatible = "simple-audio-card";
status = "okay";
phandle = < 0x58 >;

simple-audio-card,dai-link@0 {
mclk-fs = < 0x80 >;
format = "i2s";
frame-master = < 0x13 >;
bitclock-master = < 0x13 >;

cpu {
phandle = < 0x13 >;
sound-dai = < 0x14 >;
};

codec {
phandle = < 0x59 >;
sound-dai = < 0x15 0x00 >;
};
};
};

sound_hdmi {
compatible = "allwinner,sun9i-a80-hdmi-audio\0allwinner,sun50i-a64-hdmi-audio";
status = "okay";
phandle = < 0x5a >;

cpu {
sound-dai = < 0x17 >;
};

codec {
sound-dai = < 0x16 >;
};
};
};


(sorry all the indenting is lost).\\I can post a screen shot of running alsamixer if that helps.

Any recommendations/things to test will be appreciated.


  Battery life thread: discussion, support and tips
Posted by: apink - 08-09-2023, 12:50 PM - Forum: PinePhone Pro Software - Replies (12)

This is an invitation to discuss the status and development of ppp battery life using various software configurations.  Please feel free to let us know the following;
    -the os you are using,
    -your battery life performance:
        -idle performance,
        -active use performance,
    -any tweaks or settings that helped with your system.

I am currently using postmarketos edge and getting around 4 hours battery life while suspended and around 1 hour while doing light browsing, depending on screen brightness.


  shipping time?
Posted by: killick - 08-09-2023, 09:59 AM - Forum: General Discussion on PineTime - Replies (3)

Hi.  How many months did you have to wait to get your pineTime? I am in my second month of waiting. I have tried writing to sales (3 times) and I tried writing to @pine64@fosstodon.org (2 times) but have never had a reply. 

When I ordered on June 24, I got a notice that the device had shipped on June 27. But something went wrong. I put in a support ticket and was told that there was a problem getting the device out of China and that I would hear about a new shipment soon, but I never heard back. When I went back to support, they fobbed me off to sales. When sales never replied, I tried going back to support, but they have stopped responding, too. Should I try and get my money back from my credit card company? Did pine64 go out of business?

Thanks,

Killick


  Battery
Posted by: mshelby - 08-09-2023, 09:11 AM - Forum: PineTab Hardware - Replies (2)

Anybody else having issue that battery seems to run down rapidly, and the "charging. Time to full charge" estimates are really long?

I have a dell tablet with the same plug in charging port. The wall plug in charging chord charges my tablet in about 30 minutes. When I plug the same chord into the pinetab I get a "time to fully charged" estimate of 7 hours or more! My battery is listed as "battery_rk817" I believe.

Anyone else noticed this?


  Remove modem firmware
Posted by: aular - 08-09-2023, 07:19 AM - Forum: Arch Linux on PinePhone - Replies (10)

How or where can I remove all the modem firmware from the phone. I know about the exploit in the firmware but that is not my main concern right now. My main goal at this time is to remove all traces and files of the qucell modem and just leave the modem empty. I have other plans for that later. If that modem firmware has dependency issues is there a way to fill those files with empty slots with empty files and garbage to hold up the phone from breaking. Thanks


  SOQuartz BLADE 3D server rack screws
Posted by: agriffith2134 - 08-08-2023, 08:35 PM - Forum: Quartz64 Hardware and Accessories - Replies (1)

Hi,

What screws are recommended for assembling the SOQuartz BLADE 3D Print 1U full width server rack?


  SOQuartz BLADE 1U Rack Screw Details
Posted by: agriffith2134 - 08-08-2023, 05:58 PM - Forum: Getting Started - No Replies

Does anyone have any screw size/type recommendations for use with the 3D-printable SOQuartz BLADE 1U Rack?


  Manjaro - HIbernate - brcmfmac clk issue
Posted by: pompeyPinePro - 08-08-2023, 06:44 AM - Forum: Linux on Pinebook Pro - Replies (1)

After using towboot & fedora with an nvme drive with dissapointing battery life and no suspend i have decided to have a go at a vanilla manjaro gnome image with u-boot.

I have got Suspend working well, and hibernate also working consistnent sadly without being able to recover the wireless adapter after resuming.

I have worked out from dmesg and journalctl what are normal errors, and have rmmod -f and re added the brcmfmac modules. Sadly though no success.

The relevent error from the device in dmesg and journalctl is 

Code:
brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

No amount of kernel module removal or reloading will get it to play post hibernate.

Hopefully this is enough info for someone more hardware oriented than me.

Code:
#Working sleep.conf
[Sleep]
Code:
AllowSuspend=yes
Code:
AllowHibernation=yes
Code:
AllowSuspendThenHibernate=yes
Code:
#AllowHybridSleep=yes
Code:
SuspendMode=suspend
Code:
SuspendState=freeze mem
Code:
HibernateMode=
Code:
HibernateState=disk
Code:
#HybridSleepMode=suspend platform shutdown
Code:
#HybridSleepState=disk
Code:
HibernateDelaySec=5000
Code:
SuspendEstimationSec=60min


  PPP not booting/starting anymore
Posted by: JonnJonz - 08-08-2023, 04:24 AM - Forum: PinePhone Pro Hardware - Replies (1)

Good morning,

After months of not looking about the phone I am try to bring it back to life. Hopefully someone has a good idea.

After the last update (KDE Plasma 5.25.80, last year?) the phone is bricked. Seems the UID/display driver is corrupted, plasma was squeezing the entire UID into the ~15-20% of the (top) display. With that nearly impossible to use the phone anymore.

But that is not my topic currently, not possible to start/boot the phone anymore. PPP refused charging the battery, I am using a 2.4A charger. Nothing happened after couple of days. Bought now an external battery charger from Pine, so the battery is fully charged.

Can not start/boot (without or with a SD card), nothing happened. But seems the phone is not completely dead, I can see a white mouse pointer (on a black display) after maybe 10 seconds after I presses the "On"-button. Can move the pointer around but not more.

Any ideas? Many thanks to the community ;-)