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

[microblaze-uclinux] A few small things which might be bugs



Title: A few small things which might be bugs

Dear Petalogix team,
first of all I want to thank you for the good work in the past. We are really happy with petalogix as it eases SoC software designs a lot.

Yesterday I checked out the latest petalogix sources and used it with one of our project. We use EDK 10.1 SP3 on a Debian Lenny system.

I had to modify a few things to get u-boot working:

in /software/petalinux-dist/u-boot/include/configs/petalogix-microblaze-auto.h.template

I changed:
#ifdef CONFIG_UARTLITE
by
#ifdef CONFIG_SERIAL_UARTLITE

and

#define CONFIG_SERIAL_BASE      CONFIG_STDINOUT_BASEADDR
by
#define CONFIG_SERIAL_BASE      CONFIG_XILINX_UARTLITE_0_BASEADDR

in /software/petalinux-dist/u-boot/drivers/serial_xuartlite.c

I replaced
#ifdef  CONFIG_UARTLITE
by
#ifdef CONFIG_SERIAL_UARTLITE




The hardware design is on a spartan3a starter kit. A CPU clock of 66.7 MHz is used (Design is based on the XPS base system builder).
On the device I get the following output:
# cat /proc/cpuinfo                                                                                                  
CPU-Family:     MicroBlaze                                                                                           
FPGA-Arch:      spartan3a                                                                                            
CPU-Ver:        7.10.d                                                                                               
CPU-MHz:        100.00                                                                                               
BogoMips:       49.66                                                                                                
HW-Div:         yes                                                                                                  
HW-Shift:       yes                                                                                                  
Icache:        8kB                                                                                                   
Dcache:        8kB                                                                                                   
HW-Debug:       yes


I don't know if these things are already known.
Cheers,
Marco