2008-04-21 05:26:21     How to porting stand along APP to uClinux APP?

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

2008-04-21 05:26:21     How to porting stand along APP to uClinux APP?

freekyidea Zack (TAIWAN)

Message: 54602    Hello everyone:

I am a rookie of uClinux, very happy have this site to help me porting uClinux on BF561. I followed the documents step by step, and it's work!  Now I success porting uClinux onto BF561 kit :D.  But I don't know how to porting my APP to uClinux.  I am used to do stand along system and I working on the Image process, object recognize...project. My APP have many low level works such as video in/out,interrupt,rs232,SPI,etc.

I only knew how to implement hello world example on uClinux. Is there the same way to implement interrupt or timer? Can anyone show some example for me? Can my APP run automatically when everytime system reboot?

I have so many questions please give a direction how to do, thanks~

 

I knew many China friends also on this forum, so I also write my question in Chinese to make up my poor English writing.

 

大家好,相信大家看了上面的文章應該大致上可以了解我的問題, 我不了解該如何去使用video 或是 DMA,這些東西原先都是自己寫相關的驅動,或是呼叫對應的register,那換到uClinux系統上,我還需要自己處裡嗎?

我該如何宣告interrupt? 或是timer這種東西?

請大家幫忙~

QuoteReplyEditDelete

 

 

2008-04-21 05:51:47     Re: How to porting stand along APP to uClinux APP?

Mike Frysinger (UNITED STATES)

Message: 54610    our wiki contains examples of how to write simple Linux device drivers:

http://docs.blackfin.uclinux.org/

 

if you need to understand how Linux is architected, you should pick up a book on the subject.  there are many references in the wiki.

QuoteReplyEditDelete

 

 

2008-04-21 05:58:03     Re: How to porting stand along APP to uClinux APP?

Yi Li (CHINA)

Message: 54612    >I only knew how to implement hello world example on uClinux. Is there the same way to implement interrupt or timer? Can anyone show some example for me?

 

Linux kernel (and related device driver) manages HW resources like memory, interrupts, timer. Application (in user spaces) uses kernel service via system calls. So you need to write a driver and an application. Please refer to: http://docs.blackfin.uclinux.org/doku.php?id=references_and_pointers&s[]=books#good_books

 

> Can my APP run automatically when everytime system reboot?

yes.

QuoteReplyEditDelete

 

 

2008-04-23 01:51:02     Re: How to porting stand along APP to uClinux APP?

freekyidea Zack (TAIWAN)

Message: 54750    Thank you guys for help !!! But, after I saw few documents, I think I still don't get it....and confused...

 

I had full non-os application source code and build out *.ldr file, I want my APP run at uClinux what should I do first?(I already porting uClinux on 561kit now).

QuoteReplyEditDelete

 

 

2008-04-23 16:04:33     Re: How to porting stand along APP to uClinux APP?

Robin Getz (UNITED STATES)

Message: 54802

Attachments

    Outcomes