
Dear Kodis,
in message 4.3.1.2.20030609140337.049a03f0@jittlov.qualcomm.com you wrote:
I made a u-boot binary with the custom configuration for my 8260 board. I am using SMC2 as the serial device. When I boot using BDI, It comes upto the boot prompt and does not receive characters. When I don't
Can you see the characters on the wire? (Check with an oscilloscope).
use BDI, it does not even come to the command prompt, it crashes in between, I don't know why?. I am guessing that the serial driver reception
Probably your port of U-Boot is broken.
is broken?. I was looking at the serial driver code, looks like it is using polling mechanism instead of interrupts. Is the problem points to
This is correct. U-Boot uses polling drivers.
the serial clks or the driver itself? Has anyone used SMC2 as the serial driver in the U-boot code. I was comparing the getc function of smc_serial.c and uart.c, one is using the while loop to wait and the other is using the for loop to wait, does it make a difference. Can anyone tell me what is going on?
We used SMC1 and S<C2 on quite a lot of boards. No problems ever.
Best regards,
Wolfgang Denk