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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 29,548
» Latest member: rapstar915
» Forum threads: 16,209
» Forum posts: 116,954

Full Statistics

Latest Threads
Brand new sealed Pinetime...
Forum: General Discussion on PineTime
Last Post: elver
Yesterday, 06:41 AM
» Replies: 0
» Views: 639
Call recording?
Forum: PinePhone Pro Software
Last Post: biketool
09-09-2025, 04:14 AM
» Replies: 7
» Views: 7,169
Thoughts after a year wit...
Forum: General Discussion on Pinebook Pro
Last Post: Frank23t
09-08-2025, 10:30 PM
» Replies: 4
» Views: 2,383
Why projects like PinePho...
Forum: General Discussion on PinePhone
Last Post: biketool
09-08-2025, 12:51 PM
» Replies: 4
» Views: 4,385
more mobile linux on redd...
Forum: General Discussion on PinePhone
Last Post: biketool
09-08-2025, 12:03 PM
» Replies: 2
» Views: 2,189
Anyone selling a Pinebook
Forum: Pinebook Hardware and Accessories
Last Post: ams
09-08-2025, 09:26 AM
» Replies: 2
» Views: 2,466
Having trouble reading MP...
Forum: Getting Started
Last Post: Alex92
09-05-2025, 08:49 PM
» Replies: 1
» Views: 3,574
Special keys stopped work...
Forum: General Discussion on PineNote
Last Post: cheepeero
09-05-2025, 07:32 PM
» Replies: 0
» Views: 2,704
Booting Issues
Forum: PineNote Software
Last Post: vlagged
09-04-2025, 12:52 PM
» Replies: 20
» Views: 10,575
Experimental Mobian kerne...
Forum: PinePhone Pro Software
Last Post: teekay
09-04-2025, 01:40 AM
» Replies: 11
» Views: 4,900

 
  SPDIF optical cable?
Posted by: zener - 12-23-2018, 04:06 AM - Forum: RockPro64 Hardware and Accessories - Replies (1)

Are there any SPDIF to optical cables which are suitable for the RockPro64 V2.1?

Is it supported in ALSA?


  MIPI CSI driver and/or documentation?
Posted by: zener - 12-23-2018, 03:52 AM - Forum: Linux on RockPro64 - No Replies

Is there a Linux driver for the MIPI CSI interface for the RK3399?

Or any documentation on the API to access the MIPI CSI interace and ISP of the RK3399?


  Serial communcation with USB to serial(DB9) cable
Posted by: rahulsharma - 12-23-2018, 12:38 AM - Forum: General Discussion on ROCKPRO64 - Replies (6)

Hi,
I am using Rockpro64 with Ubuntu18 image.
I have successfully done UART communication of rockpro through ttyS2 port(GPIO6,8) with my laptop.
No i have USB to serial(DB9) cable and i wanted to use one of the USB port of rockpro. I did try the same with 1500000 Baudrate but on my receiver side, i can see a garbage data is coming. I have tried different buadrates too but only garbage data is there.
Any suggestion? Can i use USB port for my serial communication?
Thanks.


  Unacceptable Disabling of Wifi Module
Posted by: axelf - 12-22-2018, 07:03 AM - Forum: RockPro64 Hardware and Accessories - Replies (5)

I am sitting here with a totally useless cluster of over £1300 worth of pinepro64  because the wifi module has been disabled in the 7.8 + build. Many people buy these clusters for testing off corporate networks for prototyping and technology evaluation where bleeding edge open source software can be downloaded without the usual security screening. The wifi module was purchased to act as a bastion host to achieve this goal, but have been thwarted because Pine sell a wifi module that cant be supported in linux!!   

It would appear that there are issues with the PCIe interface and teh decision was taken to disable the wifi in favour keeping the PCIe stable.

I have no issues with this, but surely it would have been courteous  to give people the choice to enable wifi or PCIe? 

I too have a NVMe PCIe Disk to add but network access is *critical*.   

Question: Has *anybody* been able to get the wifi module working full stop on the rockPro64 linux builds ?

I have tried 20 builds in 2 days of testing with no luck ... even a 7.7 bionic-lxde arm64 dose not seem to work,

even with this build rfkill seems to only see the BT interface [# rfkill list] device 0 there is not device 1 for wifi

there is also no wlan0 interface to configure,
  

### Deeper Dive ###

### OS Drivers ###
From the kern.log it appears that the wifi device is being detected as chip ap6354 and allocated IRQ 3
There is an entry for Rockchip WiFi chip interface (V1.00)
I can not see any errors to indicate that there is a HW detection issue or a driver initialization issue for the wifi module

There is also a kernal command line entry registering a MAC address of e6:72:16:1c:22:0e on a uart8250 device which is not the RJ45 Ethernet device and has no registered vendor, but this may well be something to do with the boot process mounting to the emmc chip that holds the root partition.... (so it looks like a red herring)

What I do see is a statement that;
"of_get_named_gpiod_flags: can't parse 'WIFI,poweren_gpio' property of node '/wirelesspwlan[0]'

So I am wondering if the disabling has been triggered by a GPIO pin.

If anybody has any documentation on this wifi device HW design, driver and intended configuration it would be appreciated.

When I solve this I will post back to the forum.   


### HW ###
The Block diagram schematics seem to indicate that it shares the PCIe bus, although looking at the chips and pinouts it seems the module is supposed to be using;

UART interface for BlueTooth
SDIO interface for Wifi  

What this has to do with PCIe I dont know ... i am going to have to do some research here to understand how different bus \ signalling technologies can share a PCIe interface,


  Battery case and power question
Posted by: Twistedx - 12-22-2018, 01:09 AM - Forum: Pine A64 Hardware, Accessories and POT - Replies (2)

I bought the pine64 battery case and will be running it as a backup power supply for fluxuations/shutdown of the 12v supply coming from my car. 

The battery case came and has 2 copper wires just floating over the battery area, do these need to be attached to anything? They are "glued" together...

Also since the primary power will be coming from the DC usb, when I turn the car off will the battery automatically kick in and run the board?


  xhci-hcd xhci-hcd.6.auto: ERROR Transfer event for disabled endpoint
Posted by: jzhang18 - 12-21-2018, 08:44 PM - Forum: Linux on RockPro64 - Replies (4)

I am using 4.4.132-1075-rockchip-ayufan kernel on Rockpro64 4GB board.

I boot from PCIe  SSD as roofs  and USB3 connecting a Seagate 2TB hard drive.

I recently notice this error:


Code:
xhci-hcd xhci-hcd.6.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring



How to solve the error?

Thanks in advance.


  testing latest ayufan u-boot (2017.09-rockchip-ayufan-1035-gd646df03ac)
Posted by: jandastroy - 12-21-2018, 09:49 AM - Forum: Linux on Rock64 - Replies (1)

I just wanted to share some messing around I've been doing to my rock64 today.  Currently I'm running the latest linux-rock64 from ayufan on Ubuntu Bionic.  I am using SPI to boot my system to a SSD I have plugged into the USB3 port.

Occasionally the u-boot has issues seeing the SSD properly and I have to reset the board a few times to get it to actually boot.  This wouldn't be an issue if it wasn't for the occasional power outage sending my system to an unresponsive state remotely since it is trapped in the bootloader without manual assistance.  Being willing to experiment I was considering trying to build u-boot myself, but I didn't get that far - I had noticed there was a new release flagged for build 1035 in ayufan's github.

Now I know I could just download the flash and do it that route, in fact that's what I had done last time I messed with the bootloader to get it to boot off the SSD in the first place with a pre-release at the time.  But I saw that the latest build was in the cache for APT and decided I would try and do it the linux way.

So this is where I realize that there's a bit of a problem with manually updating the bootloader through APT.  If I were to execute the command:

Code:
apt install 2017.09-rockchip-ayufan-1035-gd646df03ac

I would be met with APT having a bit of a meltdown regarding dependencies, wanting to remove linux-rock64, board-package-rock64 and u-boot-rockchip-rock64-2017.09-rockchip-ayufan-1025-g482cd6ec8b.

Knowing that the bootloader is not actually a hard dependency for the other components that I didn't want to bother manually reinstalling, I tried to edit /var/lib/dpkg/status manually to attempt to fix this.  Finding the section for linux-rock64, all I had to do was change this:

Code:
Depends: board-package-rock64-0.7-30, u-boot-rockchip-rock64-2017.09-rockchip-ayufan-1025-g482cd6ec8b, linux-image-4.4.132-1075-rockchip-ayufan-ga83beded8524, linux-headers-4.4.132-1075-rockchip-ayufan-ga83beded8524

... into this:


Code:
Depends: board-package-rock64-0.7-30, linux-image-4.4.132-1075-rockchip-ayufan-ga83beded8524, linux-headers-4.4.132-1075-rockchip-ayufan-ga83beded8524
Recommends: u-boot-rockchip-rock64-2017.09-rockchip-ayufan-1025-g482cd6ec8b


Suddenly, I could change out the bootloader using APT to pull the new package and proceed to update the SPI!  Next time I update linux-rock64 it will want to downgrade back to 1025, which isn't really a big deal since I would still have to reflash the SPI manually anyway.

Now, I don't really suggest doing this the way that I did, since the next time I update or change anything the information would just be overwritten and APT will actually use the dependency chain to want to downgrade back to 1025.  But I think it is worth noting that the packages that pull the u-boot image could probably be changed to recommend a specific bootloader versus a hard dependency on it.  This would allow us to use APT with the --no-install-recommends (or alternatively --install-suggests if it was changed to a suggested dependency) to bypass which bootloader you use more easily.

Or... you know, just flash with an SD card like a normal person.  It was a fun experiment and hopefully sorted the SSD boot issue.

Have a happy holidays everyone!


  Could use some help with 3,5 jack (no sound)
Posted by: Pepijn - 12-21-2018, 01:29 AM - Forum: General Discussion on ROCKPRO64 - Replies (2)

Hello,

Yesterday I just installed my Rock64Pro 2gb, and used the Libreelec with BelenaEtcher.

Everything is working fine.

But I have one problem, I can't get any sound out off the Rock.

In Kodi I have 3 options 2 regarding HDMI and 1 with Bluetooth All not working.

What I am trying to achieve is that the sound is going thru the 3,5 jack to my Edifier speakers.

Hope somebody can help, many thanks in advance.

Best regards Pepijn.
(From Holland)


  Help Building Android Kernel
Posted by: cocoastorm - 12-20-2018, 02:19 PM - Forum: Android on RockPro64 - Replies (1)

Hey,

Been trying to build the android kernel for the ROCKPRO64, as I've wanted to add support for a wifi usb dongle I'm using.

Using Kernel Source from ayufan: https://github.com/ayufan-rock64/android-kernel

The build is failing with:

Code:
drivers/built-in.o: In function `rk_pwm_config_v2':
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm
rence to `rk3368_lcdc_cabc_status'
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm
: relocation truncated to fit: R_AARCH64_CALL26 against undef
tatus'
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm
rence to `rk3368_lcdc_update_pwm'
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm
: relocation truncated to fit: R_AARCH64_CALL26 against undef
_pwm'
Makefile:815: recipe for target 'vmlinux' failed

Thanks!


  USB drive powered off after reboot
Posted by: huberttrz - 12-20-2018, 11:34 AM - Forum: Linux on Rock64 - Replies (1)

Hello,

I've got an SSD connected to my rock64 via USB3 and booting from it without issues.

Code:
$ lsusb
...
Bus 005 Device 002: ID 7825:a2a4

The only problem is when I reboot the system. The USB is powering off, but won't get powered on again. As a result the system won't boot. Checked on latest bionic-minimal, stretch-minimal, openmediavault, dietpi. When I boot from the sdcard the drive gets powered on at first and running fine. Then again after reboot the USB is powered off and system boots from sdcard with the USB drive powered off.
An older HDD doesn't have this issue and power is delivered to the USB after reboot so looks like problems with this specific enclosure.
Run a test on RPI3 and after reboot the drive gets powered on.
Do you have some ideas what I could look for / test to nail it down?

Thank you