| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 29,965
» Latest member: eggycar76
» Forum threads: 16,334
» Forum posts: 117,438
Full Statistics
|
| Latest Threads |
Looking for engineer for ...
Forum: PinePhone Pro Hardware
Last Post: Andrey_voce
04-06-2026, 08:44 AM
» Replies: 0
» Views: 67
|
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
04-05-2026, 03:03 AM
» Replies: 19
» Views: 8,541
|
Finally got Kali working ...
Forum: General Discussion on Pinebook Pro
Last Post: qingss0
04-04-2026, 08:00 AM
» Replies: 0
» Views: 138
|
Charging problem
Forum: General Discussion on Pinebook Pro
Last Post: RicTor
04-04-2026, 07:30 AM
» Replies: 0
» Views: 71
|
Latest firmware for PineP...
Forum: PinePhone Software
Last Post: baptx
04-03-2026, 08:37 AM
» Replies: 106
» Views: 215,730
|
Updates have gotten me ex...
Forum: General Discussion on PineNote
Last Post: bills2002
04-02-2026, 05:16 PM
» Replies: 0
» Views: 130
|
Voidlinux working on eMMC
Forum: General Discussion on PineTab
Last Post: tllim
04-01-2026, 04:14 PM
» Replies: 1
» Views: 204
|
Pinecil V2 doesn’t power ...
Forum: General Discussion on Pinecil
Last Post: Juptin
03-28-2026, 02:37 AM
» Replies: 1
» Views: 2,030
|
dead Pinebook - help plea...
Forum: General Discussion on Pinebook Pro
Last Post: williamcorlin
03-26-2026, 04:22 PM
» Replies: 3
» Views: 897
|
BT PAN - we need iptables...
Forum: Mobian on PinePhone
Last Post: biketool
03-25-2026, 12:57 PM
» Replies: 1
» Views: 575
|
|
|
| Developing for PinePhone |
|
Posted by: macias - 06-10-2020, 01:33 PM - Forum: General Discussion on PinePhone
- Replies (3)
|
 |
Hello,
Sorry for naive question, but how will developing for PinePhone look like? (I don't have it right now). Is it like regular Linux, so the screen is treated as monitor, I have to use Gtk, etc? Or there is needed extra framework for it?
I have in mind such tasks as:
- building and showing screen/windows with button, labels, textboxes,
- subscribing for GPS position update
- waking up phone and showing my screen
- forcing phone to turn off the screen
- running some processing in the background (like a service in Android)
- querying battery status and charge level
Thank you in advance.
Cheers,
|
|
|
|
| eMMC frequently not found by Linux kernel (especially on low battery) |
|
Posted by: v-man - 06-10-2020, 01:30 PM - Forum: Linux on Pinebook Pro
- Replies (14)
|
 |
In order to be able to boot from SD card I used "the U-Boot update script from the mrfixit2001 Debian" mentioned in the Pinebook Pro wiki, so I guess I have that U-Boot loader on my eMMC now. The strange thing now is: in at least a dozen attempts I could always boot the kernel, but often it does not find the eMMC anymore, and drops me to a shell:
Code: [ 2.127663] debugfs: File ':interrupt-controller@fee00000' in directory 'doma
ins' already present!
[ 2.xxxxxx] debugfs: File ':interrupt-controller@fee00000' in directory 'doma
ins' already present!
[ 2.xxxxxx] debugfs: File ':interrupt-controller@fee00000' in directory 'doma
ins' already present!
[ 2.xxxxxx] debugfs: File ':interrupt-controller@fee00000' in directory 'doma
ins' already present!
[ 2.xxxxxx] debugfs: File ':interrupt-controller@fee00000' in directory 'doma
ins' already present!
[ 2.127790] debugfs: File ':interrupt-controller@fee00000' in directory 'doma
ins' already present!
[ 2.720138] rockchip-pcie f8000000.pcie: PCIe link training gen1 timeout!
[ 3.023522] OF: graph: no port node found in /i2c@ff3d0000/fusb30x@22
[ 3.185664] vcc_sdio: unsupportable voltage range: 3300000-3000000uV
[ 3.317248] mmc2: mmc_select_hs200 failed, error -110
[ 3.317730] mmc2: error -110 whilst initialising MMC card
[ 3.4xxxxx] mmc2: mmc_select_hs200 failed, error -110
[ 3.4xxxxx] mmc2: error -110 whilst initialising MMC card
[ 3.5xxxxx] mmc2: mmc_select_hs200 failed, error -110
[ 3.5xxxxx] mmc2: error -110 whilst initialising MMC card
[ 3.7xxxxx] mmc2: mmc_select_hs200 failed, error -110
[ 3.7xxxxx] mmc2: error -110 whilst initialising MMC card
[ 4.196145] rockchip-dp ff970000.edp: no DP phy configured
BusyBox v1.30.1 (Debian 1:1.30.1-4) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) ...
I've seen different patterns, but to the same effect:
Code: [ 7.519011] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
Begin: running / scripts/local-block ... done
Begin: running / scripts/local-block ... done
Begin: running / scripts/local-block ... done
[ 11.59xxxx] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
Begin: running / scripts/local-block ... done
Begin: running / scripts/local-block ... done
Begin: running / scripts/local-block ... done
...
Gave up waiting for root file system device. Common problems:
- Boot args (cat /proc/cmdline)
- Check rootdelay= (did the system wait long enough?)
- Missing modules (cat /proc/modules; ls /dev)
ALERT! PARTLABEL=emmc-RootFS does not exist. Dropping to a shell!
BusyBox v1.30.1 (Debian 1:1.30.1-4) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) ...
Looking for others with the same problem, and for possible solutions, I found this post in the Manjaro Linux Forum:
manjaro won't boot, eMMC, pinebookpro (Post #56)
Quote:I can confirm that my PBP has the same behaviour. I had the impression that the PBP boot succeeds more often when attached to the power supply.
Indeed after connecting my Pinebook Pro to the power cord I could boot from eMMC again, after several failed attempts (and having opened the case twice, to check the eMMC being attached properly).
Some speculation: The battery was at only about 30% - maybe it is a power issue?
Obviously it is not the Debian kernel, that is responsible. At least once I booted Manjaro (with its 5.6 kernel) from SD card and could see that /dev/mmcblk2 was not there, only /dev/mmcblk1 (the sd card).
Once, when on battery, the system even "lost" the eMMS it was running from. See the attached photograph for the kernel messages from that crash:
emmc_loss_pbp.jpg (Size: 399.74 KB / Downloads: 840)
Is anyone else here having similar issues? Any suggestions as to what I could do (apart from keeping the power adapter with me, or a backup system on sd card)? Maybe getting an NVMe and running a system from that would help?
|
|
|
|
| Alternative back covers |
|
Posted by: PhoenixLandPirate - 06-10-2020, 12:30 PM - Forum: PinePhone Accessories
- Replies (1)
|
 |
The PinePhone features a wonderful back cover, especially if you get a community edition.
The PinePhone's back cover can be taken off, and you can buy a new back cover in the store, however this will be much the same, without the CE logo on it.
One thing I think is special about replaceable back covers, is how you can make a phone more your own, and I think OnePlus did a great job of this back in the OPO, and OP2 days.
You had your default back (Sandstone for the OPO, and I'm not aware of what it was for the OP2), but you could go to the store, and buy a different styled back cover (Black Apricot, Kevlar, Bamboo, Rosewood)
It would be really nice to see different choices of backs, that change the PinePhones look and feel a bit, depending on your tastes.
Video of the OP2 covers
|
|
|
|
| Sopine Fedora 32 on clusterboard w/networking |
|
Posted by: revoman - 06-10-2020, 12:09 PM - Forum: Linux on PINE A64-LTS / SOPINE
- Replies (7)
|
 |
Just jotting down some notes, and a question after going through a painful process of trying to get a non-debian derivative Linux OS on my cluster.
After some twists and turns I finally came back around to a post I saw regarding the arm-image-installer and a F30 image.
I run Fedora on my workstation, so all of the instructions assume a fedora build box.
-
sudo dnf install arm-image-installer
- downloaded the raw image file from the Fedora download site and selected Fedora 32: Raw image for aarch64
- Write the F32 aarch64 image to an SD card using the following command
sudo arm-image-installer --addconsole --addkey ~/.ssh/id_rsa.pub --relabel --resizefs --image=Fedora-Minimal-32-1.6.aarch64.raw.xz --media=/dev/sdc --target=sopine_baseboard
- Move card to sopine board
- Insert sopine into clusterboard
- Connect serial console to pins 6,7,8
extracted from https://forum.pine64.org/attachment.php?aid=1111 and somewhere else
- Connect to serial console via
screen /dev/ttyUSB0 115200
- Apply power to clusterboard - and prepare to press a key to "stop autoboot"
- Press the space bar until
Hit any key to stop autoboot: 0
appears and you are presented with a prompt `->`
- At this prompt execute this command and hit enter
mi w 1c30000 1f 7; mi w 1c30000 1e a4 ; mi w 1c30000 1c b573 ; mi w 1c30000 1f 0
found at https://forum.pine64.org/showthread.php?tid=6036
- Reset the board, either by typing reset or power cycling or the reset button.
This often does not work the first time.
- Wait for the kernel to load and Fedora 32 to finish initializing
- Answer the remaining installation questions
- Finish and log in.
- nmcli` should show an active eth0 device
- ip addr should show an IP address from your DHCP server
- Never remove power or reset the clusterboard.

So. After all that, I still get boot errors where the boards try to boot from the mmc before it has finished initializing causing the kernel or vmlinuz images to be unavailable.
Also, if I power cycle the board, the setting from #10 gets erased.
Question to the community. How do I make `mi w 1c30000 1f 7; mi w 1c30000 1e a4 ; mi w 1c30000 1c b573 ; mi w 1c30000 1f 0` persistent? Is this u-boot? is this EFI? I am a bit out of my league here.
Thanks in advance,
-Nate R
(06-10-2020, 12:09 PM)revoman Wrote: ...
Question to the community. How do I make `mi w 1c30000 1f 7; mi w 1c30000 1e a4 ; mi w 1c30000 1c b573 ; mi w 1c30000 1f 0` persistent? Is this u-boot? is this EFI? I am a bit out of my league here.
Thanks in advance,
-Nate R Found the answer to my own question. Quite a crazy journey, but now I have fully working Fedora 32 sopine compute modules! Now to k8s it.
The key came in this link: https://github.com/linux-sunxi/u-boot-sunxi/wiki
Turns out the u-boot process looks for a `boot.scr` file on the first fat partition for running scripts. There was some pretty crazy dynamic variables going on, so it took a minute to get right. Here's what I ended up with.
First fat boot device is mounted under /boot/efi
cd /boot/efi
Create the text file /boot/efi/boot.txt
Fill it with the u-boot commands you wish to execute. (note, current scripting continues the boot after these, so no need to re-run bootcmd)
Code: echo starting eth0 fix
mi w 1c30000 1f 7
mi w 1c30000 1e a4
mi w 1c30000 1c b573
mi w 1c30000 1f 0
echo fixed eth0
Now comes the magic. Use the command mkimage to turn it into a binary file u-boot can handle.
Code: mkimage -A arm -T script -O linux -d boot.txt boot.scr
Reboot and profit.
-Nate Revo
|
|
|
|
| Ubuntu Touch Haptic Feedback? |
|
Posted by: lllsondowlll - 06-10-2020, 10:07 AM - Forum: UBPorts on PinePhone
- No Replies
|
 |
I seem to not have any haptic feedback when typing on the digital keyboard in Ubuntu Touch. Is this normal behavior? I haven't felt vibration in the phone at all except at one point the phone got stuck vibrating randomly until I rebooted it.
Is the keyboard supposed to give haptic feedback or is there something wrong with my vibration motor?
|
|
|
|
| How to preorder? |
|
Posted by: KaylaMarie81 - 06-10-2020, 09:54 AM - Forum: General Discussion on Pinebook Pro
- Replies (3)
|
 |
I'd like to preorder a Pinebook Pro from the next batch but when I try to add it to my cart it says "You cannot add "14″ PINEBOOK Pro LINUX LAPTOP (ANSI, US Keyboard)" to the cart because the product is out of stock."
How do I go about getting it ordered?
Thanks!
|
|
|
|
| Haptic Feedback |
|
Posted by: lllsondowlll - 06-10-2020, 09:29 AM - Forum: UBPorts on PinePhone
- Replies (3)
|
 |
I seem to not have any haptic feedback when typing on the digital keyboard in Ubuntu Touch. Is this normal behavior? I haven't felt vibration in the phone at all except at one point the phone got stuck vibrating randomly until I rebooted it.
Is the keyboard supposed to give haptic feedback or is there something wrong with my vibration motor?
|
|
|
|
|