Toybrick
标题:
trust.img在物理内存中的位置
[打印本页]
作者:
008kai
时间:
2022-5-10 10:31
标题:
trust.img在物理内存中的位置
trust.img在物理内存那个位置?
我一共发现了两个表示trust.img的位置
1、在烧写工具中的parameter-linux.txt
FIRMWARE_VER:8.1
MACHINE_MODEL:RK3399
MACHINE_ID:007
MANUFACTURER: RK3399
MAGIC: 0x5041524B
ATAG: 0x00200800
MACHINE: 3399
CHECK_MASK: 0x80
PWR_HLD: 0,0,A,0,1
TYPE: GPT
CMDLINE:mtdparts=rk29xxnand:0x00002000@0x00002000(uboot),0x00002000@0x00004000(trust),0x00030000@0x00006000(boot_linux:bootable),-@0x00036000(rootfs:grow)
uuid:rootfs=614e0000-0000-4b53-8000-1d28000054a9
uuid:boot_linux=a2d37d82-51e0-420d-83f5-470db993dd35
经过换算,trust的地址是0x00800000
2、在rkbin工具中的RK3399PROTRUST.ini
[VERSION]
MAJOR=1
MINOR=0
[BL30_OPTION]
SEC=0
[BL31_OPTION]
SEC=1
PATH=bin/rk33/rk3399pro_bl31_v1.30.elf
ADDR=0x00040000
[BL32_OPTION]
SEC=1
PATH=bin/rk33/rk3399pro_bl32_v1.21.bin
ADDR=0x30000000
[BL33_OPTION]
SEC=0
[OUTPUT]
PATH=trust.img
这里的trust的地址是0x30000000
请问那个才是trust.img真实的物理地址呢?
欢迎光临 Toybrick (https://t.rock-chips.com/)
Powered by Discuz! X3.3