* ??: Question about SMC serial port on MPC8270 in u-boot
@ 2005-08-31 8:51 FCG WANG Baohua
2005-08-31 20:36 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: FCG WANG Baohua @ 2005-08-31 8:51 UTC (permalink / raw)
To: wd; +Cc: linuxppc-embedded
Dear Denk:
thanks a lot ! I had found the reason: I use brg7 instead of brg1 in =
code, but the hardware is use brg1 to UART.=20
Now the UART can work. But another question comes :
The u-Boot reboot forever when enter
" *((ulong *) addr_sp)-- =3D 0;
*((ulong *) addr_sp)-- =3D 0; "
The code is in lib_ppc/board.c line 474-475,function board_init_f. =
I found the pointer addr_sp is valid.
I erase the *((ulong *) addr_sp)-- =3D 0 code, but no use.
What's the prblem? can you give me some hints ? thanks !
=20
-----????-----
???: wd@denx.de [mailto:wd@denx.de]
????: 2005?8?31? 15:04
???: FCG WANG Baohua
??: linuxppc-embedded@ozlabs.org; wd@denx.de; =
Tsi-Chung.Liew@freescale.com; jdl@freescale.com; Jack_liu@usish.com
??: Re: Question about SMC serial port on MPC8270 in u-boot=20
In message <A9DE2BAF233E444FA9C5E77A5825A01E865067@ydmail.sbell.com.cn> =
you wrote:
>=20
> 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?=20
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
>=20
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> <HTML>
And please don't post HTML.
Best regards,
Wolfgang Denk
--=20
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* Re: ??: Question about SMC serial port on MPC8270 in u-boot
2005-08-31 8:51 ??: Question about SMC serial port on MPC8270 in u-boot FCG WANG Baohua
@ 2005-08-31 20:36 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2005-08-31 20:36 UTC (permalink / raw)
To: FCG WANG Baohua; +Cc: linuxppc-embedded
In message <A9DE2BAF233E444FA9C5E77A5825A01E865068@ydmail.sbell.com.cn> you wrote:
>
> Now the UART can work. But another question comes :
> The u-Boot reboot forever when enter
...
I already told you that such questions are off topic here. Please ask
on the U-Boot mailinglist instead. But read the FAQ before posting.
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
"Confound these ancestors.... They've stolen our best ideas!"
- Ben Jonson
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-31 20:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-31 8:51 ??: Question about SMC serial port on MPC8270 in u-boot FCG WANG Baohua
2005-08-31 20:36 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox