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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 30,004
» Latest member: shinzuka
» Forum threads: 16,337
» Forum posts: 117,448

Full Statistics

Latest Threads
Star64 Irradium (based on...
Forum: Getting Started
Last Post: mara
3 hours ago
» Replies: 14
» Views: 15,130
Mobian image for the Pine...
Forum: Mobian on PinePhone
Last Post: Korfou
04-27-2026, 09:57 AM
» Replies: 2
» Views: 264
Pine Time dead
Forum: General Discussion on PineTime
Last Post: chris.burmajster
04-18-2026, 10:08 AM
» Replies: 0
» Views: 222
Booting Issues
Forum: PineNote Software
Last Post: vlagged
04-17-2026, 04:17 PM
» Replies: 24
» Views: 19,681
App launcher shows tiny i...
Forum: PineNote Software
Last Post: vlagged
04-17-2026, 04:12 PM
» Replies: 1
» Views: 1,140
my pinecil v2 is not work...
Forum: General Discussion on Pinecil
Last Post: jagrav
04-17-2026, 06:28 AM
» Replies: 0
» Views: 156
Freezes and kernel panics...
Forum: Linux on RockPro64
Last Post: prahal
04-15-2026, 06:48 PM
» Replies: 4
» Views: 1,505
Looking for engineer for ...
Forum: PinePhone Pro Hardware
Last Post: Andrey_voce
04-06-2026, 08:44 AM
» Replies: 0
» Views: 343
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
04-05-2026, 03:03 AM
» Replies: 19
» Views: 9,371
Finally got Kali working ...
Forum: General Discussion on Pinebook Pro
Last Post: qingss0
04-04-2026, 08:00 AM
» Replies: 0
» Views: 480

 
  PinePhone not booting after interrupting update
Posted by: PineBetter - 05-30-2023, 01:40 PM - Forum: General Discussion of PinePhone Pro - Replies (1)

hi there, i bought the phone some days ago , was updating the phone , when a message asking for continuing with the installation [s] r [n] but the keyboard dissapeared and the screen was zoomed. so i wasnt able to continue, then i restart the phone. But now is not booting, only appears the "K" logo moving then stops and appears the mouse. I tried to hold the volume up and power buttons but then again appears the k logo and the mouse again.
If you can help me


  Star64 memory bandwidth benchmark result
Posted by: tantamount - 05-30-2023, 11:04 AM - Forum: General - No Replies

Here's a graph that shows the effect of L1 and L2 caches.
[Image: Star64-StarFive-JH7110-1.5GHz-riscv64-Linux.gif]


  Battery life improvement
Posted by: freelectro - 05-30-2023, 06:18 AM - Forum: PinePhone Hardware - Replies (10)

Hi all,

I have bought my pinephone and use it daily.

I'm looking for better battery life.

The only way what i heard, it's reduce the power on time screen.

What can be a manner to have better battery life in general and espacially when the phone is on and active ?

What's the main difference with an android device !

For me, three component are main battery consumer.

1-CPU : Allwinner A64 4 x ARM Cortex A53 cores @ 1.152 GHz
2-Modem : Quectel EG25-G with worldwide bands


*****
1-CPU
*****
I have tried to power of two or three core -> no impact
not again tried to minimise frequency ! -> any feedback ?

The firmware is opensource ?

********
2-MODEM
********
The only thing what i can do is to flash opensource firmware of modem.

The opensource firmware URL : https://github.com/the-modem-distro/pinephone_modem_sdk


I don't know if this FOSS firmware drain less battery than stock firmware !

Have you a power consumption mesurement method ? It's powertop ?



I used this script to have notification with 3G/4G connection to keep connection with XMPP/Matrix client. And modem restart when modem disconnected.

https://gitea.privatedns.org/Xavi92/pinephone-scripts



Thanks a lot for your feedback.


  [Mobian] : Battery consumption and driver/middleware compatibility
Posted by: freelectro - 05-30-2023, 03:20 AM - Forum: PinePhone Pro Hardware - Replies (1)

I have bought a pinephone and the battery consumption is too high.

As i good understand, pinephone have a SoC AllWine A64 and that's why it drain a lot of battery and warm.

The advantage of this SoC is good supported linux mainlines.

With the pinephone pro, the Rockchip RK3399S SoC is an ARM. In theorical, it drain less battery.
It's right ?

What is the level compatiblity of pinephone pro with Mobian OS ?
-linux mainlines
-basic features
-drivers

Thank a lot for your feedback


  [Mobian] : Battery consumption and OS compatibility
Posted by: freelectro - 05-30-2023, 03:18 AM - Forum: PinePhone Pro Software - Replies (2)

I have bought a pinephone and the battery consumption is too high.

As i good understand, pinephone have a SoC AllWine A64 and that's why it drain a lot of battery and warm.

The advantage of this SoC is good supported linux mainlines.

With the pinephone pro, the Rockchip RK3399S SoC is an ARM. In theorical, it drain less battery.
It's right ?

What is the level compatiblity of pinephone pro with Mobian OS ?
-linux mainlines
-basic features
-app

Thank a lot for your feedback


  Article: (Possibly) LVGL in WebAssembly with Zig Compiler
Posted by: lupyuen - 05-30-2023, 12:25 AM - Forum: PinePhone Software - No Replies

Zig Compiler works great for compiling C Libraries into WebAssembly. Can we preview an LVGL App in the Web Browser… With WebAssembly and Zig Compiler?

Let’s find out! In this article we’ll…

(1) Run a Zig LVGL App on PinePhone (with Apache NuttX RTOS)

(2) Explain how Zig works with WebAssembly (and C Libraries)

(3) Compile LVGL Library from C to WebAssembly (with Zig Compiler)

(4) Test it with our LVGL App (in Zig)

(5) Render Simple LVGL UIs (in Web Browser)

(6) Later we might render LVGL UI Controls (with Touch Input)

Check out the article…

(Possibly) LVGL in WebAssembly with Zig Compiler



[Image: lvgl3-title.png]


  Complete noob to the Pinephone 64, cannot set time and date.
Posted by: gordr - 05-29-2023, 10:12 PM - Forum: General Discussion on PinePhone - Replies (11)

My new Pinephone 64 arrived today. I finally was able to do the Setup routine; it's not at all intuitive. I was able to make a call, so it connects with the network (Koodo in Alberta, Canada) OK. But I cannot get it to "see" the right time and date. Got the region set to America/Canada/Edmonton, so the time zone ought to be MOuntain Daylight time. Phone thinks it's something 3:15 A.M. on May 22, 2022. I know that ain't right. I have time/date set to automatic, so should it be pulling that off the cell tower? Changing time/date to "manual" didn't work, because I cannot make the wheels on that slot-machine display move in any sort of rational fashion by using the touch screen. I plugged in a keyboard via the hub, and was able to type letters and numbers into some fields, but the rolling number boxes for time/date are impervious to that. And my couple of hours of fruitless groping ran the battery down from 98% to 38%, so I have it on charge again.

It's running on the software that was on it when it came out of the box. No update as yet.


Question How do I compile an arbitrary kernel for U-Boot?
Posted by: Valenoern - 05-29-2023, 09:39 PM - Forum: Linux on RockPro64 - Replies (3)

I have been trying to get a DVD drive to work with the RockPRO64, but for some reason the kernel is not properly operating the drive and the open/close button does not work.
I researched the problem, and it seems like this is a general problem with the Linux kernel or its modules on multiple architectures — some versions of the "linux" package in Manjaro/Arch properly provided CD drive support and some did not. So, now I simply have to compile kernels from source until I get the right one.  [2]

The only problem is, after a week or so of trying to compile kernels and comb through source code for rockpro U-Boot packages I still have no idea how to compile a kernel for U-Boot that actually boots. I have tried "mkimage" and putting a regular compiled kernel stripped of debug information into mkimage, but the kernel always fails to boot and restarts the CPU. I read and re-read the documentation for the U-Boot packages and saw that I'm apparently supposed to have a kernel tree with "make uImage" or "make pImage", but none of the kernel.org trees had this so I'm not sure where to get this source tree.  [1]
I am also confused where the blobless package "uboot-rockpro64-foss" finds the kernel if it does not install one to /boot, or in any case where my kernel is on disk after I boot into a Manjaro partition.

How do I compile a kernel from source into an "Image" file loaded by extlinux.conf?
Is that even the same kernel that loads when I boot my eMMC and run "uname -a" to describe the kernel? How do I compile and use a new one?


[1] edit 6/07: so, apparently new kernel trees have "make Image". I tried this with kernel version 6.4.0-rc4 and it did not boot past what seems to be the Secondary Program Loader (SPL).

[2] edit 6/17: well now I feel really stupid. The problem with the DVD drive was that I kept trying to plug it into a USB 2.0 port and it really needed a USB 3.0 port. I just never figured this out because I always had something else in the single one the ROCKPro has.
That said, it would still probably be helpful to people to know how to compile a kernel, so I will still test it if anybody figures out how. I have already been messing with creating distro images for a while now.


  Star64: a first benchmark
Posted by: Der Geist der Maschine - 05-29-2023, 01:00 PM - Forum: Getting Started - No Replies

In these days, I play around with different kernel configs and patches. While doing so, I collected data about the star64's speed.

Build time Fishwaldo's kernel 5.15.107:

Code:
$ make pine64_star64_defconfig
$ time make -jX Image modules starfive/jh7110-pine64-star64.dtb

or

Code:
$ make ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- pine64_star64_defconfig
$ time make -jX ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- Image modules starfive/jh7110-pine64-star64.dtb


Star64 4 cores (armbian 23.05, gcc 12.02.0) DOB 2023 - $130

Code:
-j1: real 214m51.028s    user 201m28.062s    sys 12m31.241s
-j2: real 112m56.549s    user 211m41.069s    sys 12m18.304s
-j3: real  79m05.656s    user 222m08.494s    sys 12m28.384s
-j4: real  67m08.530s    user 241m20.833s    sys 13m57.011s



Lenovo G510 laptop i7-4700 2.4GHz 4 cores (8 threads) (debian 12, gcc 12.02.0) DOB 2014 - $754

Code:
-j1: real  50m59.833s    user  46m39.686s    sys  4m14.694s
-j2:
-j3:
-j4: real  13m41.123s    user  49m35.922s    sys  4m22.633s

[we would probably get a little bit more when utilizing threads]


Apple imac7 desktop core2 extreme X7900 2 cores 2.8GHz (debian 12, gcc 12.02.0) DOB 2007, $10 from craigslist

Code:
-j1: real  70m26.178s    user  63m19.755s    sys  6m34.567s
-j2: real  41m11.000s    user  67m12.281s    sys  7m27.264s



We have it that a 9 year old laptop is 4.91 times faster than the star64 and a 16 year old desktop is is 1.63 times faster than the star64 (real time on max number of cores).

Note, that is the OOB (out of box) experience for most of us. The star64 should be faster with additional investments for eMMC or NvME drives.


As of today, the graphics experience is quite frustrating, see https://forum.pine64.org/showthread.php?...pid=117576. That should eventually change.


  Followed the blog post to install Fedora: PBP not booting anymore
Posted by: koenigs - 05-29-2023, 03:54 AM - Forum: General Discussion on Pinebook Pro - Replies (6)

Hi guys,

So I had Manjaro installed on my eMMC for a while now and I wanted to switch to Fedora.

I went to the official Wiki which redirects us to a blog post from 2021 which I followed.
I flashed the firmware to the micro SD Card


Code:
$ sudo spi-flashing-disk --target=pinebook-pro-rk3399 --media=/dev/sdc1
Error: Partition(s) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64 on /dev/sdc1 have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.
Error: Partition(s) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64 on /dev/sdc1 have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.
Error: Partition(s) 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64 on /dev/sdc1 have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use.  As a result, the old partition(s) will remain in use.  You should reboot now before making further changes.
= Writing idbloader.img for pinebook-pro-rk3399 .... on media /dev/sdc1
348+0 records in
348+0 records out
178176 bytes (178 kB, 174 KiB) copied, 0.00409355 s, 43.5 MB/s
= Writing u-boot FIT image for pinebook-pro-rk3399 .... on media /dev/sdc1
2042+0 records in
2042+0 records out
1045504 bytes (1.0 MB, 1021 KiB) copied, 0.217239 s, 4.8 MB/s
umount: /tmp/fw: not mounted.
rmdir: failed to remove '/tmp/fw': Directory not empty

I didn't really pay attention to the error messages at the beginning nor at the end, I just saw that some data was copied to the micro SD card so I thought it was fine.

Then I opened the case of my Pinebook Pro, disabled the eMMC using the switch 24 (I should have just removed the eMMC actually).
Then I tried to boot with the micro SD card inserted and... absolutely nothing happened even after pluging in the DC barrel.

Now even with the micro SD card removed and the switch 24 enabled my PBP won't boot.
I tried to check the content of the micro SD card with my other laptop (I'm on Fedora) but I'm not able to mount it.


Code:
$ sudo mount /dev/sdc1 /run/media/koenigs/sdcard
mount: /run/media/koenigs/sdcard: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.
       dmesg(1) may have more information after failed mount system call.

I don't even understand what went wrong actually, I didn't enter any command to flash the SPI with the firmware from the micro SD card, it just didn't do anything so I didn't even get the opportunity to try it...

Is there any way I can recover from the situation?
I'm a bit worried I screwed my SPI, it seems a bit tricky and risky to follow this procedure so I'd like to avoid it if possible.

Thanks for your answers

EDIT: I understand what I did wrong, I flashed the firmware to the partition sdc1

Code:
$ sudo spi-flashing-disk --target=pinebook-pro-rk3399 --media=/dev/sdc1

I should have done it to the card card's disk scd instead
Code:
$ sudo spi-flashing-disk --target=pinebook-pro-rk3399 --media=/dev/sdc

But my PBP is still not booting after fixing the micro SD card.

Did I screw my SPI???  Confused