Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Does it work with a Pine ROCK64? #79

Open
Hoerli1337 opened this issue Apr 21, 2018 · 13 comments
Open

Question: Does it work with a Pine ROCK64? #79

Hoerli1337 opened this issue Apr 21, 2018 · 13 comments
Labels
custom-hardware Issues or ideas involving supporting custom hardware future-enhancement Issues of this kind will have lower priority pre-alpha52 pre-alpha52

Comments

@Hoerli1337
Copy link

I ordered a Pine ROCK64 (Not here yet) and would like to ask briefly whether Crankshaft also works with the Pine.
I have two smartphones here I could test it with.
A Samsung Galaxy Note 8 Duos and a Note 3 (with Custome Rom).
If it doesn't work, I would be very happy if it is supported soon.

@htruong
Copy link
Member

htruong commented Apr 21, 2018

Probably not in the immediate future. I think next board I'm going to support is the TinkerBoard. But even that board is going to be a couple months out.

All those boards do have a chance, it just takes money and time to investigate. I'm just an independent developer with not many resources. So patience is key.

@Hoerli1337
Copy link
Author

I bought the ROCK64 because it has much more power and the pi seems to be a bit overloaded (when I watch the videos on YouTube).
I am aware that it takes a lot of time and money and that you are working on it alone.

@TomK
Copy link

TomK commented Apr 23, 2018

Also interested in the rock64. I'll poke around the code and try to learn more about the process involved with adding support for other boards. @htruong Any (even brief) process you may already have for this would be really appreciated. 👍

@Hoerli1337
Copy link
Author

@TomK You're my man!
If you need a test person, I am at your disposal.
I can't program, but find errors :)

@TomK
Copy link

TomK commented Apr 23, 2018

@Hoerli1337 good news is rock64 has the same cpu as the asus tinkerboard. So if @htruong is looking at that it may not be such a long haul.

@htruong
Copy link
Member

htruong commented Apr 23, 2018

@TomK:
If you need to get it to work with any custom board, I think the general direction is generally this:

  • Start with a clean stock image from the provider: raspbian, rock64 image, tinkerboard...
  • Try to compile Qt with the script in prebuilt.
  • Try to compile OpenAuto & aasdk according to aadsk wiki. Try to see if that works.
  • If it does, you need to "rescue" those binaries out of your test machine.
  • Transplant the binaries to another clean image (so we only have binaries, but no source) to see if that still works.

If all those works, you'll have to begin modifying crankshaft.sh to ask it to make it work with your board of choice. It does three things basically:

  • First, it downloads and resizes the image so we have enough space for the stuff we're going to install. It also copies the binaries to the image.
  • Second, it chroots to the image and apt install more stuff to the image by executing customize-image-pi.sh.
  • Third, it does some tweakings to make the filesystem read-only by executing read-only-fs.sh

To make it work minimally, you only need to do 1 & 2. 3 is the bonus, but I think it's not necessary.

@htruong
Copy link
Member

htruong commented Apr 23, 2018

@Hoerli1337 what a pity: All the performance issues have been resolved in the last month. The Pi works just fine now.

@htruong htruong added custom-hardware Issues or ideas involving supporting custom hardware future-enhancement Issues of this kind will have lower priority labels Apr 24, 2018
@Hoerli1337
Copy link
Author

@htruong I got now a Pi 3 B+ and install it.
Run perfect. Tested with Note 3 (Custom ROM) and Note 8 Duos (Stock).
I saw a view videos which are older than 2 month and they have some laggs.
I wanted to avoid this by the stronger performance of the ROCK64.

I realy like your work and hope that you will continue to support it.
I also hope that @TomK gets it to run on the ROCK64.

@TomK
Copy link

TomK commented Apr 25, 2018

Just thought I'd add that I have run crankshaft on my Pi 3B with pretty good performance. So even without the rock64 i'm happy.
My interest in the rock64 is because i took part in the initial pine64 kickstarter, and also because the performance is supposedly fantastic.

@htruong
Copy link
Member

htruong commented Apr 25, 2018

Great to hear. We will eventually expand to support other boards. But for now, it's a good thing to keep everything focused until we have more developers :)

@HahnRobin
Copy link

Hi!
I tried it (only with OpenAuto, but it is part of Crankshaft) and it is working. Slow, but working. I haven't optimized anything, just compiled it. I tried it with a Huawei P10 and I can use the maps and Spotify and everything.
I think, it is possible to get Crankshaft running on the Rock64. I will try to test Crankshaft when I will have a bit more time :) Keep up the good work!

@x13-me
Copy link

x13-me commented Jun 15, 2018

I'm interested in supporting these boards, as they're significantly lower cost, and have marginally lower power overheads than the Pi, it's good news that OpenAuto compiles and runs, that means Crankshaft can be supported, however I'll have to wait until I have hardware to test with

@inspector71
Copy link

inspector71 commented Aug 21, 2018

I think GPU drivers are the key to any of these SBC boards, rather than fabulous-sounding hardware specs. The VideoCore IV GPU on the Pi has received paid open source driver development after Broadcom opened up some of the source code in Feb 2014.

FWIW, I have a ROCK64 I've hardly used since purchasing it. AFAIK Pine rely on community builds to make their boards usable. That's not ideal. Who (or what) is "ayufan"? Turns out, it's a guy from Poland. His builds may work fine but they may not.

Most of these software images do not appear to have received updates for 12 months. Also one year ago, a release engineer for Fedora stated

biggest holdout is MALI, and that would need two open drivers or ARM to come to the table

in his State of open source accelerated GPUs on ARM article.

The ROCK64 sports an ARM MALI GPU that may be theoretically capable of 4K@60 FPS but perhaps that is like saying your car is capable of enormous power and top speed ... you'll rarely be able to experience that ... certainly on public roads, legally!

@HahnRobin well done getting OpenAuto compiled on ROCK64! Is GPU acceleration enabled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
custom-hardware Issues or ideas involving supporting custom hardware future-enhancement Issues of this kind will have lower priority pre-alpha52 pre-alpha52
Projects
None yet
Development

No branches or pull requests

7 participants