opencardev / crankshaft

Crankshaft: A turnkey GNU/Linux solution that transforms a Raspberry Pi to an Android Auto head unit.
http://getcrankshaft.com
GNU General Public License v3.0
2.15k stars 260 forks source link

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

Open Hoerli1337 opened 6 years ago

Hoerli1337 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

TomK commented 6 years ago

@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 commented 6 years ago

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

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:

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

htruong commented 6 years ago

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

Hoerli1337 commented 6 years ago

@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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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?