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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,458
» Latest member: AI Influencers
» Forum threads: 16,190
» Forum posts: 116,848

Full Statistics

Latest Threads
Full desktop Surfing and ...
Forum: General Discussion on Pinebook Pro
Last Post: Pattienner
08-10-2025, 10:35 PM
» Replies: 2
» Views: 394
Any recommended brands/mo...
Forum: Pinebook Pro Hardware and Accessories
Last Post: fnfgopro
08-10-2025, 08:38 PM
» Replies: 2
» Views: 817
Thoughts after a year wit...
Forum: General Discussion on Pinebook Pro
Last Post: tantamount
08-10-2025, 02:25 PM
» Replies: 3
» Views: 581
Upgrading Armbian from v2...
Forum: Linux on Pinebook Pro
Last Post: Sb2024
08-09-2025, 06:53 AM
» Replies: 1
» Views: 709
Hello from Ukraine
Forum: P64-LTS / SOPINE Projects, Ideas and Tutorials
Last Post: Dendrocalamus64
08-08-2025, 07:13 PM
» Replies: 1
» Views: 62
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
08-08-2025, 04:48 PM
» Replies: 5
» Views: 336
PulseAudio dropouts after...
Forum: Linux on Pinebook Pro
Last Post: Dendrocalamus64
08-08-2025, 02:39 PM
» Replies: 2
» Views: 188
Simple Outdoor Weather St...
Forum: General Discussion on PineTab
Last Post: aria22
08-08-2025, 12:47 PM
» Replies: 0
» Views: 78
Armbian fix, current vers...
Forum: Linux on Pinebook Pro
Last Post: Sb2024
08-08-2025, 08:49 AM
» Replies: 0
» Views: 66
Experimental Mobian kerne...
Forum: PinePhone Pro Software
Last Post: teekay
08-08-2025, 05:39 AM
» Replies: 2
» Views: 195

 
  corrupt PBP
Posted by: jbradley419 - 07-15-2024, 08:21 AM - Forum: General Discussion on Pinebook Pro - Replies (2)

corrupt partition boots to busy box 1.36 i cannot boot to SD card with uboot  Any way to boot to SD card from busy box to reinstall os on EMMC?|


  postmarketOS: which kernel to choose?
Posted by: lllll - 07-15-2024, 01:05 AM - Forum: PineTab Software - Replies (2)

Hi,

I wanted to give postmarketOS a try, but now I'm a bit confused:


Code:
[08:40:47] Device codename: pinetab2
[08:40:51] Which kernel do you want to use with your device?
[08:40:51] Available kernels (2):
[08:40:51] * v0: Kernel for PineTab 2 Dev Units
[08:40:51] * v2: Kernel for PineTab 2 Early Adopter
[08:40:51] Kernel [v0]:

I wasn't able to find any information about different PineTab2 versions.

https://pkgs.postmarketos.org/package/ma...-kernel-v0
https://pkgs.postmarketos.org/package/ma...-kernel-v2


  The built-in camera cannot be found.
Posted by: dl8aax - 07-14-2024, 02:44 AM - Forum: PineTab Hardware - Replies (1)

Hello,
I bought the Pinetab2 to manage my bees at the apiary. For this I need the built-in camera.

Unfortunately the built-in camera cannot be found.


Code:
[alarm@danctnix ~]$ mpv av://v4l2:/dev/video0
[ffmpeg/demuxer] video4linux2,v4l2: Not a video capture device.
[lavf] avformat_open_input() failed
Failed to recognize file format.
Exiting... (Errors when loading file)
[alarm@danctnix ~]$

(sorry for my English, I'm translating with Google)


greetings, Dirk


  PinePhone Pro
Posted by: P. Siera - 07-13-2024, 12:02 AM - Forum: General Discussion on PinePhone - Replies (4)

I just received a new PinePhone Pro.
This is installed with Postmarket OS.
Postmarket OS starts normally. The SIM card installation is recognized. Entering the passcode is not possible; 123456 does not work.


  LibreOffice usable with Arch Linux on the Pinephone?
Posted by: Peter Gamma - 07-11-2024, 08:00 AM - Forum: Arch Linux on PinePhone - Replies (2)

Users complained that LibreOffice is not usable on the Pinphone screen. 

https://forum.pine64.org/showthread.php?...614&page=4

But in the following video it looks quiet usable starting from 5:15 in the video. 

https://youtu.be/BWk2Z2HjT7U

It is Arch Linux ARM with LXDE on PinePhone Pro. Is LibreOffice pre-installed and somehow adapted here? What are your thoughts about this?


in the comments of the YouTube video it says:

"This is Arch Linux ARM with LXDE running on the PinePhone Pro, IT IS NOT a mobile environment. However with some tweaks, it is possible to make it usable on a mobile device.

To accomplish this, I took the mtev input driver from ArchAndroid then compile it for aarch64 and installing a desktop environment of my choice. This setup (starting from barebone image) only took a few hours.

You can get the modified mtev driver below:
https://drive.google.com/drive/folder...

Arch images for PinePhone (Pro): https://github.com/dreemurrs-embedded...


  Have a Galaxy S5, want Phosh on it
Posted by: Eugo - 07-11-2024, 06:25 AM - Forum: PinePhone Hardware - Replies (3)

My current trouble with the PP is getting worse. For the last two weeks I had to check whether it lost the modem and whether it was time to reboot again. It would happen usually after a few hours. Then the periods when it would see its modem grew shorter and shorter. The last time I got it to communicate was on 7th, when I specifically rebooted it to make a call. That worked, and ten minutes later I couldn't make another call.

Two days ago I tried a few things, but now it not only doesn't turn the modem on anymore, it claims I don't have any sim card. This card worked fine for almost two years in this phone, and about three years in the old Nokla E5 before.

Today I tried to move the sim card to my wife's phone (no good, its slots are wider), so I put it back into my PP... and now it lost the battery too. The SD card is regularly there, megi's multi distro still boots off it.

So I'm giving up. I won't try to fix this. It was a nice adventure, but, frankly, the community can do only so much, and the Pine manufacturer has gone away to other projects too fast too far, so I feel the PP is simply an orphan now.

So, what now... Well, a while ago I was looking into a way to install Manjaro Phosh (or anything else Phosh) onto my daughter's old Samsung S5, which already has TWRP on it, so I think I only need an .img or .iso file... and while it's true that you can find anything on the internet, there's the notorious exception: you can't find twice. Been trying all morning and can't find it. Manjaro.org is undergoing maintenance, perhaps it's there somewhere but just can't reach it at the moment.

Perhaps someone here would know where to find such a distro...


It accidentally started working while I was writing the above... but can't trust it anymore. So my request stays.


  using spi and gpio
Posted by: nano2 - 07-09-2024, 07:16 PM - Forum: RockPro64 Hardware and Accessories - No Replies

I have had difficulty using the spi bus and/or spidev on the pine rockpro 64. It is now working and this information may help others.

I am using a MAx31865 RTD temperature sensor module which connects by SPI. I have used this on my orange pi PC (allwinner H3 - 32 bit) as a spidev device which works well. But migrating to the rockpro 64 was a big problem.

On the Rockpro 64 I used the Armbian_24.2.1_Rockpro64_jammy_current_6.6.16_xfce system. This only has Spidev1.x, but it is easy to change from using spidev0.x. However I was unable to get the spidev driver working. Oscilloscope observation showed that the CS pin (header pin) h24 is not toggled at all by the spidev driver. This can be overcome by embedding GPIO write commands around the spidev access to toggle the CS line. I could then transmit and recieve data but the data was corrupt. After many attempts I concluded that the spidev driver is faulty, but i did not want to mess with the device tree. I tried a more recent Armbian bookworm system, but it also failed. I checked other systems including free-bsd, twister, manjaro, ubunto-noble and bionic but none of them have a spidev driver. I installed the bitbang driver using armbian-config, but it does not provide a device in /dev and is not useful. (I presume you need to add a param... line in /boot/Armbianenv.txt but have seen no documentation of the required param) Eventually i resorted to writing my own bitbang subroutine. This was able to correctly access the RTD temperature device. I have given up on using spidev on the rockpro 64.

I had major issues with GPIO access from my C++ code. Wiring-pi does not work on rockpro and i found armbianio. This allows gpio control, but does not have pin-mapping for the rockpro64, however I was able to add the required pin tables easily. But note that several pages describing the pin numbering have typographical errors, in particular pin h19 is actually pad 40 (wrongly shown as pad 48 in several souces). This overcomes the "doesn't work" comments on some sources. This pin is important as it is usually MOSI of the spi bus. Although armbianio has SPI routines, these do not work - because of the suspected problem in spidev.

I cannot attatch a file  - so here is the t change information for the rockpro 64 pin mappings in armbianio.  You need to add this in armbianio.c and re-make. This must be added as the first pin table as the existing pin table indexing is corrupt. You also need to add the *iPinLists and *szBoardNames items.

// Pine RockPro 64  now added as #1 to avoid original indexing mess
  static int iRockPro64Pins[] = {-1, -1, -1, 52, -1, 53, -1, 152, 148, -1, 147,
                                    54, 120, 50, -1, 33, 36, -1, 149, 40, -1,
                                    39, 153, 41, 42, -1, 45, 43, 44, 155, -1,
                                    156, 124, 125, -1, 122, 126, 121, 123, -1, 127};
=====  fix these indexing lines also
static int *iPinLists[] = {iRockPro64Pins,  ipotatoPins, iBPIZPins, iRPIPins, iOPIZPPins, iOPIZP2ins, iOPIZPins, iOPI1Pins, iOPI1Pins,
                          iNPDPins, iNP2Pins, iNPK2Pins, iNPNPins, iNPNPins, iNPNPins, iNPM4Pins, iNPM4Pins,
                          iTinkerPins, iRadxaZeroPins, iMangoPiPins};      //total 20
static const char *szBoardNames[] = {"RockPro 64\n", "Le potato\n","Banana Pi M2 Zero\n","Raspberry Pi\n","Orange Pi Zero Plus\n",
                                    "Orange Pi Zero Plus 2\n","Orange Pi Zero\n","Orange Pi Lite\n","Orange Pi One\n",
                                    "NanoPi Duo\n", "NanoPi 2\n", "Nanopi K2\n", "NanoPi Neo\n", "NanoPi Air\n",
                                    "NanoPi Neo 2\n", "NanoPi M4\n", "NanoPi M4V2\n", "Tinkerboard\n", "Radxa Zero\n",
                                    "Mango Pi Mcore\n", NULL};  //total 20
static int iBoardType;
static int iPinCount[] = {40,40,40,40,29,29,29,43,43,32,40,40,40,40,40,40,41,41,40,41}; // number of pins in the header  rockpro64-40  total 20
// GPIO number of on-board IR receiver
static int iIR_GPIO[] = {0, 7, 0, 0, 363, 363, 363, 363, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};  //kgb  zero for pine at start, total now  21  !

===== my comment regarding tables in armbianio.c
//  this is a mess with only 17 pin-tables, but a key-list (below) of 20 boards!  Only the first few seem correct. RockPro 64 is correct if put as first


  boot/init sequenze into rescue mode
Posted by: TomZa - 07-09-2024, 09:35 AM - Forum: PineTab Software - No Replies

Hi all,

Problem: I messed up my getty@tty1.service file Undecided
                Now pinetab2 not opening a terminal.

Question: Is there a key combo to get into boot recovery mode (like with grub).
                 So I can mount a partition and edit the file.


Self-Bashing:  Yes, I did it while in a meeting and "quickly" changing sth. And of course I turned off sshd.
                        I have the UART but would love to avoid the serial console setup, or sd-card boot.


THX,
and I will promisse not to edit init stuff again while doing sth. else


  [Article] RISC-V Emulator for Pine64 Oz64 SBC
Posted by: lupyuen - 07-06-2024, 06:50 PM - Forum: General - Replies (2)

Earlier this year we made a RISC-V Emulator for Ox64 BL808 SBC. Every day we run it for testing the Daily Build of Apache NuttX RTOS for Ox64, thanks to our customised TinyEMU RISC-V Emulator. (Not the small flightless bird)

Now that NuttX supports Sophgo SG2000 SoC: Let’s create a similar emulator for Pine64 Oz64 SBC…

(1) We take TinyEMU Emulator for Ox64 BL808 SBC
(2) Update the RISC-V Memory Map to match Sophgo SG2000 SoC
(3) Fix the `auipc` Overflow in TinyEMU Boot Code
(4) We emulate the 16550 UART Controller
(5) By intercepting Reads and Writes to the UART I/O Registers
(6) But TinyEMU supports only 32 Interrupts, we bump up to 64
(7) Eventually we’ll emulate SG2000 Peripherals like GPIO
(8) Right now it’s good enough for Daily Automated Testing of NuttX for SG2000

Check out the article: RISC-V Emulator for Sophgo SG2000 SoC (Pine64 Oz64)

Lup

   


  I2C connections
Posted by: Beehee - 07-04-2024, 11:31 PM - Forum: PinePhone Pro Hardware - Replies (2)

I apologize if this has already been answered, but I am looking for information on the I2C ports on the PinePhone Pro. 

I am aware that the pogo pins on the back provide access to one of the busses. Is there a second I2C bus that can be accessed,  I looked at pictures of the main board and didn’t see anything obvious.