Linux for ml310
Hi
Thanks for your great help!
I added following lines which I found at the old xparameters=5Fml300.h, whic= h was part of the kernel-sources but was replaced with the one of the BSP:=
--------------------------------------------------------------------------=
--------------------------------------------------------
#define XPAR=5FXUARTNS550=5FCLOCK=5FHZ 100000000
#define XPAR=5FDCR=5FINTC=5F0=5FOPB=5FUART16550=5F0=5FIP2INTC=5FIRPT=5FINTR 6
#define XPAR=5FOPB=5FUART16550=5F0=5FBASEADDR 0xA0000000
#define XPAR=5FUARTNS550=5F0=5FCLOCK=5FFREQ=5FHZ XPAR=5FXUARTNS550=5FCLOCK=5FHZ
#define XPAR=5FINTC=5F0=5FUARTNS550=5F0=5FVEC=5FID XPAR=5FDCR=5FINTC=5F0=5FOPB=5FUART16550=5F0=5FIP2=
INTC=5FIRPT=5FINTR
#define XPAR=5FUARTNS550=5F0=5FBASEADDR (XPAR=5FOPB=5FUART16550=5F0=5FBASEADDR+0x1000)
--------------------------------------------------------------------------=
--------------------------------------------------------
now the compiling ends successfully.
Thanks again
Joachim =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Jetzt neu! Sch=FCtzen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/=3Fmc=3D022220
Quoted 11 lines · Joachim Meyer
Hi
Thanks for your great help!
I added following lines which I found at the oldxparameters_ml300.h, which was part of the kernel-sources but was replaced with the one of the BSP:
----------------------------------------------------------------------------------------------------------------------------------
#defineXPAR_XUARTNS550_CLOCK_HZ100000000
#defineXPAR_DCR_INTC_0_OPB_UART16550_0_IP2INTC_IRPT_INTR6
#defineXPAR_OPB_UART16550_0_BASEADDR0xA0000000
#defineXPAR_UARTNS550_0_CLOCK_FREQ_HZXPAR_XUARTNS550_CLOCK_HZ
#defineXPAR_INTC_0_UARTNS550_0_VEC_IDXPAR_DCR_INTC_0_OPB_UART16550_0_IP2INTC_IRPT_INTR
#defineXPAR_UARTNS550_0_BASEADDR(XPAR_OPB_UART16550_0_BASEADDR+0x1000)
wait... Are you using the value from the *old* or *new* xparameters_ml300.h? The values from the old file *will* *not* *work* for your design. You must find the appropriate values from your new xparams file.
Hmmm.... but, this whole discussion assmues that your using a 16550 serial port. If you are using the uartlite instead then all of the above is unnecessary; you just need to turn off 16550 console support in the kernel config.
Cheers,
g.
Signature · 2 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.