linux-mips
[Top] [All Lists]

Re: Linux for MIPS Atlas 4Kc board

To: linux-mips@linux-mips.org
Subject: Re: Linux for MIPS Atlas 4Kc board
From: "Michael Anburaj" <michaelanburaj@hotmail.com>
Date: Mon, 05 May 2003 01:26:30 -0700
Cc: muthu@iqmail.net
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
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


<Prev in Thread] Current Thread [Next in Thread>