Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-18-2009, 06:15 AM
|
#1
|
|
LQ Newbie
Registered: Dec 2009
Posts: 4
Rep:
|
Run a USB application while booting the system, before GRUB starts executing
I have small display board connected to my PC on its USB port. I have developed an application which displays a string over it. I want to run this application automatically when my system boots up. Also it should execute before GRUB.
I tried to search if there is any system file, where in I can make an entry of this executable(of my application), so that it will run when the system boots up, and that too before GRUB.
I have created a Makefile for my application.
I am not getting any clue, to how to go for it.
Please help me in this respect.
|
|
|
|
12-18-2009, 07:02 AM
|
#2
|
|
Senior Member
Registered: Jan 2009
Location: vijayawada, India
Distribution: openSUSE 11.2, Ubuntu 9.0.4
Posts: 1,155
Rep:
|
probably you may need to place that program in BIOS, or else you may need to boot from your pendrive.
If you place that program in BIOS then you run that program. and boot os from hard disk.
|
|
|
|
12-18-2009, 11:31 PM
|
#3
|
|
LQ Newbie
Registered: Dec 2009
Posts: 4
Original Poster
Rep:
|
I am quite new to this.
Can you please tell me how to place my program in BIOS.
|
|
|
|
12-23-2009, 06:17 AM
|
#4
|
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,088
|
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.
|
|
|
|
12-23-2009, 09:49 AM
|
#5
|
|
Moderator
Registered: Aug 2002
Posts: 10,695
|
Just out of curiosity what type of information is being displayed on your board? Why does it need to be run before grub?
|
|
|
0 members found this post helpful.
|
12-24-2009, 12:57 AM
|
#6
|
|
LQ Newbie
Registered: Dec 2009
Posts: 4
Original Poster
Rep:
|
This displays the device boot up information.
Now I have downloaded grub source code and i have done a little change that i have inserted my own code in it. now i am trying to compile the grun source code. However it has certain specifications, like gcc and binutils versions. it requires, gcc version more than 2.95. I have gcc version 4.4. so i think it should work. Also, i have binutils version 2.10, however i am not able to compile binutils 2.10 as it is not supported over host=i686. I am stucked here. How to go for it now?
Please help me out.
|
|
|
|
02-13-2010, 04:13 AM
|
#7
|
|
LQ Newbie
Registered: Dec 2009
Posts: 4
Original Poster
Rep:
|
Run my application between BIOS and GRUB
I want to run my own application (BSP) from USB dongle. This BSP should get called when BIOS execution is done. I can specify boot from USB option and direct the boot up sequence to USB. However, how can I run the BSP at this stage. Also once BSP execution is done, the same BSP should call the GRUB and shoul continue further execution.
How this can be done. Please suggest.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:11 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|