[Skyeye-developer] testsuite blackfin

Howard Fan fan.howard at gmail.com
Wed May 3 14:12:10 CST 2006


thanks. Is the gdb remote debug supported for blackfin? Can u show us
a sample debug session?

I tried this:

~/bfin/bfin-binary-05r4-2/bfin-uclinux/bin/bfin-uclinux-gdb linux
GNU gdb 6.3.50_2004-11-25-cvs
... (skipped)
(gdb) target remote:12345
Remote debugging using :12345
Ignoring packet error, continuing...
Reply contains invalid hex digit 116
putpkt: write failed: Broken pipe.

---- another session ----
/skyeye -d -e linux
debugmode= 1, filename = (null), server TCP port is 12345
arch: blackfin
begin init emulator()
exec file "linux"'s format is elf32-little.
... (skipped)
start addr is set to 0x00001000 by exec file.
Remote debugging using host:12345

bf533_io_read_byte io error!!!addr=0xfffffffc,pc=0x1000
Illegal instruction



On 5/2/06, kang shuo <blackfin.kang at gmail.com> wrote:
> Now , simulation for blackfin is not very completely. Cache and Dma is not
> simulated.So you need to config the kernel to disable DMA and cache. I ever
> made it work based on the old version of blackfin-uclinux. I will try the
> uClinux-dist-R05R4-RC2 version of blackfin in serveral days.Hope I can
> improve the blackfin simualtion of SkyEye.
>
>
> On 5/2/06, Howard Fan <fan.howard at gmail.com> wrote:
> >
>  Today I came across this great 'skyeye', I really love it. thanks all
> the developers for your great contribution.
>
> I run the testsuite2/blackfin on skyeye-1.2-RC7-3 without problem. So
> I tried further. I tried to make an image:
>
> bfin-elf-objcopy -O binary linux linux.b
>
> and updated skyeye.conf:
>
> arch:blackfin
> mem_bank: map=M, type=RW, addr=0x1000, size=0x86ce4, file=./linux.b
> mem_bank: map=M, type=RW, addr=0x00087ce4, size=0x00158
> mem_bank: map=M, type=RW, addr=0x00087e3c, size=0x14358
> mem_bank: map=M, type=RW, addr=0x0009c194, size=0x00000
>
> It didn't work. ./skyeye gave Segmentation fault.
>
> Then I tried to download linux-bf533 from Blackfin uClinux 2005R4 RC2
> release and fired up ./skyeye -e linux-bf533, didn't work either.
>
> [fanhow at arch blackfin]$ ./skyeye -e linux-bf533
> arch: blackfin
> begin init emulator()
> exec file "linux-bf533"'s format is elf32-little.
> load section .text: addr = 0x00001000  size = 0x000d8500.
> load section .init: addr = 0x000d9500  size = 0x0000d0a0.
> load section .text_l1: lma = 0x000e65a0 (vma = 0xffa00000)  size =
> 0x000000cc.
> not load section .data_l1: addr = 0xff800000  size = 0x00000000 .
> load section .data: addr = 0x000e666c  size = 0x0002c9e8.
> not load section .bss: addr = 0x00113060  size = 0x0000d4c4 .
> not load section .comment: addr = 0x00000000  size = 0x00003162 .
> load section .romfs: addr = 0x00120524  size = 0x00800000.
> start addr is set to 0x00001000 by exec file.
>
> put_long io
> error!addr=0xffb00ffc,pc=0x2884,oldpc=0x2884,sp=0xffb01000
>
> put_long io
> error!addr=0xffb00ff8,pc=0x2884,oldpc=0x2884,sp=0xffb01000
>
> I tried to find more what's going wrong, but due to lack of experience
> on skyeye I couldn't ping them from source code. Can anyone show me
> some insight? How was testsuite2/linux was compiled? which version?
> any patch? How to load image file directly without using elf?
>
> thanks very much.
>
> _______________________________________________
> Skyeye-developer mailing list
> Skyeye-developer at lists.gro.clinux.org
> http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
>
>
> _______________________________________________
> 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