element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
ZedBoard Hardware Design linux kernel make module option
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 3 replies
  • Subscribers 356 subscribers
  • Views 574 views
  • Users 0 members are here
Related

linux kernel make module option

100aditya
100aditya over 9 years ago

Dear sir

 

  I am working on Zedboard and trying to build mine kernel. So here is mine snippet of mine script:-

echo -e "\e[0;32m---- Build kernel -----------\e[0m" source ~/architech_sdk/architech/zedboard/toolchain/environment-nofs make LOADADDR=0x8000 uImage

echo -e "\e[0;32m---- Build modules ---\e[0m"

make modules

 

I am having the .config file for mine Zedboard.The problem is this moment i am calling make modules it is giving me a lot of option and asking to put yes or no for each of one. I am very new to Linux and i do not know about those options. What is way out??

 

Regards

Aditya

 
  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 9 years ago

    Aditya,

    I think your problem with the kernel configuration may be that you skipped the step of setting up a default configuration file for the target.  Without this, menuconfig will ask you to specify all the different possible options, as you have found.  If you first create a default-configuration file, most of the options for a basic boot are pre-defined, and then you only change the options you care about (maybe none).

    You can see an example of how this works for a kernel build on the ADI wiki:

    https://wiki.analog.com/resources/tools-software/linux-drivers/platforms/zynq

    The line you are looking for is:  make zynq_xcomm_adv7511_defconfig

    That file is specific for the ADI Ubuntu kernel and activates various drivers used there. You can look in the kernel you have under:

    /arch/arm/configs/

    I think you can find a zedboard defconfig file in there.

    Ron

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • zedhed
    0 zedhed over 9 years ago

    Hi Aditya,

    Ron has some good advice for getting past the million+ questions when the kernel config is missing or is incomplete.

    If you are running into problems with your scripting, one option to consider is to simply use Xilinx PetaLinux tools to build your own Linux.  There is already a BSP published for ZedBoard targets that you can download from the Xilinx website.  This is good to use as a reference even if you want to continue to experiment with scripting the build on your own.

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • 100aditya
    0 100aditya over 9 years ago in reply to zedhed

    Hi,

        Thanks for reply and you are correct also. I have not run step make defconfig. I will tell why:

       Actually i am trying to integrate the Wilink8 wifi module from TI with the Zedboard and i found some scripts at http://zedboard.org/product/wilink-8-adaptor website. But these scripts are for microzed board. Here i am sharing the script::-

    git clone git://github.com/Xilinx/linux-xlnx

    git checkout -b xilinx-v2014.2.01 xilinx-v2014.2.01

    http://downloads.architechboards.com/deposit/microZed_wilink8.config -O .config
     
      make LOADADDR=0x8000 uImage 
       
      make modules
       
      So you can see that in the above script line number 3 i have one .config file.That is why i did not run the step make defconfig and when i run the make modules it started asking a lot of options to me. 
       
      So can you please suggest me following:-
       
      1- In the above script, since i am having the .config file already, so if i run make olddefconfig first and then make module then it should be fine.
      2- So if above thing is not possible, then can you please suggest me Which version should i clone from the github website so that it can give the defconfig file for me the Zedboard with Wilink8 wifi module from TI.
       
      Please reply me.
       
      Regards
      Aditya
     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
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 © 2026 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