All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: 824x sandpoint and 2.6.x
@ 2005-04-23 12:16 Sam Song
  2005-04-29  0:44 ` Mark A. Greer
  0 siblings, 1 reply; 4+ messages in thread
From: Sam Song @ 2005-04-23 12:16 UTC (permalink / raw)
  To: Mark A. Greer; +Cc: linuxppc-embedded

"Mark A. Greer" <mgreer@mvista.com> wrote:
> >had, is it possible to flush the content of 
__log_buf
> >after reset?
>
> Sam,
> 
> I thought I finally noticed yesterday that you're
> using 2.4. If that is
> the case, you want to dump "log_buf" not
> "__log_buf".

Uh, I copy the above note to this thread to
continue:-)

The turth is that I ported denx 2.4.24 successfully on
my board
 and try to port it to 2.6.x.  To my understanding,
UART init was
bad for some reason. It was auto configured as 16450
rather than 
16550A as 2.4.  Besides, ttyS0 iomem base address in
2.6 is different
to the one in 2.4 although they have the same serial
address setting.
I wander which kind of possiblity coud lead to this
result or even better
to point out some useful printk locations to me. 

If possible, could you pls show me a right 2.6 boot
process of
 sandpoint X3/2? I wanna to find out some nice hints
of it. This
is the first time to me so hard to debug a kernel
before normal 
console. 

Thanks a lot,

Sam  

_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 824x sandpoint and 2.6.x
  2005-04-23 12:16 824x sandpoint and 2.6.x Sam Song
@ 2005-04-29  0:44 ` Mark A. Greer
  2005-05-09 11:53   ` Sam Song
  0 siblings, 1 reply; 4+ messages in thread
From: Mark A. Greer @ 2005-04-29  0:44 UTC (permalink / raw)
  To: Sam Song; +Cc: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 352 bytes --]

Sam Song wrote:

>If possible, could you pls show me a right 2.6 boot
>process of
> sandpoint X3/2? I wanna to find out some nice hints
>of it. This
>is the first time to me so hard to debug a kernel
>before normal 
>console. 
>

Here is the output of a 7457 sandpoint on a very old root filesystem.
Output for any other processor will be the same.
--

[-- Attachment #2: sandpoint.log --]
[-- Type: text/plain, Size: 3593 bytes --]

loaded at:     01100000 01228134
relocated to:  00800000 00928134
zimage at:     00805831 0092546C
avail ram:     00400000 00800000

Linux/PPC load: ip=on
Uncompressing Linux...done.
Now booting the kernel
Total memory = 32MB; using 64kB for hash table (at c0280000)
Linux version 2.6.12-rc2 (mgreer@mag.az.mvista.com) (gcc version 3.4.3 (MontaVis
ta 3.4.3-11.0.0.0500150 2005-02-07)) #1 Thu Apr 28 11:53:45 MST 2005
Motorola SPS Sandpoint Test Platform
Port by MontaVista Software, Inc. (source@mvista.com)
Built 1 zonelists
Kernel command line: ip=on
OpenPIC Version 1.2 (1 CPUs and 20 IRQ sources) at fdfd0000
OpenPIC timer frequency is 100.000000 MHz
PID hash table entries: 256 (order: 8, 4096 bytes)
time_init: decrementer frequency = 24.357945 MHz
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 29824k available (1828k kernel code, 568k data, 108k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
PCI: Probing PCI hardware
PCI: Cannot allocate resource region 1 of device 0000:00:00.0
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at MMIO 0x0 (irq = 4) is a NS16550A
ttyS1 at MMIO 0x0 (irq = 3) is a NS16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
e100: Intel(R) PRO/100 Network Driver, 3.3.6-k2-NAPI
e100: Copyright(c) 1999-2004 Intel Corporation
e100: eth0: e100_probe: addr 0xbffff000, irq 21, MAC addr 00:00:82:58:50:02
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
usbmon: debugs is not available
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
NET: Registered protocol family 1
NET: Registered protocol family 17
e100: eth0: e100_watchdog: link up, 100Mbps, half-duplex
Sending BOOTP requests . OK
IP-Config: Got BOOTP answer from 192.168.1.1, my address is 192.168.1.65
IP-Config: Complete:
      device=eth0, addr=192.168.1.65, mask=255.255.255.0, gw=255.255.255.255,
     host=eepro_6, domain=, nis-domain=(none),
     bootserver=192.168.1.1, rootserver=192.168.1.1, rootpath=/opt/hardhat/devki
t/ppc/74xx/target/
Looking up port of RPC 100003/2 on 192.168.1.1
Looking up port of RPC 100005/1 on 192.168.1.1
VFS: Mounted root (nfs filesystem) readonly.
Freeing unused kernel memory: 108k init
INIT: version 2.78 booting
Activating swap...
Checking all file systems...
Parallelizing fsck version 1.22 (22-Jun-2001)
Calculating module dependencies... depmod: QM_MODULES: Function not implemented

done.
Loading modules: 
modprobe: Can't open dependencies file /lib/modules/2.6.12-rc2/modules.dep (No s
uch file or directory)
mkdir: cannot create directory `/dev/pts': File exists
Mounting local filesystems...
nothing was mounted
Cleaning: /etc/network/ifstate.
Setting up IP spoofing protection: rp_filter.
Disable TCP/IP Explicit Congestion Notification: done.
INIT: Entering runlevel: 3
Starting system log daemon: syslogd klogd.
Starting internet superserver: inetd.

MontaVista Linux 3.0, Professional Edition

eepro_6 login: 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 824x sandpoint and 2.6.x
@ 2005-04-30  5:33 Sam Song
  0 siblings, 0 replies; 4+ messages in thread
From: Sam Song @ 2005-04-30  5:33 UTC (permalink / raw)
  To: Mark A. Greer; +Cc: linuxppc-embedded

"Mark A. Greer" <mgreer@mvista.com> wrote:
[snip]
> Here is the output of a 7457 sandpoint on a very old
> root filesystem.
> Output for any other processor will be the same.

Thanks. Some useful hints inside.

[snip]
> ttyS0 at MMIO 0x0 (irq = 4) is a NS16550A

Mine is "ttyS0 at MMIO 0xfdfce500 (irq = 5) is a 
16450". Have some ideas to try but I am on vacation:)

> ttyS1 at MMIO 0x0 (irq = 3) is a NS16550A

I masked ttyS1 manually.

Thanks again,

Have a nice Labor Day:)

Sam

_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 824x sandpoint and 2.6.x
  2005-04-29  0:44 ` Mark A. Greer
@ 2005-05-09 11:53   ` Sam Song
  0 siblings, 0 replies; 4+ messages in thread
From: Sam Song @ 2005-05-09 11:53 UTC (permalink / raw)
  To: Mark A. Greer; +Cc: linuxppc-embedded

Hi Mark,

It booted finally although something more need to
fix later. It truned out to be the problem of
UART init part.

"Mark A. Greer" <mgreer@mvista.com> wrote:

> Here is the output of a 7457 sandpoint on a very old
> root filesystem.
> Output for any other processor will be the same.

Thanks so much,

Sam

_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-05-09 11:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-23 12:16 824x sandpoint and 2.6.x Sam Song
2005-04-29  0:44 ` Mark A. Greer
2005-05-09 11:53   ` Sam Song
  -- strict thread matches above, loose matches on Subject: below --
2005-04-30  5:33 Sam Song

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.