Binfile format generated by PB

Source: Internet
Author: User
The binfile format is a Pb-compiled image file, which is generally provided in both binfile and nb0 file formats. The nb0 file is a complete image file in the address space, which is equivalent to a hard copy of the address space. The binfile is a binary ROM image file format. It compresses invalid data compared with the nb0 file. The binfile contains the file header and many segments. Each segment provides the first address, length, verification code, and data in the actual image. The detailed format of the BIND file is as follows:

File Header (Length: 7 bytes, fixed content), equivalent to adding a carriage return to the string "b000ff"

42 30 30 30 46 46 0a

Followed by the basic information of the entire image: (8 bytes) 00 00 00 00 00 00 00 00Length of the entire image mapped to the first address

Next is the definition of each segment

00 00 00 0000 00 00 0000 00 00 0000 00 ......00 00

The length of the first CIDR block.

The definition of each segment is the same as above. Note: The nb0 file is a complete image file in the address space, which is equivalent to a hard copy of the address space.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.