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

Re: [microblaze-uclinux] how to obtain archives of this mailing list??



Hi All,

you don't need to do any change in code.
You just have to open hw design which you use and re-run library generation(BSP)
and copy new Kconfig.auto to petalinux.

All edk10.1 designs are fixed. Older design not.

Regards,
Michal



Pauli Chen wrote:
> Sorry, forgot another change.
> BTW, this is for my UARTLITE. For UART16550, similar changes are necessary.
> 
> Index: drivers/serial_xuartlite.c
> ===================================================================
> --- drivers/serial_xuartlite.c	(revision 5243)
> +++ drivers/serial_xuartlite.c	(working copy)
> @@ -28,7 +28,7 @@
> 
>  #include <config.h>
> 
> -#ifdef	CONFIG_UARTLITE
> +#ifdef	CONFIG_SERIAL_UARTLITE
> 
>  #include <asm/serial_xuartlite.h>
> 
> 
> On Tue, May 12, 2009 at 1:19 PM, Pauli Chen <paulichen@xxxxxxxxx> wrote:
>> Below is the changes I made to build u-boot.
>> Try it.
>>
>> Index: u-boot/include/configs/petalogix-microblaze-auto.h.template
>> ===================================================================
>> --- u-boot/include/configs/petalogix-microblaze-auto.h.template (revision 5243)
>> +++ u-boot/include/configs/petalogix-microblaze-auto.h.template (working copy)
>> @@ -83,11 +83,12 @@
>>  #endif
>>
>>  /* Serial Console */
>> -#ifdef CONFIG_UARTLITE
>> +#ifdef CONFIG_SERIAL_UARTLITE_CONSOLE
>> +       #define CONFIG_STDINOUT_BASEADDR CONFIG_XILINX_UARTLITE_0_BASEADDR
>>        #define CONFIG_SERIAL_BASE      CONFIG_STDINOUT_BASEADDR
>>        #define CONFIG_BAUDRATE         CONFIG_XILINX_UARTLITE_0_BAUDRATE
>>        #define CONSOLE_ARG     "console=console=ttyUL0,115200\0"
>> -#elif CONFIG_UART16550
>> +#elif CONFIG_SERIAL_UART16550
>>        #define CONFIG_BAUDRATE         115200
>>        #define CONFIG_CONS_INDEX       1
>>        #define CFG_NS16550
>>
>>
>>
>> On Tue, May 12, 2009 at 10:29 AM, John Williams
>> <john.williams@xxxxxxxxxxxxx> wrote:
>>> Hi Dan,
>>>
>>> On Tue, May 12, 2009 at 5:00 AM, Dan Miller <dan@xxxxxxxxxx> wrote:
>>>> Okay, I'm now seeing another error in the current petalinux distribution:
>>>>
>>>> make[1]: Entering directory
>>>> `/home/petalinux/PetaLogix/trunk/software/petalinux-dist/u-boot'
>>>> make[2]: Entering directory
>>>> `/home/petalinux/PetaLogix/trunk/software/petalinux-dist/u-boot/tools'
>>>> ln -s ../common/environment.c environment.c
>>>> ln -s ../lib_generic/crc32.c crc32.c
>>>> gcc -M -Wall -pedantic -idirafter ../include -DTEXT_BASE=0x23fc0000
>>>> -DUSE_HOSTCC environment.c img2srec.c mkimage.c crc32.c envcrc.c
>>>> gen_eth_addr.c bmp_logo.c > .depend
>>>> In file included from ../include/config.h:2,
>>>>                  from environment.c:28:
>>>> ../include/configs/petalogix-microblaze-auto.h:100:3: error: #error UART not
>>>> defined
>>>> In file included from ../include/config.h:2,
>>>>                  from envcrc.c:32:
>>>> ../include/configs/petalogix-microblaze-auto.h:100:3: error: #error UART not
>>>> defined
>>>> make[2]: *** No rule to make target `.depend'.  Stop.
>>>> //****************************************************************
>>>> I *know* I've seen a recent discussion of this exact issue in this mailing
>>>> list, but at least my preliminary searching hasn't located a place where I
>>>> can download and grep through the list archives to look for UART
>>>> discussions.  Does such a reference exist anywhere??
>>> The problem comes from a change to the PetaLinux BSP that was required
>>> to allow u-boot to handle either the uartliet or uart16550 as the
>>> console.  Not all of the reference designs' Kconfig.auto have been
>>> updated - I'm trawling through them now.
>>>
>>> If you can please tell us which vendor/platform combo you are building
>>> for, it will be helpful.
>>>
>>> Thanks,
>>>
>>> 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/
>>>
>>>
> 
> ___________________________
> 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/
> 
> 

-- 
Michal Simek, Ing. (M.Eng)
PetaLogix - Linux Solutions for a Reconfigurable World
w: www.petalogix.com p: +61-7-30090663,+42-0-721842854 f: +61-7-30090663
___________________________
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/