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
  • 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
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum Newer firmware than in debian6-13-04-2012.img ?
  • 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 14 replies
  • Subscribers 676 subscribers
  • Views 1119 views
  • Users 0 members are here
  • raspberry_pi
Related

Newer firmware than in debian6-13-04-2012.img ?

Former Member
Former Member over 13 years ago

I need to take advantage of the latest SD driver code submitted to the RPi firmware:

https://github.com/raspberrypi/firmware

 

I'm hoping it will help me get my particular SD card to work.

 

I was using debian6-13-04-2012 and the win32diskimager.

 

Does anyone know how debian6-13-04-2012.img was built, and how I go about modifying it (or rebuilding it) with the latest firmware?

 

Thanks,

Mark Bannister.

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    Former Member over 13 years ago

    Or, I'm happy to cut a new debian image myself, if the guy or gal who did the last ones can let me know how they did them.

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

    Or, I'm happy to cut a new debian image myself, if the guy or gal who did the last ones can let me know how they did them.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • rew
    rew over 13 years ago in reply to Former Member

    Mark, Once you put the image onto an SD card, there is a boot partition that you can access from Linux and Windows. You can modify the kernel commandline for example there.

     

    Also you have simple files that form the "Linux kernel". You can manipulate those with all the tools you have for manipulating files. copy move rename, whatever.

     

    The one you want to change is "kernel.img".

     

    There are more elaborate instructions around for building your own kernel for raspberry pi than my concise version above. Search for "raspberry pi compile kernel git" or something like that.

     

    I googled it for you. Instructions are here.

    http://elinux.org/index.php?title=RPi_Kernel_Compilation&oldid=126290

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Montala
    Montala over 13 years ago in reply to rew

    I think the person who is handling the Debian (and other OS) updates is Liam Fraser who is one of the 'gurus' with the Foundation.

     

    Hopefully some more will be appearing soon.

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

    Thanks Roger, but I tried this from Windows already.  First I downloaded the latest kernel.img straight from the firmware gitrepo into the boot partition, but after that the RPi was worse and provided no video output at all.  Then I tried downloading all the contents of the firmware directory from the gitrepo and copying into the boot partition, same result.

     

    Looking here: http://elinux.org/index.php?title=RPi_Kernel_Compilation&oldid=126290#Final_step:_Making_the_.27kernel.img.27_for_your_Pi

    ...suggests that the Python script imagetool-uncompressed.py needs to me used at some stage during the building of kernel.img, and I don't know whether the version in the gitrepo has this done.

    ...also says I need to copy the image file into /lib/modules which is not accessible from Windows.  I wonder if I can access /lib/modules if I connected the SD card via a USB card reader to a Linux host?

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

    How does one get in contact with Liam Fraser?

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

    Well, he is on Twitter at http://twitter.com/#!/FraserLiam ... if that's any help!  image

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

    if you look on the rasPi blog i saw an updater that might work for you.

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

    Chris, good suggestion, but alas I've exhausted that option already!

    http://www.raspberrypi.org/forum/troubleshooting/how-to-replace-boot-firmware

     

    Mind you, a helpful chap called Tim says he's solved the problem with the same SDHC that I have.  I've asked him how he updated the firmware on his card, because the steps I think I should take didn't work for me.  We'll see if I get a response to that.

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

    Ok, I have got it working on Arch Linux and Debian.  So I can confirm that the SanDisk Extreme Pro 16GB SDHC (class 10 card) can be made to work.  Here is how I did it:

     

    1) I wrote the Arch Linux image to the SD card from Windows using Win32DiskImager.  I could have done this with dd in Linux just the same.  Then safely eject the drives.

     

    2) I downloaded the latest firmware from github as a ZIP file: https://github.com/raspberrypi/firmware/zipball/master and unzipped it.

     

    3) I connected the SD card via my USB card reader to my Red Hat Linux VM.  This mounted /media/disk and /media/disk-1.

     

    4) I copied the necessary files across from the new firmware location:

        # cd <top_level_firmware_source>
        # cp boot/*.bin boot/*.elf boot/*.img /media/disk/.
        # cp /media/disk/arm192_start.elf /media/disk/start.elf
        # cp -R modules/* /media/disk-1/lib/modules/.
        # sync

     

    5) Safely unmount the media, plug into RPi and power on.

     

    As a bonus, the latest firmware also fixed the problem I had with regards the display originally being too wide for my widescreen TV.  So all is now well with the world ... I hope these instructions may be of help to someone else.

     

    Best regards,
    Mark.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 13 years ago in reply to Former Member

    Mark,

      Wow!  that's fantastic that you got it working.

    I think the conventional wisdom was betting against you.

    For example, in this thread:

    http://www.raspberrypi.org/archives/1195#comments

     

    one poster on May 11 at 9:31am says:

    "There is already a posting from a chap who can’t get his Pi to boot but wants to upgrade the firmware."

     

    and at 9:49 he says:

    "If a card won’t work in the Pi how would you get the new firmware on it. A sort of Catch 22!"

     

    The next step may be to do some benchmarking to see if

    the RPi is taking any advantage of the class 10 speed.

    There are some existing benchmarks at:

    http://elinux.org/RPi_VerifiedPeripherals#Benchmarks

     

    by the way, for anyone else trying to debug their RPi,

    the conventional wisdom is to start with a minimal configuration,

    preferably a working configuration, and add one thing at a time.

    Sort of like playing mastermind, where you get yourself really

    confused if you change multiple pegs in your guess.

     

    Following that strategy, you would first want to know that your RPi

    worked with a verified SD card, then you would want to know that

    the procedure for updating to the latest firmware worked with that

    same SD card, and then you would try your class 10 card with the

    known working latest firmware.

    • 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 © 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