2009-05-02 02:28:27     Booting the Blackfin processor with uClinux.

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-05-02 02:28:27     Booting the Blackfin processor with uClinux.

zigma dsp (GERMANY)

Message: 73520   

 

Hi all,

 

I am a newbie to both Linux and uClinux.

 

1. I am using BF54x kit. How do I boot the processor so that the OS is loaded immediately after the U-boot (without the serial interface -  basically a standalone system )? The console is the LCD screen in the kit. Once the OS is loaded, I just want to run some led code. This is a beginning step.

 

2. I understand that the shell is running for the user interface. Now I want to run a small application (say the above led code) immediately after the kernel is loaded. So the boot sequence should be:- u-boot -> os -> led code (basically no user interaction). You may also comment on if this is a good approach or do I need to use the shell always?

 

Regards

 

JA.

 

QuoteReplyEditDelete

 

 

2009-05-04 00:01:11     Re: Booting the Blackfin processor with uClinux.

Yi Li (CHINA)

Message: 73538   

 

Zigma,

 

For the first question, you may set uboot env "bootdelay" to "0". Please refer to: http://docs.blackfin.uclinux.org/doku.php?id=fast_boot_example

 

For the 2nd question,  you may run your app from "/etc/rc", which is the initial script executed by init.

 

-Yi

QuoteReplyEditDelete

 

 

2009-05-04 03:12:04     Re: Booting the Blackfin processor with uClinux.

zigma dsp (GERMANY)

Message: 73540   

 

Hi,

 

Thank you for your time .

 

For the 1st question:

 

- Is this same as disabling the console and shell, while building the kernel? WIth that, won't we disable the user interaction

 

For the 2nd one:

 

- I would be glad if you can give me a link or explain a little more about running the app from /etc/rc. I am new to linux, but I need to work on uclinux and learn linux parallely.

 

 

 

Which forum on linux you think is the best, where I can approach for linux stuffs (keeping in mind that  I will just work on Blackfin uclinux.. any links?)

 

 

 

Thank you once again.

 

Regards.

 

JA.

 

 

QuoteReplyEditDelete

 

 

2009-05-04 13:15:19     Re: Booting the Blackfin processor with uClinux.

Mike Frysinger (UNITED STATES)

Message: 73583   

 

your first question doesnt make sense.  either you want to disable things and boot immediately, or you dont.  Yi showed you how to tweak all the relevant variables.  customize things however *you* want.

 

as for /etc/rc, there really isnt much to say.  edit the /etc/rc file installed and add whatever commands you want.  typically the file is found in vendor/<vendor>/<board>/.

Attachments

    Outcomes