Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-04-11  9:24 Michael Anburaj
  2003-04-11  9:28 ` Geert Uytterhoeven
  2003-04-11 16:47 ` Jun Sun
  0 siblings, 2 replies; 40+ messages in thread
From: Michael Anburaj @ 2003-04-11  9:24 UTC (permalink / raw)
  To: ralf; +Cc: linux-mips

Hi,

Thanks Ralf.

I want this question to be answered.

Can I build linux on my Win98 machine for MIPS 4Kc Atlas board using 
mipsisa32-elf-gcc & make?

Please respondwith atmost details.

Thanks,
-Mike.






>From: Ralf Baechle <ralf@linux-mips.org>
>To: Michael Anburaj <michaelanburaj@hotmail.com>
>CC: linux-mips@linux-mips.org
>Subject: Re: Linux for MIPS Atlas 4Kc board
>Date: Thu, 10 Apr 2003 03:25:29 +0200
>
>On Wed, Apr 09, 2003 at 02:32:03PM -0700, Michael Anburaj wrote:
>
> > I am new to Linux. But I have a strong ARM & MIPS background with kernel
> > porting & other stuff.
> >
> > I want to get a higher-level view of the essential components of Linux 
>for
> > MIPS & documentation about the kernel. Please point me to documents on 
>the
> > net.
>
>I suggest http://www.linux-mips.org to get started.
>
> > Question 2:
> > Does Linux-MIPS support the MIPS Atlas board with 4Kc processor using
> > mipsisa32-elf build tool chain (Contain the appropriate HAL or BSP)? Is 
>so,
> > please point me to documents that gives the exact build steps for the 
>same.
>
>No.  You must use a Linux configuration of the tools, that's mips-linux.
>
> > Also do let me know if Cygwin over Win98 dev. environment is good for
> > building & developing with Linux-MIPS or do I need to have Linux 
>installed
> > on my dev. machine?
>
>I've never use Cygwin myself.  The reports I've received are a mixed bag
>ranging from extremly bad to very good.
>
>   Ralf


_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-05-13  7:31 Michael Anburaj
  0 siblings, 0 replies; 40+ messages in thread
From: Michael Anburaj @ 2003-05-13  7:31 UTC (permalink / raw)
  To: linux-mips

Hi,

>MIPS_RedHat7.1_Release-02.00.tar from
>ftp://ftp.mips.com/pub/linux/mips/installation/redhat7.1/02.00
>

Thats not the right one. The right file for NFS root for mips is the one 
(nfsroot.mips.redhat7.1.eb-01.00.tar.gz) at 
ftp://ftp.mips.com/pub/linux/mips/rootfs_nfs/redhat7.1

I extracted it to my /export/... folder & Linux booted well on the Atlas 
board.

Question:
1. I could see some interactive configuration menus with buttons <'OK' , 
'Cancel' surrounded with a couple of dots>. As I press the tab key to 
navigate to a button, nothing gets highlighted or there isnt a means to know 
a particlar button got selected. Is there a special config in minicom to 
view these better? I even tried the First char of the string to enble it 
<like 'O' for "OK" button & 'C' for Cancel button & 'N' for Next button>, 
but did not work. Please let me know a better way for this.

2. I got this message at last & nothing seems to happen after which <But I 
see a lot of ethernet activity between the Atlas & the host>.

clipping of the messages from linux as seen on minicom:
-----------------------------------------------------------------------------
Starting keytable:  Loading keymap: /etc/rc3.d/S17keytable: /dev/tty0: No 
such e[FAILED]
Loading system font: [  OK  ]
[FAILED]
Initializing random number generator:  [  OK  ]
Mounting other filesystems:  [  OK  ]
Starting automounter:[  OK  ]
Starting atd: [  OK  ]
Starting xinetd: [  OK  ]
Starting NFS file locking services:
Starting NFS lockd: lockdsvc: Function not implemented
[FAILED]
Starting NFS statd: [  OK  ]
Starting postfix: [  OK  ]
Starting crond: [  OK  ]
Starting anacron: [  OK  ]
.?...?..??..?.?..??..?..??.??.?    ???  ?.?  ?. ?  ?????.  ??  ?  ? ??? ? .? 
. ?

3. Did I miss some key configs during the 1st time setup menus? If so, How 
to revisite the linux config menus?

Please advice me. Also point me to relevant documentation. Mean while let me 
search for one...

Thanks,
-Mike.

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-05-10 21:07 Michael Anburaj
  0 siblings, 0 replies; 40+ messages in thread
From: Michael Anburaj @ 2003-05-10 21:07 UTC (permalink / raw)
  To: jbglaw, linux-mips

Hi JBG,

>Possibly. I've got no chance to look into it and to now you haven't
>posted a URL from which I can get that file's contents...
>


MIPS_RedHat7.1_Release-02.00.tar from
ftp://ftp.mips.com/pub/linux/mips/installation/redhat7.1/02.00


Mean while I will try to do something with tht Makefile & init.script

Thanks a lot,
-Mike.

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-05-10 15:56 Michael Anburaj
  2003-05-10 19:49 ` Jan-Benedict Glaw
  0 siblings, 1 reply; 40+ messages in thread
From: Michael Anburaj @ 2003-05-10 15:56 UTC (permalink / raw)
  To: jbglaw, linux-mips

Hi,

>"init" is another thing. Your NFS root should include a /sbin/init or
>or /etc/init or /bin/init or /bin/sh. If none of those exists, you
>loose.


For setting up the NFS, I did the following:
1. exported the /export/RedHat7.1
2. downloaded MIPS_RedHat7.1_Release-02.00.tar from 
ftp://ftp.mips.com/pub/linux/mips/installation/redhat7.1/02.00

this tar file has the following:

linux\installation\RedHat7.1\RPMS\mips\ <contains a lot of rpms>
linux\installation\RedHat7.1\RPMS\mipsel\ <contains a lot of rpms>
linux\installation\RedHat7.1\RPMS\noarch\ <contains a lot of rpms>
linux\installation\RedHat7.1\install\ <contains a Makefile, install.list, 
install.script>
linux\installation\RedHat7.1\install\root\etc\ <contains inittab, securetty>
linux\installation\RedHat7.1\install\root\etc\sysconfig\ <contains network>
linux\installation\RedHat7.1\install\root\etc\xinetd.d\ <contains telnet, 
rlogin, rsh,rexec, hosts>

& some more files.

Now tell me what should be extracted to my NFS export /export/RedHat7.1 
(along with their relative path info.).

Also let me know what path to be passed on to the kernel as parameter to 
nfsroot=
Is it simply /export/Redhat7.1?

Another question: I don't see a init file in the tar. or is inittab similar? 
Is this "MIPS_RedHat7.1_Release-02.00.tar" tar file the right file & the 
only file that is needed for now; that has the right stuff in it? Or do I 
need to get the right file from a different tar file?


Thanks,
-Mike.

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-05-10  4:57 Michael Anburaj
  2003-05-10  5:44 ` Muthukumar Ratty
  2003-05-10 10:30 ` Jan-Benedict Glaw
  0 siblings, 2 replies; 40+ messages in thread
From: Michael Anburaj @ 2003-05-10  4:57 UTC (permalink / raw)
  To: jbglaw, linux-mips; +Cc: muthu

Hi,

The linux kernel on the Atlas board went past the NFS issue.

Now a new one :(


Warning: unable to open an initial console.
Kernel panic: No init found.  Try passing init= option to kernel.


in src/linux/init/main.c

open("/dev/console", O_RDWR, 0) is returning a negative value. I don't have 
a video device on board., required? Will /dev/console open a UART port 
(/dev/ttyS0 or /dev/tty0)? Why am I getting this error?

1. Is the kernel not build properly (did not include console driver)?
2. Should I pass init=blablabla as a parameter? <but nothing like that is 
specified in the doc.>.

Advice me please...

Thanks,

-Mike.

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-05-09 18:34 Michael Anburaj
  0 siblings, 0 replies; 40+ messages in thread
From: Michael Anburaj @ 2003-05-09 18:34 UTC (permalink / raw)
  To: jbglaw, linux-mips

Almost there...

Looking up port of RPC 100003/2 on 4.42.102.7
portmap: server 4.42.102.7 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 4.42.102.7
portmap: server 4.42.102.7 not responding, timed out
Root-NFS: Unable to get mountd port number from server, using default
mount: server 4.42.102.7 not responding, timed out
Root-NFS: Server returned error -5 while mounting /export/RedHat7.1
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "" or 02:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 02:00

Where can I find the explanation for these nfs error codes? Why is it 
returning -5?


Clipping from /var/log/messages:

May  9 08:07:50 localhost exportfs[2460]: No 'sync' or 'async' option 
specified
for export "*:/export/RedHat7.1".   Assuming default behaviour ('sync').   
NOTE: this default has changed from previous versions
May  9 08:07:50 localhost exportfs: exportfs: No 'sync' or 'async' option 
specified for export "*:/export/RedHat7.1".
May  9 08:07:50 localhost exportfs:   Assuming default behaviour ('sync').
May  9 08:07:50 localhost exportfs:   NOTE: this default has changed from 
previous versions


Is 'sync' ok?

--Mike.

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-05-09  6:31 Michael Anburaj
  2003-05-09  8:25 ` Jan-Benedict Glaw
  0 siblings, 1 reply; 40+ messages in thread
From: Michael Anburaj @ 2003-05-09  6:31 UTC (permalink / raw)
  To: linux-mips

more info...

clipping from Linux startup messages:
-----------------------------------------------------
Root-NFS: Server returned error -13 while mounting /tftpboot/4.42.102.6

clipping from /var/log/messages:
--------------------------------------------
May  8 19:54:42 localhost rpc.mountd: refused mount request from 4.42.102.6 
for
/tftpboot/4.42.102.6 (/): no export entry


Why is Linux (running on the MIPS board) trying '/tftpboot/4.42.102.6'. 
Should it not try '/export/RedHat7.1'

Please let me know what is missing or what I should do to get passed this 
issue.

-Mike.


>From: "Michael Anburaj" <michaelanburaj@hotmail.com>
>To: jbglaw@lug-owl.de, linux-mips@linux-mips.org
>Subject: Re: Linux for MIPS Atlas 4Kc board
>Date: Thu, 08 May 2003 22:47:40 -0700
>
>Hi JBG,
>
>I have passed a static IP address as parameter.
>
>YAMON> go . nfsroot=4.42.102.7:/export/RedHat7.1 \
>? ip=4.42.102.6:4.42.102.7:4.42.102.1:255.255.252.0
>
>LINUX started...
>Config serial console: ttyS0,115200
>CPU revision is: 00018001
>Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 
>bytes.
>Primary data cache 16kB 4-way, linesize 16 bytes.
>Linux version 2.4.21-pre4 (root@localhost.localdomain) (gcc version 
>egcs-2.91.63Determined physical RAM map:
>memory: 00001000 @ 00000000 (reserved)
>memory: 000ef000 @ 00001000 (ROM data)
>memory: 00010000 @ 000f0000 (ROM data)
>memory: 001a4000 @ 00100000 (reserved)
>memory: 03d5c000 @ 002a4000 (usable)
>On node 0 totalpages: 16384
>zone(0): 16384 pages.
>zone(1): 0 pages.
>zone(2): 0 pages.
>Kernel command line: nfsroot=4.42.102.7:/export/RedHat7.1 
>ip=4.42.102.6:4.42.100calculating r4koff... 00061a83(400003)
>CPU frequency 80.00 MHz
>Calibrating delay loop... 79.66 BogoMIPS
>Memory: 62120k/62832k available (1308k kernel code, 712k reserved, 164k 
>data, 1)Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
>Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
>Mount cache hash table entries: 512 (order: 0, 4096 bytes)
>Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
>Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
>Checking for 'wait' instruction...  available.
>POSIX conformance testing by UNIFIX
>PCI: Probing PCI hardware on host bus 0.
>PCI: device 01:06.0 has unknown header type 7f, ignoring.
>PCI: device 01:0b.0 has unknown header type 7f, ignoring.
>PCI: device 01:0d.0 has unknown header type 7f, ignoring.
>PCI: device 01:0f.0 has unknown header type 7f, ignoring.
>Linux NET4.0 for Linux 2.4
>Based upon Swansea University Computer Society NET3.039
>Initializing RT netlink socket
>Starting kswapd
>pty: 256 Unix98 ptys configured
>Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ 
>SERIAL_PCI edttyS00 at 0x1f000900 (irq = 0) is a 16550A
>RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
>loop: loaded (max 8 devices)
>Found SAA9730 (PCI) at 0x10800000, irq 16.
>SCSI subsystem driver Revision: 1.00
>ncr53c8xx: at PCI bus 0, device 16, function 0
>ncr53c8xx: 53c810a detected
>ncr53c810a-0: rev 0x12 on pci bus 0 device 16 function 0 irq 17
>ncr53c810a-0: ID 7, Fast-10, Parity Checking
>scsi0 : ncr53c8xx-3.4.3b-20010512
>NET4: Linux TCP/IP 1.0 for NET4.0
>IP Protocols: ICMP, UDP, TCP, IGMP
>IP: routing cache hash table of 512 buckets, 4Kbytes
>TCP: Hash tables configured (established 4096 bind 4096)
>IP-Config: Complete:
>      device=eth0, addr=4.42.102.6, mask=255.255.252.0, gw=4.42.102.1,
>     host=4.42.102.6, domain=, nis-domain=(none),
>     bootserver=4.42.102.7, rootserver=4.42.102.7, rootpath=
>NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
>Looking up port of RPC 100003/2 on 4.42.102.7
>Looking up port of RPC 100005/1 on 4.42.102.7
>Root-NFS: Server returned error -13 while mounting /export/RedHat7.1
>VFS: Unable to mount root fs via NFS, trying floppy.
>VFS: Cannot open root device "" or 02:00
>Please append a correct "root=" boot option
>Kernel panic: VFS: Unable to mount root fs on 02:00
>
>Let me why NFS server is returning error -13.
>
>Thanks,
>-Mike.
>
>
>>From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
>>To: linux-mips@linux-mips.org
>>Subject: Re: Linux for MIPS Atlas 4Kc board
>>Date: Thu, 8 May 2003 23:40:57 +0200
>>
>>On Thu, 2003-05-08 10:02:54 -0700, Michael Anburaj 
>><michaelanburaj@hotmail.com>
>>wrote in message <BAY1-F17fJpbi7Phnzi00006011@hotmail.com>:
>> > Hi JBG,
>> >
>> > The MIPS box (Atlas running YAMON) has a fixed IP address assigned by 
>>me.
>> > TFTP boot works fine. But this IP is held within the boot monitor 
>>program
>> > (YAMON).
>> >
>> > YAMON> set
>>[...]
>>
>>That doesn't help you. This is yamon, it's not Linux:)
>>
>> > Apart from the dynamic IP address assignment methods....
>> > Suggest me a method to communicate this value to the RAM resident Linux
>> > kernel. Or can I assign a fixed IP addredd by passing it as a parameter
>>
>>Look at ./linux/net/ipv4/ipconfig.c
>>
>> > when the linux kernel boots up? If so what is the syntax & please point 
>>me
>>
>>Yes.
>>
>> > to the document that has this info. about passed parameter when booting 
>>the
>>
>>The source file is the document, syntax is described there, too.
>>
>> > kernel.
>>
>>Please answer under old emails, not above them.
>>
>>HTH, JBG
>>
>>--
>>    Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
>>    "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen 
>>Krieg
>>     fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im 
>>Irak!
>>       ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | 
>>TCPA));
>><< attach3 >>
>
>_________________________________________________________________
>Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
>http://join.msn.com/?page=features/junkmail
>
>

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-05-09  5:47 Michael Anburaj
  0 siblings, 0 replies; 40+ messages in thread
From: Michael Anburaj @ 2003-05-09  5:47 UTC (permalink / raw)
  To: jbglaw, linux-mips

Hi JBG,

I have passed a static IP address as parameter.

YAMON> go . nfsroot=4.42.102.7:/export/RedHat7.1 \
? ip=4.42.102.6:4.42.102.7:4.42.102.1:255.255.252.0

LINUX started...
Config serial console: ttyS0,115200
CPU revision is: 00018001
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB 4-way, linesize 16 bytes.
Linux version 2.4.21-pre4 (root@localhost.localdomain) (gcc version 
egcs-2.91.63Determined physical RAM map:
memory: 00001000 @ 00000000 (reserved)
memory: 000ef000 @ 00001000 (ROM data)
memory: 00010000 @ 000f0000 (ROM data)
memory: 001a4000 @ 00100000 (reserved)
memory: 03d5c000 @ 002a4000 (usable)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: nfsroot=4.42.102.7:/export/RedHat7.1 
ip=4.42.102.6:4.42.100calculating r4koff... 00061a83(400003)
CPU frequency 80.00 MHz
Calibrating delay loop... 79.66 BogoMIPS
Memory: 62120k/62832k available (1308k kernel code, 712k reserved, 164k 
data, 1)Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
Checking for 'wait' instruction...  available.
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware on host bus 0.
PCI: device 01:06.0 has unknown header type 7f, ignoring.
PCI: device 01:0b.0 has unknown header type 7f, ignoring.
PCI: device 01:0d.0 has unknown header type 7f, ignoring.
PCI: device 01:0f.0 has unknown header type 7f, ignoring.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ 
SERIAL_PCI edttyS00 at 0x1f000900 (irq = 0) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Found SAA9730 (PCI) at 0x10800000, irq 16.
SCSI subsystem driver Revision: 1.00
ncr53c8xx: at PCI bus 0, device 16, function 0
ncr53c8xx: 53c810a detected
ncr53c810a-0: rev 0x12 on pci bus 0 device 16 function 0 irq 17
ncr53c810a-0: ID 7, Fast-10, Parity Checking
scsi0 : ncr53c8xx-3.4.3b-20010512
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
IP-Config: Complete:
      device=eth0, addr=4.42.102.6, mask=255.255.252.0, gw=4.42.102.1,
     host=4.42.102.6, domain=, nis-domain=(none),
     bootserver=4.42.102.7, rootserver=4.42.102.7, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 4.42.102.7
Looking up port of RPC 100005/1 on 4.42.102.7
Root-NFS: Server returned error -13 while mounting /export/RedHat7.1
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "" or 02:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 02:00

Let me why NFS server is returning error -13.

Thanks,
-Mike.


>From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
>To: linux-mips@linux-mips.org
>Subject: Re: Linux for MIPS Atlas 4Kc board
>Date: Thu, 8 May 2003 23:40:57 +0200
>
>On Thu, 2003-05-08 10:02:54 -0700, Michael Anburaj 
><michaelanburaj@hotmail.com>
>wrote in message <BAY1-F17fJpbi7Phnzi00006011@hotmail.com>:
> > Hi JBG,
> >
> > The MIPS box (Atlas running YAMON) has a fixed IP address assigned by 
>me.
> > TFTP boot works fine. But this IP is held within the boot monitor 
>program
> > (YAMON).
> >
> > YAMON> set
>[...]
>
>That doesn't help you. This is yamon, it's not Linux:)
>
> > Apart from the dynamic IP address assignment methods....
> > Suggest me a method to communicate this value to the RAM resident Linux
> > kernel. Or can I assign a fixed IP addredd by passing it as a parameter
>
>Look at ./linux/net/ipv4/ipconfig.c
>
> > when the linux kernel boots up? If so what is the syntax & please point 
>me
>
>Yes.
>
> > to the document that has this info. about passed parameter when booting 
>the
>
>The source file is the document, syntax is described there, too.
>
> > kernel.
>
>Please answer under old emails, not above them.
>
>HTH, JBG
>
>--
>    Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
>    "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen 
>Krieg
>     fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im 
>Irak!
>       ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));
><< attach3 >>

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-05-08 17:02 Michael Anburaj
  2003-05-08 21:40 ` Jan-Benedict Glaw
  0 siblings, 1 reply; 40+ messages in thread
From: Michael Anburaj @ 2003-05-08 17:02 UTC (permalink / raw)
  To: linux-mips

Hi JBG,

The MIPS box (Atlas running YAMON) has a fixed IP address assigned by me. 
TFTP boot works fine. But this IP is held within the boot monitor program 
(YAMON).

YAMON> set

baseboardserial (RO)   0000000197
bootfile        (R/W)  vmlinux.rec
bootprot        (R/W)  tftp
bootserport     (R/W)  tty0
bootserver      (R/W)  4.42.102.7
cpuconfig       (R/W)
ethaddr         (RO)   00.d0.a0.00.00.ed
fpu             (R/W)
gateway         (R/W)  12.235.80.1
ipaddr          (R/W)  4.42.102.6
memsize         (RO)   0x04000000
modetty0        (R/W)  115200,n,8,1,hw
modetty1        (R/W)  115200,n,8,1,hw
prompt          (R/W)  YAMON
start           (R/W)
startdelay      (R/W)
subnetmask      (R/W)  255.255.252.0
yamonrev        (RO)   02.04

Apart from the dynamic IP address assignment methods....
Suggest me a method to communicate this value to the RAM resident Linux 
kernel. Or can I assign a fixed IP addredd by passing it as a parameter when 
the linux kernel boots up? If so what is the syntax & please point me to the 
document that has this info. about passed parameter when booting the kernel.

Thanks,
-Mike.


>From: Jan-Benedict Glaw <jbglaw@lug-owl.de>
>To: linux-mips@linux-mips.org
>Subject: Re: Linux for MIPS Atlas 4Kc board
>Date: Thu, 8 May 2003 13:20:53 +0200
>
>On Thu, 2003-05-08 03:09:53 -0700, Michael Anburaj 
><michaelanburaj@hotmail.com>
>wrote in message <BAY1-F62WlX0MGOV6T000004f80@hotmail.com>:
> > Hi all,
> >
> > Finally I got the Atlas 4Kc board running YAMON to talk to Host PC 
>running
> > RedHat Linux 9 & download vmlinux.rec throught tftp. I have set-up NFS
> > export in the same PC under /export/RedHat7.1
> >
> > After the vmlinux.rec got downloaded, I issued the following command on 
>the
> > YAMON (MIPS tartget) prompt to start the downloaded linux kernel:
> >
> > go . nsfroot=4.42.102.7:/export/RedHat7.1
>                                            ^^^^^^^
>
>I think the box doesn't have an IP address, nor has it been told to pick
>one. You should add 'ip=bootp' or 'ip=dhcp' to your command line.
>
> > Protect your PC - get McAfee.com VirusScan Online
> > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>Protecting a PeeCee is more an act of not shooting one's own feet by
>running known-bad software...
>
>MfG, JBG
>
>--
>    Jan-Benedict Glaw       jbglaw@lug-owl.de    . +49-172-7608481
>    "Eine Freie Meinung in  einem Freien Kopf    | Gegen Zensur | Gegen 
>Krieg
>     fuer einen Freien Staat voll Freier Bürger" | im Internet! |   im 
>Irak!
>       ret = do_actions((curr | FREE_SPEECH) & ~(IRAQ_WAR_2 | DRM | TCPA));
><< attach3 >>

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.  
http://join.msn.com/?page=features/virus

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-05-08 10:09 Michael Anburaj
  2003-05-08 11:20 ` Jan-Benedict Glaw
  0 siblings, 1 reply; 40+ messages in thread
From: Michael Anburaj @ 2003-05-08 10:09 UTC (permalink / raw)
  To: linux-mips

Hi all,

Finally I got the Atlas 4Kc board running YAMON to talk to Host PC running 
RedHat Linux 9 & download vmlinux.rec throught tftp. I have set-up NFS 
export in the same PC under /export/RedHat7.1

After the vmlinux.rec got downloaded, I issued the following command on the 
YAMON (MIPS tartget) prompt to start the downloaded linux kernel:

go . nsfroot=4.42.102.7:/export/RedHat7.1

while the Linux kernel was booting up, I  monitored the tcp/ip traffic on 
the host PC using 'tcpdump -n'. The Linux did not send any packets. why?

YAMON console dump of Linux kernel start-up messages:
------------------------------------------------------------------------------

YAMON> load tftp:
About to load tftp://4.42.102.7/vmlinux.rec
Press Ctrl-C to break
........................................
........................................
........................................
........................................
......................................
Start = 0x8024a040, range = (0x80100000,0x8028dfff), format = SREC
YAMON> go . nfsroot=4.42.102.7:/export/RedHat7.1

LINUX started...
Config serial console: ttyS0,115200
CPU revision is: 00018001
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB 4-way, linesize 16 bytes.
Linux version 2.4.21-pre4 (root@localhost.localdomain) (gcc version 
egcs-2.91.63Determined physical RAM map:
memory: 00001000 @ 00000000 (reserved)
memory: 000ef000 @ 00001000 (ROM data)
memory: 00010000 @ 000f0000 (ROM data)
memory: 001a4000 @ 00100000 (reserved)
memory: 03d5c000 @ 002a4000 (usable)
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: nfsroot=4.42.102.7:/export/RedHat7.1
calculating r4koff... 00061a87(400007)
CPU frequency 80.00 MHz
Calibrating delay loop... 79.66 BogoMIPS
Memory: 62120k/62832k available (1308k kernel code, 712k reserved, 164k 
data, 1)Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
Checking for 'wait' instruction...  available.
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware on host bus 0.
PCI: device 01:02.0 has unknown header type 7f, ignoring.
PCI: device 01:06.0 has unknown header type 7f, ignoring.
PCI: device 01:18.0 has unknown header type 7f, ignoring.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ 
SERIAL_PCI edttyS00 at 0x1f000900 (irq = 0) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Found SAA9730 (PCI) at 0x10800000, irq 16.
SCSI subsystem driver Revision: 1.00
ncr53c8xx: at PCI bus 0, device 16, function 0
ncr53c8xx: 53c810a detected
ncr53c810a-0: rev 0x12 on pci bus 0 device 16 function 0 irq 17
ncr53c810a-0: ID 7, Fast-10, Parity Checking
scsi0 : ncr53c8xx-3.4.3b-20010512
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 4.42.102.7
RPC: sendmsg returned error 128
portmap: RPC call returned error 128
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 4.42.102.7
RPC: sendmsg returned error 128
portmap: RPC call returned error 128
Root-NFS: Unable to get mountd port number from server, using default
RPC: sendmsg returned error 128
mount: RPC call returned error 128
Root-NFS: Server returned error -128 while mounting /export/RedHat7.1
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "" or 02:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 02:00



Please let me know if you have any clues on this...

Thanks a lot,
-Mike.

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-05-05  8:26 Michael Anburaj
  2003-05-05 21:52 ` Muthukumar Ratty
  0 siblings, 1 reply; 40+ messages in thread
From: Michael Anburaj @ 2003-05-05  8:26 UTC (permalink / raw)
  To: linux-mips; +Cc: muthu

Hi,

Thanks a lot Muthu & all others who helped me.

I used the defconfig-atlas to configure my linux build & it works great on 
my board! <Probably I did not read the docs well, sorry> Thanks again, but I 
still have one more hurdle to jump over to kick start this excercise with 
linux.

Messages on my console (I used 'go' on YAMON prompt to start linux):
-------------------------------------------------------------------

Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "" or 02:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 02:00


Please advise me the simplest form of starting linux from YAMON prompt after 
downloading the image(srec) on to RAM.
Also please point me to a doc. that talks about the possible parameters when 
starting Linux.

Thanks everyone & Cheers,
-Mike.



>From: Muthukumar Ratty <muthu@iqmail.net>
>To: Michael Anburaj <michaelanburaj@hotmail.com>
>Subject: Re: Linux for MIPS Atlas 4Kc board
>Date: Sun, 4 May 2003 22:49:40 -0700 (PDT)
>
>On Sun, 4 May 2003, Michael Anburaj wrote:
>
> > Hi Muthu,
> >
> > So, I guess then I would have to do,
> >
> > make menuconfig & choose little endian after "cp arch/mips/default-atlas
> > .config".
>
>small typo, its defconfig-atlas :)
>
>Yes, if you want to run little-endian. But I would suggest you try the big
>endian first (since I guess you have tools for that already).
>
>
> >Am I right? If so, Do I need mipsel-linux??? Because, as I
>
>If you decide to go with little-endian then you need mipsel-linux-*. You
>can either get it from linux-mips or build your own.
>
> > understand mips-linux tool-chain if for big endian.
> >
> > Did you run the final image on top of YAMON?
> >
>
>Yes. I used YAMON to net load the image. But I guess it doesnt matter
>(redboot/yamon/any). Actually I tried RedBoot before for linux-2.4.3 and
>it worked like a champ.
>
>Muthu
>
>
> > Please help me out & thanks,
> > -Mike.
> >
> >
> >
> >
> >
> >
> > >From: Muthukumar Ratty <muthu@iqmail.net>
> > >To: Michael Anburaj <michaelanburaj@hotmail.com>
> > >CC: <linux-mips@linux-mips.org>
> > >Subject: Re: Linux for MIPS Atlas 4Kc board
> > >Date: Sun, 4 May 2003 19:21:49 -0700 (PDT)
> > >
> > >
> > >Hi Mike,
> > >
> > >I dont know what version you are trying but the one at linux_2_4 branch
> > >(linux2.4.21-pre4) seems to work. You can get it with
> > >
> > >cvs -d :pserver:cvs@ftp.linux-mips.org:/home/cvs co -r linux_2_4 linux
> > >
> > >to configure, you can use the default config. from head do ..
> > >
> > >cp arch/mips/default-atlas .config
> > >
> > >I tried little endian. If you want that you need to select it in the
> > >config.
> > >
> > >Muthu
> > >
> > >
> > >On Sun, 4 May 2003, Michael Anburaj wrote:
> > >
> > > > Hi,
> > > >
> > > > Finally, I could compile vmlinux. I thought of booting this RAM 
>image
> > >(or
> > > > its SREC equivalent) using the onboard YAMON (in BIG endian mode - I 
>am
> > > > having trouble building Redboot in BIG endian mode <issue ported at 
>ecos
> > > > forum>, so for now thought of using YAMON). After downloding the
> > > > vmlinux.srec over the serial port (Starting at 0x80100000), I issued 
>the
> > >go
> > > > command to run the image. I get the following message:
> > > >
> > > > YAMON> go
> > > >
> > > > LINUX started...
> > > >
> > > > * Exception (user) : Reserved instruction *
> > > > BadVAddr = 0x00000000  Cause    = 0x00808028
> > > > Compare  = 0x00061a80  Config   = 0x80038083
> > > > Config1  = 0x1e9b4d8a  Context  = 0x63800000
> > > > Count    = 0xb9188fd8  DEPC     = 0x21424255
> > > > Debug    = 0x0400dc0b  EPC      = 0x80122258
> > > > EntryHi  = 0x00000068  EntryLo0 = 0x028ff72e
> > > > EntryLo1 = 0x035a241f  ErrorEPC = 0x8003add0
> > > > Index    = 0x0000000b  PRId     = 0x00018001
> > > > PageMask = 0x01b90000  Random   = 0x0000000d
> > > > Status   = 0x00000402  WatchHi  = 0x00000000
> > > > WatchLo  = 0x00000000  Wired    = 0x00000000
> > > > Hi       = 0x00000000  Lo       = 0x04000000
> > > >
> > > > $ 0(zr):0x00000000  $ 8(t0):0x00000000  $16(s0):0x802d810a
> > > > $24(t8):0xffffffff
> > > > $ 1(at):0x80280000  $ 9(t1):0x00000000  $17(s1):0x802d810c
> > > > $25(t9):0x802c1e94
> > > > $ 2(v0):0x0000000a  $10(t2):0x8024f401  $18(s2):0x00000400
> > > > $26(k0):0x00000000
> > > > $ 3(v1):0x00000000  $11(t3):0x00000000  $19(s3):0x00000001
> > > > $27(k1):0x00000000
> > > > $ 4(a0):0x00000000  $12(t4):0x00000000  $20(s4):0x0000001a
> > > > $28(gp):0x802c0000
> > > > $ 5(a1):0x80280000  $13(t5):0x00000000  $21(s5):0x0000000a
> > > > $29(sp):0x802c1f58
> > > > $ 6(a2):0x8024385a  $14(t6):0x802d8109  $22(s6):0x0000003e
> > > > $30(s8):0x800b1080
> > > > $ 7(a3):0x00000000  $15(t7):0xfffffffe  $23(s7):0x0000003c
> > > > $31(ra):0x80122230
> > > >
> > > >
> > > > The linux image started fine, but caused an exception after a while. 
>Is
> > >this
> > > > because Linux is not compatible with YAMON? If so, what are the 
>possible
> > > > monitor programs that can go with Linux? Please point me to the
> > >documents in
> > > > this regard (documents on running Linux executable on Atlas 4Kc 
>board).
> > > >
> > > > Or will Linux work with any ROM monitor? If so, please let me know 
>the
> > > > reason for the exception.
> > > >
> > > > Thanks a lot,
> > > > -Mike.
> > > >
> > > > _________________________________________________________________
> > > > STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> > > > http://join.msn.com/?page=features/junkmail
> > > >
> > > >
> > >
> >
> >
> > _________________________________________________________________
> > Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> > http://join.msn.com/?page=features/junkmail
> >
>


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-05-05  0:27 Michael Anburaj
  2003-05-05  2:21 ` Muthukumar Ratty
  0 siblings, 1 reply; 40+ messages in thread
From: Michael Anburaj @ 2003-05-05  0:27 UTC (permalink / raw)
  To: linux-mips

Hi,

Finally, I could compile vmlinux. I thought of booting this RAM image (or 
its SREC equivalent) using the onboard YAMON (in BIG endian mode - I am 
having trouble building Redboot in BIG endian mode <issue ported at ecos 
forum>, so for now thought of using YAMON). After downloding the 
vmlinux.srec over the serial port (Starting at 0x80100000), I issued the go 
command to run the image. I get the following message:

YAMON> go

LINUX started...

* Exception (user) : Reserved instruction *
BadVAddr = 0x00000000  Cause    = 0x00808028
Compare  = 0x00061a80  Config   = 0x80038083
Config1  = 0x1e9b4d8a  Context  = 0x63800000
Count    = 0xb9188fd8  DEPC     = 0x21424255
Debug    = 0x0400dc0b  EPC      = 0x80122258
EntryHi  = 0x00000068  EntryLo0 = 0x028ff72e
EntryLo1 = 0x035a241f  ErrorEPC = 0x8003add0
Index    = 0x0000000b  PRId     = 0x00018001
PageMask = 0x01b90000  Random   = 0x0000000d
Status   = 0x00000402  WatchHi  = 0x00000000
WatchLo  = 0x00000000  Wired    = 0x00000000
Hi       = 0x00000000  Lo       = 0x04000000

$ 0(zr):0x00000000  $ 8(t0):0x00000000  $16(s0):0x802d810a  
$24(t8):0xffffffff
$ 1(at):0x80280000  $ 9(t1):0x00000000  $17(s1):0x802d810c  
$25(t9):0x802c1e94
$ 2(v0):0x0000000a  $10(t2):0x8024f401  $18(s2):0x00000400  
$26(k0):0x00000000
$ 3(v1):0x00000000  $11(t3):0x00000000  $19(s3):0x00000001  
$27(k1):0x00000000
$ 4(a0):0x00000000  $12(t4):0x00000000  $20(s4):0x0000001a  
$28(gp):0x802c0000
$ 5(a1):0x80280000  $13(t5):0x00000000  $21(s5):0x0000000a  
$29(sp):0x802c1f58
$ 6(a2):0x8024385a  $14(t6):0x802d8109  $22(s6):0x0000003e  
$30(s8):0x800b1080
$ 7(a3):0x00000000  $15(t7):0xfffffffe  $23(s7):0x0000003c  
$31(ra):0x80122230


The linux image started fine, but caused an exception after a while. Is this 
because Linux is not compatible with YAMON? If so, what are the possible 
monitor programs that can go with Linux? Please point me to the documents in 
this regard (documents on running Linux executable on Atlas 4Kc board).

Or will Linux work with any ROM monitor? If so, please let me know the 
reason for the exception.

Thanks a lot,
-Mike.

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-05-01  8:53 Michael Anburaj
  0 siblings, 0 replies; 40+ messages in thread
From: Michael Anburaj @ 2003-05-01  8:53 UTC (permalink / raw)
  To: linux-mips

Hi,

I got passed the config issue, Thanks to all & Greg.

Now when I try making "make ARCH=mips", I get a lot of errors:

/usr/src/linux-2.4.20-6/include/linux/mm.h:188: parse error before 
`pte_addr_t'
/usr/src/linux-2.4.20-6/include/linux/mm.h:188: warning: no semicolon at end 
of
struct or union
/usr/src/linux-2.4.20-6/include/linux/mm.h:188: warning: no semicolon at end 
of
struct or union
/usr/src/linux-2.4.20-6/include/linux/mm.h:189: warning: type defaults to 
`int'
in declaration of `pte'
/usr/src/linux-2.4.20-6/include/linux/mm.h:189: warning: data definition has 
no
type or storage class
/usr/src/linux-2.4.20-6/include/linux/mm.h:208: parse error before `}'


I get more error like the ones above.

Please let me know the reason for the same.

Thanks,
-Mike.

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-04-30  8:56 Michael Anburaj
  0 siblings, 0 replies; 40+ messages in thread
From: Michael Anburaj @ 2003-04-30  8:56 UTC (permalink / raw)
  To: linux-mips; +Cc: geert, edotkumar

More info...

After
$ make ARCH=mips menuconfig

I did,
$ make ARCH=mips dep

all the commands where operating on the arch/mips foler files. But at the 
end it wrote arch/i386 references in the tmp_include_depends file.

make[2]: Leaving directory `/usr/src/linux-2.4.20-6/arch/mips/lib'
make[1]: Leaving directory `/usr/src/linux-2.4.20-6'
make update-modverfile
make[1]: Entering directory `/usr/src/linux-2.4.20-6'
/usr/src/linux-2.4.20-6/include/linux/modversions.h was not updated
make[1]: Leaving directory `/usr/src/linux-2.4.20-6'
(find /usr/src/linux-2.4.20-6 \( -name .depend -o -name .hdepend \) -print | 
xargs awk -f scripts/include_deps) > tmp_include_depends


clipping from the tmp_include_depends file:
------------------------------------------

/usr/src/linux-2.4.20-6/arch/i386/math-emu/exception.h: \
   /usr/src/linux-2.4.20-6/arch/i386/math-emu/fpu_emu.h
	@touch /usr/src/linux-2.4.20-6/arch/i386/math-emu/exception.h
/usr/src/linux-2.4.20-6/arch/i386/math-emu/fpu_asm.h: \
   /usr/src/linux-2.4.20-6/include/linux/linkage.h
	@touch /usr/src/linux-2.4.20-6/arch/i386/math-emu/fpu_asm.h


I even tried issuing these commands after $ make clean, still the same old 
problem. I guess I am close to get the Linux binaries for my Atlas board. 
Please help me with this.

Also do let me know if this binary is for RAM? Can I run this on top of 
Redboot without any issues?

Thanks,
-Mike.


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-04-30  7:13 Michael Anburaj
  2003-04-30  7:24 ` Greg Lindahl
  0 siblings, 1 reply; 40+ messages in thread
From: Michael Anburaj @ 2003-04-30  7:13 UTC (permalink / raw)
  To: wd; +Cc: geert, linux-mips

Hi,

Now I got passed the config issue.

I used the following command:

$ make ARCH=mips menuconfig

& changed the Machine option to Atlas 4Kc & saved it
Then
$ make dep
Then when I tried make, I got the following error:

[root@localhost linux-2.4.20-6]# make
scripts/split-include include/linux/autoconf.h include/config
make -r -f tmp_include_depends all
make[1]: Entering directory `/usr/src/linux-2.4.20-6'
make[1]: *** No rule to make target 
`/usr/src/linux-2.4.20-6/include/asm/math_emu.h', needed by 
`/usr/src/linux-2.4.20-6/arch/i386/math-emu/fpu_emu.h'.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.4.20-6'
make: *** [tmp_include_depends] Error 2


I guess it's something to do with the FPU option ( not sure).. Please help 
me with this. I wonder why its still refering to files from arch/i386. The 
autoconfig.h seems to be fine. Ony the MIPS processor options are enabled.

Thanks,
-Mike.






>From: Wolfgang Denk <wd@denx.de>
>To: "Michael Anburaj" <michaelanburaj@hotmail.com>
>CC: geert@linux-m68k.org, linux-mips@linux-mips.org
>Subject: Re: Linux for MIPS Atlas 4Kc board Date: Tue, 29 Apr 2003 22:00:29 
>+0200
>
>In message <BAY1-F39ahdtT8esYrJ0000a53e@hotmail.com> you wrote:
> >
> > Now I have all the tools (mips32el-linux) on Redhat Linux 9 & its 
>source. I
>
>Did you have a look at the ELDK? See http://www.denx.de/re/ELDK.html
>resp. ftp://ftp.leo.org/pub/eldk/2.1.0/eldk-mips-linux-x86/
>
> > $ make xconfig
> >
> > It displayed a window with lot of options. But under processor I could 
>only
> > find flavors of x86 core.
>
>I bet you missed to set "ARCH := mips" in the TLD Makefile;
>alternatively try "make ARCH=mips xconfig"
>
>
>Best regards,
>
>Wolfgang Denk
>
>--
>Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
>Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
>"The number  of  Unix  installations  has  grown  to  10,  with  more
>expected."    - The Unix Programmer's Manual, 2nd Edition, June, 1972


_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-04-30  4:00 Michael Anburaj
  2003-04-30  4:06 ` Keith Owens
  0 siblings, 1 reply; 40+ messages in thread
From: Michael Anburaj @ 2003-04-30  4:00 UTC (permalink / raw)
  To: wd; +Cc: geert, linux-mips, edotkumar

Hi all,

Thanks for the comments. But still I get an error.

[root@localhost linux-2.4.20-6]# make ARCH=mips xconfig
rm -f include/asm
( cd include ; ln -sf asm-mips asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.20-6/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/mips/config.in >> kconfig.tk
arch/mips/config-shared.in: 482: unterminated quoted string
make[1]: *** [kconfig.tk] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.20-6/scripts'
make: *** [xconfig] Error 2

Please help me get passed this. Please let me know if there is document on 
this.


Thanks a lot,
-Mike.





>From: Wolfgang Denk <wd@denx.de>
>To: "Michael Anburaj" <michaelanburaj@hotmail.com>
>CC: geert@linux-m68k.org, linux-mips@linux-mips.org
>Subject: Re: Linux for MIPS Atlas 4Kc board Date: Tue, 29 Apr 2003 22:00:29 
>+0200
>
>In message <BAY1-F39ahdtT8esYrJ0000a53e@hotmail.com> you wrote:
> >
> > Now I have all the tools (mips32el-linux) on Redhat Linux 9 & its 
>source. I
>
>Did you have a look at the ELDK? See http://www.denx.de/re/ELDK.html
>resp. ftp://ftp.leo.org/pub/eldk/2.1.0/eldk-mips-linux-x86/
>
> > $ make xconfig
> >
> > It displayed a window with lot of options. But under processor I could 
>only
> > find flavors of x86 core.
>
>I bet you missed to set "ARCH := mips" in the TLD Makefile;
>alternatively try "make ARCH=mips xconfig"
>
>
>Best regards,
>
>Wolfgang Denk
>
>--
>Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
>Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
>"The number  of  Unix  installations  has  grown  to  10,  with  more
>expected."    - The Unix Programmer's Manual, 2nd Edition, June, 1972


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-04-29 19:40 Michael Anburaj
  2003-04-29 20:00 ` Wolfgang Denk
  2003-04-29 20:06 ` Muthukumar Ratty
  0 siblings, 2 replies; 40+ messages in thread
From: Michael Anburaj @ 2003-04-29 19:40 UTC (permalink / raw)
  To: geert; +Cc: linux-mips

Hi,

Now I have all the tools (mips32el-linux) on Redhat Linux 9 & its source. I 
am trying to build linux for MIPS Atlas 4Kc using this source. When I tried 
the following command:

$ make xconfig

It displayed a window with lot of options. But under processor I could only 
find flavors of x86 core.

I thought there would be options to choose the board & then another to 
choose the processor.

Let me know how to configure the linux build for MIPS Atlas 4Kc board & then 
actually to do a slim (or a lean) build (just the necessary drivers & 
packages).

Also point me to documents regarding the configuration aspect of Linux for 
processors other than the x86 (like the ARM core, MIPS, PPC & like).

Thanks a lot,
-Mike.




>From: Geert Uytterhoeven <geert@linux-m68k.org>
>To: Michael Anburaj <michaelanburaj@hotmail.com>
>CC: Linux/MIPS Development <linux-mips@linux-mips.org>
>Subject: Re: Linux for MIPS Atlas 4Kc board
>Date: Fri, 11 Apr 2003 12:04:03 +0200 (MEST)
>
>On Fri, 11 Apr 2003, Michael Anburaj wrote:
> > linux-mips & mips-linux... did not catch my eyes, sorry.
> >
> > Let me know if mips-linux-gcc binaries for Windows is available for 
>free? If
> > so, can you point me to the URL?
> >
> > Or is it easy to build it on the cygwin env. on windows following
> > instructions given on the web? URL for the same?
>
>No idea, I use real Unices only. Follow the instructions to build a
>cross-compiler on http://www.linux-mips.org/.
>
> > Thanks a lot, Thanks every body for helping me learn embedded-Linux.
> >
> > >From: Geert Uytterhoeven <geert@linux-m68k.org>
> > >To: Michael Anburaj <michaelanburaj@hotmail.com>
> > >CC: Ralf Baechle <ralf@linux-mips.org>,        Linux/MIPS Development
> > ><linux-mips@linux-mips.org>
> > >Subject: Re: Linux for MIPS Atlas 4Kc board
> > >Date: Fri, 11 Apr 2003 11:28:51 +0200 (MEST)
> > >
> > >On Fri, 11 Apr 2003, Michael Anburaj wrote:
> > > > Thanks Ralf.
> > > >
> > > > I want this question to be answered.
> > > >
> > > > Can I build linux on my Win98 machine for MIPS 4Kc Atlas board using
> > > > mipsisa32-elf-gcc & make?
> > >
> > >No, you need mips-linux-gcc instead of mipsisa32-elf-gcc, as Ralf 
>already
> > >told
> > >you. mipsisa32-elf-gcc is not configured for building Linux kernels.
> > >
> > > > >From: Ralf Baechle <ralf@linux-mips.org>
> > > > >To: Michael Anburaj <michaelanburaj@hotmail.com>
> > > > >CC: linux-mips@linux-mips.org
> > > > >Subject: Re: Linux for MIPS Atlas 4Kc board
> > > > >Date: Thu, 10 Apr 2003 03:25:29 +0200
> > > > >
> > > > >On Wed, Apr 09, 2003 at 02:32:03PM -0700, Michael Anburaj wrote:
> > > > >
> > > > > > I am new to Linux. But I have a strong ARM & MIPS background 
>with
> > >kernel
> > > > > > porting & other stuff.
> > > > > >
> > > > > > I want to get a higher-level view of the essential components of
> > >Linux
> > > > >for
> > > > > > MIPS & documentation about the kernel. Please point me to 
>documents
> > >on
> > > > >the
> > > > > > net.
> > > > >
> > > > >I suggest http://www.linux-mips.org to get started.
> > > > >
> > > > > > Question 2:
> > > > > > Does Linux-MIPS support the MIPS Atlas board with 4Kc processor
> > >using
> > > > > > mipsisa32-elf build tool chain (Contain the appropriate HAL or 
>BSP)?
> > >Is
> > > > >so,
> > > > > > please point me to documents that gives the exact build steps 
>for
> > >the
> > > > >same.
> > > > >
> > > > >No.  You must use a Linux configuration of the tools, that's
> > >mips-linux.
> > > > >
> > > > > > Also do let me know if Cygwin over Win98 dev. environment is 
>good
> > >for
> > > > > > building & developing with Linux-MIPS or do I need to have Linux
> > > > >installed
> > > > > > on my dev. machine?
> > > > >
> > > > >I've never use Cygwin myself.  The reports I've received are a 
>mixed
> > >bag
> > > > >ranging from extremly bad to very good.
>
>Gr{oetje,eeting}s,
>
>						Geert
>
>--
>Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- 
>geert@linux-m68k.org
>
>In personal conversations with technical people, I call myself a hacker. 
>But
>when I'm talking to journalists I just say "programmer" or something like 
>that.
>							    -- Linus Torvalds
>


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

^ permalink raw reply	[flat|nested] 40+ messages in thread
[parent not found: <BAY1-F124jn04x29xDb00011e0b@hotmail.com>]
* Re: Linux for MIPS Atlas 4Kc board
@ 2003-04-11  9:48 Michael Anburaj
  0 siblings, 0 replies; 40+ messages in thread
From: Michael Anburaj @ 2003-04-11  9:48 UTC (permalink / raw)
  To: ralf; +Cc: linux-mips

Hi Raf,

In /linux/Makefile I see references made to ./scripts/kconfig/conf

but when I take a look at the files inside ./scripts/kconfig/ I don't find 
any conf file instead conf.c

Am I missing some things?

Thanks,
-Mike.






>From: Ralf Baechle <ralf@linux-mips.org>
>To: Michael Anburaj <michaelanburaj@hotmail.com>
>CC: linux-mips@linux-mips.org
>Subject: Re: Linux for MIPS Atlas 4Kc board
>Date: Thu, 10 Apr 2003 03:25:29 +0200
>
>On Wed, Apr 09, 2003 at 02:32:03PM -0700, Michael Anburaj wrote:
>
> > I am new to Linux. But I have a strong ARM & MIPS background with kernel
> > porting & other stuff.
> >
> > I want to get a higher-level view of the essential components of Linux 
>for
> > MIPS & documentation about the kernel. Please point me to documents on 
>the
> > net.
>
>I suggest http://www.linux-mips.org to get started.
>
> > Question 2:
> > Does Linux-MIPS support the MIPS Atlas board with 4Kc processor using
> > mipsisa32-elf build tool chain (Contain the appropriate HAL or BSP)? Is 
>so,
> > please point me to documents that gives the exact build steps for the 
>same.
>
>No.  You must use a Linux configuration of the tools, that's mips-linux.
>
> > Also do let me know if Cygwin over Win98 dev. environment is good for
> > building & developing with Linux-MIPS or do I need to have Linux 
>installed
> > on my dev. machine?
>
>I've never use Cygwin myself.  The reports I've received are a mixed bag
>ranging from extremly bad to very good.
>
>   Ralf


_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Linux for MIPS Atlas 4Kc board
@ 2003-04-09 21:32 Michael Anburaj
  2003-04-10  1:25 ` Ralf Baechle
  0 siblings, 1 reply; 40+ messages in thread
From: Michael Anburaj @ 2003-04-09 21:32 UTC (permalink / raw)
  To: linux-mips

Hi,

I am new to Linux. But I have a strong ARM & MIPS background with kernel 
porting & other stuff.

I want to get a higher-level view of the essential components of Linux for 
MIPS & documentation about the kernel. Please point me to documents on the 
net.

Question 2:
Does Linux-MIPS support the MIPS Atlas board with 4Kc processor using 
mipsisa32-elf build tool chain (Contain the appropriate HAL or BSP)? Is so, 
please point me to documents that gives the exact build steps for the same.

Also do let me know if Cygwin over Win98 dev. environment is good for 
building & developing with Linux-MIPS or do I need to have Linux installed 
on my dev. machine?

Thanks a lot,
-Mike.


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

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

end of thread, other threads:[~2003-05-13  7:31 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-11  9:24 Linux for MIPS Atlas 4Kc board Michael Anburaj
2003-04-11  9:28 ` Geert Uytterhoeven
2003-04-11 16:47 ` Jun Sun
  -- strict thread matches above, loose matches on Subject: below --
2003-05-13  7:31 Michael Anburaj
2003-05-10 21:07 Michael Anburaj
2003-05-10 15:56 Michael Anburaj
2003-05-10 19:49 ` Jan-Benedict Glaw
2003-05-10  4:57 Michael Anburaj
2003-05-10  5:44 ` Muthukumar Ratty
2003-05-10  5:44   ` Muthukumar Ratty
2003-05-10 10:30 ` Jan-Benedict Glaw
2003-05-09 18:34 Michael Anburaj
2003-05-09  6:31 Michael Anburaj
2003-05-09  8:25 ` Jan-Benedict Glaw
2003-05-09  5:47 Michael Anburaj
2003-05-08 17:02 Michael Anburaj
2003-05-08 21:40 ` Jan-Benedict Glaw
2003-05-08 10:09 Michael Anburaj
2003-05-08 11:20 ` Jan-Benedict Glaw
2003-05-05  8:26 Michael Anburaj
2003-05-05 21:52 ` Muthukumar Ratty
2003-05-05 21:52   ` Muthukumar Ratty
2003-05-05  0:27 Michael Anburaj
2003-05-05  2:21 ` Muthukumar Ratty
2003-05-05  2:21   ` Muthukumar Ratty
2003-05-01  8:53 Michael Anburaj
2003-04-30  8:56 Michael Anburaj
2003-04-30  7:13 Michael Anburaj
2003-04-30  7:24 ` Greg Lindahl
2003-04-30  4:00 Michael Anburaj
2003-04-30  4:06 ` Keith Owens
2003-04-29 19:40 Michael Anburaj
2003-04-29 20:00 ` Wolfgang Denk
2003-04-29 20:06 ` Muthukumar Ratty
2003-04-29 20:06   ` Muthukumar Ratty
     [not found] <BAY1-F124jn04x29xDb00011e0b@hotmail.com>
2003-04-11 10:04 ` Geert Uytterhoeven
2003-04-11  9:48 Michael Anburaj
2003-04-09 21:32 Michael Anburaj
2003-04-10  1:25 ` Ralf Baechle
2003-04-10  6:29   ` Jan-Benedict Glaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox