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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,462
» Latest member: Gregorycep
» Forum threads: 16,189
» Forum posts: 116,846

Full Statistics

Latest Threads
Password reset via u-boot...
Forum: PineNote Software
Last Post: lunnabae
8 hours ago
» Replies: 6
» Views: 1,643
incorporate a multimeter ...
Forum: General
Last Post: lalisa12
8 hours ago
» Replies: 2
» Views: 475
New PineNote: No WiFi aft...
Forum: PineNote Software
Last Post: krexplex
Yesterday, 01:09 PM
» Replies: 5
» Views: 1,400
Full desktop Surfing and ...
Forum: General Discussion on Pinebook Pro
Last Post: Pattienner
08-10-2025, 10:35 PM
» Replies: 2
» Views: 427
Any recommended brands/mo...
Forum: Pinebook Pro Hardware and Accessories
Last Post: fnfgopro
08-10-2025, 08:38 PM
» Replies: 2
» Views: 833
Thoughts after a year wit...
Forum: General Discussion on Pinebook Pro
Last Post: tantamount
08-10-2025, 02:25 PM
» Replies: 3
» Views: 597
Upgrading Armbian from v2...
Forum: Linux on Pinebook Pro
Last Post: Sb2024
08-09-2025, 06:53 AM
» Replies: 1
» Views: 720
Hello from Ukraine
Forum: P64-LTS / SOPINE Projects, Ideas and Tutorials
Last Post: Dendrocalamus64
08-08-2025, 07:13 PM
» Replies: 1
» Views: 76
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
08-08-2025, 04:48 PM
» Replies: 5
» Views: 352
PulseAudio dropouts after...
Forum: Linux on Pinebook Pro
Last Post: Dendrocalamus64
08-08-2025, 02:39 PM
» Replies: 2
» Views: 206

 
  RK3566 debug component clarification.
Posted by: Randomuser - 08-13-2022, 06:54 PM - Forum: General Discussion on Quartz64 - No Replies

So I've been debugging various things on my RK3566 based soquartz and standard debugging is becoming insufficient for my needs. Hardware tracing would be really nice to have and there is Coresight ETM support in Linux.

However before I spend lots of time trying to get it working can someone clarify for me if RK3566 actually has a functioning Coresight ETM component? If yes, is it version ETMv4 and what subcomponents it has(trace funnel? anything else)?

The RK3568 (that is supposedly very similar to rk3566) TRM document claims rk3568 has DAP-Lite2 debug component which is described on ARM;s website as "a simple debug component with no tracing capability."

So if there is no tracing capability why does the ROM table contain tracing components for each CPU? (listing below)

Code:
AP # 0x0
        AP ID register 0x24770002
        Type is MEM-AP APB2 or APB3
MEM-AP BASE 0x80000003
        Valid ROM table present
        Component base address 0x80000000
        Peripheral ID 0x0000080000
        Designer is 0x000, <invalid>
        Part is 0x000, Unrecognized
        Component class is 0x1, ROM table
        MEMTYPE system memory not present: dedicated debug bus
    ROMTABLE[0x0] = 0x01000003
        Component base address 0x81000000
        Peripheral ID 0x04007bb4e3
        Designer is 0x23b, ARM Ltd
        Part is 0x4e3, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x00, Miscellaneous, other
        Dev Arch is 0x47700af7, ARM Ltd "CoreSight ROM architecture" rev.0
        Type is ROM table
        MEMTYPE system memory not present: dedicated debug bus
    [L01] ROMTABLE[0x0] = 0x00001006
        Component not present
    [L01] ROMTABLE[0x4] = 0x00002006
        Component not present
    [L01] ROMTABLE[0x8] = 0x00004003
        Component base address 0x81004000
        Peripheral ID 0x04003bbd05
        Designer is 0x23b, ARM Ltd
        Part is 0xd05, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x15, Debug Logic, Processor
        Dev Arch is 0x47708a15, ARM Ltd "Processor debug architecture (v8.2-A)" rev.0
    [L01] ROMTABLE[0xc] = 0x00005003
        Component base address 0x81005000
        Peripheral ID 0x04003bbd05
        Designer is 0x23b, ARM Ltd
        Part is 0xd05, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x15, Debug Logic, Processor
        Dev Arch is 0x47708a15, ARM Ltd "Processor debug architecture (v8.2-A)" rev.0
    [L01] ROMTABLE[0x10] = 0x00006003
        Component base address 0x81006000
        Peripheral ID 0x04003bbd05
        Designer is 0x23b, ARM Ltd
        Part is 0xd05, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x15, Debug Logic, Processor
        Dev Arch is 0x47708a15, ARM Ltd "Processor debug architecture (v8.2-A)" rev.0
    [L01] ROMTABLE[0x14] = 0x00007003
        Component base address 0x81007000
        Peripheral ID 0x04003bbd05
        Designer is 0x23b, ARM Ltd
        Part is 0xd05, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x15, Debug Logic, Processor
        Dev Arch is 0x47708a15, ARM Ltd "Processor debug architecture (v8.2-A)" rev.0
    [L01] ROMTABLE[0x18] = 0x00008002
        Component not present
    [L01] ROMTABLE[0x1c] = 0x00009002
        Component not present
    [L01] ROMTABLE[0x20] = 0x0000a002
        Component not present
    [L01] ROMTABLE[0x24] = 0x0000b002
        Component not present
    [L01] ROMTABLE[0x28] = 0x0000c003
        Component base address 0x8100c000
        Peripheral ID 0x04003bbd05
        Designer is 0x23b, ARM Ltd
        Part is 0xd05, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x16, Performance Monitor, Processor
        Dev Arch is 0x47702a16, ARM Ltd "Processor Performance Monitor (PMU) architecture" rev.0
    [L01] ROMTABLE[0x2c] = 0x0000d003
        Component base address 0x8100d000
        Peripheral ID 0x04003bbd05
        Designer is 0x23b, ARM Ltd
        Part is 0xd05, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x16, Performance Monitor, Processor
        Dev Arch is 0x47702a16, ARM Ltd "Processor Performance Monitor (PMU) architecture" rev.0
    [L01] ROMTABLE[0x30] = 0x0000e003
        Component base address 0x8100e000
        Peripheral ID 0x04003bbd05
        Designer is 0x23b, ARM Ltd
        Part is 0xd05, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x16, Performance Monitor, Processor
        Dev Arch is 0x47702a16, ARM Ltd "Processor Performance Monitor (PMU) architecture" rev.0
    [L01] ROMTABLE[0x34] = 0x0000f003
        Component base address 0x8100f000
        Peripheral ID 0x04003bbd05
        Designer is 0x23b, ARM Ltd
        Part is 0xd05, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x16, Performance Monitor, Processor
        Dev Arch is 0x47702a16, ARM Ltd "Processor Performance Monitor (PMU) architecture" rev.0
    [L01] ROMTABLE[0x38] = 0x00014003
        Component base address 0x81014000
        Peripheral ID 0x04007bbd05
        Designer is 0x23b, ARM Ltd
        Part is 0xd05, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x14, Debug Control, Trigger Matrix
        Dev Arch is 0x47701a14, ARM Ltd "Cross Trigger Interface (CTI) architecture" rev.0
    [L01] ROMTABLE[0x3c] = 0x00015003
        Component base address 0x81015000
        Peripheral ID 0x04007bbd05
        Designer is 0x23b, ARM Ltd
        Part is 0xd05, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x14, Debug Control, Trigger Matrix
        Dev Arch is 0x47701a14, ARM Ltd "Cross Trigger Interface (CTI) architecture" rev.0
    [L01] ROMTABLE[0x40] = 0x00016003
        Component base address 0x81016000
        Peripheral ID 0x04007bbd05
        Designer is 0x23b, ARM Ltd
        Part is 0xd05, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x14, Debug Control, Trigger Matrix
        Dev Arch is 0x47701a14, ARM Ltd "Cross Trigger Interface (CTI) architecture" rev.0
    [L01] ROMTABLE[0x44] = 0x00017003
        Component base address 0x81017000
        Peripheral ID 0x04007bbd05
        Designer is 0x23b, ARM Ltd
        Part is 0xd05, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x14, Debug Control, Trigger Matrix
        Dev Arch is 0x47701a14, ARM Ltd "Cross Trigger Interface (CTI) architecture" rev.0
    [L01] ROMTABLE[0x48] = 0x0001c003
        Component base address 0x8101c000
        Peripheral ID 0x04003bbd05
        Designer is 0x23b, ARM Ltd
        Part is 0xd05, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x13, Trace Source, Processor
        Dev Arch is 0x47724a13, ARM Ltd "Embedded Trace Macrocell (ETM) architecture" rev.2
    [L01] ROMTABLE[0x4c] = 0x0001d003
        Component base address 0x8101d000
        Peripheral ID 0x04003bbd05
        Designer is 0x23b, ARM Ltd
        Part is 0xd05, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x13, Trace Source, Processor
        Dev Arch is 0x47724a13, ARM Ltd "Embedded Trace Macrocell (ETM) architecture" rev.2
    [L01] ROMTABLE[0x50] = 0x0001e003
        Component base address 0x8101e000
        Peripheral ID 0x04003bbd05
        Designer is 0x23b, ARM Ltd
        Part is 0xd05, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x13, Trace Source, Processor
        Dev Arch is 0x47724a13, ARM Ltd "Embedded Trace Macrocell (ETM) architecture" rev.2
    [L01] ROMTABLE[0x54] = 0x0001f003
        Component base address 0x8101f000
        Peripheral ID 0x04003bbd05
        Designer is 0x23b, ARM Ltd
        Part is 0xd05, Unrecognized
        Component class is 0x9, CoreSight component
        Type is 0x13, Trace Source, Processor
        Dev Arch is 0x47724a13, ARM Ltd "Embedded Trace Macrocell (ETM) architecture" rev.2
    [L01] ROMTABLE[0x58] = 0x00000002
        Component not present
    [L01] ROMTABLE[0x5c] = 0x00000002
        Component not present

It is clear we have a CTI, a PMU and an ETM for each core. Can anyone confirm/deny if those can be made to work?

BTW. If anyone is interested how to do hardware level debug on Quartz64 I wrote a quick description here: http://notes.zahoryzontnik.com/


  alarming sound coming from pinebook pro
Posted by: jazzhands - 08-13-2022, 06:47 PM - Forum: General Discussion on Pinebook Pro - Replies (2)

A couple days ago I received my Pinebook Pro. Immediately after first boot I started to hear an occasional startling sound coming from the lower half of the machine. It is the kind of sound that reminds me of a speaker getting its cable pulled out (although much "smaller" sounding of course). On the other hand, it plausibly sounds like a fan having a malfunction -- I have not heard a fan on this during use so far, presumably it has one?

If I had to guess, it is coming from the lower left side, e,g, under the caps lock and the meta key. It happens randomly, but at least 5 times in a couple hours of use.

Any ideas?

EDIT:
fwiw, https://forum.pine64.org/showthread.php?...#pid111949


  new PBP issues
Posted by: jpjnh - 08-13-2022, 01:47 PM - Forum: General Discussion on Pinebook Pro - Replies (9)

Got the new PBP this week. The first couple of hours went well getting setup. Have had the following issues:

  1. random humming for a few seconds followed by a popping sound coming from speakers.
  2. Then did not plug in before battery drained and next time I tried to boot after charging for a few hours, got the green power-on light but nothing on the display. I know the battery is charged so I suspect something on the software side has gone amiss. I ordered the emmc-usb adapter in order to flash new os. Will try that once I get it
  3. Today while booting off the Fedora32 image on an SD card, I got the popping sounds again and the keyboard dies.

Is this a defective laptop or are there things I can try to fix these issues? (Willing to try if there are options)


  A fix for Bluetooth audio stuttering on the RockPro64
Posted by: raph - 08-13-2022, 02:38 AM - Forum: Linux on RockPro64 - Replies (2)

Hello,

I've bought the wifi+blueooth module for the RockPro64 board (https://pine64.com/product/rockpro64-1x1...-0-module/).

I have been struggling to make Bluetooth audio work with it. It stuttered a lot, but yesterday I found a solution. Please test it and report back, I need feedback from a few people so I can submit a kernel patch with enough confidence.

Quick explanation: A patch that fixes the stutters on ROCK Pi 4 boards, also based on the rk3399 board with the same BCM4345C5 Bluetooth device, also on UART0, has been submitted last November: https://patchwork.kernel.org/project/lin...tions.com/

This fix sets the correct right max-speed and compatibility configurations for the Bluetooth device to work correctly. It is already present for the Pinebook Pro. The same fix needs to be applied for the RockPro64.

I'm using Armbian, so the following instructions might need to be adapted for other distributions, though the fix not to be specific to Armbian and the instructions might be generic enough.

I attached 3 files to this post. Please remove the .txt extensions when downloading them. Here's how to use them.

Testing quicky

First, I only tested this on linux 5.18. This is not the default kernel version on Armbian for the RockPro64. The default kernel is 5.15. To install version 5.18, you can use the armbian-config tool which will install the linux-image-edge-rockchip64 kernel. 5.15 might work but I haven't tested it.

So:

  • Backup your stuff. We are messing with boot files.
  • If you haven't already, install linux 5.18 (the linux-image-edge-rockchip64 kernel, which can be installed using armbian-config)
  • Download the rk3399-rockpro64-v2.dtb and rk3399-rockpro64.dtb files attached to this post. Remove the .txt extensions.
  • Then, as root (add sudo as needed):


Code:
cp /boot/dtb-5.18.0-rockchip64/rockchip/rk3399-rockpro64-v2.dtb{,.bak}
cp /boot/dtb-5.18.0-rockchip64/rockchip/rk3399-rockpro64.dtb{,.bak}
cp rk3399-rockpro64-v2.dtb /boot/dtb-5.18.0-rockchip64/rockchip/rk3399-rockpro64-v2.dtb
cp rk3399-rockpro64.dtb /boot/dtb-5.18.0-rockchip64/rockchip/rk3399-rockpro64.dtb

And then reboot. Be aware that any kernel upgrade will probably erase these files and you'll need to copy them back after upgrade.

These files actually come from a kernel build, so if you want, you can recompile the kernel with the fix.

Recompiling the kernel

The previous instructions are sufficient to use the fix. However, if you may want to recompile your kernel with this fix.

Apply the attached patch. I'm testing this on kernel 5.18. The patch should cleanly apply on versions 5.18 and 5.19. I've not tested this on 5.15. On Armbian, you can download the kernel sources using apt install linux-source-5.18.0-edge-rockchip64. You'll find the kernel sources and the config used in Armbian for the RockPro64 in the /usr/src folder. The following is sufficient to build the dtb files:

Code:
make dtbs

If you want to build deb packages, use make deb-pkg.



Attached Files
.txt   0001-arm64-dts-rockchip-Fix-Bluetooth-on-the-RockPro64-bo.patch.txt (Size: 1.57 KB / Downloads: 352)
.txt   rk3399-rockpro64-v2.dtb.txt (Size: 78.48 KB / Downloads: 396)
.txt   rk3399-rockpro64.dtb.txt (Size: 78.48 KB / Downloads: 384)

  Replacing Manjero with Ubunto on a PBP
Posted by: john.ismyname - 08-12-2022, 07:44 PM - Forum: General Discussion on Pinebook Pro - Replies (5)

A few months ago, I got a PBP, which I love! I do want to replace the factory loaded Manjero with Ubuntu. Please advise the procedure for this.

After never having used Linux before, I installed Ubuntu on a an old wounded Windows 11 machine without really knowing what I was doing and it worked!

I am this inclined to invoke the boot menu on start-up (is this ALT + F2 on PBP?) and install from the USB drive I used for the Win 11 machine.

Please advise.

- John


  The language I've added on settings doesn't appear
Posted by: Gon - 08-12-2022, 03:56 PM - Forum: PostmarketOS on PinePhone - Replies (2)

Hi,

As I describe on title, after putting a new language (spanish) on settings, there is still the same original language on system (even restarting).

So, is there any way to configure it properly?

Thanks.


  Kali on PBP?
Posted by: DrakkenWolfgang - 08-12-2022, 03:33 PM - Forum: General Discussion on Pinebook Pro - Replies (2)

Hey folks. Been enjoying messing around with my new PBP this past week. Manjaro out the box has been an enjoyable experience... However, I took a dive into trying Kali out on this & have ran into an issue. Cant seem to get internal wifi working on Kali SD boot or on emmc boot. Have attempted to list available interfaces but Kali seems to think I have nothing available. Am I potentially missing something? On a side note: this is my first time trying these systems on arm & have enjoyed things so far, issues aside.

Any suggestions on what I may be overlooking? Could it potentially be firmware/ drivers do not exist on my install? The image I am using is the current one offered on Kali official site for PBP.

Thanks for any info that can be provided!


  No USB and Ethernet
Posted by: kreyren - 08-12-2022, 08:40 AM - Forum: General Discussion on ROCKPRO64 - Replies (3)

See https://github.com/MichaIng/DietPi/issues/5661

tl;dr: I bought rp64 in like 2021 and did few tests on it mainly running Armbian and NixOS to see if everything works during which it was powered on for around 6 hours max with everything working fine as far as i can remember [https://github.com/Mic92/nixos-aarch64-images/issues/3].

Then i put it in a box without power for around a year and now i am trying to use it for further development, but i can't get USB and Ethernet to work on armbian, debian, DietPi and Manjaro images which leads me to suspect hardware damage -> Is there a way to diagnose what/if is wrong with it so that i can fix it? (I have experience with fixing and fabricating hardware i can do microsolder, reballing and make simple PCBs)



Attached Files
.txt   dmesg.txt (Size: 46.08 KB / Downloads: 349)

  Getting close to daily driving
Posted by: defactofactotum - 08-12-2022, 08:30 AM - Forum: SailfishOS on PinePhone - Replies (21)

The flash-it script is now working again for both sdcards and emmc. After an update to eg25manager several problems have been resolved, chiefly an incoming call now actually wakes the phone up. The display behaves correctly, wakes up immediately even after deep sleeps. Call audio is not great and the camera doesn't work at all - apart from that everything works, updated to 4.4.0.58.


  5GHz wifi not working
Posted by: snorwood - 08-12-2022, 06:56 AM - Forum: Linux on Pinebook Pro - Replies (11)

I have a new Pinebook Pro (August 2022 run).  It works fine in all other respects, but I have had zero luck with it recognizing 5GHz wireless networks with the included Manjaro distribution, a new Fedora installation, and a new Manjaro installation.  The 2.4GHz wireless service works fine, if a bit slowly.  The only way that I have managed to get 5GHz wireless to work is with an external RTL8812AU USB device (which worked immediately without any necessary configuration).

Is this a known issue?  If so, is it a hardware problem or a software one?  Am I missing a firmware update?