Firefly Open Source Community

   Login   |   Register   |
New_Topic
123
New Topic
Print Previous Topic Next Topic

3.14 Kernel

543

Credits

19

Prestige

15

Contribution

advanced

Rank: 4

Credits
543
Posted at 1/30/2015 10:05:53        Only Author  11#

Re: 3.14 Kernel

If I want to build my own 3.14 kernel for Firefly/RK3288 devices what do I have to change in the Chromium kernel source to make it bootable?

What is the correct kernel source to use.

Also for Mali GPU GLES acceleration, what files do I need to add/change in the Firefly Ubuntu RFS?

Anyone tried to compile ARM Linux Kodi with OpenGL GLES acceleration for improved video playback?

Are most things working, what isn't working?

Any help would be appreciated.

Reply

Use props Report

42

Credits

6

Prestige

10

Contribution

new registration

Rank: 1

Credits
42
Posted at 1/30/2015 17:05:12        Only Author  12#

Re: 3.14 Kernel

I would suggest you don't attempt unless your are experienced at kernel development because:


1. There are differences between the Firefly hardware and the Rockchip Chrome OS devices. Therefore you need to understand these differences and debug the kernel when there are problems.

2. The kernel is not complete there are a number of patches which are still in review.

3. The Mali drivers lacks performance because the binaries is old.

4. The state of the VPU support in kernel is unknown and isn't documented.

5. There's no/little documentation for the kernel drivers so you will have dig into the driver code to work out what is going on. You can spend days/weeks on this.

6. You also need to invest some (or considerable) time to understand the Chromium source tree to under what  patches are pulled in to build the Chromium rootfs for RK3288 which in it's itself can be time consuming.

Reply

Use props Report

12

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
12
Posted at 1/30/2015 18:24:38        Only Author  13#

Hi there, is there a chance to get this working for the regular linaro branc...

Hi there,


is there a chance to get this working for the regular linaro branch (does sound complicated since i dont understand the chromium-sources..).


Yours,

Jonas

Reply

Use props Report

42

Credits

6

Prestige

10

Contribution

new registration

Rank: 1

Credits
42
Posted at 1/31/2015 19:15:09        Only Author  14#

Re: 3.14 Kernel

"is there a chance to get this working for the regular linaro branch (does sound complicated since i dont understand the chromium-sources..)."


Little chance of that of happening without porting all the patches across. 'linux-rockchip' mainline should hopefully be adding hdmi/vga support so this may help.


I think its going take 1-2 months before you see working Mali drivers for fb/X11 furthermore given these will be the first release of the binaries there may be issues. Its also important to point out that the X11 drivers only accelerate egl/gles content (bettered suited to a full screen application) therefore don't expect a fully accelerated X11 desktop in the near future. This can have a detrimental impact for example running HTML5 code in a browser may still be software rendered which can hinder your applications performance.

Reply

Use props Report

244

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
244
Posted at 2/1/2015 18:05:23        Only Author  15#

Re: 3.14 Kernel

jas-rk,


you may know, Rockchip and Chromium OS project does something for VPU too

https://chromium.googlesource.com/chrom ... 4lplugins/

Reply

Use props Report

12

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
12
Posted at 2/3/2015 06:56:07        Only Author  16#

Re: 3.14 Kernel

Hi Jas,


Since I'm not that much interested in desktop applications this wouldn't be to hard for me. But since this claims to be a development-board, working drivers should at least be nothing one has to search for...


Yours

Jonas

Reply

Use props Report

42

Credits

6

Prestige

10

Contribution

new registration

Rank: 1

Credits
42
Posted at 2/3/2015 16:42:48        Only Author  17#

Re: 3.14 Kernel

Hi Jonas,

Unfortunately as of today in my opinion Firefly is a 'Android' development board. Like most of the ARM boards Linux software support intends to rely on a community effort which in turn relies on good co-operation from the SOC vendor (especially for CPU/VPU support). Historically the Chinese SOC vendors (AllWinner/Rockchip) haven't been willing to work closely with the community which has meant that most boards die a slow death.


We should see fb drivers released by ARM by the end of this week (fingers crossed) which should give us some GPU support unfortunately I had to raise the issue with ARM because Rockchip were unwilling to supply them (which isn't a good sign). From what I understand Rockchip should be releasing there own drivers in the forth coming months but will target the 'TopMetal' platform which must be a different h/w design from the current reference designs.


Again, in my opinion the challenges facing the Firefly are:


1. Application developers want an 'out of box' experience and not having to endure the arduous task of building kernels, working out how to get GPU/VPU support etc ...

2. The market is saturated with ARM boards and the lower end $35 boards have bigger community support plus closer co-operation with the SOC vendor.

3. The development community aren't willing to embrace the newer generation of boards because of the potential lack of co-operation from the SOC vendor based on historical experience.

4. The board is expensive (including taxes + shipping) and I would argue competes in the x86 space where Linux support is far superior.

Reply

Use props Report

12

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
12
Posted at 2/5/2015 17:29:38        Only Author  18#

Re: 3.14 Kernel

Hi Jas,

I think you're right. Since other promising boards have gone the same way (f.e. the radxa rock). I think this is sad, since the arm-based platforms have, in my eyes, a big potential even for big power-sucking applications. In regard of their low tdp, seemingly good graphics-chips and solid processors. Even though the Firefly is quite expensive: if it works it has a gpu with opencl-support, a noticable amount of memory and four fast-ticking cores of processing power on one 5V2A-powered board. Specifically the last thing is hard to achieve on the available x86 dev. boards.

Yours

Jonas

Reply

Use props Report

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240
Posted at 2/7/2015 11:05:00        Only Author  19#

Re: 3.14 Kernel

  • jas-rk


    Just found this from arm, may be of help for you

  • Like Show 1 Like(1)

Reply

Use props Report

543

Credits

19

Prestige

15

Contribution

advanced

Rank: 4

Credits
543
Posted at 2/7/2015 11:32:00        Only Author  20#

Re: 3.14 Kernel

But the mali.so compiled userspace drivers, where to put them /system/lib?

Do they auto load or need to change something if a new kernel is used.


Do the framebuffer drivers provide any benefit or improvement since they have no X11 support yet.

Reply

Use props Report

Return to List
123
You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list