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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 30,272
» Latest member: PrinterSolvedTeam
» Forum threads: 16,394
» Forum posts: 117,654

Full Statistics

Latest Threads
Printing from Mobian
Forum: Mobian on PinePhone
Last Post: PrinterSolvedTeam
Yesterday, 06:01 AM
» Replies: 3
» Views: 4,887
Satellite antenna
Forum: Community and Events
Last Post: biketool
10-26-2026, 02:46 PM
» Replies: 2
» Views: 514
Irradium (based on crux l...
Forum: Linux on Pinebook
Last Post: mara
10-25-2026, 04:11 AM
» Replies: 5
» Views: 14,884
Booting Issues
Forum: PineNote Software
Last Post: vlagged
10-23-2026, 12:14 PM
» Replies: 25
» Views: 26,075
Alpha One - no connectivi...
Forum: Getting Started
Last Post: Dabdarklighter
10-22-2026, 03:51 PM
» Replies: 1
» Views: 1,168
Article: The Advantages o...
Forum: General
Last Post: zetabeta
10-20-2026, 02:38 PM
» Replies: 2
» Views: 394
Star64 Irradium (based on...
Forum: Getting Started
Last Post: mara
10-19-2026, 12:27 PM
» Replies: 22
» Views: 21,477
StarPro64 Irradium (based...
Forum: Getting Started
Last Post: mara
10-19-2026, 10:01 AM
» Replies: 25
» Views: 16,228
Article: Will Linux phone...
Forum: General
Last Post: amosbatto
10-19-2026, 09:52 AM
» Replies: 11
» Views: 1,500
Login issues
Forum: PineTab Hardware
Last Post: Corkonian
10-17-2026, 02:34 AM
» Replies: 2
» Views: 478

 
  ROCK64 Custom OS / Bootloader development
Posted by: poeufr - 05-01-2018, 10:09 AM - Forum: General Discussion on ROCK64 - Replies (1)

Hi all,

Looking at http://opensource.rock-chips.com/wiki_Bo....2FTF_Card I can see that the BootROM will load into memory data from 0x40 on the SD card and then hand control to that second stage boot loader. It appears that BootROM will load the first 3960 bytes (0x40 to 0x4000) for stage 2, is this correct? Can anyone point me to source code for or a binary of idbspl.img or idbloader.img so I can examine a typical stage 2?

I am interested in developing my own OS from scratch, so I would like to write my own stage 2 bootloader and proceed from there.

Thanks for all your help. Smile


  Schematics, PCB loyout
Posted by: Andrius - 05-01-2018, 05:43 AM - Forum: Getting Started - Replies (1)

Hello Smile
is it possible to get the schematics and the pcb layout of SOPINE Baseboard “Model A”.
Why I need it? I want to create a custom form factor pcb, to fit it in to my project.
Huh


  Some GPU acceleration for basic 2D under linux
Posted by: graphical - 05-01-2018, 05:32 AM - Forum: Linux on Rock64 - Replies (2)

Hello all!

I've been designing this DIY 20" laptop with 15 hours of battery life and a 1080p screen all for myself, running on a potato of some kind (an SBC) and decided to pick the Rock64 for the USB3 and the amount of noob support.

I just dug into my newly received R64, only to find the desktop environments laggy and videos unplayable.
I spent about 7 hours looking into getting Mali Utgard drivers working, but haven't been able to figure it out.

What is the current state of Mali 450 drivers for the RK3328 SoC - is it possible to get 2D/video/3D acceleration working?
I don't mind using a light wm, but basic video playback for files and youtube are a must.


Thank you for your time.


Bug mpph264enc output doesn't work on bionic
Posted by: rompelstompel - 04-30-2018, 01:35 PM - Forum: Linux on Rock64 - Replies (11)

Hi 

I'm trying to use the rock64's hardware encoding capabilities. I'm super impressed with the decoding which has incredible performance! But encoding at this stage only works superficially and trying to decode it again fails.

The following produces unusable h264 (yes sudo is needed):

Code:
sudo gst-launch-1.0 -e videotestsrc is-live=false num-buffers=500 \ ! video/x-raw,format=NV12,width=1280,height=720 \ ! mpph264enc ! filesink location=1280.h264 Setting pipeline to PAUSED ... mpi: mpp version: Without VCS, under bleeding Pipeline is PREROLLING ... h264e_api: h264e_config MPP_ENC_SET_RC_CFG bps 3456000 [3240000 : 3672000] Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Got EOS from element "pipeline0". Execution ended after 0:00:13.884810768 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ...

When trying with ffprobe:
Code:
ffprobe -hide_banner 1280.h264 [h264 @ 0x55a113f730] Format h264 detected only with low score of 1, misdetection possible! [h264 @ 0x55a1140710] sps_id 32 out of range [h264 @ 0x55a1140710] missing picture in access unit with size 7208704 [h264 @ 0x55a1140710] sps_id 32 out of range    Last message repeated 2 times [h264 @ 0x55a1140710] no frame! [h264 @ 0x55a113f730] Stream #0: not enough frames to estimate rate; consider increasing probesize [h264 @ 0x55a113f730] decoding for stream 0 failed [h264 @ 0x55a113f730] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, h264, from '1280.h264':  Duration: N/A, bitrate: N/A    Stream #0:0: Video: h264, none, 25 tbr, 1200k tbn, 50 tbc [h264 @ 0x55a1141950] sps_id 32 out of range Could not open codec for input stream 0

I'm using a recent bionic build from ayufan:
Code:
Linux rock64 4.4.120-rockchip-ayufan-213 #1 SMP Sun Apr 29 20:27:33 UTC 2018 aarch64 aarch64 aarch64 GNU/Linux

Software versions:
Code:
$ dpkg -l | egrep '(ffmpeg|rockchip|gstreamer)' ii  ffmpeg                                    7:3.5~git20180113-1ayufan2        arm64        Tools for transcoding, streaming and playing of multimedia files ii  gir1.2-gstreamer-1.0                      1.14.0-1                          arm64        GObject introspection data for the GStreamer library ii  gstreamer1.0-libav:arm64                  1.14.0-1                          arm64        libav plugin for GStreamer ii  gstreamer1.0-omx-bellagio-config          1.12.4-1                          arm64        OpenMax plugins for GStreamer ii  gstreamer1.0-omx-generic                  1.12.4-1                          arm64        OpenMax plugins for GStreamer ii  gstreamer1.0-plugins-bad:arm64            1.14.0-1ubuntu1                   arm64        GStreamer plugins from the "bad" set ii  gstreamer1.0-plugins-base:arm64           1.14.0-2ubuntu1                   arm64        GStreamer plugins from the "base" set ii  gstreamer1.0-plugins-good:arm64           1.14.0-1ubuntu1                   arm64        GStreamer plugins from the "good" set ii  gstreamer1.0-plugins-ugly:arm64           1.14.0-1                          arm64        GStreamer plugins from the "ugly" set ii  gstreamer1.0-rockchip1                    1.10-5ayufan12                    arm64        The Gstreamer plugins for Rockchip RK3xxx platform. ii  gstreamer1.0-rockchip1-extra              1.10-1                            arm64        The Extra Gstreamer plugins for Rockchip platform. ii  gstreamer1.0-tools                        1.14.0-1                          arm64        Tools for use with GStreamer ii  gstreamer1.0-vaapi:arm64                  1.14.0-1                          arm64        VA-API plugins for GStreamer ii  libdrm-rockchip1:arm64                    2.4.89-1ayufan1                   arm64        Userspace interface to msm/kgsl kernel DRM services -- runtime ii  libffms2-4:arm64                          2.23-2                            arm64        Cross platform ffmpeg wrapper library ii  libgstreamer-gl1.0-0:arm64                1.14.0-2ubuntu1                   arm64        GStreamer GL libraries ii  libgstreamer-opencv1.0-0:arm64            1.14.0-1ubuntu1                   arm64        GStreamer OpenCV libraries ii  libgstreamer-plugins-bad1.0-0:arm64       1.14.0-1ubuntu1                   arm64        GStreamer libraries from the "bad" set ii  libgstreamer-plugins-bad1.0-dev           1.14.0-1ubuntu1                   arm64        GStreamer development files for libraries from the "bad" set ii  libgstreamer-plugins-base1.0-0:arm64      1.14.0-2ubuntu1                   arm64        GStreamer libraries from the "base" set ii  libgstreamer-plugins-base1.0-dev          1.14.0-2ubuntu1                   arm64        GStreamer development files for libraries from the "base" set ii  libgstreamer-plugins-good1.0-0:arm64      1.14.0-1ubuntu1                   arm64        GStreamer development files for libraries from the "good" set ii  libgstreamer-plugins-good1.0-dev          1.14.0-1ubuntu1                   arm64        GStreamer development files for libraries from the "good" set ii  libgstreamer1.0-0:arm64                   1.14.0-1                          arm64        Core GStreamer libraries and elements ii  libgstreamer1.0-dev                       1.14.0-1                          arm64        GStreamer core development files ii  librockchip-mpp-dev                       1.4.0-1ayufan3-2                  arm64        Media Process Platform ii  librockchip-mpp1                          1.4.0-1ayufan3-2                  arm64        Media Process Platform ii  librockchip-vpu0                          1.4.0-1ayufan3-2                  arm64        Media Process Platform ii  linux-headers-4.4.120-rockchip-ayufan-209 0.6.31                            arm64        Linux kernel headers for 4.4.120-rockchip-ayufan-209 on arm64 ii  linux-headers-4.4.120-rockchip-ayufan-213 0.6.34                            arm64        Linux kernel headers for 4.4.120-rockchip-ayufan-213 on arm64 ii  linux-image-4.4.120-rockchip-ayufan-209   0.6.31                            arm64        Linux kernel, version 4.4.120-rockchip-ayufan-209 ii  linux-image-4.4.120-rockchip-ayufan-213   0.6.34                            arm64        Linux kernel, version 4.4.120-rockchip-ayufan-213

The MPP stuff don't work at all with the mainline kernel which I also tried.


  USA manufacturing possibilities?
Posted by: Rustproof - 04-30-2018, 12:46 PM - Forum: News - Replies (3)

Any consideration on going with a US distribution company for the Rock64Pro or the other boards? There is a company out of California that specializes in quick-turn Printed Circuit Board Assembly.
https://www.laritech.com/


  Pinebook 14'' on sale
Posted by: milkaca - 04-30-2018, 12:18 PM - Forum: General Discussion on Pinebook - Replies (2)

Hi, I decided to sell my very little used 14'' Pinebook. It has one dead pixel, but I received it like that and it's very hard to spot it, I see it only during the boot on a totally black screen. Can ship world wide. Please contact me.


  gcc-multilib on ayufan's builds
Posted by: Malmgren - 04-30-2018, 10:55 AM - Forum: Linux on Rock64 - Replies (3)

Hi.
I'm trying to compile some 32 bit binaries on my Rock64, running ayufan's stretch-minimal 0.6.32. I'm stuck on the following:


Quote:Package gcc-multilib is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-multilib' has no installation candidate

Anyone knows what to do?

The reason I'm doing this is because openhab only works well on 32 bit Java on arm, so I have to run openhab and all it's dependencies in 32 bits. Java is up and running, what I need to do now is build telldus-core.

I've found threads with Raspberry users having the same problem, so I guess this is in some way arm related?

edit: Ok, looks like I'm completely stuck. Maybe it isn't possible compiling armhf binaries on arm64 anyway? Found this: https://stackoverflow.com/questions/4497...v8-machine


Smile [Archived] ANNOUNCING RECALBOX FOR THE ROCK64 - ALPHA RELEASE
Posted by: Mrfixit2001 - 04-30-2018, 04:43 AM - Forum: Linux on Rock64 - Replies (95)

ANNOUNCING RECALBOX FOR THE ROCK64 - ALPHA RELEASE


After many efforts with much teamwork, collaboration, and testing, we are very excited to provide the ALPHA release of RECALBOX for the ROCK64 board!

DOWNLOAD HERE: https://github.com/mrfixit2001/recalbox_rock64/releases

Details on the ROCK64 SoC can be found here: https://www.pine64.org/?page_id=7147

For those of you unfamiliar with the software: https://www.recalbox.com/ 
"Recalbox offers a wide selection of consoles and game systems. From the very first arcade systems to the NES, the MEGADRIVE, 32-bit platforms (such as the Playstation) and even Nintendo64. With Kodi already includeed, Recalbox also serves as a Media Center. By connecting it to your home network, you will be able to stream videos from any compatible devices (NAS, PC, External HDD, etc.)."

Please do keep in mind that this is an ALPHA release, which means you should EXPECT some things not to work. We have done a fair amount of testing on our own to try and resolve as many issues as we can before this release, but now you get to help! (Lucky you!) So if/when you do find things that don't work right, please use the link in github to report the issue.

When reporting issues:

  • Provide logs or screenshots of the issue so that we can see the error(s) you are seeing

  • Provide detailed steps for us to follow in order to reproduce the issue
A few things you can expect not to work or be included (yet):
  • Amstrad (Caprice) Emulator

  • Dreamcast (Reicast) Emulator

  • SPI booting from USB
Some things we have added:
  • Upgraded Kodi (and addons) from Krypton to Leia

  • InputStream.Adaptive Kodi Addon

  • Multiple N64 cores so that you can select which core works best for you on each ROM!

  • Overclocked the CPU and the GPU by default
Some things we have tested:
  • Bluetooth and Wifi adapters from the Pine store have been tested and work for sure

  • N64 core named "n64" is "GLES2N64" and runs Mario Kart pretty smoothly
Some important notes:
  • You can only boot this image only from an SD card (eMMC and USB currently do not work out of the box). To boot from eMMC you need to set root=/dev/mmcblk1p2 in extlinux.
  • Sometimes when the image first boots there can be a delay. Please be patient and let this complete. It should not happen on every boot.

  • We highly recommend that you install a heatsink on the board with this image! The temp without a heatsink sit at 76C when in EmulationStation - which is just 4C under thermal throttling. With a heatsink - even a poor one - the temps are at approx. 66C and around 73C when playing mariokart (24*C ambient temp).
"Where's the source code?"
The alpha release is just the compiled image at this time while the source is cleaned up and organized in preparation to be made available for the recalbox team to maintain. The source code will be added to this same repository as soon as possible.

Lastly, please remember this is a community build, and just something I've worked on in my free time. There's no pressure at all, but if you appreciate the work then feel free to send me a buck on paypal: mrfixit2001 at gmail.


Special thanks go out to Substring at Recalbox and LukasZ at Pine64 for all their efforts in testing and feedback!

- Mr Fix-IT


  [PROBLEM SOLVED] Distcc Help
Posted by: cooker - 04-30-2018, 03:43 AM - Forum: Linux on Rock64 - Replies (2)

I want to enable AppArmor on 4.4.77-rockchip-ayufan-136 on Rock64.  To do that, I need to compile into kernel two more lines:

Code:
CONFIG_SECURITY_APPARMOR_BOOTPARAM_VALUE=1 CONFIG_DEFAULT_SECURITY_APPARMOR=y

For learning purpose, I use distcc this time.  It will also enhances the usability of Rock64 if (test) compile of kernel can be a bit easier job.
For easy execution, I freshly build a Stretch VM on PC as distcc helper.  Because
1. it has exactly the same gcc --version as of the 136build : "gcc (Debian 6.3.0-18+deb9u1)"
2. no firewall on both VM and Rock64

I follow exactly the recipes here
https://github.com/ayufan-rock64/linux-b...-distcc.md
but things do not happen magically.

When running "top" on the VM, one or two "distcc" blinks shortly on the list around every 5 mins.
The /var/log/distccd.log consists a long list of
Code:
distccd[399] (dcc_job_summary) client: 192.168.0.52:54524 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:412ms cc drivers/base/devcoredump.c

While on the terminal to Rock64 where I fired
Code:
make -j 9 CC=distcc
it is fluid with
Code:
distcc[32589] (dcc_build_somewhere) Warning: failed to distribute, running locally instead

Can I conclude that network connection is established but something else is wrong?  Or, there is still some permission issues or what?

Or there is some compiler-related outstanding settings on the VM to fulfill the magic?
(gentoo and some other tutorials do quite some soft-link for gcc,..,g++;  not on the recipe here.)
When I run gcc -v, VM shows Target: x86_64-linux-gnu on VM, while Rock64 shows Target: aarch64-linux-gnu.  Do I need to align them, or output of gcc -v does not matter here?  If I do, what exactly should I do?  Run on VM a "export CROSS_COMPILES=??" or what?

Or, what else should I look into?

Thanks for your help.


  Write SPI Flash don't work
Posted by: djukonline - 04-29-2018, 01:09 PM - Forum: Linux on Rock64 - Replies (19)

Hi All,

I can not manage to write uboot to SPI with the installation procedure "flashing and procedure" on github.
I downloaded the latest u-boot-flash-spi.img.xz image and write on µSD with Etcher.
I boot from my µSD and I see the led flashing but there is no display on my screen. 
I left it all night, without result.

To test, I install xenial-minimal-rock64-0.6.33-211-arm64.img.xz image on micro sd but it does not work.
I reinstall xenial-minimal-rock64-0.5.15-136-arm64.img.xz image on micro sd but it work. If i update to v0.6.33, at reboot, it does not work anymore.

An idea?