[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] Problem in PetaLinux booting



Hi,

 

I managed to boot petaLinux on the Virtex :D

Thank you for your help John.

 

I just had a little problem: I had not checked the option 'use interrupt' for UARTLIGHT but it is fixed.

 

Regard

Thierry



2009/3/20 John Williams <john.williams@xxxxxxxxxxxxx>
Hi Thierry,

On Wed, Mar 18, 2009 at 10:44 PM, Thierry BESSIERE
> You ask me: “Why are you doing this? It should not be necessary at all.”

> I copy ‘built-in.o’ of “PETALINUX/software/linux-2.6.x-petalogix/user” directory in “PETALINUX/software/linux2.6.X-petaligix/arch/microblaze/platform/common” directory because I had the following error when compiling:
>
> __________________________________________________________________
>
> cannot open arch/microblaze/platform/common/built-in.o: No such file or directory
> make[2]: *** [arch/microblaze/platform/built-in.o] Error 1
> make[1]: *** [arch/microblaze/platform] Error 2
> make[1]: Leaving directory
>
> __________________________________________________________________
>
>
>
> But I don’t know if this manipulation is correct… I think ‘built-in.o’ has an influence for the UART. Maybe I don’t get echo in the hyper terminal during petaLinux boot because of this...

Precisely - you diagnosed your own problem :)  You have not configured
the uartlite driver.

do menuconfig -> kernel config -> drivers -> character -> serial:

[*] Xilinx uartlite serial port support
[*]   Support for console on Xilinx uartlite serial port

This will fix the built-in.o problem as well.

This really is a bug in the default kconfig created by
petalinux-new-platform - it should enable the uartlite by default.
I'll fix it.

Cheers,

John

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/