Skip to contentSkip to conversation

boot "hell world " and linux on CSB350

DISCUSSION taoyong 1 participant 1 message Jul 22, 2004 MIPS

lore
Share & tools
lore

taoyong

author
#0 lore raw

Hi linux-mips,

       We have AMD PB1000 and openpda platform and the hardhat linux keranl. csb350 is a new board,and we want to port the hardhat kernal to the csb350. But after we download the "hello world" ,which is comopiled with the mips-elf-gcc,to the ram 0xa0300000,then "call 0xa0300000",we got "Returned: -2147239488 (0x8003b9c0)" . we tftped the kernal image to the RAM 0xa0300000,then call it ,got the same result "Returned: -2147239488 (0x8003b9c0)" or it stopped there.

uMON>tftp 192.168.100.251 get /tftpboot/hello.bin 0xa0300000 Retrieving /tftpboot/hello.bin from 192.168.100.251...TFTP transfer complete.
1504 bytes
uMON>call 0xa0300000
Returned: -2147239488 (0x8003b9c0)
uMON>dm 0xa0300000
a0300000: 14 a0 1d 3c 00 ff bd 27 11 a0 1c 3c d0 85 9c 27 ...<...'...<...'
a0300010: 04 00 bf af 54 01 04 0c 00 00 00 00 00 00 00 00 ....T...........
a0300020: 04 00 bf 8f 08 00 e0 03 00 00 00 00 00 00 00 00 ................
a0300030: 08 00 e0 03 00 00 00 00 00 00 00 00 00 00 00 00 ................
a0300040: 21 40 00 00 05 00 a0 14 21 48 80 00 30 00 02 24 !@......!H..0..$
a0300050: 00 00 22 a1 08 00 e0 03 01 00 02 24 1b 00 a6 00 .."........$....
a0300060: 12 28 00 00 21 20 28 01 10 10 00 00 01 00 c0 50 .(..! (........P
a0300070: 0d 00 07 00 21 10 e2 00 00 00 43 90 01 00 08 25 ....!.....C....%

uMON>tftp 192.168.100.251 get /tftpboot/vmlinux.bin 0xa0600000 Retrieving /tftpboot/vmlinux.bin from 192.168.100.251...TFTP transfer complete.
1548288 bytes
uMON>call 0xa0600000
Returned: -2147239488 (0x8003b9c0)

uMON>tftp 192.168.100.251 get /tftpboot/vmlinux.bin 0xa0300000 Retrieving /tftpboot/vmlinux.bin from 192.168.100.251...TFTP transfer complete.
1548288 bytes
uMON>dm 0xa0300000
a0300000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
a0300010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
a0300020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
a0300030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
a0300040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
a0300050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
a0300060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
a0300070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
uMON>call 0xa0300000

it stopped here and we have to reset the csb350. what's the reason?

Best regards,

Quoted 7 lines

Yong Tao
Insitute of Manufacture Engineering of Chongqing University, Chongqing,
China
400030
tel:(+8623)65111224-108

    (+86)13752931429