Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Linux kernel sources for Firefly

46

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
46
Posted at 1/9/2015 03:03:38      1#
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?
Reply

Use props Report

46

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
46
Posted at 1/9/2015 05:26:06      2#

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!

Reply

Use props Report

46

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
46
Posted at 1/10/2015 01:17:35      3#

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.





Reply

Use props Report

46

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
46
Posted at 1/10/2015 06:40:33      4#
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







Reply

Use props Report

46

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
46
Posted at 1/10/2015 17:06:28      5#
Thanks for your suggestion naobsd. I will try using the sdk then






Reply

Use props Report

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

This forum Credits Rules

Quick Reply Back to top Back to list