Jump to content
jim

Updating kernel

Recommended Posts

I'd like to update to the latest stable Linux kernel, which appears to be: 3.16.1, way newer than the 3.4.29 that is on the PCDuino image. I found a guide that showed how to cross compile a kernel on a PC, but I don't see where to pick the version of the kernel in that guide. 
I want to compile ON the PCDuino, and from the kernel sources I downloaded from kernel.org. What's the trick to doing that?

Share this post


Link to post
Share on other sites

Well, I'm taking a stab at just doing it. Downloaded the kernel source, did a make menuconfig, selected the options that seemed relevant, and then I ran make.. We'll see if I get a usable kernel out of this. wink.gif

Share this post


Link to post
Share on other sites
make[1]: `include/generated/mach-types.h' is up to date.
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  LINK    vmlinux
  LD      vmlinux.o
  MODPOST vmlinux.o
  GEN     .version
  CHK     include/generated/compile.h
  UPD     include/generated/compile.h
  CC      init/version.o
  LD      init/built-in.o
drivers/built-in.o: In function `sunxi_gates_clk_setup':
devfreq.c:(.init.text+0x6a40): undefined reference to `reset_controller_register'
make: *** [vmlinux] Error 1

Drat, stopped cold in the kernel compile by that. I'll try changing some options in menuconfig and try the build again.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×