> Date: Sat, 31 May 2008 03:23:07 -0700> From: [EMAIL PROTECTED]> To: 
> linuxppc-embedded@ozlabs.org> Subject: Re: FW: Error occured when appended 
> FPGA image in the section of .init.text then bootup> > 朱利达 (lida zhu)wrote:> 
> >> >> > The request below give rise to the problem.> > I have some boards 
> equiped with MPC8247 and FPGA without storage> > media which used as a PCI 
> interface. So when the linux bootup> > before initialize the PCI, the code of 
> FPGA will download. I> > append the FPGA code file in the Kernel section 
> '.init.text'. when> > linux bootup firstly it check the board type(different 
> board type> > would download different code), and download fpga code. More 
> board> > types lead to more FPGA code. I append them all in the section of> > 
> '.init.text'. when the total size of the code reach out 2M. The> > error 
> occured. I read the '__log_buf' the kernel access some bad> > area. As the 
> powerpce603 will map 16M address use two bat, how and> > why the problem 
> occured, and h
 ow to solved it .> >> > Since the error occurs at 2M, I am going to guess it 
is similar to> problem I had. The default link/load address for booting is 
0x200000.> > Here is a link:> 
<http://patchwork.ozlabs.org/linuxppc-embedded/patch?id=14717>> > This fix is 
for the arch/ppc tree. I don't know if the arch/powerpc tree> works the same 
way.> > In the future, you should say what kernel version you are using and 
what> the error was.> > Alan Nishioka> [EMAIL PROTECTED]> > 
_______________________________________________> Linuxppc-embedded mailing 
list> Linuxppc-embedded@ozlabs.org> 
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
 
Thanks! Mr.西��
The u-boot uncompress the Muti-file image.
 when the u-boot show:
## Booting image at 01000000 ...   Image Name:   E300-2.0(8), alpha   Image 
Type:   PowerPC Linux Multi-File Image (gzip compressed)   Data Size:    
15246424 Bytes = 14.5 MB   Load Address: 00000000   Entry Point:  00000000   
Contents:   Image 0:  1887243 Bytes =  1.8 MB   Image 1: 13359168 Bytes = 12.7 
MB   Verifying Checksum ... OK    ... OK   Loading Ramdisk to 0ef08000, end 
0fbc5840 ... OK
 
the image 0 is 1.8MB.It can not bootup. No matter I put the FPGA images in 
section '.init.data' or '.init.text'.
 
 
when the u-boot show
Bytes transferred = 15163187 (e75f33 hex)## Booting image at 01000000 ...   
Image Name:   E300-2.0(8), alpha   Image Type:   PowerPC Linux Multi-File Image 
(gzip compressed)   Data Size:    15163123 Bytes = 14.5 MB   Load Address: 
00000000   Entry Point:  00000000   Contents:   Image 0:  1803789 Bytes =  1.7 
MB   Image 1: 13359319 Bytes = 12.7 MB   Verifying Checksum ... OK   
Uncompressing Multi-File Image ... OK   Loading Ramdisk to 0ef08000, end 
0fbc58d7 ... OK
 
I cut one of the FPGA images. The Kernel image is 1.7MB.It can bootup. No 
matter I put the FPGA images in the section '.init.data' or '.init.text'. And 
when i fill the FPGA images in the section of '.init.data' the kernel makes 
mistake when she access the  '__setup_start = .;' At the vmlinux.ld.s, I find 
it just behind the section .init.data.  May be i can not describe correctly, 
because Truly I don't why.
 
 
My linux version is 2.6.18, using the arch/ppc tree. and the u-boot verison is 
1.1.4.
 
 
 
_________________________________________________________________
多个邮箱同步管理,live mail客户端万人抢用中
http://get.live.cn/product/mail.html
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to