Kernel sources / adding modules

Discussion in 'UDOO NEO' started by ddewaele, Dec 2, 2015.

  1. ddewaele

    ddewaele Member

    Joined:
    Dec 2, 2014
    Messages:
    48
    Likes Received:
    11
    Hi,

    I'm trying to run OpenVPN on the Neo but I think the kernel is currently lacking tunneling support.
    Where can I download the kernel sources and configure / build / install a new kernel ?

    For the Dual / Quad it was possible to build the https://github.com/UDOOboard/Kernel_Unico kernel from source, but I guess the Neo is running a more recent 3.6 based kernel.

    Are these sources hosted somewhere and can they be configured / built / installed much like the ones for Dual / Quad ?
     
  2. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
  3. ddewaele

    ddewaele Member

    Joined:
    Dec 2, 2014
    Messages:
    48
    Likes Received:
    11
    Thx ... I'm trying to add module support (DEVICE DRIVERS > NETWORK DEVICE SUPPORT > UNIVERSAL TUN/TAP DEVICE DRIVER.) but I'm unable to compile the kernel.... Any ideas ? (I'm following the instructions for the udoo dual / quad as I didn't find anything on the udoo neo).

    Code:
      Kernel: arch/arm/boot/Image is ready
      Building modules, stage 2.
      Kernel: arch/arm/boot/zImage is ready
    multiple (or no) load addresses:
    This is incompatible with uImages
    Specify LOADADDR on the commandline to build an uImage
    make[1]: *** [arch/arm/boot/uImage] Error 1
    make: *** [uImage] Error 2
    make: *** Waiting for unfinished jobs....
      MODPOST 168 modules
    
     
  4. ddewaele

    ddewaele Member

    Joined:
    Dec 2, 2014
    Messages:
    48
    Likes Received:
    11
    I managed to build the kernel using zImage.

    By specifying UIMAGE_LOADADDR I could build the kernel but I couldn't get it to boot. Building zImage did the trick.

    Code:
    make -j4 uImage UIMAGE_LOADADDR=0x10008000  modules > ~/build.log 2>&1
    
    
    scripts/kconfig/conf --silentoldconfig Kconfig
      CHK     include/config/kernel.release
      CHK     include/generated/uapi/linux/version.h
      CHK     include/generated/utsrelease.h
    make[1]: `include/generated/mach-types.h' is up to date.
      CALL    scripts/checksyscalls.sh
      CHK     include/generated/compile.h
      Kernel: arch/arm/boot/Image is ready
      Building modules, stage 2.
      LD      arch/arm/boot/compressed/vmlinux
      OBJCOPY arch/arm/boot/zImage
      Kernel: arch/arm/boot/zImage is ready
      UIMAGE  arch/arm/boot/uImage
    Image Name:   Linux-3.14.28
    Created:      Sat Dec  5 02:58:50 2015
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    4383480 Bytes = 4280.74 kB = 4.18 MB
    Load Address: 10008000
    Entry Point:  10008000
      Image arch/arm/boot/uImage is ready
      MODPOST 168 modules
     

Share This Page