Skip to content

Trying to extract BOOT.bin #24

@49handyman

Description

@49handyman

your software compiles without errors.

Im trying to get working fsbl.elf out of it.

the Boot.bin I'm working with seems to extract with proper names but completely unrecognized files.

Could there me some modifications of this zynq arm boot. bin.

=======================================================

[0x00000020] Width Detection Word... 0xaa995566
[0x00000024] Header Signature....... 0x584c4e58
[0x00000028] Key Source............. 0x00000000
[0x0000002c] Header Version......... 0x01010000
[0x00000030] Source Byte Offset..... 0x00001700
[0x00000034] FSBL Image Length...... 114704
[0x00000038] FSBL Load Address...... 0x00000000
[0x0000003c] FSBL Execution Address. 0x00000000
[0x00000040] Total FSBL Length...... 114704
[0x00000044] QSPI configuration Word 0x00000001
[0x00000048] Boot Header Checksum... 0xfc15c520


IMAGE HEADER TAB SECTION
=======================================================

[0x00000000] Version...................... 0x01020000
[0x00000004] Header Count................. 3
[0x00000008] Partition Header Offset...... 0x00000320
[0x0000000c] Partition Image Header Offset 0x00000240
[0x00000010] Header Authentication Offset. 0x00000000


IMAGE HEADERS SECTION
=======================================================

[0x00000000] Next Image Offset......... 0x00000250
[0x00000004] Partition Header Offset... 0x00000320
[0x00000008] Partition Count (always 0) 0
[0x0000000c] Name Length (usually 1)... 1
[0x00000010] Image Name................ Zynq7007_miner_without_rsa.elf

[0x00000000] Next Image Offset......... 0x00000260
[0x00000004] Partition Header Offset... 0x00000330
[0x00000008] Partition Count (always 0) 0
[0x0000000c] Name Length (usually 1)... 1
[0x00000010] Image Name................ Zynq7007_miner.bit

[0x00000000] Next Image Offset......... 0x00000000
[0x00000004] Partition Header Offset... 0x00000340
[0x00000008] Partition Count (always 0) 0
[0x0000000c] Name Length (usually 1)... 1
[0x00000010] Image Name................ u-boot.elf


PARTITION HEADERS SECTION
=======================================================

Zynq7007_miner_without_rsa.elf:
[0x00000000] Encrypted Data Length.. 28676
[0x00000004] Unencrypted Data Length 28676
[0x00000008] Total Length........... 28676
[0x0000000c] Load Address........... 0x00000000
[0x00000010] Execution Address...... 0x00000000
[0x00000014] Partition Data Offset.. 0x000005c0
[0x00000018] Attributes............. explained below
             Hex Value: 0x00000010
             Owner: fsbl
             RSA: not used
             Destination CPU: none
             Encryption: no
             Destination Device: ps
             A5x Execution State: 64-bit
             Exception Level: el-0
             Trust Zone: no
[0x0000001c] Section Count.......... 1
[0x00000020] Checksum Offset........ 0x00000000
[0x00000024] Image Header Offset.... 0x00000240
[0x00000028] Certificate Offset..... 0x00000000
[0x0000003c] Checksum............... 0xfffea7e2

Zynq7007_miner.bit:
[0x00000000] Encrypted Data Length.. 520936
[0x00000004] Unencrypted Data Length 520936
[0x00000008] Total Length........... 520936
[0x0000000c] Load Address........... 0x00000000
[0x00000010] Execution Address...... 0x00000000
[0x00000014] Partition Data Offset.. 0x000075d0
[0x00000018] Attributes............. explained below
             Hex Value: 0x00000020
             Owner: fsbl
             RSA: not used
             Destination CPU: none
             Encryption: no
             Destination Device: pl
             A5x Execution State: 64-bit
             Exception Level: el-0
             Trust Zone: no
[0x0000001c] Section Count.......... 1
[0x00000020] Checksum Offset........ 0x00000000
[0x00000024] Image Header Offset.... 0x00000250
[0x00000028] Certificate Offset..... 0x00000000
[0x0000003c] Checksum............... 0xffe7af06

u-boot.elf:
[0x00000000] Encrypted Data Length.. 134879
[0x00000004] Unencrypted Data Length 134879
[0x00000008] Total Length........... 134879
[0x0000000c] Load Address........... 0x04000000
[0x00000010] Execution Address...... 0x04000000
[0x00000014] Partition Data Offset.. 0x000868c0
[0x00000018] Attributes............. explained below
             Hex Value: 0x00000010
             Owner: fsbl
             RSA: not used
             Destination CPU: none
             Encryption: no
             Destination Device: ps
             A5x Execution State: 64-bit
             Exception Level: el-0
             Trust Zone: no
[0x0000001c] Section Count.......... 1
[0x00000020] Checksum Offset........ 0x00000000
[0x00000024] Image Header Offset.... 0x00000260
[0x00000028] Certificate Offset..... 0x00000000
[0x0000003c] Checksum............... 0xf7f16831

BOOT.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions