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 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Kernel as .deb package
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 6 replies
  • Subscribers 664 subscribers
  • Views 775 views
  • Users 0 members are here
Related

Kernel as .deb package

timg73
timg73 over 10 years ago

Whilst compiling the Cirrus 3.12 kernel I discovered that it's rather simple to make a .deb package.  This offers an easy way to get the Cirrus driver without downloading a huge file and re-imaging your filesystem.  I'm not an expert at these things, but I've been using the package for a week or so and it seems to work well for me.  Anyway, if there's any interest I'll upload it somewhere (here?)

  • Sign in to reply
  • Cancel
  • Former Member
    Former Member over 10 years ago

    Anything that has the potential to make it easier to set up this card more flexibly is surely of interest. Please do upload or post a link.

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

    Here's the kernel .deb package.  This is kernel 3.12.33 from https://github.com/CirrusLogic/rpi-linux, compiled and tested under Raspbian 2014-12-24 with the default configuration file supplied by Cirrus Logic.

    To install:

    sudo dpkg -i linux-image-3.12.33cirrus_3.12.33cirrus-1_armhf.deb # install package

    sudo mv /boot/vmlinuz-3.12.33cirrus /boot/kernel_new.img         # rename kernel

    sudo rm /boot/*3.12.33cirrus                                     # delete superfluous files

    and edit /boot/config.txt to use the new kernel:

    # Use new kernel:

    kernel=kernel_new.img


    Attachments:
    linux-image-3.12.33cirrus_3.12.33cirrus-1_armhf.deb.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • cstanton
    cstanton over 10 years ago

    I've always been interested, how do you make a deb package?

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

    Tim, that's tremendous. Thank you so much. As I've said in a previous post, I'm very green still with Linux, despite having used Ubuntu for years now. So please forgive what may seem some pretty dumb questions! Am I correct in thinking, from what you said in your initial post, that in theory it should be possible to install your deb package into any existing Linux based distribution running on the RpiB+ (eg OpenELEC, Runeaudio, Rasbian) to enable them to make use of the card? Could you add an additional line or two at the beginning of your instructions to cover getting the deb package on to the Pi ready to install (eg download to another device then copy and paste - in which case where to? Or use apt-get from the Pi.....?) Again, many thanks for your contribution on this.

    Nick

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

    Hi Nick,

    It doesn't matter where you put the .deb file.  The following will download it:

    wget "http://www.element14.com/community/servlet/JiveServlet/download/140283-165536/linux-image-3.12.33cirrus_3.12.33cirrus-1_armhf.deb.zip"

    This message board has automatically zipped the file (even though Debian packages are already compressed), so unzip it before installing:

    unzip linux-image-3.12.33cirrus_3.12.33cirrus-1_armhf.deb.zip

    After installation you can delete the .deb file if you want.  The kernel was compiled for Rasbian, and may or may not work with other distributions.  Let us know if you try it.

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

    Hi Tim,

    The same kernel is now available with realtime capabilities (e.g. for live music performance) and support for the older Wolfson card and more up-to-date Cirrus Cards.

    Cirrus cards haven't been tested yet with this kernel 'cause I don't own one :-(

    Only tested with Wolfson audio card. Here it works fine. Instructions how to install and download can be found here ->

    https://blog.georgmill.de/2015/02/18/update-for-wolfson-audio-card-on-raspberry-pi/

    Have fun.

    • 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