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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,670
» Latest member: illuminati24
» Forum threads: 16,244
» Forum posts: 117,146

Full Statistics

Latest Threads
compass pdf link expired:...
Forum: General Discussion on PinePhone
Last Post: Kevin Kofler
1 hour ago
» Replies: 1
» Views: 34
Wake up Call
Forum: General Discussion on PinePhone
Last Post: biketool
Today, 06:18 AM
» Replies: 6
» Views: 280
Reinstallation Arch Linux...
Forum: General Discussion on PineTab
Last Post: victor_yeh
Yesterday, 11:17 PM
» Replies: 0
» Views: 41
I think you can try compi...
Forum: General Discussion on Pinebook Pro
Last Post: wangyukunshan
Yesterday, 02:25 AM
» Replies: 0
» Views: 80
Second screen mirroring
Forum: General
Last Post: OpalTromp
11-04-2025, 09:53 PM
» Replies: 2
» Views: 1,727
kivy app keeping focus wh...
Forum: Mobian on PinePhone
Last Post: Kevin Kofler
11-04-2025, 08:37 PM
» Replies: 1
» Views: 74
How to add an homemade ap...
Forum: Mobian on PinePhone
Last Post: JChdeL
11-04-2025, 04:13 AM
» Replies: 3
» Views: 312
Has anyone installed Tris...
Forum: General
Last Post: RandB
11-03-2025, 12:08 PM
» Replies: 1
» Views: 2,191
Xen hypervisor on Rock64
Forum: Linux on Rock64
Last Post: darkfader
11-03-2025, 09:25 AM
» Replies: 6
» Views: 9,718
[Article] RISC-V Ox64 BL8...
Forum: General
Last Post: smithjohns
11-03-2025, 12:54 AM
» Replies: 3
» Views: 9,483

 
  PineBuds Pro - pairing from laptop cli - one earbud only
Posted by: c6Q$! - 01-01-2023, 06:03 AM - Forum: Getting Started - Replies (2)

I'm trying to pair my PineBuds Pro using `bluetoothctl` from the command line on my laptop running Arch Linux. I can only pair to one earbud.

Steps to reproduce:

  1. Remove earbuds from case. Both buds flash blue repeatedly.
  2. L flashes red/blue; R flashes blue only
  3. Enter bluetoothctl interactive mode with `bluetoothctl`
  4. Scan for devices with `scan on`
  5. Lists bluetooth devices
  6. `pair <MAC address>` labelled PineBuds Pro
  7. Left earbud announces "pairing complete"
  8. Play music. Sound comes through left earbud only.

The earbuds are fully charged, paired, trusted and connected, but I can only pair with one earbud!

Has anyone else encountered this problem?

Thanks.

PS The earbuds work fine with my Android phone. The laptop works fine with a different bluetooth speaker.


  Mobian won't boot after ton of updates
Posted by: bartgrefte - 01-01-2023, 04:27 AM - Forum: PineTab Software - Replies (11)

Last night I fired up my PineTab after not having used it in some time. After having solved apt-get update "The following signatures were invalid..." Mobian had a ton (a little over a 1000) updates to install, after that was done I entered the reboot command.

Since then the only sign of life is the occasional clicking of the camera's when holding the power button (from 2-3 up to 10s), other than that nothing happens. No error, nothing.

Besides reflashing Mobian, are there any ways of figuring out why Mobian won't boot?


  flipping frames bug and workaround
Posted by: zetabeta - 01-01-2023, 04:05 AM - Forum: General Discussion on PinePhone - Replies (17)

flipping frames bug and workaround

for mobian phosh with kernel 6.1.
https://barrelmem.s3.eu-north-1.amazonaw...ingbug.mp4

i have concluded at this point that this bug is in two parts, powersaving part and frequency change part. practically all gnu/linux distributions and plasma and phosh are affected.

powersaving part seems to be more straightforward and more rare. this can be avoided by following.

Code:
# udev rule
KERNEL=="1c40000.gpu", SUBSYSTEM=="platform", DRIVER=="lima", ATTR{power/autosuspend_delay_ms}="-1"
KERNEL=="1c40000.gpu", SUBSYSTEM=="platform", DRIVER=="lima", ATTR{power/control}="on"

powersaving part is harder to replicate. you need some screen activity with some networking activity and possible cpu activity, it is not immediate.

frequency change part can by avoided by following:
Code:
# udev rule
KERNEL=="1c40000.gpu", SUBSYSTEM=="devfreq", ATTR{min_freq}="432000000"
KERNEL=="1c40000.gpu", SUBSYSTEM=="devfreq", ATTR{max_freq}="432000000"

however, in my situtation, frequency bug happens only in 1.2a hardware version and not in 1.2b. so i don't rule out possible hardware problem in 1.2a version or my specfic individual phone.

if you tech savvy enough and you have pinephone regular. could you test frequency part of this bug and say your hardware version (1.2 1.2a 1.2b etc). you only set powersaving part, then run glxgears in user interfaces without auto suspend, sreenlocks and screen saving. then run following script in background.
Code:
while true
do echo 432000000 > /sys/class/devfreq/1c40000.gpu/min_freq
echo 432000000 > /sys/class/devfreq/1c40000.gpu/max_freq
echo 312000000 > /sys/class/devfreq/1c40000.gpu/max_freq
done

generic copy paste:
Code:
# udev rule. this prevent flipping frames bug
# example file location /lib/udev/rules.d/98-preventflippingbug.rules
# powersaving part
KERNEL=="1c40000.gpu", SUBSYSTEM=="platform", DRIVER=="lima", ATTR{power/autosuspend_delay_ms}="-1"
KERNEL=="1c40000.gpu", SUBSYSTEM=="platform", DRIVER=="lima", ATTR{power/control}="on"
# frequency part, may not be needed
KERNEL=="1c40000.gpu", SUBSYSTEM=="devfreq", ATTR{min_freq}="432000000"
KERNEL=="1c40000.gpu", SUBSYSTEM=="devfreq", ATTR{max_freq}="432000000"

log file is for mobian phosh.



Attached Files
.txt   dmesg-powersavebug.txt (Size: 28.2 KB / Downloads: 359)

  Nemomobile in December 2022
Posted by: jmlich - 12-31-2022, 12:02 PM - Forum: Nemo Mobile on PinePhone - No Replies

What is new with NemoMobile in December? Huge step forward in porting to Qt6. Updating UX. Fixes in pinquery, lipstick, usb-moded, tuning messages app and polkit-agent. 

http://nemomobile.net/pages/nemomobile-i...mber-2022/


  Article: NuttX RTOS for PinePhone: Framebuffer
Posted by: lupyuen - 12-30-2022, 10:17 PM - Forum: PinePhone Software - No Replies

Suppose we’re running Apache NuttX RTOS on PinePhone… How will we create Graphical Apps for NuttX?

Today we’ll learn about the…

1. Framebuffer Interface that NuttX provides to our apps for rendering graphics

2. What’s inside the Framebuffer Driver for PinePhone

3. Mystery of the Missing Framebuffer Pixels and how we solved it (unsatisfactorily)

4. Creating NuttX Apps with the LVGL Graphics Library

NuttX RTOS for PinePhone: Framebuffer


  Try to boot armbian 22.02 on SoPine baseboard
Posted by: adjivas - 12-30-2022, 07:48 PM - Forum: Linux on PINE A64-LTS / SOPINE - Replies (1)

Hello,

I try to boot Armbian on the SoPine with baseboard from a eMMC module.

From armbian/pine64, I try some Arbian images.
I get this error:

Quote:U-Boot SPL 2022.07-armbian (Nov 30 2022 - 10:45:59 +0000)
DRAM: 0 MiB
### ERROR ### Please RESET the board ###

So I try this specialized image Armbian_22.11.1_Pine64so_bullseye_current_5.15.80.img.xz.
But it's stuck at the `armbi_root: clean` line:
Quote:U-Boot 2022.07-armbian (Nov 30 2022 - 10:45:55 +0000) Allwinner Technology

CPU:  Allwinner A64 (SUN50I)
Model: SoPine with baseboard
DRAM:  2 GiB
Core:  73 devices, 22 uclasses, devicetree: separate
WDT:  Not starting watchdog@1c20ca0
MMC:  mmc@1c0f000: 0, mmc@1c11000: 1
Loading Environment from FAT... Unable to use mmc 1:1...
In:    serial
Out:  serial
Err:  serial
Net:  phy interface11
eth0: ethernet@1c30000
MMC: no card present
** Bad device specification mmc 0 **
Couldn't find partition mmc 0
MMC: no card present
** Bad device specification mmc 0 **
Couldn't find partition mmc 0
starting USB...
Bus usb@1c1a000: USB EHCI 1.00
Bus usb@1c1a400: USB OHCI 1.0
Bus usb@1c1b000: USB EHCI 1.00
Bus usb@1c1b400: USB OHCI 1.0
scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
scanning bus usb@1c1b000 for devices... 1 USB Device(s) found
scanning bus usb@1c1b400 for devices... 1 USB Device(s) found
      scanning usb for storage devices... 0 Storage Device(s) found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
3259 bytes read in 2 ms (1.6 MiB/s)
## Executing script at 4fc00000
U-boot loaded from eMMC or secondary SD
Boot script loaded from mmc
155 bytes read in 2 ms (75.2 KiB/s)
MMC: no card present
** Bad device specification mmc 0 **
41777 bytes read in 4 ms (10 MiB/s)
3821 bytes read in 3 ms (1.2 MiB/s)
Applying kernel provided DT fixup script (sun50i-a64-fixup.scr)
## Executing script at 45000000
17114760 bytes read in 393 ms (41.5 MiB/s)
21934088 bytes read in 504 ms (41.5 MiB/s)
Moving Image from 0x40080000 to 0x40200000, end=41750000
## Loading init Ramdisk from Legacy Image at 4ff00000 ...
  Image Name:  uInitrd
  Image Type:  AArch64 Linux RAMDisk Image (gzip compressed)
  Data Size:    17114696 Bytes = 16.3 MiB
  Load Address: 00000000
  Entry Point:  00000000
  Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
  Booting using the fdt blob at 0x4fa00000
  Loading Ramdisk to 48fad000, end 49fff648 ... OK
  Loading Device Tree to 0000000048f3a000, end 0000000048facfff ... OK

Starting kernel ...

done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.36.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk2p1] fsck.ext4 -a -C0 /dev/mmcblk2p1
armbi_root: clean, 69593/130816 files, 435596/523264 blocks

My questions are:
- should I change any configuration files from the Armbian_22.11.1_Pine64so_bullseye_current_5.15.80.img.xz's image?
- should I try another image?

Thank's by advance


  Manjaro won't boot from EmmC
Posted by: adjivas - 12-30-2022, 06:25 PM - Forum: Linux on PINE A64-LTS / SOPINE - No Replies

Hello,

I have a Sopine Baseboard Model A
This board haven't a SD interface, it's has a eMMC interface.

I downloaded the last 22.06's image of Manjaro Arm from manjaro-arm/pine64-lts-images's repository.

I flashed my eMMC Module and mounted it on the Sopine baseboard, I connected my USB serial console/programmer and I power on the Sopine.

My problem is during the boot, nothing happen after the `Starting kernel ...` line.

Quote:% sudo screen /dev/ttyUSB0 115200
U-Boot SPL 2022.04-2 (May 05 2022 - 08:29:42 +0000)
DRAM: 2048 MiB
Trying to boot from MMC2
NOTICE:  BL31: v2.6(release):
NOTICE:  BL31: Built : 08:29:42, May  5 2022
NOTICE:  BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE:  BL31: Found U-Boot DTB at 0x209c938, model: SoPine with baseboard
SCP/INF: Crust v0.5.10000


U-Boot 2022.04-2 (May 05 2022 - 08:29:42 +0000) Manjaro Linux ARM

CPU:  Allwinner A64 (SUN50I)
Model: SoPine with baseboard
DRAM:  2 GiB
Core:  39 devices, 17 uclasses, devicetree: separate
WDT:  Not starting watchdog@1c20ca0
MMC:  mmc@1c0f000: 0, mmc@1c11000: 1
Loading Environment from FAT... Unable to read "uboot.env" from mmc1:1...
In:    serial
Out:  serial
Err:  serial
Net:  phy interface10
eth0: ethernet@1c30000
starting USB...
Bus usb@1c1a000: USB EHCI 1.00
Bus usb@1c1a400: USB OHCI 1.0
Bus usb@1c1b000: USB EHCI 1.00
Bus usb@1c1b400: USB OHCI 1.0
scanning bus usb@1c1a000 for devices... 1 USB Device(s) found
scanning bus usb@1c1a400 for devices... 1 USB Device(s) found
scanning bus usb@1c1b000 for devices... 1 USB Device(s) found
scanning bus usb@1c1b400 for devices... 1 USB Device(s) found
      scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc1(part 0) is current device
Scanning mmc 1:1...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
1:      Manjaro ARM
Retrieving file: /initramfs-linux.img
Retrieving file: /Image
append: initrd=/initramfs-linux.img console=ttyS0,115200 root=PARTUUID=1f2fe968-00ee-4b00-ad77-12e7c5c80fac rw rootwait audit=0 splash plymouth.ignore-serial-consoles
Retrieving file: /dtbs/allwinner/sun50i-a64-pine64-lts.dtb
Moving Image from 0x40080000 to 0x40200000, end=419e0000
## Flattened Device Tree blob at 4fa00000
  Booting using the fdt blob at 0x4fa00000
  Loading Ramdisk to 497f6000, end 49fff57e ... OK
  Loading Device Tree to 00000000497e9000, end 00000000497f5dd7 ... OK

Starting kernel ...

My questions are:
- Manjaro Arm isn't yet compatible with Sopine Baseboard?
- Should I change any files of configuration from the Manjaro Arm image?

Thank's by advance!


  Most recent Mobian image or installer image known to work?
Posted by: DrPlamsa - 12-30-2022, 09:28 AM - Forum: Mobian on PinePhone - Replies (13)

Hello all:

Please let me know the most recent Mobian image or Mobian installer image which you personally know works on the PP!

I'm having trouble getting a fresh install of Mobian to boot. I've used the Mobian image from 12/28 AND the Mobian installer image from that same date. I'm trying to troubleshoot where the problem lies; could it be with my install of tow-boot? The images from that date? Hardware? To isolate these effects and diagnose the problem, I'd like to use an image which is known to work. Thank you; you're really helping me out!

Some additional info:
I have reason to believe tow-boot was installed correctly: I installed the 2021/10-005 installer of tow-boot to an SD card and used the tow-boot installation GUI to flash it to the eMMC boot partition. Since then, the power on, volume up, and volume down behavior and LED lights has been consistent with tow-boot's docs, suggesting that tow-boot is functioning correctly.
I followed the instructions and didn't make any of the following obvious errors: I verified the sha256 checksums of all images. I unzipped them before dd'ing them. I flashed the right image to the right medium: Mobian image to eMMC via tow-boot's jumpdrive mode, Mobian installer image to SD card. Please do not post a link to the tow-boot or Mobian installation instructions. If you don't trust that I was following those, why bother responding at all?
The order of events is as follows: I try to boot from eMMC, and the LED stays yellow. Nothing ever displays on the screen. I try to boot from the SD card, and the LED stays cyan. Nothing ever displays on the screen. These behaviors are different if there is no SD card, or if the eMMC has been erased: Then it vibes and blinks red. So the phone is recognizing in some manner that the images are bootable in some way, it just never displays anything on the screen of the phone.


  eMMC problem with Tow-Boot/u-boot on SPI
Posted by: repa - 12-29-2022, 03:15 PM - Forum: General Discussion on Pinebook Pro - Replies (3)

I have a 2022 (July?) Pinebook pro.

I installed the latest Tow-Boot on the SPI, that works, but won't boot the eMMC, SD card booting works, haven't tried NVME.

The current Tow-Boot is based on the 2021.10 u-boot, so I think the problems are common to both.

I also successfully re-built Tow-Boot myself, and was able to add a patch with some debugging statements.

The problem seems to start when Tow-Boot tries to read multiple blocks off the eMMC, and the eMMC returns timeout in response to the stop transmission command that is supposed to close off the read command, in u-boot file drivers/mmc/mmc.c / mmc_read_blocks:

My (patched) version

Code:
    if (blkcnt > 1) {
        cmd.cmdidx = MMC_CMD_STOP_TRANSMISSION;
        cmd.cmdarg = 0;
        cmd.resp_type = MMC_RSP_R1b;
        if (mmc_send_cmd_quirks(mmc, &cmd, NULL,
                    MMC_QUIRK_RETRY_STOP_CMD, 4)) {
#if !defined(CONFIG_SPL_BUILD) || defined(CONFIG_SPL_LIBCOMMON_SUPPORT)
            pr_err("mmc fail to send stop cmd\n");
#endif
            return 0;
        }
    }

After this, the emmc is unusable, also from an os successfully booted from the sd card (Debian 11).

If I avoid writing to the emmc with Tow-Boot/u-boot, the emmc is readable and writeable from a Linux booted from the SD card. Both Linux and u-boot seem to access the eMMC with the DW drivers.

Any ideas/suggestions appreciated.


  Nextcloud Calendar and Contacts
Posted by: mark1250 - 12-29-2022, 12:52 PM - Forum: Mobian on PinePhone - Replies (3)

I've been testing Mobian Phosh on my Pinephone a64.

  • I am using the unstable repositories. - Debian GNU/Linux bookwork/sid
  • Gnome Version 43
  • phosh 0.23.0
  • Contacts 43.0
  • Calendar 43.1

According to the wiki, Nextcloud contacts and calendar events should sync but, I can't seem to get my Nextcloud calendar and contacts to show up in the apps.
  • I have entered the server address, user name, and user password in the Online accounts section of the Settings App.
  • I have Calendar, Contacts, and Files enabled in the Online accounts > Nextcloud section of the Settings App.

But, no Nextcloud contacts show in the Contacts App, and no calendar events show in the Calendar App.

Is this working for anybody? or is it just me?