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
Single-Board Computers
  • Products
  • Dev Tools
  • Single-Board Computers
  • More
  • Cancel
Single-Board Computers
Forum Compile kernel module (sc16is7xx.c)
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Single-Board Computers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 9 replies
  • Subscribers 58 subscribers
  • Views 2324 views
  • Users 0 members are here
  • sc16is752
  • maaxboard
Related

Compile kernel module (sc16is7xx.c)

david.bozo
david.bozo over 5 years ago

Hello!

I'm looking for a way to add driver for SC16IS752 IC.

 

I want to use the Waveshare 2-CH RS232 HAT . This hat contains a SC16IS752 IC which uses SPI to communicate.

As far as i see the default image does not contains this module so i want to compile it from source: sc16is7xx.c(v4.14)

 

But i did not found the current kernel headers in /lib/modules/4.14.78/build. It points to /home/embest/compile/linux which is a not exist.

How can i achive this the most easily? Could someone point me in the right direction?

  • Sign in to reply
  • Cancel

Top Replies

  • jafoste4
    jafoste4 over 5 years ago +1
    Hi David, I'll look into this today. Will have an answer come tomorrow. Thx, Josh
  • zebular13
    zebular13 over 5 years ago +1
    Hi David, I believe that to enable the driver you'll have to compile the kernel from source using these instructions: MaaXBoard-Linux-Development_Guide-V1.0-EN.pdf After running "make em-sbc-imx8m_defconfig…
  • jafoste4
    jafoste4 over 5 years ago in reply to david.bozo +1
    Hi David, The only supported systems for the MaaXBoard/Mini are Yocto / Debian Linux and Android 9.0 Link to Yocto Sources - https://github.com/Avnet/meta-maaxboard I would reccomend you avoid using another…
Parents
  • david.bozo
    david.bozo over 5 years ago

    Thank you! I hoped i had other option then this. This will be my first time to do this so i might take the opportunity to ask you.

     

    But another question of mine. Is there any other linux distro for this board? Some more mainstream? Ubuntu, Debian, Alpine? I mean i know it is based on Debian 10.5 but i would rather use the official builds.

    In theory what would it take to for example use Ubuntu?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • jafoste4
    jafoste4 over 5 years ago in reply to david.bozo

    Hi David,


    The only supported systems for the MaaXBoard/Mini are Yocto / Debian Linux and Android 9.0

     

    Link to Yocto Sources -https://github.com/Avnet/meta-maaxboard

     

    I would reccomend you avoid using another distro from a support standpoint, a significant amount of effort went into the development of the MaaXBoard/Mini specific libraries in each distribution supported. This would need to be created from scratch by you if you wanted for instance to use somthing besides Debian/Yocto/Android.

     

    If you wanted to use the official Debian release as mentioned above, you may be able to port the MaaXBoard specific files from the current Debian build. However support from our side would be quite limited.

     

    -Josh

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • jafoste4
    jafoste4 over 5 years ago in reply to david.bozo

    Hi David,


    The only supported systems for the MaaXBoard/Mini are Yocto / Debian Linux and Android 9.0

     

    Link to Yocto Sources -https://github.com/Avnet/meta-maaxboard

     

    I would reccomend you avoid using another distro from a support standpoint, a significant amount of effort went into the development of the MaaXBoard/Mini specific libraries in each distribution supported. This would need to be created from scratch by you if you wanted for instance to use somthing besides Debian/Yocto/Android.

     

    If you wanted to use the official Debian release as mentioned above, you may be able to port the MaaXBoard specific files from the current Debian build. However support from our side would be quite limited.

     

    -Josh

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • david.bozo
    david.bozo over 4 years ago in reply to jafoste4

    I will probably stick with it then. Just these because these chinese it looked some too costume.  Thank you.

    If i get it right. Yocto project is aims to generate configure files to the kernel to be compatible with embedded systems?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • 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 © 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