Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trust_merger merge failed! #87

Open
xizonghu opened this issue Dec 17, 2024 · 0 comments
Open

trust_merger merge failed! #87

xizonghu opened this issue Dec 17, 2024 · 0 comments

Comments

@xizonghu
Copy link

xizonghu commented Dec 17, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant