uuu
uuu (Universal Update Utility), mfgtools 3.0
 
Loading...
Searching...
No Matches
rominfo.h File Reference
#include <cstdint>
#include <memory>
#include <string>

Go to the source code of this file.

Classes

struct  ROM_INFO
 

Functions

const ROM_INFOsearch_rom_info (const std::string &s)
 
const ROM_INFOsearch_rom_info (const ConfigItem *item)
 
size_t GetContainerActualSize (std::shared_ptr< DataBuffer > p, size_t offset, bool bROMAPI=false, bool skipspl=false)
 
size_t GetFlashHeaderSize (std::shared_ptr< DataBuffer > p, size_t offset=0)
 

Variables

constexpr uint32_t ROM_INFO_HID = 0x1
 
constexpr uint32_t ROM_INFO_HID_MX23 = 0x2
 
constexpr uint32_t ROM_INFO_HID_MX50 = 0x4
 
constexpr uint32_t ROM_INFO_HID_MX6 = 0x8
 
constexpr uint32_t ROM_INFO_HID_SKIP_DCD = 0x10
 
constexpr uint32_t ROM_INFO_HID_MX8_MULTI_IMAGE = 0x20
 
constexpr uint32_t ROM_INFO_HID_MX8_STREAM = 0x40
 
constexpr uint32_t ROM_INFO_HID_UID_STRING = 0x80
 
constexpr uint32_t ROM_INFO_HID_NO_CMD = 0x400
 
constexpr uint32_t ROM_INFO_SPL_JUMP = 0x800
 
constexpr uint32_t ROM_INFO_HID_EP1 = 0x1000
 
constexpr uint32_t ROM_INFO_HID_PACK_SIZE_1020 = 0x2000
 
constexpr uint32_t ROM_INFO_HID_SDP_NO_MAX_PER_TRANS = 0x4000
 
constexpr uint32_t ROM_INFO_AUTO_SCAN_UBOOT_POS = 0x8000
 
constexpr uint32_t ROM_INFO_HID_ROMAPI = 0x10000
 
constexpr uint32_t ROM_INFO_NEED_BAREBOX_FULL_IMAGE = 0x20000
 

Function Documentation

◆ GetContainerActualSize()

size_t GetContainerActualSize ( std::shared_ptr< DataBuffer > p,
size_t offset,
bool bROMAPI = false,
bool skipspl = false )

◆ GetFlashHeaderSize()

size_t GetFlashHeaderSize ( std::shared_ptr< DataBuffer > p,
size_t offset = 0 )

◆ search_rom_info() [1/2]

const ROM_INFO * search_rom_info ( const ConfigItem * item)

◆ search_rom_info() [2/2]

const ROM_INFO * search_rom_info ( const std::string & s)

Variable Documentation

◆ ROM_INFO_AUTO_SCAN_UBOOT_POS

uint32_t ROM_INFO_AUTO_SCAN_UBOOT_POS = 0x8000
constexpr

◆ ROM_INFO_HID

uint32_t ROM_INFO_HID = 0x1
constexpr

◆ ROM_INFO_HID_EP1

uint32_t ROM_INFO_HID_EP1 = 0x1000
constexpr

◆ ROM_INFO_HID_MX23

uint32_t ROM_INFO_HID_MX23 = 0x2
constexpr

◆ ROM_INFO_HID_MX50

uint32_t ROM_INFO_HID_MX50 = 0x4
constexpr

◆ ROM_INFO_HID_MX6

uint32_t ROM_INFO_HID_MX6 = 0x8
constexpr

◆ ROM_INFO_HID_MX8_MULTI_IMAGE

uint32_t ROM_INFO_HID_MX8_MULTI_IMAGE = 0x20
constexpr

◆ ROM_INFO_HID_MX8_STREAM

uint32_t ROM_INFO_HID_MX8_STREAM = 0x40
constexpr

◆ ROM_INFO_HID_NO_CMD

uint32_t ROM_INFO_HID_NO_CMD = 0x400
constexpr

◆ ROM_INFO_HID_PACK_SIZE_1020

uint32_t ROM_INFO_HID_PACK_SIZE_1020 = 0x2000
constexpr

◆ ROM_INFO_HID_ROMAPI

uint32_t ROM_INFO_HID_ROMAPI = 0x10000
constexpr

◆ ROM_INFO_HID_SDP_NO_MAX_PER_TRANS

uint32_t ROM_INFO_HID_SDP_NO_MAX_PER_TRANS = 0x4000
constexpr

◆ ROM_INFO_HID_SKIP_DCD

uint32_t ROM_INFO_HID_SKIP_DCD = 0x10
constexpr

◆ ROM_INFO_HID_UID_STRING

uint32_t ROM_INFO_HID_UID_STRING = 0x80
constexpr

◆ ROM_INFO_NEED_BAREBOX_FULL_IMAGE

uint32_t ROM_INFO_NEED_BAREBOX_FULL_IMAGE = 0x20000
constexpr

◆ ROM_INFO_SPL_JUMP

uint32_t ROM_INFO_SPL_JUMP = 0x800
constexpr