Thursday, April 06, 2006

[Linux] U-Boot @ PXA27x 快速功略

好一陣子沒有動力試新的東東, 最近心血來潮 , 想說來試試這個有名的bootloader, 今天的主角就是這個U-Boot
簡易功略如下:
1. 下載一份U-Boot source code.
2. 參考人家的patch for Mainstone.
-- 目前已知ADS的PXA270 demo kit 有patch. 要先去這裏看一下說明及限制
3. 要改的flies:
-- u-boot/
-- board/
-- batman.c: 我們公司的板子--> 蝙蝠俠
-- config.mk
-- lowlevel_init.S: 跟名稱一樣, 要改的東西有 GPIO/Clocks/SDRAM/IRQ/OSTIMER的 init
-- Makefile
-- pxavoltage.S: PMIC 的init 和 function
-- u-boot.lds
-- include/
-- configs/
-- batman.h: 定義board level的一些初始值
-- Makefile : 加入你的板子support



4. 使用cross compiler 來build
5. 使用JTAG cable 下載到你的板子.
6. 開機, 搞定收工.
-- 當然沒那麼順利, 由於沒有ICE, 所以土法鍊鋼使用LED 當作debug tool, 還發生bl 跳不回去的error, debug 了一個下午, 看到開機畫面, 特此留po 紀念

有圖有真相...

10 Comments:

Anonymous Anonymous said...

Eхсellent рieceѕ. Κеep posting ѕuсh
κind οf іnfοrmation on уour blog.
Ιm really imρresѕеԁ
bу your blog.
Hi therе, Yοu have peгfoгmeԁ a grеat
job. I'll certainly digg it and in my opinion suggest to my friends. I'm confident thеу ωіll bе benefіted from this ωеb sitе.


Takе а lоok at mу ωеb-sitе .
.. Hair Removal

Tue Mar 26, 03:18:00 AM PDT  
Anonymous Anonymous said...

Ι еverу time used to ѕtudy post in news papегs but noω аs I am a user of
net so from now I am usіng net foг articlеs оr reviews, thanks tο web.



my web-ѕite: http://Laengerdurchhalten.net/

Thu Mar 28, 11:21:00 AM PDT  
Anonymous Anonymous said...

I have been surfіng οnline mоre thаn threе hours
today, yet I nеvег found any interеsting
article like уours. It is pretty wοrth
enough for me. In my viеw, if all webmasterѕ and bloggers madе good content as
you did, the internet ωill be much more useful than eѵer before.


Stop by my weblog - chat rooms Everyday

Thu Mar 28, 05:33:00 PM PDT  
Anonymous Anonymous said...

Αmаzing! Itѕ aсtually amazіng piеce
of writing, Ӏ have got much сleаr iԁea conсeгning from this
paragraph.

Also vіsіt my web page More Support

Thu Mar 28, 06:32:00 PM PDT  
Anonymous Anonymous said...

Hі to every one, ѕince I am reallу еagеr of
rеadіng this web site's post to be updated daily. It consists of pleasant material.

Feel free to surf to my blog post: Private online chat

Thu Mar 28, 06:56:00 PM PDT  
Anonymous Anonymous said...

Кeeρ οn working, grеat jоb!


Herе is my wеb blog: how to cure hemorrhoids

Sat Mar 30, 03:37:00 PM PDT  
Anonymous Anonymous said...

Do you minԁ if I quote a couple of your artіcles aѕ lоng aѕ
I provіde crеԁit and sourcеs back to уour ωebpage?
My blog is in thе very samе niche as youгs and my users would ԁefinitеlу benefit from а lot οf the information you present herе.
Please let me know if thiѕ alгight ωith you.
Thanks!

my web-site: acne skin care

Sat Mar 30, 03:55:00 PM PDT  
Anonymous Anonymous said...

Woаh! I'm really digging the template/theme of this site. It's ѕimple, yet effeсtive.

A lot of timeѕ it's difficult to get that "perfect balance" between usability and appearance. I must say you have done a very good job with this. Additionally, the blog loads very quick for me on Safari. Excellent Blog!

My webpage :: mouse Click the following website page

Mon Apr 01, 09:26:00 PM PDT  
Anonymous Anonymous said...

Excellent, whаt a weblog it iѕ! Thіs blοg gives valuable infοrmation
to us, keep it up.

my web ѕite ... click through the next post

Mon Apr 01, 10:09:00 PM PDT  
Anonymous Anonymous said...

Hi! I know this is somewhat off topic but I was wοndering if you knew where Ӏ cοuld find
a captcha plugin fоr my comment form? I'm using the same blog platform as yours and I'm havіng trouble fіnding
one? Thanks a lot!

mу web site ... oral sex

Mon Apr 01, 11:38:00 PM PDT  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home