LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices

Reply
 
Search this Thread
Old 02-21-2011, 02:39 AM   #1
jaepi
Member
 
Registered: Apr 2007
Location: Urban Jungle
Distribution: Ubuntu
Posts: 189
Blog Entries: 1

Rep: Reputation: 30
Creating a firmware file


Hello, I've been learning the device firmware upgrade using the u-boot bootloader. In order for me to make my upgrading convenient, a firmware file could be of great help. My problem is I am not familiar of the format of a firmware file. How do I create this file? Been googling around for some answers but haven't found a satisfying one. Resources could be of great help. Thanks a lot.
 
Old 02-22-2011, 01:13 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
It is probably the configuration of the FPGA chip(s) on the board. These are created by a kind of compiler, usually part of a development system provided (sold, usually expensive) by the FPGA chip manufacturer. To modify it, you will need the original source code or detailed knowledge of the hardware as well as an understanding of the original purpose of the FPGA. You will also need a method to install the firmware onto the FPGA. Often, this is performed with a JTAG interface. There are commercial JTAG dongles available, but they are often part of the FPGA development toolkit as well. The FPGA code is probably considered proprietary property of the board OEM.

--- rod.
 
Old 02-22-2011, 03:59 AM   #3
jaepi
Member
 
Registered: Apr 2007
Location: Urban Jungle
Distribution: Ubuntu
Posts: 189
Blog Entries: 1

Original Poster
Rep: Reputation: 30
I'm sorry for the confusion (wasn't supposed to use the word "format") but I was refering to the uImage of the kernel and the rootfs contained in one file. Could it possibly be done by concatenating them and creating a .bin file with initial header and a checksum sector?
 
Old 02-22-2011, 04:01 AM   #4
jaepi
Member
 
Registered: Apr 2007
Location: Urban Jungle
Distribution: Ubuntu
Posts: 189
Blog Entries: 1

Original Poster
Rep: Reputation: 30
I was actually the one who is confused, lol. I'm sorry, it should've been "firmware file" or "firmware image".
 
Old 02-22-2011, 09:56 AM   #5
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
There should be rules in the kernel Makefile(s) to re-create the kernel image with an init ramdisk.
--- rod.
 
Old 02-22-2011, 08:30 PM   #6
jaepi
Member
 
Registered: Apr 2007
Location: Urban Jungle
Distribution: Ubuntu
Posts: 189
Blog Entries: 1

Original Poster
Rep: Reputation: 30
I used buildroot to build my uImage file and my rootfs. I will try to look it up in my kernel makefile.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error in opening firmware binary file shariefbe Linux - Software 1 01-08-2010 08:27 PM
Failure to find E100 firmware even though present in /lib/firmware afhartman Linux - Networking 2 07-27-2009 07:31 AM
How to load a firmware file in CentOS with udev / hotplug? ptemmerman Linux - Newbie 3 05-06-2009 02:56 PM
zd1211 failed to load firmware file h2gofast Linux - Wireless Networking 0 05-06-2006 10:21 PM
Firmware file needed for DWL-520+ lenseboy Linux - Wireless Networking 0 06-24-2004 05:10 PM


All times are GMT -5. The time now is 04:03 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration