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
5 hours ago
» Replies: 1
» Views: 63
PinePhone, PinePhone Pro,...
Forum: PinePhone Hardware
Last Post: biketool
6 hours ago
» Replies: 3
» Views: 170
auto-owning the SD card i...
Forum: PineTab Software
Last Post: biketool
Yesterday, 04:16 AM
» Replies: 1
» Views: 384
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: 234
Recycling pinephone as ho...
Forum: PinePhone Hardware
Last Post: biketool
11-20-2025, 09:04 AM
» Replies: 5
» Views: 639
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: 496
8/24 status of JumpDrive
Forum: PinePhone Software
Last Post: biketool
11-18-2025, 01:27 PM
» Replies: 5
» Views: 2,200

 
Sad wasp simulation error
Posted by: pratyush049 - 06-24-2020, 04:01 AM - Forum: General Discussion on PineTime - Replies (1)

sir,
while using simulator of wasp os am getting some error as mention below:-



raise UnsupportedError(pixels2d, "numpy module could not be loaded")

sdl2.ext.compat.UnsupportedError: 'numpy module could not be loaded'



can you share something about this error. what should i do further to overcome this error ! thankyou


  ROCKPro64 has Lithium Battery Port yes or no?
Posted by: anfast - 06-24-2020, 04:00 AM - Forum: General Discussion on ROCKPRO64 - Replies (3)

In https://www.pine64.org/rockpro64/ it is indicated that ROCKPro64 has Lithium Battery Port in the manner of Pine64+ and Pine64-LTS, and the photo seems to show a battery connector. But in https://wiki.pine64.org/index.php?title=ROCK64 there is no mention of a lithium battery port and that clearly looked like the battery connector, it is labeled "SPDIF header" and the other possible port candidates are labeled as "PWM controlled fan header", "RTC battery backup header" and "DC out for SATA disk cable".


  Installing latest version of crust
Posted by: davegermiquet - 06-24-2020, 01:14 AM - Forum: General Discussion on PinePhone - No Replies

I installed the latest version of crust , by doing the following on my Mac:

This was using the Mobian stable and Mobian Nightly build:

used a docker Debian image, latest
make sure git/build-essential/cross compiler is installed

Downloaded the following and placed in /opt folder

https://musl.cc/or1k-linux-musl-cross.tgz


git clone https://github.com/crust-firmware/meta.git

edit the Makefile
update cross compiler folders
update board to say pine phone

make
(makes images)

grabbed the following afterwards:

u-boot-sunxi-with-spl.bin

copied this file to Mac book host file

booted up with jump drive on my sdcard

now I can see all drives

unmount all drives

bash-3.2# gpt -r show disk3
     start      size  index  contents
         0         1         MBR
         1      1952         
      1953    248048      1  MBR part 131
    250001   7171874     2  MBR part 131  MBR part 131
   7421875  23363661   



See (1 1952) is not assigned, but 1
and 2 are so I zeroed out 1 - 1952 just in case left overs (This is where uboot resides be careful your deleting boot now)

bash-3.2# dd if=/dev/zero of=/dev/disk3 bs=512 seek=1 cou
sync && sync && syncnt=1952
then I did the following:
bash-3.2# dd if=u-boot-sunxi-with-spl.bin of=/dev/disk3 bs=1024 seek=8
the above can be found at SUNXI sites=
sync && sync && sync
1024 seek=8
Try at your own risk but it worked for me

Output on UART:

DRAM: 2048 MiB
Trying to boot from MMC2
NOTICE:  BL31: v2.3(release):v1.4-5069-ga4b8b9dba
NOTICE:  BL31: Built : 1592882082
NOTICE:  BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE:  BL31: Found U-Boot DTB at 0x40647b8, model: Pine64 PinePhone (1.2)
NOTICE:  PSCI: System suspend is available via SCPI


U-Boot 2020.07-rc4-18358-g139397e64e (Jun 23 2020 - 03:14:42 +0000) Allwinner Technology

CPU:   Allwinner A64 (SUN50I)
Model: Pine64 PinePhone (1.2)
DRAM:  2 GiB
MMC:   Device 'mmc@1c11000': seq 1 is in use by 'mmc@1c10000'
mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from FAT... Unable to use mmc 1:2... In:    serial@1c28000
Out:   serial@1c28000
Err:   serial@1c28000
starting USB...
No working controllers found
Hit any key to stop autoboot:  0


  Need help updating comparison of the PinePhone vs Librem 5 specs
Posted by: amosbatto - 06-24-2020, 12:42 AM - Forum: General Discussion on PinePhone - Replies (6)

I'm trying to update my comparison of the PinePhone vs Librem 5 specs:
https://forums.puri.sm/t/comparing-specs...hones/6827

Can anyone tell me:

  • What RAM chip is used in the PinePhone (or at least what speed of RAM)?
  • What Flash memory chip is used in the PinePhone?
  • Is the A64 on the PinePhone running at 1.2 GHz or 1.152 GHz?
  • Can anyone weigh the PinePhone to verify that it is 185 grams?
  • What is the specific Goodix touchscreen controller chip?
  • Can the battery be replaced just using fingers (no tools)?
  • Is there a list of the apps available in Ubuntu Touch?
  • Are there any other chips on the PinePhone that I missed?
  • Has anyone benchmarked the performance of the PinePhone?
  • Will both DisplayPort and HDMI Alt Mode work over the USB-C port?
  • Does anyone know the clock speed of the Mali-400 MP2 GPU?
And of course, is there anything inaccurate in the table or that needs to be added?

Thanks in advance for your help.


  Manjaro 20.06 Step-By-Step Installation Guide
Posted by: nathanielwheeler - 06-23-2020, 07:24 PM - Forum: Linux on Pinebook Pro - Replies (19)

I've found that the information needed to replace the default OS on Pinebook Pro is scattered all over the place, and in some places, contradictory.  To help newbs like me avoid the trial-by-error that I went through, I've made the following guide based on a successful replacement of Mate/Debian with XFCE/Manjaro.

Update: extended introduction to clarify the structure of the guide

First, an overview of the guide.  First, to replace the eMMC distro, we need to make an ARM-compatible OS on a microSD.  For the purposes of this guide, we will be using the same OS on the microSD as we are on the eMMC, but theoretically any ARM-compatible OS could be used on the microSD.

Once we have the working OS on the microSD booting on the PBP, we will use that system to use 'dd' to transfer an image of manjaro directly onto the eMMC, bit by bit.

0. Get the proper images and signatures.

First, download the images and checksums you need.

KDE Plasma
- Download
- Torrent
- sha256
XFCE
- Download
- Torrent
- sha256
I3
- Download
- Torrent
sha256

1. Verify checksums

It's very important to verify that the compressed image you downloaded isn't corrupted or anything.  To do that, we will be running sha256sum on our image and checking it against the checksum we downloaded.

Make sure you are in the directory containing the images, usually `~/Downloads`

Code:
$ sha256sum <target image>.img.xz

For mac, use:

Code:
$ shasum -a 256 <target image>.img.xz

This will print a string of characters followed by the name of the file.  Check that checksum against the .img.xz.sha256 file.  There are many ways to do this, but the simplest way is to print the file:

Code:
$ cat <target image>.img.xz.sha256

Ideally, the output will look exactly the same as the sha256sum function.  If it isn't, then your image is corrupted and you need to redownload the image.

2. Decompress the image

Get xz-utils if you don't already have it installed.

Code:
$ # On Arch:
$ sudo pacman -Syu xz-utils

$ # On Debian/Ubuntu:
$ sudo apt-get install xz-utils

Then, extract the image.

Code:
$ # I like to use the -v flag so I can watch the progress of the extraction
$ unxz -k -v <target image>.img.xz

The mac equivalent is a bit different:

Code:
$ # Get xz package if you don't already have it
$ brew install xz

$ # Decompress image
$ xz -d -k -v <target image>.img.xz

3. Flash to microSD using Etcher

I recommend using balena Etcher to flash the image to microSD.  Simply select the image, then the drive to flash to, and then wait for etcher to finish.  It will likely take good while, so make some tea or something.

4. Boot from microSD.

Once the microSD has been flashed, pop it into the microSD drive on your Pinebook Pro and turn it on.  If all has gone well, it will boot to Manjaro's desktop.

NOTE: this system is not our final OS, this is simply the environment in which we will install Manjaro the internal eMMC memory.

You will get a few setup questions:
- keyboard layout
- username
- additional groups (there's a bug here: leaving this field empty will not add the default groups, so you will have to type them in manually separated by commas)
- full name
- password
- root password
- timezone
- locale (en_US.UTF-8 if you are located in the United States)
- hostname

At this point, we still need to put Manjaro on the internal eMMC memory, so we have a few more steps to run.

5. Repeat steps 0-2

As much as I wish to tell you that the Manjaro ARM installer works, it is incredibly buggy at the moment, so this is where we will have to get technical and dangerous.  Download a new image of Manjaro, verify its checksum, and decompress it, just like we did in Steps 0-2.

EDIT: To clarify, this image should be on the freshly booted microSD portion of the PBP.  This cannot be done on the eMMC portion of the PBP, because we are using this image to to replace the operating system on the eMMC.  It has to be done from the microSD.

6. Using dd 

EDIT: First, make sure that you are booted on the microSD card.  This will not work if you are working on the eMMC portion of the PBP.

At this point, I'm afraid we have to resort to the tool of last resort: dd.  Jokingly, it is short for "disk destroyer", because it is incredibly literal and the slightest misspelling could destroy all data on the target.

What dd does is it does a direct bit-by-bit transfer from a target to a destination in the form of:

Code:
$ dd if=<target> of=<destination> bs=4M status=progress

EDIT 2020-11-03: I have added a few arguments that make dd a little faster.  `bs=4M` makes the byte copy go way faster, and is just as reliable as the default (512 bytes).  I also added in the `status=progress` argument, which will show the byte copy progress in real time.

So, for our pinebook pro, we are targeting our freshly downloaded image, likely at '/home/<user>/Downloads'.  The destination will be '/dev/mmcblk2', but you should use `fdisk -l` to verify that your eMMC internal storage is located there.
For my own pinebook pro, I ran:

Code:
$ dd if=/home/<user>/Downloads/<target>.img of=/dev/mmcblk2 bs=4M status=progress

7. Reboot

Shutdown your system, remove the microSD card, and if all went well, you should be prompted for the same information as you were prompted for in Step 4.

8. Rejoice!

Congratulations, you have now successfully replaced the default OS on the Pinebook Pro!


  US SIM Cards not working on Pinephone
Posted by: shapestech - 06-23-2020, 07:21 PM - Forum: General Discussion on PinePhone - Replies (4)

I turned my Pinephone on today to find that my SIM card wasn't detected, and I found that my Pinephone is not detecting US SIM cards but after putting in a European SIM card I had it detected it just fine. The 2 distros I was running were UBPorts and Mobian, could one of them have updated the modem firmware causing this issue? I had a US SIM card working just fine 3 days ago but I updated both Mobian and UBPorts also 3 days ago and I wasn't paying attention to the SIM card status.

Edit: It actually appears to work in the factory test but wasn't working in UBPorts or Mobian.


  How to boot from eMMC but have root directory on an NVME?
Posted by: QazTheWsx - 06-23-2020, 06:44 PM - Forum: Linux on Pinebook Pro - Replies (7)

I have a PBP and is currently running Manjaro KDE from factory on it. I have the adapter and a NVME. I was wondering if I could have just the necessary files on the eMMC to boot and then have everything else on the NVME like home directory and programs and such. I have not found an updated way to do this. Also I am open to suggestions for alternatives. I would just like to have everything touching NVME after booting while still running Manjaro KDE.


  Cool wallpapers for the PinePhone?
Posted by: ragreenburg - 06-23-2020, 06:19 PM - Forum: General Discussion on PinePhone - Replies (7)

I've seen pictures on Twitter and whatnot where people have really good looking wallpapers for their PinePhone that are Pine64 related. Does anyone know where I could find something like this?


  Memory clock speed: 800MHz vs 1600MHz? (NM, RK3399 won't run >800MHz DDR)
Posted by: Syonyk - 06-23-2020, 01:38 PM - Forum: Pinebook Pro Hardware and Accessories - Replies (4)

Sorry for what I hope is a stupid question...

I'm running a Pinebook Pro with the "mrfixit BSP uboot" - for deep sleep and such.

I'm using the Manjaro/tsys 5.7 kernel with hwaccel patches.

Uboot log:

Spoiler:



What I'm interested in, though, is the memory training speed.

Code:
channel 0 training pass!
channel 1 training pass!
change freq to 800MHz 1,0
Channel 0: LPDDR4,800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
Channel 1: LPDDR4,800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
256B stride

This is the final training pass I see in the uboot output.

Looking at the datsheet, the memory modules are either rated for 1600MHz or 1866MHz.

I've found that the RK3399 supports dynamic DRAM frequency scaling, but I haven't verified if this is working - I don't see anything about it in dmesg.

I see a peak of about 5.5GB/s running the "mbw" benchmark.  At 800MHz on a 64 bit bus, I'd expect (800 * 2 * 64 / 8) = 12.8GB/s, which is consistent with a streaming copy bandwidth of around 5.5GB/s.

At 1600MHz, I'd expect to see 25.6GB/s - and I know there's display overhead, but for an optimized copy, it seems like we're not seeing the full performance of this system.

So, my questions:

0. Am I misreading the output/screwing up my math?
1. How can I verify the memory frequency in Linux?
2. Should uboot be setting the frequency to the maximum before handing off to a kernel that might not be adjusting it?
3. Should we have dynamic memory frequency stuff enabled in the kernel?

Thanks!

Well, darn.  I was looking at the LPDDR4 datasheet, should have been looking at the RK3399 datasheet.

Per IRC, it just doesn't support running the memory bus up that high.  Seems to be limited at 933 for DDR3, 800 for DDR4.

Was a good question, I suppose.


  You do not have permission to access this page
Posted by: impactice - 06-23-2020, 12:15 PM - Forum: General - Replies (7)

I just signed up and posted a message on a different board.

I was requested by a user to send him a PM, but clicking on the profile results in a "You do not have permission to access this page" message

I also have 1 private message waiting, but clicking on my own private messages link also results in "You do not have permission to access this page"

How do I fix this?

Thanks