MPC8260 serial on SCC support

2002-10-22 Thread Dejan Jovanovic

Hi,

Is there support for serial console on SCC for MPC8260 in latest kernel
distributions included in the ELDK or kernel version on the ftp://ftp.denx.de?
I am using custom MPC8260 board that has serial on SCC. Also I am using ELDK
with the kernel version linux-2.4.4-2002-08-09.
I cannot find the SCC serial support.

I also saw posts with the patches for serial on SCC for MPC8260 and downloaded
the patch but could not patch the kernel sucesfully.

Is there some other patch for this or how can I include support for this in my
kernel?

Thanks in advance.

Dejan Jovanovic


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





Booting Linux Kernel on a EST8260

2002-08-22 Thread Dejan Jovanovic

Hi,

I am trying to boot the Linux kernel on the EST8260 board.
Board has ppcboot-1.1.6 running.
The procedure I try to do is attached and is here as well.

Several questions.
1) what does message
"Warning: real time clock seems stuck!"
mean?

2) I was hoping that I have configured the bootargs corectly. But it seems that
something is wrong because of the messages
"
Looking up port of RPC 13/2 on 10.0.0.245
portmap: server 10.0.0.245 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 15/2 on 10.0.0.245
portmap: server 10.0.0.245 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server 10.0.0.245 not responding, timed out
"

I configured my nfs (/etc/exports file) like
"
/usr/src/ELDK/ppc_82xx10.0.0.0/255.255.255.0(rw,no_root_squash,
no_all_squash)
"

nfs and portmap are running and DHCP is also running (I think)
"
/root>rpcinfo -p
  program vers proto   port
102   tcp111  portmapper
102   udp111  portmapper
1000111   udp883  rquotad
1000112   udp883  rquotad
151   udp   1039  mountd
151   tcp   1153  mountd
152   udp   1039  mountd
152   tcp   1153  mountd
153   udp   1039  mountd
153   tcp   1153  mountd
132   udp   2049  nfs

/root>ps -A |grep nfs
10892   pts/2 00:00:00 nfsd
10892   pts/2 00:00:00 nfsd
10892   pts/2 00:00:00 nfsd
10892   pts/2 00:00:00 nfsd
10892   pts/2 00:00:00 nfsd
10892   pts/2 00:00:00 nfsd
10892   pts/2 00:00:00 nfsd
10892   pts/2 00:00:00 nfsd

/root>ps -A |grep dhcp
10566 ?  00:00:00 dhcpd
"

DHCP configuration file is as follows
subnet 10.0.0.0 netmask 255.255.255.0 {
 option routers  10.0.0.1;
   option subnet-mask 255.255.255.0;
 option domain-name "internal.jaspur.com";
 host trgt { hardware ethernet 00:A0:1E:A8:7B:CB;
   fixed-address   10.0.0.161;
   option root-path  "/usr/src/ELDK/ppc_82xx";
   option host-name  "trgt";
   next-server   10.0.0.245;
   filename   "/tftpboot/pImage";
 }
}

However what worries me is that there are no messages on my host machine when I
do the 'tcpdump'
Image I am trying to boot on the board is the image I compiled with the
following procedure:
'make mrproper'
'make est8260_config'
'make oldconfig'
'make dep'
'make pImage'

and I donwloaded this image as described bellow, as to say I did not change
anything in the configuration. This means that the NFS is configured in my
kernel and also BOOTP protocol for 'IP level autocofiguration'


Thanks in advance,
Cheers
Dejan


==
PPCBoot 1.1.6 (Jul 24 2002 - 14:56:02)

MPC8260 Reset Status: External Soft, External Hard

MPC8260 Clock Configuration
 - Bus-to-Core Mult 3x, VCO Div 2, 60x Bus Freq  33-100, Core Freq 100-300
 - dfbrg 0, corecnf 0x08, busdf 3, cpmdf 1, plldf 0, pllmf 1
 - vco_out  26400, scc_clk   6600, brg_clk   6600
 - cpu_clk  19800, cpm_clk  13200, bus_clk   6600

CPU:   MPC8260 (Rev 01, Mask A.1 1K22A-XC) at 198 MHz
Board: EST SBC8260
I2C:   ready
DRAM:  16 MB
FLASH:  4 MB
In:serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
=> tftpboot 20 pImage
ARP broadcast 1
TFTP from server 10.0.0.245; our IP address is 10.0.0.161
Filename 'pImage'.
Load address: 0x20
Loading: #
 #
done
Bytes transferred = 457136 (6f9b0 hex)
=> setenv bootargs root=/dev/nfs rw nfsroot=10.0.0.245:/usr/src/ELDK/ppc_82xx
ip=10.0.0.161:10.0.0.245:::trgt::off
=> bootm 20
## Booting image at 0020 ...
   Image Name:   Linux-2.4.4
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:457072 Bytes = 446 kB = 0 MB
   Load Address: 
   Entry Point:  
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Total memory = 16MB; using 0kB for hash table (at )
Linux version 2.4.4 (root at jebac.internal.jaspur.com) (gcc version 2.95.3
20010111 (prerelease/franzo/20010111)) #1 Wed Au
g 14 17:17:49 CDT 2002
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs rw nfsroot=10.0.0.245:/usr/src/ELDK/ppc_82xx
ip=10.0.0.161:10.0.0.245:::trgt::off
Warning: real time clock seems stuck!
Calibrating delay loop... 131.89 BogoMIPS
Memory: 14796k available (868k kernel code, 364k data, 48k init, 0k highmem)
Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
CPM UART driver version 0.02
ttyS0 on SMC1 at

Linux on SBC8260

2002-08-14 Thread Dejan Jovanovic

Hello,

I am trying to run Linux on a EST's SBC8260 board.

First thing I have tried is using ppcboot to load the Linux kernel image.
- ppcboot version is 1.1.6
- Linux version is 2.4.4 - the one that comes with ELDK from Wolfgang. (as a
side question - is it enough if I do the 'make est8260_config' or I need to do
menuconfig as well after that?)

First I have used the Linux kernel image, one in arch/ppc/coffboot and converted
using mkimage tool (with parameters -a 0x_ and -e 0x_)
ppcboot is running on my board and I have loaded linux image (the converted
one).
After that I have executed ppcboot 'bootm' command, and got the message
'Loading Kernel Image OK' -- (?? this is strange though - should it not say here
Uncompressing Kernel Image ?)
After that nothing happens on my serial console.

So I tried to use the BDI2000 to debug this.
I skipped the ppcboot, and loaded the Linux Kernel Image (now the one from
arch/ppc/mbxboot) into the RAM directly.
After setting the PC and doing a 'go' I got the message that the 'Target has
entered debug state' with 'Debug Entry cause (reserved 0)' I am not sure how
much this helps, but by doing a 'objdump' on the image file and comparing the
last PC after the 'go' command, it seems to be stuck somewhere is 'serial_init'
section.

BTW, I also tried compiling the Linux Kernel with '-g -ggdb' option. Should not
the image size in case I compile with and without this options differ, because
when I compare images in these two cases they are the same. I wanted to use this
for gdb debugging.

What am I doing wrong in this process(es)?

Regards and thanks
Dejan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





SBC8260 - bdi.cfg

2002-07-30 Thread Dejan Jovanovic

Hello,

Is there somebody that has a working BDI configuration file
for the SBC8260 board?

I have deleted a working boot loader on the board and now I
have trouble burning new bootloader image on the board.

If anyone has actually wrote the BDI configuration file for
this board without having any bootloader on it, can you
please post it here.

Thanks
Dejan Jovanovic


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/