FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Building and Debuging U-Boot in Eclipse Helios On Window XP
PostPosted: Fri Jun 17, 2011 12:51 pm 
Offline

Joined: Fri Jun 17, 2011 12:40 pm
Posts: 3
Building and Debuging U-Boot in Eclipse Helios On Window XP.pdf

[attachment=0]Building and Debuging U-Boot in Eclipse Helios On Window XP.zip[/attachment]

This doc work on AT91SAM9263EK!!

liandao, June 17, 2011
BUILDING U-BOOT IN MSYS 3
1. MSYS & MINGW 3
a. Download MSYS & MinGW 3
b. Packet MSYS/MinGW and configuration 4
c. Run MSYS 6
2. UNPACKET U-BOOT SOURCE CODE 7
3. INSTALL SOURCERY CODEBENCH LITE EDITION FOR ARM 7
4. INSTALL NTFS JUNCTION TOOL 9
5. MODIFY U-BOOT MAKEFILE AND MACONFIG 10
6. BUILD U-BOOT 11
BUILDING U-BOOT IN ECLIPSE 13
1. INSTALL ECLIPSE-CPP-HELIOS-SR2-WIN32 13
2. INSTALL ECLIPSE PLUG-IN ZYLINCDT 13
3. CREAT U-BOOT ECLIPSE PROJECT 16
4. CONFIG U-BOOT ECLIPSE PROJECT 18
Step1 18
Step2 18
Step3 19
Step4 20
Step5 21
5. BUILD U-BOOT IN ECLIPSE 22
a. make distclean 22
b. make xxx_config 23
c. Build Project 24
DEBUGING U-BOOT IN ECLIPSE 25
1. SETUP A DEBUG CONFIGURATION 25
a. Main tab: 25
b. Debugger tab: 27
c. Commands tab: 27
d. Source tab: 28
2. START DEBUG 29
a. Powerup board 30
b. Start J-link GDB Server 30
c. Start Eclispse Debug sesion 30
APPENDIX A 33
AT91SAM9263EK GDB ‘INITIALIZE’ COMMAND 33
APPENDIX B 37
U-BOOT-2011.03-MAKEFILE.DIFF 37
U-BOOT-2011.03-MKCONFIG.DIFF 38
APPENDIX C 39


Attachments:
File comment: ---------->
---->
!!!! !!YOU may also Downlaod "U-Boot relocation and Debug.zip" in NEXT Post.
<----

Building and Debuging U-Boot in Eclipse Helios On Window XP.pdf

Building and Debuging U-Boot in Eclipse Helios On Window XP.zip [1.99 MiB]
Downloaded 3318 times


Last edited by liandao on Fri Aug 05, 2011 7:47 am, edited 3 times in total.
Top
 Profile  
 
 Post subject: Re: Building and Debuging U-Boot in Eclipse Helios On Window XP
PostPosted: Tue Aug 02, 2011 8:39 am 
Offline

Joined: Fri Jun 17, 2011 12:40 pm
Posts: 3
U-Boot relocation and Debug
The relocation on arm is working, before u-boot-2010.09,there are two define CONFIG_SKIP_RELOCATE_UBOOT and CONFIG_SKIP_LOWLEVEL_INIT, when they
are defined in your board configuration header file (in my case ,it is \include\configss\am9263ek.h),you can use GDB init command to do some low level initializations (like setting up CLOCK and SDRAM),and just load u-boot, and you can debug all the source code in Eclipse CDT.
After u-boot-2011.03, the relocation on arm are change,The CONFIG_SKIP_RELOCATE_UBOOT does not exist. This PDF document describe two methods to debug U-Boot code before and after relocation.
Before read this document < U-Boot relocation and Debug>,read my another document <Building and Debuging U-Boot in Eclipse Helios On Window XP> at first.


Attachments:
File comment: This PDF document describe two methods to debug U-Boot code before and after relocation.
U-Boot relocation and Debug.zip [412.36 KiB]
Downloaded 1318 times
Top
 Profile  
 
 Post subject: Re: Building and Debuging U-Boot in Eclipse Helios On Window XP
PostPosted: Sat Aug 27, 2011 12:50 pm 
Offline

Joined: Sat Aug 27, 2011 12:38 pm
Posts: 1
Thanks your great post.
Can you upload patch file for uboot Makefile and mkconfig.


Top
 Profile  
 
 Post subject: I got An better way to build and debug u-boot
PostPosted: Thu Dec 22, 2011 8:05 am 
Offline

Joined: Fri Jun 17, 2011 12:40 pm
Posts: 3
i got An better way to build and debug u-boot,get more build speed!


Attachments:
An better way to build and debug u-boot.zip [278.14 KiB]
Downloaded 1474 times
Top
 Profile  
 
 Post subject: Re: Building and Debuging U-Boot in Eclipse Helios On Window
PostPosted: Thu Dec 05, 2013 3:27 pm 
Offline

Joined: Thu Dec 05, 2013 3:22 pm
Posts: 1
cannot download file, why?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron