Linux for MIPS Atlas 4Kc board
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.
Quoted 126 lines
From: Muthukumar Ratty <[email protected]>
To: Michael Anburaj <[email protected]>
Subject: Re: Linux for MIPS Atlas 4Kc board
Date: Sun, 4 May 2003 22:49:40 -0700 (PDT)Quoted 6 lines · Michael Anburaj
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).
Quoted 1 line
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.
Quoted 4 lines
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
Quoted 37 lines
Please help me out & thanks,
-Mike.Quoted 29 lines
From: Muthukumar Ratty <[email protected]>
To: Michael Anburaj <[email protected]>
CC: <[email protected]>
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_4branch (linux2.4.21-pre4) seems to work. You can get it withcvs -d :pserver:[email protected]:/home/cvs co -r
linux_2_4linuxto configure, you can use the default config. from head do ..
cp
arch/mips/default-atlas.configI tried little endian. If you want that you need to select it in the config.
Muthu
Quoted 3 lines · Michael Anburaj
Hi,
Finally, I could compile vmlinux. I thought of booting this RAM
image
Quoted 2 lines
Quoted 2 lines
(or
Quoted 1 line
its SREC equivalent) using the onboard YAMON (in BIG endian mode - I
am
Quoted 1 line
Quoted 1 line
Quoted 1 line
having trouble building Redboot in BIG endian mode <issue ported at
ecos
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
forum>, so for now thought of using YAMON). After downloding the vmlinux.srec over the serial port (Starting at
0x80100000), I issuedthe
Quoted 39 lines
Quoted 39 lines
go
Quoted 38 lines
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):0x80122230Quoted 1 line
Quoted 1 line
Quoted 1 line
The linux image started fine, but caused an exception after a while.
Is
Quoted 2 lines
Quoted 2 lines
this
Quoted 1 line
because Linux is not compatible with YAMON? If so, what are the
Quoted 26 lines
possible
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
monitor programs that can go with Linux? Please point me to the
documents in
Quoted 1 line
this regard (documents on running Linux executable on Atlas 4Kc
board).
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Or will Linux work with any ROM monitor? If so, please let me know
the
Quoted 17 lines
Quoted 11 lines
Quoted 10 lines
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
Hi Mike,
You need to set up the userland. I got it from the mips website ftp://ftp.mips.com/pub/linux/mips/installation/redhat7.1/. There is a good document on how to install it. You can install it on a hard disk or use an NFS mounted system and set the bootvariable root=... properly.
For an NFS system I use
go . nfsroot=10.10.10.1:/shiva/export/linux/mipsel
Muthu.
PS: There are other distributions you can try too. Checkout linux-mips website or google for it.
Quoted 188 lines · Michael Anburaj
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 optionKernel panic: VFS: Unable to mount root fs on 02:00Please 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.Quoted 126 lines
From: Muthukumar Ratty <[email protected]>
To: Michael Anburaj <[email protected]>
Subject: Re: Linux for MIPS Atlas 4Kc board
Date: Sun, 4 May 2003 22:49:40 -0700 (PDT)Quoted 6 lines · Michael Anburaj
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).
Quoted 1 line
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.
Quoted 4 lines
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
Quoted 37 lines
Please help me out & thanks,
-Mike.Quoted 29 lines
From: Muthukumar Ratty <[email protected]>
To: Michael Anburaj <[email protected]>
CC: <[email protected]>
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_4branch (linux2.4.21-pre4) seems to work. You can get it withcvs -d :pserver:[email protected]:/home/cvs co -r
linux_2_4linuxto configure, you can use the default config. from head do ..
cp
arch/mips/default-atlas.configI tried little endian. If you want that you need to select it in the config.
Muthu
Quoted 3 lines · Michael Anburaj
Hi,
Finally, I could compile vmlinux. I thought of booting this RAM
image
Quoted 2 lines
Quoted 2 lines
(or
Quoted 1 line
its SREC equivalent) using the onboard YAMON (in BIG endian mode - I
am
Quoted 1 line
Quoted 1 line
Quoted 1 line
having trouble building Redboot in BIG endian mode <issue ported at
ecos
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
forum>, so for now thought of using YAMON). After downloding the vmlinux.srec over the serial port (Starting at
0x80100000), I issuedthe
Quoted 39 lines
Quoted 39 lines
go
Quoted 38 lines
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):0x80122230Quoted 1 line
Quoted 1 line
Quoted 1 line
The linux image started fine, but caused an exception after a while.
Is
Quoted 2 lines
Quoted 2 lines
this
Quoted 1 line
because Linux is not compatible with YAMON? If so, what are the
Quoted 26 lines
possible
Quoted 3 lines
Quoted 3 lines
Quoted 1 line
monitor programs that can go with Linux? Please point me to the
documents in
Quoted 1 line
this regard (documents on running Linux executable on Atlas 4Kc
board).
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Or will Linux work with any ROM monitor? If so, please let me know
the
Quoted 17 lines
Quoted 11 lines
Quoted 10 lines
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