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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 30,192
» Latest member: JulianReed
» Forum threads: 16,380
» Forum posts: 117,590

Full Statistics

Latest Threads
Pinephone + Keyboard for ...
Forum: PinePhone Hardware
Last Post: Nambo
Yesterday, 12:17 AM
» Replies: 18
» Views: 13,254
Hello, I am a new member ...
Forum: General
Last Post: WhiteRabbit0
08-20-2026, 12:17 PM
» Replies: 0
» Views: 121
Need help compiling andro...
Forum: Android on Pine A64(+)
Last Post: ahegarosib97
08-20-2026, 08:45 AM
» Replies: 2
» Views: 1,939
RAM-free SBCs with SODIMM...
Forum: General
Last Post: anchor
08-20-2026, 08:21 AM
» Replies: 0
» Views: 67
Default password
Forum: PineTab Hardware
Last Post: dissimilar_goose
08-20-2026, 05:02 AM
» Replies: 0
» Views: 96
New SlateOS features
Forum: Development Discussion on PineTime
Last Post: highjumpman
08-17-2026, 07:47 PM
» Replies: 0
» Views: 166
SlateOS for PineTime
Forum: Development Discussion on PineTime
Last Post: highjumpman
08-17-2026, 07:33 PM
» Replies: 2
» Views: 403
How to install Android on...
Forum: General
Last Post: winpkr
08-14-2026, 01:36 AM
» Replies: 2
» Views: 3,686
Newbie questions
Forum: General Discussion on PineTime
Last Post: TouchuvGrey
08-13-2026, 08:09 PM
» Replies: 0
» Views: 259
Beta test Signal Desktop ...
Forum: News
Last Post: as365n4
08-11-2026, 08:57 AM
» Replies: 0
» Views: 269

 
  Article: NuttX RTOS for PinePhone: Blinking the LEDs
Posted by: lupyuen - 09-21-2022, 02:48 AM - Forum: PinePhone Software - No Replies

Programming the GPIO Hardware on PinePhone looks complicated… But it’s not that different from microcontrollers! (Like PineTime Smartwatch and PineCone BL602)

Today we shall learn…
1. How to blink the LEDs on PinePhone
2. What’s the Allwinner A64 Port Controller
3. What’s inside the Linux Device Tree
4. How we configure and flip the GPIOs
5. How to do this in C and BASIC

We shall experiment with PinePhone’s GPIO Hardware by booting Apache NuttX RTOS on PinePhone.

Why boot NuttX RTOS on PinePhone? Why not Linux?

NuttX RTOS is a super-tiny, Linux-like operating system that gives us “Unlocked Access” to all PinePhone Hardware. Thus it’s easier to directly manipulate the Hardware Registers on PinePhone.

(Like with peek and poke in BASIC)

Will it mess up the Linux installed on PinePhone?

We shall boot NuttX safely with a microSD Card, we won’t touch the Linux Distro on PinePhone. 

Let’s dive in and find out how we blinked the PinePhone LEDs…

NuttX RTOS for PinePhone: Blinking the LEDs


  manjaro on pinebook pro low audio quality over jack
Posted by: alcck - 09-21-2022, 12:35 AM - Forum: Linux on Pinebook Pro - Replies (1)

my bluetooth headphones works great with pinebook pro, but when i connect my jack headphones audio is Quieter, without bass and with very low quality
installed OS is manjaro, i haven't tested yet other OS


  RockPro64 not booting up
Posted by: mvicha@gmail.com - 09-19-2022, 07:35 AM - Forum: RockPro64 Hardware and Accessories - No Replies

I have a number of RockPro64 4Gb boards, and some days ago, after powering down the cluster one of the devices is no longer booting. I have tested it with another MicroSD and is not working either. Both MicoSD cards are booting properly on another RockPro64 device.

I have tried powering down, pressing the power button for many seconds (many times), pressing reset and pressing power button after, pressing both power and reset buttons, but no solution at all.

I see some link in the ethernet switch, that is blinking for some seconds and then turning off. Some other times it just keeps blinking for a long period of time until I press reset or power buttons, then it stops blinking definitely.

I wonder if you could give me an advice on how to solve this issue.


  Guide: Setup Latest Waydroid for Hardware Acceleration and/or Development
Posted by: nroth - 09-18-2022, 06:32 PM - Forum: Getting Started - Replies (2)

TL;DR: Click the link to get Waydroid with hardware acceleration or if you're interested in building an image from source for development purposes.

Guide lives here: Waydroid for PinePhone Pro

Waydroid is a popular Android emulation environment for Linux that uses a lightweight container to run apps. Though a release based on LineageOS 17.1 is available on many package repositories, it doesn't meet everyone's needs. The official 17.1 release doesn't support graphics hardware acceleration on the RK3399 (i.e. PinePhone Pro), which is important for usability. Additionally, the official instructions do not provide everything developers need to build a working daily-driver-ready image from the latest sources, which they may want in order to test features and fixes that they plan to upstream on their personal phones. This guide attempts to help users who want hardware acceleration but don't have it on 17.1 (e.g., PinePhone Pro users) and developers who want to test new features and fixes on their daily drivers.


  pine phone external speaker
Posted by: AnAbolitionist - 09-18-2022, 05:56 PM - Forum: General Discussion on PinePhone - Replies (9)

I have 3 pinephones, running manjero, and mobian all 3 phones the external speaker has died, where can I get replacement speakers that can handle what the pinephone puts out. There is some kind of design flaw, or parts problem with the speaker. Rest of the phone works and bluetooth is getting better. But without external speaker can't use any alarm functions, constantly miss calls.


Sad New PinePhone Mobian Weekly Image... No Boot
Posted by: photon - 09-18-2022, 05:27 PM - Forum: General - Replies (1)

Since I, or maybe Mobian, or maybe both of us, fubar'd my package dependencies beyond repair a few weeks ago, I've been eagerly awaiting a new weekly.  Finally dropped very early this morning, so I downloaded, decompressed and wrote the image to a known good SD card.  The bad news is that the PP fails to  recognize it, instead booting to PMOS on the EMMC.   Angry

I've re-burned the it several times from two different laptops, using Gnome Disks and  Balena Etcher, but no joy.  The only difference I see is that the Ext4 bootfs partition says "EFI".  Dodgy

I've  never had problems with Mobian on SD... I'm stumped.  Any ideas? Idea


  Rock64 u-boot for eMMC Build Error
Posted by: mexicanflyer - 09-18-2022, 02:29 PM - Forum: General Discussion on ROCK64 - No Replies

I have a Rock64 4GB board which I would like to turn into a FreedomBox server.

Since the Rock64 boards are no longer sold with SPI flash, I am trying
to build U-Boot to flash onto the eMMC module. I am following the instructions
for building here:

https://u-boot.readthedocs.io/en/latest/...kchip.html

However, when I get to here:

Code:
make CROSS_COMPILE=aarch64-linux-gnu-


I get this error:

Code:
ModuleNotFoundError: No module named 'distutils.core'
make[2]: *** [scripts/dtc/pylibfdt/Makefile:30: rebuild] Error 1
make[1]: *** [scripts/Makefile.build:398: scripts/dtc/pylibfdt] Error 2
make: *** [Makefile:2047: scripts_dtc] Error 2


Some investigation tells me pylibfdt is not yet compatible with python3, and it will
be a while before the developers will be able to solve the problem, as it causes many other issues.
I installed python2, but I get this error:

Code:
scripts/dtc/pylibfdt/libfdt_wrap.c:154:11: fatal error: Python.h: No such file or directory
  154 | # include <Python.h>
      |           ^~~~~~~~~~
compilation terminated.
error: command '/usr/bin/cc' failed with exit code 1
make[2]: *** [scripts/dtc/pylibfdt/Makefile:30: rebuild] Error 1
make[1]: *** [scripts/Makefile.build:398: scripts/dtc/pylibfdt] Error 2
make: *** [Makefile:2047: scripts_dtc] Error 2


What am I able to do in order to work around this issue?

For clarity, will the u-boot and FreedomBox installations exist on the same eMMC module in the end, or must I install one to an SD card and the other on the eMMC module?


Thank you for reading the post. I would appreciate any advice you have to offer.


  [Solved] Connect PPP to PC via USB for data transfer ?
Posted by: libresurf - 09-18-2022, 04:35 AM - Forum: General Discussion of PinePhone Pro - Replies (1)

Hello,

The Tow-Boot mass storage flash works for me. I flashed Manjaro OS Beta 12 in the eMMC.

Now in normal use while running Manjaro OS Beta 12, I'm unable to connect my PPP to the PC via USB-C for transfer data.

On the PC, /var/log/syslog shows nothing when I connect the PPP via USB.

On the PPP, journalctl -f returns :

Code:
Sep 18 12:12:24 manjaro-arm kernel: typec-extcon typec-extcon: extcon changed sdp=1 cdp=0 dcp=0 usb=1 usb_host=0 dp=0
Sep 18 12:12:24 manjaro-arm kernel: typec-extcon typec-extcon: MUX SET: state->mode=1
Sep 18 12:12:24 manjaro-arm kernel: rk818-charger rk818-charger: applying input current limit 500 mA
Sep 18 12:12:24 manjaro-arm upowerd[3804]: energy_full (12.261780) is greater than energy_full_design (0.000000)
Sep 18 12:12:24 manjaro-arm upowerd[3804]: Setting /sys/devices/platform/ff3c0000.i2c/i2c-0/0-001c/rk818-charger/power_supply/rk818-usb state empty as unknown and very low
Sep 18 12:12:24 manjaro-arm kernel: typec-extcon typec-extcon: SW SET: orientation=1
Sep 18 12:12:24 manjaro-arm kernel: typec-extcon typec-extcon: ROLE SET: role=2
Sep 18 12:12:24 manjaro-arm kernel: typec-extcon typec-extcon: MUX SET: state->mode=1
Sep 18 12:12:25 manjaro-arm upowerd[3804]: energy_full (12.220956) is greater than energy_full_design (0.000000)
Sep 18 12:12:25 manjaro-arm upowerd[3804]: Setting /sys/devices/platform/ff3c0000.i2c/i2c-0/0-001c/rk818-charger/power_supply/rk818-usb state empty as unknown and very low
Sep 18 12:12:25 manjaro-arm kernel: rk818-charger rk818-charger: applying input current limit 500 mA
Sep 18 12:12:25 manjaro-arm kernel: typec-extcon typec-extcon: SW SET: orientation=1
Sep 18 12:12:25 manjaro-arm kernel: typec-extcon typec-extcon: ROLE SET: role=2
Sep 18 12:12:25 manjaro-arm kernel: typec-extcon typec-extcon: MUX SET: state->mode=1
Sep 18 12:12:26 manjaro-arm upowerd[3804]: energy_full (12.218040) is greater than energy_full_design (0.000000)
Sep 18 12:12:26 manjaro-arm upowerd[3804]: Setting /sys/devices/platform/ff3c0000.i2c/i2c-0/0-001c/rk818-charger/power_supply/rk818-usb state empty as unknown and very low
Sep 18 12:12:26 manjaro-arm kernel: rk818-charger rk818-charger: applying input current limit 500 mA
Sep 18 12:12:26 manjaro-arm kernel: rk818-charger rk818-charger: applying input current limit 500 mA
Sep 18 12:12:27 manjaro-arm upowerd[3804]: energy_full (12.223872) is greater than energy_full_design (0.000000)
Sep 18 12:12:27 manjaro-arm upowerd[3804]: Setting /sys/devices/platform/ff3c0000.i2c/i2c-0/0-001c/rk818-charger/power_supply/rk818-usb state empty as unknown and very low
Sep 18 12:12:28 manjaro-arm upowerd[3804]: energy_full (12.250116) is greater than energy_full_design (0.000000)
Sep 18 12:12:28 manjaro-arm upowerd[3804]: Setting /sys/devices/platform/ff3c0000.i2c/i2c-0/0-001c/rk818-charger/power_supply/rk818-usb state empty as unknown and very low
Sep 18 12:12:29 manjaro-arm upowerd[3804]: energy_full (12.250116) is greater than energy_full_design (0.000000)
Sep 18 12:12:29 manjaro-arm upowerd[3804]: Setting /sys/devices/platform/ff3c0000.i2c/i2c-0/0-001c/rk818-charger/power_supply/rk818-usb state empty as unknown and very low

The USB device only manages power.

Do you know what I have to do to activate the USB connection for data sharing ?
Thank you in advance.


  Pinephone (Pro) Keyboard Case for sale
Posted by: manubert - 09-17-2022, 11:51 AM - Forum: PinePhone Accessories - Replies (8)

Hi! I’ve got a spare Pinephone (Pro) keyboard case for sale because a friend of mine backed out. I don’t want it to collect dust, so I’d rather send it to one of you folks.
I’d like to have 40€ + shipping for it; shipping inside Germany or EU would be the the least hassle for me.

Cardboard box only opened once to take the photo below, everything else untouched.

If you’d like to have it, shoot me a DM. And please don’t be sad if someone else gets it, I only have one ^^



Attached Files Thumbnail(s)
   

  MiniConda Install Issues
Posted by: nixyhustle - 09-16-2022, 10:06 PM - Forum: General Discussion on Pinebook Pro - No Replies

Hello,

New PBP owner and user here. Just wanna say loving it so far, and learning so much along the way.

Having issues when I try to install the Mini Conda Arch-Arm Install from their site. I am getting the following error:

Miniconda3-py39_4.12.0-Linux-aarch64.sh: line 413: 60900 Illegal instruction    (core dumped) "$CONDA_EXEC" constructor --prefix "$PREFIX" --extract-conda-pkgs

I tried searching but couldn't really find much. Any idea what it could be? Any help is much appreciated!

Thanks!