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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,698
» Latest member: rth
» Forum threads: 16,260
» Forum posts: 117,188

Full Statistics

Latest Threads
Volumio (PINE A64-LTS / S...
Forum: Linux on PINE A64-LTS / SOPINE
Last Post: kapqa
Today, 02:02 AM
» Replies: 8
» Views: 15,502
Reinstallation Arch Linux...
Forum: General Discussion on PineTab
Last Post: rth
Yesterday, 08:25 PM
» Replies: 1
» Views: 203
Old Danctnix server in Pa...
Forum: PineTab Software
Last Post: brorean
11-21-2025, 08:45 PM
» Replies: 1
» Views: 124
PinePhone, PinePhone Pro,...
Forum: PinePhone Hardware
Last Post: brb78
11-20-2025, 04:15 PM
» Replies: 0
» Views: 102
Recycling pinephone as ho...
Forum: PinePhone Hardware
Last Post: biketool
11-20-2025, 09:04 AM
» Replies: 5
» Views: 603
Light Sensor / Proximity ...
Forum: General Discussion on PinePhone
Last Post: WhiteHexagon
11-18-2025, 03:07 PM
» Replies: 1
» Views: 168
How to stop it turning on
Forum: General Discussion on PinePhone
Last Post: biketool
11-18-2025, 02:30 PM
» Replies: 3
» Views: 474
8/24 status of JumpDrive
Forum: PinePhone Software
Last Post: biketool
11-18-2025, 01:27 PM
» Replies: 5
» Views: 2,165
Questions about running U...
Forum: General Discussion on PineTime
Last Post: alicesphere
11-18-2025, 12:48 AM
» Replies: 0
» Views: 100
Difficulty with openSUSE ...
Forum: PinePhone Software
Last Post: danm1988
11-17-2025, 07:49 AM
» Replies: 0
» Views: 102

 
  A list of supported OSes would be helpful
Posted by: blicken - 12-07-2019, 06:10 PM - Forum: Getting Started - Replies (2)

Im a new user of pine phone, indeed my phone has yet to arrive.
Im just wondering what my OS options are, I think it would be handy if there was a list of functional and tested OS builds to choose from.
Is there such a thing already? Have I simply missed it?


  Hardening your Pinebook Pro software
Posted by: Arwen - 12-07-2019, 03:33 PM - Forum: Pinebook Pro Tutorials - Replies (4)

Here is a guide to some of the hardening you can do on your Pinebook Pro's OS and applications. Each post will be dedicated, (and edited for corrections and updates), for a specific type of hardening.


Hardening SSH:


Disable Root login:
File - /etc/ssh/sshd_config
PermitRootLogin no
Service - systemctl restart sshd


One other thing that probably should be done, is re-create the host SSH keys. SSH host keys should be unique per host. From what I can tell, the default Debian comes with host SSH keys already created from July 11, 2019;
Code:
# ls -l ssh_host_*
-rw------- 1 root root  668 Jul 11 16:55 ssh_host_dsa_key
-rw-r--r-- 1 root root  609 Jul 11 16:55 ssh_host_dsa_key.pub
-rw------- 1 root root  227 Jul 11 16:55 ssh_host_ecdsa_key
-rw-r--r-- 1 root root  181 Jul 11 16:55 ssh_host_ecdsa_key.pub
-rw------- 1 root root  411 Jul 11 16:55 ssh_host_ed25519_key
-rw-r--r-- 1 root root  101 Jul 11 16:55 ssh_host_ed25519_key.pub
-rw------- 1 root root 1675 Jul 11 16:55 ssh_host_rsa_key
-rw-r--r-- 1 root root  401 Jul 11 16:55 ssh_host_rsa_key.pub
Plus, remove the in-secure DSA host key.


Here is how to do it.
As user "root", simply run the following commands. If you like, you can put the hostname in the comment, like "MyHost rsa hostkey".
Code:
cd /etc/ssh
rm ssh_host_*
ssh-keygen -b 4096 -t rsa -C "rsa hostkey" -f ./ssh_host_rsa_key
ssh-keygen -b 521 -t ecdsa -C "ecdsa hostkey" -f ./ssh_host_ecdsa_key
ssh-keygen -t ed25519 -C "ed25519 hostkey" -f ./ssh_host_ed25519_key
Note that you will be asked for a passphrase. Per SSH manual page, host keys must have an empty passphrase. Simply hit return when prompted, (twice per key).

Hardening NTP;

Don't allow others to use Pinebook Pro for time source:
File - /etc/ntp.conf
restrict 127.0.0.1 nomodify nopeer noquery limited kod
restrict [::1]
interface ignore wildcard
interface listen 127.0.0.1
interface listen ::1
Service - systemctl restart ntpd

Disable Samba services, (if you are not using them);

Disable services:
systemctl stop smbd
systemctl disable smbd
systemctl stop nmbd
systemctl disable nmbd

Disable  Avahi, (zeroconf & service discovery);

Disable service:
systemctl stop avahi-daemon.service
systemctl stop avahi.daemon. socket
systemctl stop dbus-org.freedesktop.Avahi.service
systemctl disable avahi-daemon.service
systemctl disable avahi.daemon. socket
systemctl disable dbus-org.freedesktop.Avahi.service

Chromium browser:
Launcher change: --password-store=basic


  Doubts about Bootloader
Posted by: tuxd3v - 12-07-2019, 02:24 PM - Forum: Linux on RockPro64 - No Replies

Hello all,
I have tried to build Rockpro64 bootloader..

But I am still confused with the methodology/ tools used..

I am using ATF mainline + u-Boot..
But it seems that the boards uses OPTEE Trusted Execution Environment instead of ATF?

Is this scheme bellow correct?

Code:
+--------+----------------+----------+-------------+---------+
| Boot   | Terminology #1 | Actual   | Rockchip    | Image   |
| stage  |                | program  |  Image      | Location|
| number |                | name     |   Name      | (sector)|
+--------+----------------+----------+-------------+---------+
|        |                |          |             |         |
| 2      |  Secondary     | U-Boot   |idbloader.img| 0x40    | pre-loader
|        |  Program       | TPL/SPL |             |         |
|        |  Loader (SPL)  |          |             |         |
| 3      |  -             | U-Boot | u-boot.itb  | 0x4000  | including u-boot and atf
|        |                |          |             |         |
| 4      |  -             | /boot  | boot.img    | 0x8000  |
|        |                |          |             |         |
| 5      |  -             | /  | rootfs.img  | 0x40000 |
+--------+----------------+----------+-------------+---------+

Does I need OPTEE 'tee.bin'( renamed as bl31.elf )??

I am already using ARM Trusted Firmware bl31.elf..
Can somebody help me?

Thanks in Advance,
Best Regards
tux


  Printers?
Posted by: mspohr - 12-07-2019, 01:20 PM - Forum: Pinebook Pro Hardware and Accessories - Replies (9)

Didn't seem to have any printer configuration in the default distribution.
I used Synaptic to install CUPS and this found a few network printers. However, no way to configure them so they mostly print blank pages.
I installed system-config-printer but it won't  authenticate. When I go to add a new printer, it asks for username and password (I only have the default) but tells me "not authorized".
Any suggestions for getting printing to work (obviously a newbie here).


  Best Pinebook Pro power supply choice for Argentina
Posted by: LaCaradeculito - 12-07-2019, 11:39 AM - Forum: General Discussion on Pinebook Pro - Replies (4)

Hi.

I'm about to order a Pinebook Pro but still not sure about the power supply option, which is EU or US formats. My country is Argentina. We use 220v. As for the plug, I guess I'll need an adapter anyway: it's the type used in Australia.

Does it make any difference to choose one or the other?

Thank you very much.
M.

Pd.  I'm new to the forum. Sorry if this is not the best place to post it, or if there's already a thread for this topic. I couldn't find useful information after a search.


  RockPro64 as PATA/SATA bridge?
Posted by: Count Omega - 12-07-2019, 07:41 AM - Forum: RockPro64 Projects, Ideas and Tutorials - Replies (1)

Hi all,

I´ve been wondering about some time now if it is possible to build a PATA device to SATA jack bridge via the RockPro64. I know this would run at very slow speeds and there are already adapters. How can the GPIO pins be utilized? I want to do this to learn more about how to work with single board computers.

Best regards

Count Omega


  Availability
Posted by: DShimoda - 12-07-2019, 06:42 AM - Forum: General - Replies (1)

Hi all!
I'm new to the forum.
I'm from Italy and I'm very interested into this project :-)

My questions are:
Is the brave heart edition fully functional?
Does the pine64 installer utility provides OSes for the brave heart edition including and not limiting to vanilla Android images?

There are istructions to install personalized images and/or how to hack them?

Thank you very very much.
Yours.
M.


  Problem with launch Pinebook Pro
Posted by: Wawe - 12-07-2019, 03:31 AM - Forum: General Discussion on Pinebook Pro - Replies (5)

Hello there,

Finally came my Pinebook Pro Smile, I read this post https://forum.pine64.org/showthread.php?tid=4632  and charged him. But after I pushed power button 5-10sec nothing is happen. I found that during charging, red diode shone something around 3 min and then turn off until I plug out charging cable and again plug in. I repeat this procedure couple days and red diode shone a little bit longer but still the notebook doesn't work.

Can you help me please?

Thanks


  Impulse buy, super excited.
Posted by: noomi - 12-07-2019, 03:16 AM - Forum: General Discussion on PinePhone - Replies (1)

Just got my order in, very exited to get tinkering with this thing in Janurary (or... maybe they will come even sooner?). Curious if there's any waterproof cases in the works... also curious if pinetime is going to be waterproof. I'd eventually like to replace my apple watch and iphone with these for my outdoor activities as soon as the platform is ready. I love kayaking/camping/hiking and I want to create a distro custom tailored to my outdoor activities.

What is everyone else around here excited to experiment with? Anyone been doing any 3d printing of accessories? I'm excited to try out GNURadio out on the phone with my hackrf one too...

Anyway I hope this project becomes a huge success.


  Running Panfrost?
Posted by: ab1jx - 12-06-2019, 03:09 PM - Forum: Linux on Rock64 - Replies (5)

Or ultimately Vulkan.  I've been going in circles for a week or so between my Rock64 and my Odroid N2 trying to get the Malis to do anything remotely like acceleration or being controlled by a language like OpenGL ES or Vulkan, under X11 anyway.  ARM/Mali only supports Wayland (and Android) at least from some point on.  Panfrost is supposed to work with the older 2Mali families, not Bifrost but Utgard and Midgard.

So Panfrost https://panfrost.freedesktop.org/ attempts to change that.  I have Panfrost installed on my Rock64 but there's one catch:

Quote:Use a mainline kernel version 5.2 or later with CONFIG_DRM_PANFROST enabled


If I run es2gears it runs at about 200 FPS but it's also using 120% of the CPU because it's doing software emulation instead of using the Mali.  When I first got this Rock64 about a year ago I thought es2gears ran at about 600 FPS.  Then something broke, it sat for 6 months, I reloaded with Ayufan's Buster image, and now it's slow.  The kernel part of a Mali driver is free and open source https://developer.arm.com/tools-and-soft...ard-kernel  I'm not sure if I need to try to get Ayufan's kernel config and set up a kernel or not.  I have a /dev/dri and /dev/mali  and /dev/fb0.

-----------

OK, I just tried Lima too, it's about the same.  There are some Mali userspace drivers at https://developer.arm.com/tools-and-soft...user-space but it's hit-or-miss.  The Rock64 has a Mali 450mp2 which is an Utgard family so Lima should work.  https://gitlab.freedesktop.org/lima

My dmesg shows "mali-utgard" like it's a driver name or something and  locate "drivers/gpu/arm" finds
Code:
/lib/modules/4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/kernel/drivers/gpu/arm
/lib/modules/4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/kernel/drivers/gpu/arm/mali400
/lib/modules/4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/kernel/drivers/gpu/arm/mali400/mali
/lib/modules/4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/kernel/drivers/gpu/arm/mali400/mali/mali.ko
/lib/modules/4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/kernel/drivers/gpu/arm/midgard_for_linux
/lib/modules/4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/kernel/drivers/gpu/arm/midgard_for_linux/midgard_kbase.ko
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost/Makefile
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost/Makefile.kbase
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost/platform
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost/platform/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost/tests
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost/tests/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost/tests/kutf
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost/tests/kutf/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost/tests/kutf/Makefile
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost/tests/mali_kutf_irq_test
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost/tests/mali_kutf_irq_test/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost/tests/mali_kutf_irq_test/Makefile
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost_for_linux
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost_for_linux/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost_for_linux/Makefile
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost_for_linux/Makefile.kbase
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost_for_linux/platform
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost_for_linux/platform/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost_for_linux/tests
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost_for_linux/tests/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost_for_linux/tests/kutf
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost_for_linux/tests/kutf/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost_for_linux/tests/kutf/Makefile
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost_for_linux/tests/mali_kutf_irq_test
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost_for_linux/tests/mali_kutf_irq_test/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/bifrost_for_linux/tests/mali_kutf_irq_test/Makefile
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/mali400
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/mali400/mali
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/mali400/mali/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/mali400/mali/Makefile
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/mali400/ump
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/mali400/ump/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/mali400/ump/Makefile
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/mali400/ump/Makefile.common
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/mali400/umplock
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/mali400/umplock/Makefile
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard/Makefile
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard/Makefile.kbase
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard/platform
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard/platform/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard/tests
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard/tests/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard/tests/kutf
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard/tests/kutf/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard/tests/kutf/Makefile
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard/tests/mali_kutf_irq_test
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard/tests/mali_kutf_irq_test/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard/tests/mali_kutf_irq_test/Makefile
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard_for_linux
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard_for_linux/Kconfig
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard_for_linux/Makefile
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard_for_linux/Makefile.kbase
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard_for_linux/platform
/usr/src/linux-headers-4.4.190-1233-rockchip-ayufan-gd3f1be0ed310/drivers/gpu/arm/midgard_for_linux/platform/Kconfig


lsmod shows a mali module loaded, I have a /dev/mali, so how come it doesn't work?  (or is it?)

When I'm running es2gears lsof doesn't list /dev/mali as being open.