[ELDK] FW: Error occured when appended FPGA image in the section of .init.text then bootup
zhulida at hotmail.com
Sat May 31 10:30:45 CEST 2008
Hi all. These days , I haved been troubled by a trouble. As I am a new boy who play with linux and PowPc603e(MPC8247). I have no ideal to solve it.
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 how to solved it .
I kown it can download in the bootloader who read the FPGA image in the flash.But when the the flash is blank and the systerm boot from the tftp using a Muti-file image, another proble will occured.
You advice will helpful! Sorry for my poor english!
More information about the eldk