Jump to content


Photo

Kernel source code


  • Please log in to reply
9 replies to this topic

#1 jim

jim

    Advanced Member

  • Administrators
  • 3,385 posts

Posted 12 February 2015 - 08:32 PM

Can some one please point me to kernel source code of this board?



#2 jim

jim

    Advanced Member

  • Administrators
  • 3,385 posts

Posted 12 February 2015 - 08:32 PM

There is a link to the image and the release notes here - 

http://www.pcduino.com/?page_id=14

However, I am not able to find a repo for the source code, so I am not sure if that's available or not.  Someone from the admin team would have to answer that probably.



#3 jim

jim

    Advanced Member

  • Administrators
  • 3,385 posts

Posted 12 February 2015 - 08:32 PM

Hi,

You can find A10 kernel and other goodies on github in linux-sunxi repo:

https://github.com/l...nxi/linux-sunxi

Pawel



#4 jim

jim

    Advanced Member

  • Administrators
  • 3,385 posts

Posted 12 February 2015 - 08:32 PM

FYI

http://www.pcduino.com/?p=957



#5 jim

jim

    Advanced Member

  • Administrators
  • 3,385 posts

Posted 12 February 2015 - 08:32 PM

As http://www.pcduino.com/?p=957
say. We can compile out 3.4.29 from linux-sunxi.
But in fact, linux-sunxi is 3.0, pcduino patch based on 3.4.29.
What's the problem?



#6 jim

jim

    Advanced Member

  • Administrators
  • 3,385 posts

Posted 12 February 2015 - 08:32 PM

@nengtiansh
If you get kernel source from https://github.com/l...nxi/linux-sunxi
please choose branch sunxi-3.4 for pcduino.



#7 jim

jim

    Advanced Member

  • Administrators
  • 3,385 posts

Posted 12 February 2015 - 08:33 PM

OK.  I remove linux-sunxi and try make again. Success build out 3.4.29.
Problem is I can't git pull in linux-sunxi. This operation will track wrong branch.



#8 jim

jim

    Advanced Member

  • Administrators
  • 3,385 posts

Posted 12 February 2015 - 08:33 PM

you can grab it from here too
https://github.com/l...e/sunxi-3.4.zip or reference 3.4 kernel here https://github.com/l...ference-3.4.zip



#9 LS-Support-12

LS-Support-12

    Forum Support

  • Moderators
  • 326 posts

Posted 14 February 2015 - 06:57 AM

There is a link to the image and the release notes here - 

http://www.pcduino.com/?page_id=14

 

This link is broken.



#10 nunja

nunja

    Advanced Member

  • Members
  • PipPipPip
  • 59 posts

Posted 17 February 2015 - 07:00 AM

@jim

 

In a regular linux distribution the kernel source used at the time it is delivered in a repo as a separate package. No need to send the customer to a github link.

Linksprite seems not to follow this procedure because you can't install a kernel source thru apt-get.

 

This leads to the problem that someone downloads the ZIP file you refered to in your message above but the ZIP contains a kernel version that doesn't correspond to the kernel installed. As a result someone can't simply (re)compile a kernel driver that loads into the running system.

 

See the kernel information you get on an installed Ubuntu sd image dated 11-10-2014 and compare the version info to the version contained in the ZIP file from github.

 

Linksprite should consider to include the corresponding kernel source package into a repository accessible thru apt-get.

 

While we are on github can you tell me how to extract the exact kernel version needed? Github is based on a versioning system so it must somehow be possible to retrieve a specific kernel release.


  • Mim likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users