[U-Boot-Users] Regarding the U-boot and Linux porting on the Xilinx xupv2pro board.

Hi all, I am presently working with the Linux porting on Xilinx xupv2pro project. This board is very much similar to the xilinx ml300 board except some changes as 1) No. of UARTs supported 1 2) PCI bus not supported, so the xilinx tool generated header file has parameter XPAR_PCI_FREQ set to 0 3) System Compact Flash of 256 MB 4) DDR SDRAM of 256 MB As an initial start we have downloaded the u-boot-1.1.1 source code that comes along with the xapp542.zip folder from xilinx folder. We also followed all the steps required to introduce the board specific options in the source code. But when we compiled the u-boot, it gave us error that "redefinition of get_sys_info in xupv2pro.c(i.e. our board specific file); first defined in cpu/ppc4xx/". So we commented the function "get_sys_info" in the file "xupv2pro.c". The compiled u-boot.elf file was then downloaded in the compact flash in the .ace format. A compiled linux kernel u-boot compatible image was also stored on the compact flash. But the booting of the kernel process would suddenly hang after uncompressing the image. The output was obtained on the serial console and it would typically look like: Image Name : Linux Kernel Image Image Type : PowerPC Linux Kernel Image (gzip compressed) Data Size : 678 KB Load Address: 00000000 Entry Point : 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK After this point the system would simply hang not giving any output as well as not responding to any keystrokes. What could be the reason? The board description file xupv2pro.c is exactly identical to the ml300.cfile. The kernel source used was "Montavista Previewkit kernel source code".
With regards, Shantanu.

In message c91756f0511160257k7d93d2dbr27662e80b20fd4e@mail.gmail.com you wrote:
As an initial start we have downloaded the u-boot-1.1.1 source code that
Don't do that. Use *current* code, i. e. download the code from the top of tree on the GIT server.
Do NOT continue with old stuff like release 1.1.1.
We also followed all the steps required to introduce the board specific options in the source code. But when we compiled the u-boot, it gave us error that "redefinition of get_sys_info in xupv2pro.c(i.e. our board specific file); first defined in cpu/ppc4xx/". So we commented the function "get_sys_info" in the file "xupv2pro.c". The compiled u-boot.elf file was then downloaded in the compact flash in the .ace format. A compiled linux kernel u-boot compatible image was also stored on the compact flash. But the booting of the kernel process would suddenly hang after uncompressing the
So U-Boot is working? Fine.
Verifying Checksum ... OK Uncompressing Kernel Image ... OK After this point the system would simply hang not giving any output as well as not responding to any keystrokes. What could be the reason?
Read the FAQ!
------=_Part_34108_1640407.1132138675026 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
And *never* post HTML on this mailing list!
Best regards,
Wolfgang Denk
participants (2)
-
Shantanu Nalage
-
Wolfgang Denk