[#5077] g729 test failed at case g729ab_testfdpic

Document created by Aaronwu Employee on Sep 3, 2013
Version 1Show Document
  • View in full screen mode

[#5077] g729 test failed at case g729ab_testfdpic

Submitted By: Vivi Li

Open Date

2009-04-24 07:28:18     Close Date

2009-04-28 00:39:18

Priority:

Medium     Assignee:

Yi Li

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Rejected

Uboot version or rev.:

    Toolchain version or rev.:

toolchain-09r1-rc5

App binary format:

N/A     

Summary: g729 test failed at case g729ab_testfdpic

Details:

 

g729 test failed on all platforms.

 

Bellow is the log:

--

./alltests.sh g729ab_testfdpic^M

Not enough L1 instruction sram^M

Unable to load executable^M

SIGSEGV^M

Not enough L1 instruction sram^M

Unable to load executable^M

SIGSEGV^M

Not enough L1 instruction sram^M

Unable to load executable^M

SIGSEGV^M

Not enough L1 instruction sram^M

Unable to load executable^M

SIGSEGV^M

Not enough L1 instruction sram^M

Unable to load executable^M

SIGSEGV^M

Not enough L1 instruction sram^M

Unable to load executable^M

SIGSEGV^M

Not enough L1 instruction sram^M

Unable to load executable^M

SIGSEGV^M

Not enough L1 instruction sram^M

Unable to load executable^M

SIGSEGV^M

Not enough L1 instruction sram^M

Unable to load executable^M

SIGSEGV^M

Not enough L1 instruction sram^M

Unable to load executable^M

SIGSEGV^M

Not enough L1 instruction sram^M

Unable to load executable^M

SIGSEGV^M

...

--

 

Follow-ups

 

--- Mike Frysinger                                           2009-04-24 12:20:36

maybe you need to disable some L1 optimizations in the kernel

 

post the output of /proc/sram and `readelf -l <g729 ELF>`

 

--- Vivi Li                                                  2009-04-27 04:20:09

--

root:/> cat /proc/sram

--- SRAM Scratchpad     Size   PID State

ffb00000-ffb01000       4096     0 FREE

--- SRAM L1 Data A      Size   PID State

ff8000c0-ff803f18      15960     1 ALLOCATED

ff803f18-ff804000        232     0 FREE

--- SRAM L1 Data B      Size   PID State

ff900000-ff900320        800     1 ALLOCATED

ff900320-ff904000      15584     0 FREE

--- SRAM L1 Instruction Size   PID State

ffa029a4-ffa0c000      38492     0 FREE

root:/>

--

 

--

test@uclinux52-ad73311-lcd:~/work/cruise/checkouts/uclinux-dist/lib/libbfgdots/g729/test>

readelf -l g729ab_testfdpic

 

Elf file type is DYN (Shared object file)

Entry point 0x3440

There are 8 program headers, starting at offset 52

 

Program Headers:

  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align

  PHDR           0x000034 0x00000034 0x00000034 0x00100 0x00100 R E 0x4

  INTERP         0x000134 0x00000134 0x00000134 0x00014 0x00014 R   0x1

      [Requesting program interpreter: /lib/ld-uClibc.so.0]

  LOAD           0x000000 0x00000000 0x00000000 0x0338c 0x0338c R   0x1000

  LOAD           0x00338c 0x0000338c 0x0000338c 0x09914 0x09914 R E 0x1000

  LOAD           0x00cca0 0x0000cca0 0x0000cca0 0x0021c 0x0021c R   0x1000

  LOAD           0x00cebc 0x00010ebc 0x00010ebc 0x030cc 0x0319c RW  0x1000

  DYNAMIC        0x00ced0 0x00010ed0 0x00010ed0 0x000c8 0x000c8 RW  0x4

  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x20000 RWE 0x8

 

Section to Segment mapping:

  Segment Sections...

   00

   01     .interp

   02     .interp .hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn

   03     .init .plt .text .fini

   04     .rodata .rofixup .eh_frame

   05     .ctors .dtors .jcr .dynamic .data .got .bss

   06     .dynamic

   07     .interp .hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn

.init .plt .text .fini .rodata .rofixup .eh_frame .ctors .dtors .jcr .dynamic

.data .got .bss

--

 

--- Yi Li                                                    2009-04-27 23:37:09

We have to free some L1 instruction memory from kernel, for g729test_fdpic.

 

We can see L1 instruction memory used by g729test_fdpic:

 

--- SRAM L1 Instruction Size   PID State    

ffa00200-ffa09b14      39188   461 ALLOCATED

ffa09b14-ffa0c000       9452     0 FREE

 

 

--- Yi Li                                                    2009-04-27 23:39:43

The L1 instruction memory used by kernel can be freed from:

 

Blackfin Kernel Optimizations  ---> memory optimization

 

--- Vivi Li                                                  2009-04-28 00:39:18

OK, test scripts is modified. Close it.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes