[Skyeye-developer]blackfin on skyeye error

kang shuo blackfin.kang at gmail.com
Sun Sep 3 19:15:37 CST 2006


hi:
     Blackfin simulation is not completely  until now.Cache and DMA is
not simulated.So when you select some device that not supported by
skyeye, maybe you will encounter some problems. I tried to make the
newest release of blackfin uclinux run on skyeye and  need to wait
several days before get an enhancement blackfin simulator.  You can
try  2005R3 RC2 release of blackfin uclinux and make it run on SkyEye.

- Thanks
- Michael.Kang


On 8/31/06, 张健 <bamv2005 at emails.bjut.edu.cn> wrote:
> Hi all.
>
> recently, i am trying run blackfin uclinux on skyeye, but i have some problem.
>
> First. I run blackfin_uclinux testsuit2.1 on skyeye 1,2RC8, successful.
>
> And then, I compile the blackfin_uclinux kernel, run on skyeye. Here is the start
> info and error:
>
>
>
> arch: blackfin
>
> begin init emulator()
>
> exec file "linux"'s format is elf32-little.
>
> load section .text: addr = 0x00001000  size = 0x000ed04c.
>
> load section .init: addr = 0x000ee04c  size = 0x0000dcd4.
>
> load section .text_l1: lma = 0x000fbd20 (vma = 0xffa00000)  size = 0x000000cc.
>
> not load section .data_l1: addr = 0xff800000  size = 0x00000000 .
>
> load section .data: addr = 0x000fbdec  size = 0x0002fcac.
>
> not load section .bss: addr = 0x0012baa0  size = 0x0000d424 .
>
> not load section .comment: addr = 0x00000000  size = 0x000026fe .
>
> load section .romfs: addr = 0x00138ec4  size = 0x00800000.
>
> start addr is set to 0x00001000 by exec file.
>
>
>
> pf_write_word io error!!!addr=0xffc00714,pc=0x1050
>
> 非法指令(illegal instruction)
>
>
>
> i search "0xffc00714", find it in
> linux2.6.x/include/asm-blackfin/mach-bf533/defBF532.h
>
>
>
> next, i want to debugging the kernel. in Kernel Configuration - kernel hacking, i
> select Kernel debugging and "Compile the kernel with debug info"
>
>
>
> after compile, i want to debug the kernel using skyeye and bfin-uclinux-gdb.
>
> in skyeye terminal:
>
> #skyeye -e linux -d -c skyeye.conf
>
> debugmode= 1, filename = /usr/src/skyeye/testsuite2/blackfin/skyeye.conf, server
> TCP port is 12345
>
> ..
>
> putpkt(read): Got EOF
>
> readchar: Got EOF
>
>
>
> in gdb terminal:
>
> #bfin-uclinux-gdb linux
>
> ..
>
> (gdb)target remote:12345
>
> Remote debugging using host:12345
>
> (gdb) cont
>
> Continuing.
>
> Can't send signals to this remote system.  SIGHUP not sent.
>
>
>
> Program received signal SIGHUP, Hangup.
>
> 0x00000000 in ?? ()
>
> (gdb) cont
>
> Continuing.
>
> Can't send signals to this remote system.  SIGHUP not sent.
>
>
>
> Program received signal SIGHUP, Hangup.
>
> 0x00000000 in ?? ()
>
>
>
> (gdb) run
>
> The program being debugged has been started already.
>
> Start it from the beginning? (y or n) y
>
>
>
> Starting program: /usr/src/skyeye/testsuite2/blackfin/linux -e linux  -f
> skyeye.conf
>
> Don't know how to run.  Try "help target".
>
> (gdb)
>
>
>
> now, i do not tbe next step.
>
> help me, thanks.
>
> my platform is blackfin uclinux R06-RC2, cross-compile toolchain:
> blackfin-toolchain-06r1-2.i386.rpm, host gcc: 3.4.3(Red Hat 3.4.3-22.1), OS:
> redhat enterpaise linux as 4 (2.6.9-11.EL). i also use blackfin uclinux 2005R3,
> cross-compile toolchain: bfin-gcc-3.4-4.1.i386.rpm, the problem is similar.
>
> and, what is the correct version of blackfin uclinux run on skyeye, thanks.
>
>                                                  regards
>                                                  bamvor
>
>
>
> _______________________________________________
> Skyeye-developer mailing list
> Skyeye-developer at lists.gro.clinux.org
> http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
>


More information about the Skyeye-developer mailing list