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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,483
» Latest member: intriguedoves
» Forum threads: 16,198
» Forum posts: 116,884

Full Statistics

Latest Threads
Giving away a Pinebook Pr...
Forum: Pinebook Hardware and Accessories
Last Post: alchemist
1 hour ago
» Replies: 1
» Views: 31
Armbian images available
Forum: Linux on RockPro64
Last Post: Shraunfnq
Yesterday, 10:16 AM
» Replies: 61
» Views: 114,438
Bare metal on Pinephone P...
Forum: PinePhone Pro Software
Last Post: alain
08-19-2025, 07:58 AM
» Replies: 0
» Views: 111
Seeking Contributors: Apa...
Forum: PinePhone Pro Software
Last Post: geometrylitegame12
08-19-2025, 01:38 AM
» Replies: 4
» Views: 4,015
Pinephone Pro wont boot t...
Forum: General Discussion of PinePhone Pro
Last Post: KC9UDX
08-18-2025, 06:15 PM
» Replies: 5
» Views: 309
PinePhone Pro discontinue...
Forum: General Discussion of PinePhone Pro
Last Post: Kevin Kofler
08-18-2025, 04:30 PM
» Replies: 8
» Views: 590
fixing the ppkb mainboard...
Forum: PinePhone Pro Accessories
Last Post: Jite
08-18-2025, 02:57 PM
» Replies: 2
» Views: 157
Are there plannes to crea...
Forum: PinePhone Pro Hardware
Last Post: biketool
08-18-2025, 04:12 AM
» Replies: 5
» Views: 1,030
Pinephone pro stuck while...
Forum: PinePhone Pro Hardware
Last Post: Supervisor
08-16-2025, 06:40 PM
» Replies: 2
» Views: 209
Compatible U.S. carriers ...
Forum: General Discussion on PinePhone
Last Post: Zebulon Walton
08-15-2025, 07:34 PM
» Replies: 2
» Views: 256

 
  Article: NuttX RTOS for PinePhone: What is it?
Posted by: lupyuen - 01-01-2023, 05:45 PM - Forum: PinePhone Software - No Replies

Over the past 5 months, we ported to PinePhone a different kind of Operating System… Apache NuttX RTOS

(RTOS for Real-Time Operating System)

Let’s talk about NuttX for PinePhone: What is it? Why are we doing this? How will we use it?

NuttX RTOS for PinePhone: What is it?


  reset button under back cover, below the camera
Posted by: mruser1 - 01-01-2023, 06:38 AM - Forum: General Discussion on PinePhone - Replies (2)

there is a reset button under the back cover, below the camera
What is it good for?

I checked the user manual and the https://wiki.pine64.org/wiki/PinePhone. Neither of these are giving any clue.

https://forum.pine64.org/showthread.php?...ight=reset
says that there is no factory reset, so what is it then?


  PineBuds Pro - pairing from laptop cli - one earbud only
Posted by: c6Q$! - 01-01-2023, 06:03 AM - Forum: Getting Started - Replies (2)

I'm trying to pair my PineBuds Pro using `bluetoothctl` from the command line on my laptop running Arch Linux. I can only pair to one earbud.

Steps to reproduce:

  1. Remove earbuds from case. Both buds flash blue repeatedly.
  2. L flashes red/blue; R flashes blue only
  3. Enter bluetoothctl interactive mode with `bluetoothctl`
  4. Scan for devices with `scan on`
  5. Lists bluetooth devices
  6. `pair <MAC address>` labelled PineBuds Pro
  7. Left earbud announces "pairing complete"
  8. Play music. Sound comes through left earbud only.

The earbuds are fully charged, paired, trusted and connected, but I can only pair with one earbud!

Has anyone else encountered this problem?

Thanks.

PS The earbuds work fine with my Android phone. The laptop works fine with a different bluetooth speaker.


  Mobian won't boot after ton of updates
Posted by: bartgrefte - 01-01-2023, 04:27 AM - Forum: PineTab Software - Replies (11)

Last night I fired up my PineTab after not having used it in some time. After having solved apt-get update "The following signatures were invalid..." Mobian had a ton (a little over a 1000) updates to install, after that was done I entered the reboot command.

Since then the only sign of life is the occasional clicking of the camera's when holding the power button (from 2-3 up to 10s), other than that nothing happens. No error, nothing.

Besides reflashing Mobian, are there any ways of figuring out why Mobian won't boot?


  flipping frames bug and workaround
Posted by: zetabeta - 01-01-2023, 04:05 AM - Forum: General Discussion on PinePhone - Replies (17)

flipping frames bug and workaround

for mobian phosh with kernel 6.1.
https://barrelmem.s3.eu-north-1.amazonaw...ingbug.mp4

i have concluded at this point that this bug is in two parts, powersaving part and frequency change part. practically all gnu/linux distributions and plasma and phosh are affected.

powersaving part seems to be more straightforward and more rare. this can be avoided by following.

Code:
# udev rule
KERNEL=="1c40000.gpu", SUBSYSTEM=="platform", DRIVER=="lima", ATTR{power/autosuspend_delay_ms}="-1"
KERNEL=="1c40000.gpu", SUBSYSTEM=="platform", DRIVER=="lima", ATTR{power/control}="on"

powersaving part is harder to replicate. you need some screen activity with some networking activity and possible cpu activity, it is not immediate.

frequency change part can by avoided by following:
Code:
# udev rule
KERNEL=="1c40000.gpu", SUBSYSTEM=="devfreq", ATTR{min_freq}="432000000"
KERNEL=="1c40000.gpu", SUBSYSTEM=="devfreq", ATTR{max_freq}="432000000"

however, in my situtation, frequency bug happens only in 1.2a hardware version and not in 1.2b. so i don't rule out possible hardware problem in 1.2a version or my specfic individual phone.

if you tech savvy enough and you have pinephone regular. could you test frequency part of this bug and say your hardware version (1.2 1.2a 1.2b etc). you only set powersaving part, then run glxgears in user interfaces without auto suspend, sreenlocks and screen saving. then run following script in background.
Code:
while true
do echo 432000000 > /sys/class/devfreq/1c40000.gpu/min_freq
echo 432000000 > /sys/class/devfreq/1c40000.gpu/max_freq
echo 312000000 > /sys/class/devfreq/1c40000.gpu/max_freq
done

generic copy paste:
Code:
# udev rule. this prevent flipping frames bug
# example file location /lib/udev/rules.d/98-preventflippingbug.rules
# powersaving part
KERNEL=="1c40000.gpu", SUBSYSTEM=="platform", DRIVER=="lima", ATTR{power/autosuspend_delay_ms}="-1"
KERNEL=="1c40000.gpu", SUBSYSTEM=="platform", DRIVER=="lima", ATTR{power/control}="on"
# frequency part, may not be needed
KERNEL=="1c40000.gpu", SUBSYSTEM=="devfreq", ATTR{min_freq}="432000000"
KERNEL=="1c40000.gpu", SUBSYSTEM=="devfreq", ATTR{max_freq}="432000000"

log file is for mobian phosh.



Attached Files
.txt   dmesg-powersavebug.txt (Size: 28.2 KB / Downloads: 328)

  Nemomobile in December 2022
Posted by: jmlich - 12-31-2022, 12:02 PM - Forum: Nemo Mobile on PinePhone - No Replies

What is new with NemoMobile in December? Huge step forward in porting to Qt6. Updating UX. Fixes in pinquery, lipstick, usb-moded, tuning messages app and polkit-agent. 

http://nemomobile.net/pages/nemomobile-i...mber-2022/


  Article: NuttX RTOS for PinePhone: Framebuffer
Posted by: lupyuen - 12-30-2022, 10:17 PM - Forum: PinePhone Software - No Replies

Suppose we’re running Apache NuttX RTOS on PinePhone… How will we create Graphical Apps for NuttX?

Today we’ll learn about the…

1. Framebuffer Interface that NuttX provides to our apps for rendering graphics

2. What’s inside the Framebuffer Driver for PinePhone

3. Mystery of the Missing Framebuffer Pixels and how we solved it (unsatisfactorily)

4. Creating NuttX Apps with the LVGL Graphics Library

NuttX RTOS for PinePhone: Framebuffer


  Try to boot armbian 22.02 on SoPine baseboard
Posted by: adjivas - 12-30-2022, 07:48 PM - Forum: Linux on PINE A64-LTS / SOPINE - Replies (1)

Hello,

I try to boot Armbian on the SoPine with baseboard from a eMMC module.

From armbian/pine64, I try some Arbian images.
I get this error:

Quote:U-Boot SPL 2022.07-armbian (Nov 30 2022 - 10:45:59 +0000)
DRAM: 0 MiB
### ERROR ### Please RESET the board ###

So I try this specialized image Armbian_22.11.1_Pine64so_bullseye_current_5.15.80.img.xz.
But it's stuck at the `armbi_root: clean` line:
Quote:U-Boot 2022.07-armbian (Nov 30 2022 - 10:45:55 +0000) Allwinner Technology

CPU:  Allwinner A64 (SUN50I)
Model: SoPine with baseboard
DRAM:  2 GiB
Core:  73 devices, 22 uclasses, devicetree: separate
WDT:  Not starting watchdog@1c20ca0
MMC:  mmc@1c0f000: 0, mmc@1c11000: 1
Loading Environment from FAT... Unable to use mmc 1:1...
In:    serial
Out:  serial
Err:  serial
Net:  phy interface11
eth0: ethernet@1c30000
MMC: no card present
** Bad device specification mmc 0 **
Couldn't find partition mmc 0
MMC: no card present
** Bad device specification mmc 0 **
Couldn't find partition mmc 0
starting USB...
Bus usb@1c1a000: USB EHCI 1.00
Bus usb@1c1a400: USB OHCI 1.0
Bus usb@1c1b000: USB EHCI 1.00
Bus usb@1c1b400: USB OHCI 1.0
scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
scanning bus usb@1c1b000 for devices... 1 USB Device(s) found
scanning bus usb@1c1b400 for devices... 1 USB Device(s) found
      scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
3259 bytes read in 2 ms (1.6 MiB/s)
## Executing script at 4fc00000
U-boot loaded from eMMC or secondary SD
Boot script loaded from mmc
155 bytes read in 2 ms (75.2 KiB/s)
MMC: no card present
** Bad device specification mmc 0 **
41777 bytes read in 4 ms (10 MiB/s)
3821 bytes read in 3 ms (1.2 MiB/s)
Applying kernel provided DT fixup script (sun50i-a64-fixup.scr)
## Executing script at 45000000
17114760 bytes read in 393 ms (41.5 MiB/s)
21934088 bytes read in 504 ms (41.5 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=41750000
## Loading init Ramdisk from Legacy Image at 4ff00000 ...
  Image Name:  uInitrd
  Image Type:  AArch64 Linux RAMDisk Image (gzip compressed)
  Data Size:    17114696 Bytes = 16.3 MiB
  Load Address: 00000000
  Entry Point:  00000000
  Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
  Booting using the fdt blob at 0x4fa00000
  Loading Ramdisk to 48fad000, end 49fff648 ... OK
  Loading Device Tree to 0000000048f3a000, end 0000000048facfff ... OK

Starting kernel ...

done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk2p1] fsck.ext4 -a -C0 /dev/mmcblk2p1
armbi_root: clean, 69593/130816 files, 435596/523264 blocks

My questions are:
- should I change any configuration files from the Armbian_22.11.1_Pine64so_bullseye_current_5.15.80.img.xz's image?
- should I try another image?

Thank's by advance


  Manjaro won't boot from EmmC
Posted by: adjivas - 12-30-2022, 06:25 PM - Forum: Linux on PINE A64-LTS / SOPINE - No Replies

Hello,

I have a Sopine Baseboard Model A
This board haven't a SD interface, it's has a eMMC interface.

I downloaded the last 22.06's image of Manjaro Arm from manjaro-arm/pine64-lts-images's repository.

I flashed my eMMC Module and mounted it on the Sopine baseboard, I connected my USB serial console/programmer and I power on the Sopine.

My problem is during the boot, nothing happen after the `Starting kernel ...` line.

Quote:% sudo screen /dev/ttyUSB0 115200
U-Boot SPL 2022.04-2 (May 05 2022 - 08:29:42 +0000)
DRAM: 2048 MiB
Trying to boot from MMC2
NOTICE:  BL31: v2.6(release):
NOTICE:  BL31: Built : 08:29:42, May  5 2022
NOTICE:  BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE:  BL31: Found U-Boot DTB at 0x209c938, model: SoPine with baseboard
SCP/INF: Crust v0.5.10000


U-Boot 2022.04-2 (May 05 2022 - 08:29:42 +0000) Manjaro Linux ARM

CPU:  Allwinner A64 (SUN50I)
Model: SoPine with baseboard
DRAM:  2 GiB
Core:  39 devices, 17 uclasses, devicetree: separate
WDT:  Not starting watchdog@1c20ca0
MMC:  mmc@1c0f000: 0, mmc@1c11000: 1
Loading Environment from FAT... Unable to read "uboot.env" from mmc1:1...
In:    serial
Out:  serial
Err:  serial
Net:  phy interface10
eth0: ethernet@1c30000
starting USB...
Bus usb@1c1a000: USB EHCI 1.00
Bus usb@1c1a400: USB OHCI 1.0
Bus usb@1c1b000: USB EHCI 1.00
Bus usb@1c1b400: USB OHCI 1.0
scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
scanning bus usb@1c1b000 for devices... 1 USB Device(s) found
scanning bus usb@1c1b400 for devices... 1 USB Device(s) found
      scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1:      Manjaro ARM
Retrieving file: /initramfs-linux.img
Retrieving file: /Image
append: initrd=/initramfs-linux.img console=ttyS0,115200 root=PARTUUID=1f2fe968-00ee-4b00-ad77-12e7c5c80fac rw rootwait audit=0 splash plymouth.ignore-serial-consoles
Retrieving file: /dtbs/allwinner/sun50i-a64-pine64-lts.dtb
Moving Image from 0x40080000 to 0x40200000, end=419e0000
## Flattened Device Tree blob at 4fa00000
  Booting using the fdt blob at 0x4fa00000
  Loading Ramdisk to 497f6000, end 49fff57e ... OK
  Loading Device Tree to 00000000497e9000, end 00000000497f5dd7 ... OK

Starting kernel ...

My questions are:
- Manjaro Arm isn't yet compatible with Sopine Baseboard?
- Should I change any files of configuration from the Manjaro Arm image?

Thank's by advance!


  Most recent Mobian image or installer image known to work?
Posted by: DrPlamsa - 12-30-2022, 09:28 AM - Forum: Mobian on PinePhone - Replies (13)

Hello all:

Please let me know the most recent Mobian image or Mobian installer image which you personally know works on the PP!

I'm having trouble getting a fresh install of Mobian to boot. I've used the Mobian image from 12/28 AND the Mobian installer image from that same date. I'm trying to troubleshoot where the problem lies; could it be with my install of tow-boot? The images from that date? Hardware? To isolate these effects and diagnose the problem, I'd like to use an image which is known to work. Thank you; you're really helping me out!

Some additional info:
I have reason to believe tow-boot was installed correctly: I installed the 2021/10-005 installer of tow-boot to an SD card and used the tow-boot installation GUI to flash it to the eMMC boot partition. Since then, the power on, volume up, and volume down behavior and LED lights has been consistent with tow-boot's docs, suggesting that tow-boot is functioning correctly.
I followed the instructions and didn't make any of the following obvious errors: I verified the sha256 checksums of all images. I unzipped them before dd'ing them. I flashed the right image to the right medium: Mobian image to eMMC via tow-boot's jumpdrive mode, Mobian installer image to SD card. Please do not post a link to the tow-boot or Mobian installation instructions. If you don't trust that I was following those, why bother responding at all?
The order of events is as follows: I try to boot from eMMC, and the LED stays yellow. Nothing ever displays on the screen. I try to boot from the SD card, and the LED stays cyan. Nothing ever displays on the screen. These behaviors are different if there is no SD card, or if the eMMC has been erased: Then it vibes and blinks red. So the phone is recognizing in some manner that the images are bootable in some way, it just never displays anything on the screen of the phone.