Firefly Open Source Community

Title: Linux kernel sources for Firefly [Print This Page]

Author: kamikaze    Time: 11/24/2014 17:11
Title: Linux kernel sources for Firefly

Hello. Where is it possible to download Linux kernel sources for Firefly?

http://wiki.t-firefly.com/index.php/Fir ... _kernel/en


Section "Fetch Source Code" is empty


Author: isle    Time: 11/25/2014 15:07
https://bitbucket.org/T-Firefly/firefly-rk3288







Author: busybee    Time: 11/25/2014 15:38

The Linux kernel source lands in the Android SDK.


We're extracting the kernel source from Android SDK for convenient retrievement.

Stay tuned.


Author: busybee    Time: 11/25/2014 16:36

Done.


You can check https://bitbucket.org/T-Firefly/firefly-rk3288-kernel.

The wiki page has also been updated.


Author: kamikaze    Time: 11/28/2014 16:37
Thanks! How long/hard it may take to upgrade kernel to 3.17/3.18 version?
Author: Astralix    Time: 12/1/2014 17:23

Hi kamikaze,

there are some people already busy with porting mainline kernel for a long time. And recently Rockchip people are supporting this. As a result the RK3 series of SOCs do at least boot into recent mainline. Even first approaches to video support are made and the work is still in progress.

I do use a 3.16 mainline kernel on a RK3188?board with ubuntu server. After some hand tuning it works quite good.?




Astralix, Crewrktablets
Author: zeno    Time: 1/9/2015 03:03
Hello guys,

I am trying to compile the kernel from the git with my debian box but I have this error:

  GEN     drivers/video/rockchip/screen/lcd.h
  LINK    vmlinux
  LD      vmlinux.o
  MODPOST vmlinux.o
  OBJCOPY pie/pie_stage1.o
  LD      pie/pie_stage2.o
built in linker script:165: undefined symbol `_GLOBAL_OFFSET_TABLE_' referenced in expression
make[1]: *** [pie/pie_stage2.o] Error 1
make: *** [vmlinux] Error 2

Can you help please?
Author: Echoa    Time: 1/9/2015 04:51

are you compiling mainline or the provided one?




if mainline i might check the make file in the pie folder, i think a makefile flag is what causes that




either - pic or -lresolv option







if the provided 3.10 one you might not have all the build dependencies installed, make sure you do.
Author: zeno    Time: 1/9/2015 05:26

are you compiling mainline or the provided one?


if mainline i might check the make file in the pie folder, i think a makefile flag is what causes that


either - pic or -lresolv option



if the provided 3.10 one you might not have all the build dependencies installed, make sure you do.



Hi,


thanks for your quick reply.

I am trying to compile the official one from the firefly git, so the 3.10.


It's weird because on Ubuntu I can compile it and apparently I have same dependencies. But maybe I am wrong and missing something in Debian. At the moment I compiled the kernel in Ubuntu and prepared the rootfs in debian.... I need to check if the rootfs is working.


One other thing... the WIki is saying to change the parameter to select the correct partition... is this considered the .config file?


Thanks!


Author: Echoa    Time: 1/9/2015 07:59

reason ubuntu will and plain debian wont is definitely a dependency issue. The dependencies are similar but there are things installed by default on ubuntu that arent on plain debian so i would research what the missing dependencies are.




as for the wiki info im not sure, wish i could help more there?
Author: zeno    Time: 1/10/2015 01:17

Thank you very much Echoa.




Actually I will first figure out how to install the kernel compiled with Ubuntu.

I noticed that the parameter file reported in the WiKi is readable from rkflashkit. Unfortunately it was not clear in the Wiki that you have to compile the kernel to match what you then write in the parameter file.




If I'll figure out how to do I wil write a short guide.






Author: Echoa    Time: 1/10/2015 06:08

to install the kernel you can use rkflashkit like the wiki says and you will need the kernel.img and resource.img that are compiled in the kernel folder at the top of the kernel tree, flash them to their respective locations using rkflashkit and you should be good to go.




any particular reason you wish to use plain debian vs ubuntu? if it has to do with not using unity you can always install ubuntu gnome which is what i use. Im currently on ubuntu gnome 14.04 with pf kernel, or you can also use linux mint which i hear is good also.
Author: zeno    Time: 1/10/2015 06:40
Reason to use Debian: ethics + I am using it as server. So don't need any Desktop



But we are OT.




For the kernel I still have some doubts about the parameter file and how to have it matching with the correspondant parameter in kernel config








Author: naobsd    Time: 1/10/2015 11:47

I am trying to compile the kernel from the git with my debian box but I have this error:

GEN ? ? drivers/video/rockchip/screen/lcd.h

LINK ? ?vmlinux

LD ? ? ?vmlinux.o

MODPOST vmlinux.o

OBJCOPY pie/pie_stage1.o

LD ? ? ?pie/pie_stage2.o

built in linker script:165: undefined symbol `_GLOBAL_OFFSET_TABLE_' referenced in expression

make[1]: *** [pie/pie_stage2.o] Error 1

make: *** [vmlinux] Error 2




please try default toolchain in SDK.




if you don't have SDK, you can get only toolchain by this way:?
http://radxa.com/Rock/install_toolchain



if you're not using x86 Linux, you'll need another way...
Author: zeno    Time: 1/10/2015 17:06
Thanks for your suggestion naobsd. I will try using the sdk then







Author: busybee    Time: 1/12/2015 17:14
We've updated the wiki page, stating to use the toolchian in Android SDK.
Author: tedd77    Time: 1/21/2016 02:11
Hello,

Is there a new build for UBUNTU image with a newer kernel than 3.10 ? I am working on an application where it requires to update according to the kernel version.
command :  

apt-get install -y linux-headers-`uname -r`

Returns the following errors :
E: Unable to locate package linux-headers-3.10.0
E: Couldn't find any package by regex 'linux-headers-3.10.0'

Thank you




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1