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

[microblaze-uclinux] RE: Using MDM UART as only standard input/output!



FYI.

Using normal Uart_Lite, I got uClinux up and working fine!

Is there anything I am missing about getting MDM JTAG-UART 
as the only serial console for uClinux?

Best wishes

Aditya Ayre


> -----Original Message-----
> From: owner-microblaze-uclinux@xxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxxxxxxxx] On 
> Behalf Of Ayre, Aditya
> Sent: Friday, June 12, 2009 5:08 PM
> To: microblaze-uclinux@xxxxxxxxxxxxxx
> Subject: [microblaze-uclinux] Using MDM UART as only standard 
> input/output!
> 
> Hello,
> 
> It is my first trial with petalinux/uClinux (microblaze).
>  
> I'm using one ASIC emulation board which has only DDR SDRAM.
> The UART is over MDM-JTAG i/f. I'm targetting a MMU-less microblaze.
> XPS-Ethernet-Lite is used with on-chip Phy-Loopback (as no 
> outside i/f).
> 
> The problem is mainly with getting to run the linux image. 
> 
> With little bit of code changes (given below), 
> I got the petalinux/uclinux image(s) built;
> 
> but, it does not seem to work properly,
> I see no messages on HyperTerminal connected to the serial port.
> 
> For FS-Boot, HyperTerminal needed to have 1ms delay 
>  between two characters sent (via Send File), otherwise
>  XMD would crash! Its EDK 10.1.03!!!
> 
> Presently am using the MDM download method.
> 
> Please let me know any known methods that would help me 
> get the uClinux up and working. I've gone through most of
> PetaLogix webpages already,
> 
> 
> The minor changes/additions made to get rid of image build 
> errors were:
>  
> 1. in "edk_user_repository\PetaLogix\bsp\petalinux_v1_00_b\data\"
> 
> Added following code in "petalinux_v2_1_0.tcl" to support MDM UART...
> 
> ...... "uartlite" { ..... }
>   "mdm" { ## aditya: mdm has same driver-base as uartlite
> 	generate_int_param "UARTLITE" "1" "Stdin/Stdout IP"
>   } 
> ...... default { .... }
> 
> 
> 2. Did not use "coredump" and related choices in menuconfig, as
> Some binutils failed to compile, stating "undefined user-stack".
> 
> 3. Set "CONSOLE_BAUD_RATE = 9600" in config.arch
>    it was 115200 by default.
> 
> 4. Manually added one line in "include/linux/autoconf.h"
>      - otherwise u-boot fail to compile.
>    #define CONFIG_XILINX_UARTLITE_0_BAUDRATE 9600
> 
> 
> 
> Thank you
> 
> Aditya Ayre
> ___________________________
> 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/