From: LiuTao <tliu@ict.ac.cn>
To: Jason Wohlgemuth <jsw-embedded@mindspring.com>,
LinuxPPC Developers List <linuxppc-dev@lists.linuxppc.org>,
"linuxppc-embedded@lists.linuxppc.org"
<linuxppc-embedded@lists.linuxppc.org>
Subject: Re: problem on MPC8xx
Date: Mon, 28 Feb 2000 22:11:50 +0800 [thread overview]
Message-ID: <38BA8226.42A8B064@ict.ac.cn> (raw)
In-Reply-To: NCBBKJKKGDLPHKDPAFFMGEBGCDAA.jsw-embedded@mindspring.com
Hi Jason:
> Which CPM port do you need to use, I have modified the kernel for our custom
> board to support serial consoles on all the SMC's and SCC's. The
> ramdisk.image.gz of mbx is probably aimed at SMC1 or ttyS0, you will
> probably just want to make your own from a slightly modified minroot.
I just use SMC1 as my console port. I show you all messages from
log_buf:
<4>Linux version 2.2.13 (tliu@Saxophone)
(gcc version egcs-2.91.66 19990314
(egcs-1.1.2 release))
#166 Mon Feb 28 20:55:48 GMT+82000.
<4>Boot arguments: root=/dev/ram.
<4>time_init: decrementer frequency = 240000000/60.
<4>Calibrating delay loop... 63.69 BogoMIPS.
<4>Memory: 13412k available
(640k kernel code, 412k data, 32k init) [c0000000,c1000000].
<4>DENTRY hash table entries: 262144 (order: 9, 2097152 bytes).
<4>Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes).
<4>Page-cache hash table entries: 4096 (order: 2, 16384 bytes).
<4>POSIX conformance testing by UNIFIX.
<6>Linux NET4.0 for Linux 2.2.
<6>Based upon Swansea University Computer Society NET3.039.
<6>NET4: Unix domain sockets 1.0 for Linux NET4.0..
<6>NET4: Linux TCP/IP 1.0 for NET4.0.
<6>IP Protocols: ICMP, UDP, TCP, IGMP.
<4>TCP: Hash tables configured (ehash 16384 bhash 16384).
<4>Starting kswapd v 1.5 .
<6>CPM UART driver version 0.02.
<6>ttyS00 at 0x0280 is a SMC.
<6>ttyS01 at 0x0100 is a SCC.
<6>ttyS02 at 0x0200 is a SCC.
<4>RAM disk driver initialized: 16 RAM disks of 4096K size.
<4>eth0: CPM ENET Version 0.2, 00:00:00:00:00:00.
<5>RAMDISK: Compressed image found at block 0.
<4>VFS: Mounted root (ext2 filesystem)..
<4>Freeing unused kernel memory: 32k .
<4>rs_open ttyS0, count= 1.
<4>starting up ttys0 (irq 4)
...rs_open ttys0 successful.....
> Methods of testing, sure whether or not characters are coming out of the
> serial port.
I mean that what I should write to test it. eg. printf() or write() or
etc.
> Most likely you will need to modify m8xx_tty.c and not uart.c, from what I
I have modified m8xx_tty.c successfully, but you know, that's not the
true serial driver. I can see the following on serial port:
loaded at: 00200000 0020B1BC
board data at: 0020013C 00200158
relocated to: 001F0100 001F011C
zimage at: 002301B4 002873CC
initrd at: 002873CC 0045E209
avail ram: 0045F000 00FFFFFF
Linux/PPC load:
Uncompressing Linux...done.
Now booting the kernel
But after the Linux boot up, I can't see anything.
> remember uart.c works just fine but you have to have the /dev/console link
> correct. Let me know which port you want to use and I will look into it.
I don't hope to modify uart.c too.
I am using SMC1 to be serial port.
Thanks for your help!
LiuTao
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next parent reply other threads:[~2000-02-28 14:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <NCBBKJKKGDLPHKDPAFFMGEBGCDAA.jsw-embedded@mindspring.com>
2000-02-28 14:11 ` LiuTao [this message]
[not found] <200003061503.KAA21814@hoover.gilbarco.com>
2000-03-07 2:17 ` problem on MPC8xx LiuTao
[not found] <NCBBKJKKGDLPHKDPAFFMIECLCDAA.jsw-embedded@mindspring.com>
2000-03-06 13:37 ` LiuTao
[not found] <NCBBKJKKGDLPHKDPAFFMKEBMCDAA.jsw-embedded@mindspring.com>
2000-03-02 10:26 ` LiuTao
2000-02-28 13:24 LiuTao
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=38BA8226.42A8B064@ict.ac.cn \
--to=tliu@ict.ac.cn \
--cc=jsw-embedded@mindspring.com \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=linuxppc-embedded@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).