EmbeddedRelated.com
Forums

loading linux using vxworks boot loader

Started by Sagar Borikar May 18, 2006
Hi ,

I am loading the kernel 2.6.12 for MIPS target using vxworks boot
loader.
VxWorks kernel 5.5.1 image is at 0x80010000 and I have linked the linux
ELF  image with the same start address in Makefile. And the
start_kernel with 0x80ae600 address.
As it is vxworks version is after 5.4 , it can identify ELF compatible
images.
VxWorks boot loader is able to identify start_kernel but then it throws
the exception mentioned below.
Any pointers?

Attached TCP/IP interface to macb0.
Attaching network interface lo0... done.
Loading... 1737652 + 667680
Starting at 0x801e6000...

Tlb Load Exception
Exception Program Counter: 0x801ea31c
Status Register: 0x3404ff00
Cause Register: 0x00000008
Access Address : 0x00040000
Task: 0x86ee41c0 ""
801e6600: 801ebdd0 (80191100, 3, 0, 0)
801ebe2c: 801ea234 (801e6000, 20, 8308f528, 801e6000)

$0    =                0   t0    =                a   s0    =
ffffffff801bbfc0
at    = ffffffff801c0000   t1    = ffffffff8025d01c   s1    =
ffffffff8003ffe4
v0    = ffffffff80011350   t2    = ffffffff86ee41c0   s2    =
     1
v1    =               20   t3    =                0   s3    =
 40000
a0    = ffffffff8003ffe0   t4    = ffffffff86ed2990   s4    =
ffffffff80040000
a1    =                0   t5    =                2   s5    =
     0
a2    =               75   t6    =             f5d0   s6    =
    20
a3    = ffffffff8024085c   t7    =         3508f5d0   s7    =
     0
s8    = ffffffff8023e86c   k0    = 80191100801bbfac
gp    = ffffffff801ba000   k1    =                0   t8    =
3042e4bb
ra    = ffffffff801ebe34   sp    = ffffffff801bbf40   t9    =
 20000
divlo =                2   divhi =               1a   sr    = 3404ff00
pc    = 801ea31c

Sagar