From: massin@col.bsf.alcatel.fr (Raphael Massin)
To: linuxppc-dev@lists.linuxppc.org
Subject: Linux with MPC860
Date: Wed, 16 Dec 1998 14:56:42 +0100 [thread overview]
Message-ID: <199812161356.OAA01863@c5s144.clb> (raw)
Hello all,
I am currently trying to use Linux on my MPC860 based board from an archive
working without any problem on another board based on MPC860.
The system clock speed is different on the two boards : 48MHz on my board
and 25MHz on the other.
The system is stable at 25MHz, at 48MHz i have a problem and the kernel crashes
after a few seconds. If i disconnect the ethernet, there is no more crash.
Nevertheless, before my crash, the target can be 'pinged' and the UART works
very well.
I made the following modifications to take into account the 48MHz system clock
frequency:
1) in arch/ppc/kernel/time.c (mbx_calibrate_decr)
* the OSCM is used instead of the system clock to clock the decrementer
=> no need to set bit 6 of SCCR
* correct decrementer_count
2) in arch/ppc/boot/mbxtty.c (serial_init)
* a 48MHz source clock is used instead of a 25MHz source clock
=> modify accordingly BRGC1
3) in arch/ppc/8xx_io/commproc.c (mbx_cpm_setbrg)
* idem => modify BRG_INT_CLK macro
4) in arch/ppc/8xx_io/enet.c
* CLK2 and CLK3 are used for ethern emission/reception
=> modify PAPAR, PADIR and SICR
* port D, pin 12 is used to enable ethernet
These are my modifications, do you think i forgot something ?
Raphael
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]
next reply other threads:[~1998-12-16 13:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-12-16 13:56 Raphael Massin [this message]
1998-12-18 18:28 ` Linux with MPC860 Dan Malek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199812161356.OAA01863@c5s144.clb \
--to=massin@col.bsf.alcatel.fr \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).