* Question about SMC serial port on MPC8270 in u-boot
@ 2005-08-31 0:51 FCG WANG Baohua
2005-08-31 7:03 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: FCG WANG Baohua @ 2005-08-31 0:51 UTC (permalink / raw)
To: linuxppc-embedded, wd; +Cc: Jack_liu, Tsi-Chung.Liew
[-- Attachment #1: Type: text/plain, Size: 794 bytes --]
Dear All:
When i port the u-boot 1.1.3 on my MPC8270 board, the serial port has the following question:
1. the Dual port ram cannot be revised manually, but can be revised by the u-boot code. What's the problem?
2. the serial_putc() in serial_smc.c is loop forever on "while (tbdf->cbd_sc & BD_SC_READY);". How to slove the bug?
3. the speed.c calc the wrong cpm, cpu, brg_clk, I had hard coded the right cpm, cpu, brg_clk values. But the "m8260_cpm_setbrg()" is still wrong? Why?
the registers are all right.
4. Can you tell me the ALL items about the SMC1 UART output? I had checked almost all the concerned SMC registers, IO ports,
data structures, they all seems right, but the UART cannot work. How could I find the problem?
thanks a lot !
[-- Attachment #2: Type: text/html, Size: 2056 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: Question about SMC serial port on MPC8270 in u-boot
2005-08-31 0:51 Question about SMC serial port on MPC8270 in u-boot FCG WANG Baohua
@ 2005-08-31 7:03 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2005-08-31 7:03 UTC (permalink / raw)
To: FCG WANG Baohua; +Cc: Jack_liu, Tsi-Chung.Liew, linuxppc-embedded
In message <A9DE2BAF233E444FA9C5E77A5825A01E865067@ydmail.sbell.com.cn> you wrote:
>
> When i port the u-boot 1.1.3 on my MPC8270 board, the serial port has
Your question is off topic on this list. Please send U-Boot related
questions to the u-boot-users list instead.
> 1. the Dual port ram cannot be revised manually, but can be revised by
> the u-boot code. What's the problem?
You're doing something wrong.
> 2. the serial_putc() in serial_smc.c is loop forever on "while
> (tbdf->cbd_sc & BD_SC_READY);". How to slove the bug?
Make sure your clocks / BRG's are configured correctly.
> 3. the speed.c calc the wrong cpm, cpu, brg_clk, I had hard coded the
> right cpm, cpu, brg_clk values. But the "m8260_cpm_setbrg()" is still
> wrong? Why?
Your system is misconfigured.
> data structures, they all seems right, but the UART cannot work.
> How could I find the problem?
Fix the problems as you encounter them. If the clocks show up wrong
you should fix this problem first. Then all the rest might just fall
into place.
> Content-Type: text/html;
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
And please don't post HTML.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
A meeting is an event at which the minutes are kept and the hours are
lost.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-31 7:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-31 0:51 Question about SMC serial port on MPC8270 in u-boot FCG WANG Baohua
2005-08-31 7:03 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox