element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RIoTboard
  • Products
  • Dev Tools
  • Single-Board Computers
  • RIoTboard
  • More
  • Cancel
RIoTboard
Forum Linux header unmatched
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join RIoTboard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 5 replies
  • Subscribers 23 subscribers
  • Views 697 views
  • Users 0 members are here
  • riotboard
  • linux
Related

Linux header unmatched

Former Member
Former Member over 10 years ago

Hi there,

 

I've booted up a riotboard using the image in SVN2591 and everything seems fine. But when I check "uname -r" it returns "3.0.35-02881-g2ca0807-dirty" while the one inside "ls /lib/modules/" is 3.0.35-2508-g54750ff. No wonder I saw modprobe error in the dmesg, and the "lsmod" return nothing.

 

Anyone faced this?

 

 

Regards,

Lawrence

  • Sign in to reply
  • Cancel

Top Replies

  • tusharp
    tusharp over 10 years ago in reply to Former Member +1
    in linux: setup directory: mkdir riot_github cd riot_github/ get sources: git clone git://github.com/embest-tech/fsl-linaro-toolchain.git git clone git://github.com/embest-tech/u-boot-imx.git…
Parents
  • tusharp
    0 tusharp over 10 years ago

    The kernel modules generated from 3.0.35-0288 are not updated in /lib/modules.

    so there's a mismatch image and modprobe error.

     

    if building kernel locally , copy the generated modules to the rootfs /lib & /usr/include folders.

    make modules

    make modules_install INSTALL_MOD_PATH=<ROOTFS_SDCARD_LOCATION>

    make headers_install INSTALL_HDR_PATH=<ROOTFS_SDCARD_LOCATION/usr>

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to tusharp

    Hi tushar

     

    I did not build the kernel myself, but I would like to. Can you show me where can I get the source code?

     

    Regards,

    Lawrence

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tusharp
    0 tusharp over 10 years ago in reply to Former Member

    you can refer Riotboard User Manual Section5 to build custom images.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to tusharp

    Can you explain where can I get these two?

     

         Get the source code from dropbox

         Get the latest linux system source code from the below website and save to home

         directory:

         www.element14.com/riotboard

     

    What i found is image instead of the source code. Could you please help?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • tusharp
    0 tusharp over 10 years ago in reply to Former Member

    in linux:

     

    setup directory:

      mkdir riot_github

      cd riot_github/

    get sources:

      git clone git://github.com/embest-tech/fsl-linaro-toolchain.git

      git clone git://github.com/embest-tech/u-boot-imx.git -b embest_imx_3.0.35_4.0.0

      git clone git://github.com/embest-tech/linux-imx.git -b embest_imx_3.0.35_4.0.0

     

    build u-boot

      cd u-boot-imx_3.0.35/

      export ARCH=arm

      export CROSS_COMPILE=~/riot_github/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-

      make mx6solo_RIoTboard_config

      make -j4

     

    build kernel & modules

    export PATH=~/riot_github/u-boot-imx_3.0.35/tools:$PATH

    cd ~/riot_github/linux-imx_3.0.35

    make imx6_defconfig

    make -j4 uImage

    make modules

     

    Once above done check below guide to setup sdcard;

    http://www.element14.com/community/docs/DOC-68087/

     

    Let me know if this helps.

     

    Thanks

    Tushar

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • tusharp
    0 tusharp over 10 years ago in reply to Former Member

    in linux:

     

    setup directory:

      mkdir riot_github

      cd riot_github/

    get sources:

      git clone git://github.com/embest-tech/fsl-linaro-toolchain.git

      git clone git://github.com/embest-tech/u-boot-imx.git -b embest_imx_3.0.35_4.0.0

      git clone git://github.com/embest-tech/linux-imx.git -b embest_imx_3.0.35_4.0.0

     

    build u-boot

      cd u-boot-imx_3.0.35/

      export ARCH=arm

      export CROSS_COMPILE=~/riot_github/fsl-linaro-toolchain/bin/arm-fsl-linux-gnueabi-

      make mx6solo_RIoTboard_config

      make -j4

     

    build kernel & modules

    export PATH=~/riot_github/u-boot-imx_3.0.35/tools:$PATH

    cd ~/riot_github/linux-imx_3.0.35

    make imx6_defconfig

    make -j4 uImage

    make modules

     

    Once above done check below guide to setup sdcard;

    http://www.element14.com/community/docs/DOC-68087/

     

    Let me know if this helps.

     

    Thanks

    Tushar

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube