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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,703
» Latest member: bestleo
» Forum threads: 16,261
» Forum posts: 117,195

Full Statistics

Latest Threads
Quill OS for the PineNote
Forum: PineNote Software
Last Post: JhonSmith
3 hours ago
» Replies: 1
» Views: 55
PinePhone, PinePhone Pro,...
Forum: PinePhone Hardware
Last Post: biketool
4 hours ago
» Replies: 3
» Views: 167
auto-owning the SD card i...
Forum: PineTab Software
Last Post: biketool
Yesterday, 04:16 AM
» Replies: 1
» Views: 381
Old Danctnix server in Pa...
Forum: PineTab Software
Last Post: Stunnned
11-24-2025, 01:27 PM
» Replies: 2
» Views: 192
Volumio (PINE A64-LTS / S...
Forum: Linux on PINE A64-LTS / SOPINE
Last Post: kapqa
11-23-2025, 02:02 AM
» Replies: 8
» Views: 15,547
Reinstallation Arch Linux...
Forum: General Discussion on PineTab
Last Post: rth
11-22-2025, 08:25 PM
» Replies: 1
» Views: 232
Recycling pinephone as ho...
Forum: PinePhone Hardware
Last Post: biketool
11-20-2025, 09:04 AM
» Replies: 5
» Views: 637
Light Sensor / Proximity ...
Forum: General Discussion on PinePhone
Last Post: WhiteHexagon
11-18-2025, 03:07 PM
» Replies: 1
» Views: 220
How to stop it turning on
Forum: General Discussion on PinePhone
Last Post: biketool
11-18-2025, 02:30 PM
» Replies: 3
» Views: 494
8/24 status of JumpDrive
Forum: PinePhone Software
Last Post: biketool
11-18-2025, 01:27 PM
» Replies: 5
» Views: 2,198

 
  Real World Use Cases
Posted by: severson - 06-05-2020, 10:29 AM - Forum: General Discussion on PinePhone - Replies (7)

I know all of this is really new and I am amazed at how far all of this had gotten, but...
I have found Mobian to be the most stable and supporting the most features of the phone, for me.
A couple things that would really make a big difference from a user point of view.

Has anyone been able to import contacts, like a .vcf file or something? I imagine Evolution is way too resource intensive to run but importing a backup there would be huge! I know, dare to dream. One day...

Anybody have email working?

Like I said, this is all amazing and don't want these to be seen as complaints, but can't learn if you don't ask.


  PinePhone delivery notice FYI
Posted by: User 6582 - 06-05-2020, 09:08 AM - Forum: General Discussion on PinePhone - Replies (1)

Just got confirmation from DHL my PinePhone will be in next Friday, end of the day!! I'm in southern Florida. And I have o pick it up at their Service Point or Locker in Plantation, Florida....


  Resizing eMMC
Posted by: happybot-4678 - 06-05-2020, 07:52 AM - Forum: UBPorts on PinePhone - Replies (2)

Hi, can you verify if my eMMC is using max space?
If not which partition do i need to resize? Thanks

phablet@ubuntu-phablet:~$ lsblk

NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
mmcblk2      179:0    0 14.7G  0 disk
├─mmcblk2p8  179:8    0  2.4G  0 part /android/cache
├─mmcblk2p6  179:6    0 63.9M  0 part
├─mmcblk2p4  179:4    0   64M  0 part /android/boot
├─mmcblk2p2  179:2    0    1M  0 part
├─mmcblk2p10 179:10   0  8.6G  0 part /userdata
├─mmcblk2p9  179:9    0  2.4G  0 part /
├─mmcblk2p7  179:7    0 63.9M  0 part
├─mmcblk2p5  179:5    0 64.3M  0 part
├─mmcblk2p3  179:3    0    8M  0 part /android/persist
└─mmcblk2p1  179:1    0  1.9M  0 part
mmcblk2boot1 179:64   0    4M  1 disk
mmcblk2boot0 179:32   0    4M  1 disk


  Rock64 - Simple Bare-Metal Example
Posted by: krjdev - 06-05-2020, 07:27 AM - Forum: Rock64 Tutorials - Replies (1)

Hi,

I wrote a simple Bare-Metal example for the Rock64.
It just sends a few strings over the UART interface and if a special char will be received, the program resets the Rock64.

The main entry point of the program (written in Assembler):

Code:
#include <asm.h>

IMPORT_C(kern_main)

.text

ENTRY(_start)
   mrs x0, SCTLR_EL1
   and x0, x0, #0xFFFFFFFFFFFFFFFC
   msr SCTLR_EL1, x0
   
   mrs x0, SCTLR_EL2
   and x0, x0, #0xFFFFFFFFFFFFFFFC
   msr SCTLR_EL2, x0
   
   mrs x0, MPIDR_EL1
   and x0, x0, #0x3
   cmp x0, #0
   beq L1
L0:
   wfe
   b L0
L1:
   ldr x0, =_kern_stack_s
   mov sp, x0
   b kern_main
L2:
   wfe
   b L2

.end

It's a minimal setup. It just disables the MMU and the Alignment checks.
Then it reads the processor ID and let only CPU0 run the C main entry point (kern_main).

The C main entry point:

Code:
#include <dev/cru.h>
#include <dev/uart.h>

void kern_main(void)
{
   int c;
   
   uart_init();
   uart_puts("Pine64 Rock64\r\n");
   uart_puts("Press 'r' to reset the board!\r\n");
   
   do {
       c = uart_getc();
   } while (c != 'r');
   
   uart_puts("Resetting...\r\n");
   cru_reset();
   
   while (1)
       ;
}

Should be self explaining.

There is also as very simple UART driver and the CRU driver for resetting the board.
The code includes a very minimal C String library.Only GCC for AArch64 is needed.

To start the application, U-Boot is needed.

I have attached the full code.
The code is also on my GitHub page available.

Edit:
Oops! There is a bug in the attached archive.

Simple change the following line in the file start.S...
Code:
ldr x0, =_kern_stack_s

to..
Code:
ldr x0, =_kern_stack_e



Attached Files
.gz   bare-metal.tar.gz (Size: 4.47 KB / Downloads: 663)

  ESP32 Development
Posted by: besterm - 06-05-2020, 06:53 AM - Forum: General Discussion on Pinebook Pro - Replies (4)

Just curious if anyone has used the PBP for developing ESP32 firmware.  Ideally it would be nice to code, build, program, and maybe JTAG debug (Segger J-Link) on this platform.  My preferred development platform is Espressif's IDF SDK (not Arduino).  Curious to see if there are any other firmware engineers out there.  Smile


  Wifi connection incomplete arp issue
Posted by: csaba - 06-05-2020, 06:23 AM - Forum: Linux on Pinebook Pro - Replies (1)

Dear Forum Members,

I have a strange Wifi issue with my PBPro. I am connected to my access point and I can use Internet, everything seems fine, however I am not able to ping or SSH to other devices connected to the same access point. I do not have this problem with other mobiles and laptops.

I see access point's IP and MAC address in the ARP table, but for the others I see ARP incomplete. If I tcpdump on wlan0 it shows outgoing ARP requests, but nothing on the target device.

Linux version is the preinstalled Manjaro, I have received my PBPro 4 days ago.

Does anyone have any idea what can be the problem? Does it work for someone else?

Thanks and Regards,

Csaba Erdei


  PBP for Krunker.io
Posted by: diamndM - 06-05-2020, 05:49 AM - Forum: General Discussion on Pinebook Pro - No Replies

I just received my PBP and in the process of giving it a test drive I checked it out on krunler.io

It runs extremely slow and laggy on firefox. Good connection speeds so I ruled that out. 

I switched to chromium but got the following message: Failed to Load Make sure you are using the latest version of Chrome or Firefox

I initially downloaded chromium via pamac-manager, when I got the above message I removed it then downloaded chromium via command line but got the same results.

Two different issue I guess. 

First shouldn’t PBP be capable of running krunker.io?

Second why would an error say I don’t have the latest version of chromium?



Thanks from a new PBP owner and new linux user.


  Click or tick sound from right speaker
Posted by: Timpanogos Slim - 06-04-2020, 07:33 PM - Forum: General Discussion on Pinebook Pro - No Replies

Got my PBP yesterday. Generally things have gone well, but at random intervals there is a tick or pop type sound from the right speaker, even with the sound muted. 

Any idea how I might troubleshoot this?

Edit: I should have specified, this happens both when using the included power adapter and when on battery power.

Also, it does go away when I mute the speaker device in alsamixer.


  What's the trick to get the battery to charge?
Posted by: diodelass - 06-04-2020, 02:41 PM - Forum: PinePhone Hardware - Replies (2)

I'm messing around with the nuts and bolts on my device, trying to get a minimal PostmarketOS install working (eventually, I hope to have some fun trying to build my own UIs, which I'm sure will be a hilarious and educational programming challenge/disaster for myself). At the moment, though, I'm still hung up on trying to get the battery to charge. Even when plugged into a charger capable of delivering plenty of current, the battery continues to discharge, and the system never draws more than around half an amp.

Forgive me for being so clueless, but I'm new to all of this. What governs charging control, and how do I talk to it? Is this part of what 'crust' does? Charging appears to work fine under SailfishOS and Ubuntu, so I think hardware issues can be ruled out and I must just be missing some key thing on the software side.


  RPro64s not connecting to home network
Posted by: Luke - 06-04-2020, 01:45 PM - Forum: Linux on RockPro64 - Replies (10)

[edit] Sorted - long story short, half of the ports on the unmanaged port are dead - nothing to do with the RPro64

I've already spoken to some of the smartest people in the community and, despite their best efforts, they've been unable to crack the problem I'm facing. 
So now I'm throwing it out there to see if anyone has any ideas. The situation is stupidly puzzling:

I cannot connect any of my RPro64s (4 different boards- all of which are good) running ANY OS (tried: Debian Desktop with BSP kernel, Manjaro with mainline 5.6, Armbian with 5.4)  to my home network via Ethernet. 

This started after I accidentally disconnected a board that has been running OMV for many years (ancient installation). When I reapplied power to it it wouldn't connect. At first I thought It was simply a case of the installation breaking and, later, of a faulty board but not it seems to be an issue which affects all my RPro64s - none of them can connect to my router.

Here's what I've tried so far:

  • tried different OS with different kernels
  • tried different boards
  • reset my router to factory defaults
  • changing mac address
  • setting a static IP (it 'connects' - but there are no packets coming in/out and the router doesn't see it)
  • I checked cables and wiring - other devices (laptops, different SBCs, etc., can connect on the same wires)
  • connecting over WiFi - works fine connects straight away to the router
  • USB-Ethernet dongles DO NOT connect - same issue as inbuilt NIC. The USB-Ethernet dongle DOES work on other devices - e.g. laptops & stationary PC
I honestly feel at a loss, so if anyone has any suggestion as to what I could / should try ... I'd be really very grateful.