recompile kernel

Discussion in 'Linux Ubuntu' started by daddym85, Apr 8, 2014.

  1. daddym85

    daddym85 New Member

    Joined:
    Feb 14, 2014
    Messages:
    6
    Likes Received:
    0
  2. peter247

    peter247 Member

    Joined:
    Mar 10, 2014
    Messages:
    263
    Likes Received:
    2
    apt-get install build-essential libncurses5-dev
    git clone https://github.com/UDOOboard/Kernel_Unico kernel
    cd ~\kernel
    make ARCH=arm UDOO_defconfig
    make menuconfig # <---- add whatever
    make -j4 uImage modules
     
  3. daddym85

    daddym85 New Member

    Joined:
    Feb 14, 2014
    Messages:
    6
    Likes Received:
    0
    Hi,
    thanks for your fast reply.
    After I compile, how can I test and execute the kernel?

    Thanks,
    Davide
     
  4. peter247

    peter247 Member

    Joined:
    Mar 10, 2014
    Messages:
    263
    Likes Received:
    2
    Easy or hard depending on your situation !!!!!

    You need to add uImage and the modules to the rootfs , which has not been use to boot from.
    eg , boot from sd card and change the uImage and the modules on the sata drive , or a second computer running any form of linux, mount the drive and add the files

    uImage goes in to /boot and the modules in to /lib and you should finish up with /lib/modules/3.1.2.3 etc
     
  5. daddym85

    daddym85 New Member

    Joined:
    Feb 14, 2014
    Messages:
    6
    Likes Received:
    0
  6. peter247

    peter247 Member

    Joined:
    Mar 10, 2014
    Messages:
    263
    Likes Received:
    2
    I`m waiting for my udoo to be returned , so I can`t tell you which modules to install or where in the menu system it is , But the HID , which is a mouse and keyboard should already be installed .

    After looking at your link :-

    I don`t think what you are trying to relevant to the udoo ?
     
  7. daddym85

    daddym85 New Member

    Joined:
    Feb 14, 2014
    Messages:
    6
    Likes Received:
    0
    Hi,
    basically I'd like my Udoo can acts as HID mouse when it is connected to a computer via USB OTG. For this purpose, I need to enable HID modules in the kernel as described in the previous post.

    Thanks,
    Davide
     
  8. peter247

    peter247 Member

    Joined:
    Mar 10, 2014
    Messages:
    263
    Likes Received:
    2
    I`ve seen the same thing using mbed , where a mbed become a HID controller , But you are wanting the multi-core linux side to become the HID controller .
     

Share This Page