Help regarding linkcmds file

Ray rayx.cn at gmail.com
Thu Jan 10 12:47:39 UTC 2008


Hi, Rahman, Md Sazzadur   
Your image .text size is above 1M. So you can not put your .text in 0x10000 which is RAM section (only 1M) 
I think you got a big SDRAM, why not trying to put text(.text 0x40010000) and data in SDRAM for debug perpurse. 



      
Thanks & Best Regards!    
      
Ray, rayx.cn at gmail.com     
2008-01-10      


========================= 
----- Receiving the following content -----   
=========================    
From:  Rahman, Md Sazzadur      
Receiver:  rtems-users at rtems.com      
Time: 2008-01-10, 08:30:27     
Subject: Help regarding linkcmds file     



The attachments of the original message is as following: 
linkcmds 
README.txt 
     
>Hello, 
> 
>I have ported SCTP(Stream Control Transmission Protocol) in RTEMS from FreeBSD. This is a transport layer protocol and resides with TCP/UDP networking codes in kernel. I have tested it in rtems4.7 and rtems-20011210 in pc386 BSP and it worked well. 
> 
>However, I need to test it in mpc8260ads BSP, ppc CPU family in rtems-20011210. But  I encountered the following errors by the linker when compiling the SCTP application Makefile: 
> 
>ld: address 0x10bc20 of o-optimize/sctpApp.exe section .text is not within region ram 
>ld: section .data [00019004 -> 00020b8b] overlaps section .text [00010000 -> 0010bc1f] 
>collect2: ld returned 1 exit status 
>make[2]: *** [o-optimize/sctpApp.exe] Error 1 
> 
>I guess this is due to the increased size of libnetworking library for ported SCTP. I have found that linkcmds file is responsible for these size specifications but I am not sure how I should modify this linkcmds file to resolve this issue. I have attached linkcmds file and the specification of the board herewith this mail. 
> 
>I would appreciate any suggestion in this regard. 
>Please let me know if you have any questions. 
> 
> 
>Best Regards, 
>Md Sazzadur Rahman 
>Graduate Student, 
>School of Computer Science, 
>University of Oklahoma, 
>Norman, Oklahoma, USA 
> 
> 
>_____________________ next part ______________________ 
> 
>_______________________________________________ 
>rtems-users mailing list 
>rtems-users at rtems.com 
>http://rtems.rtems.org/mailman/listinfo/rtems-users 
> 


More information about the users mailing list