Skip to content

trust_merger merge failed! #87

@xizonghu

Description

@xizonghu

I compile my bl31.elf from arm-trusted-firmware. maybe the atf code is newer than rockchip.
readelf as:

readelf -l -W build/rk3399/debug/bl31/bl31.elf

Entry point 0x40000
There are 6 program headers, starting at offset 64

程序头:
  Type           Offset   VirtAddr           PhysAddr           FileSiz  MemSiz   Flg Align
  LOAD           0x010000 0x0000000000040000 0x0000000000040000 0x029258 0x06a000 RWE 0x10000
  LOAD           0x03a000 0x00000000ff3b0000 0x00000000ff3b0000 0x001f58 0x001f58 RWE 0x10000
  LOAD           0x03c000 0x00000000ff8c0000 0x00000000ff8c0000 0x001000 0x001000 R   0x1000
  LOAD           0x03d000 0x00000000ff8c1000 0x00000000ff8c1000 0x001000 0x001000 R E 0x1000
  LOAD           0x000000 0x00000000ff8c2000 0x00000000ff8c2000 0x000000 0x001000 RW  0x1000
  GNU_STACK      0x000000 0x0000000000000000 0x0000000000000000 0x000000 0x000000 RW  0x10

 Section to Segment mapping:
  段节...
   00     .ro .data .got.plt .stacks .bss .xlat_table .coherent_ram 
   01     .pmusram 
   02     .incbin_sram 
   03     .text_sram 
   04     .stack_sram 
   05     

image

the filesize of .stack_sram segment is 0x000000, so failed to emerge trust.img
how can i resolve this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions