Download netX Bootwizard

Transcript
Editing the netx.xml File
62/72
The CDATA portion contains the data being patched and must be a
hexadecimal value prefixed by "0x".
The following table shows all patchable boot header entries:
Attribute (name)
Header
Offset
Description
MagCok
0x00
Magic cookie
0x04
Parallel Flash on SRAM Bus Memory control value / SPI Speed
AppEnt
0x08
Application entry point
AppChksm
0x0C
Application checksum (Is automatically calculated and should not be used
in XML file)
AppFilSiz
0x10
Application size in DWORDs (Is automatically inserted and should not be
used in XML file)
AppSrtAdd
0x14
Application relocation start (Automatically extracted from ELF file. Should
not be used in XML file)
Signt
0x18
'NETX' Signature. Should not be changed, as it is required by the netX
ROM loader to start the image.
MemCtrl
Speed
SdramGeneralCtrl
ExpBusReg
SDRAM General Control Value
0x1C
SRAM Control Value (netX 50 / HBoot only)
SramCtrl
SdramTimingCtrl
IoRegMode0
SdramMR
IoRegMode1
Extension bus configuration
0x20
0x24
SDRAM Timing Value
Extension bus configuration
SDRAM Mode Register Value (only supported by netX 10, 51, 52)
Extension bus configuration
IfConf0
0x28
Extension bus configuration
IfConf1
0x2C
Extension bus configuration
MiscAsicCtrl
0x30
Asic control setting
Serial
0x34
Serial number or user parameter (aulRes[0])
SrcType
0x38
Source Type (aulRes[1])
BootChksm
0x3C
Bootheader checksum (Automatically calculated and should not be used
in XML file)
Table 13: Device Configuration Bootheader Parameters (XML)
Important: If source and destination device modify the same parameter of
the boot header (e.g. both modify the SDRAM Parameters), Bootwizard
will refuse to patch the file.
Note: Please note that adding device entries for other flash chips to
netx.xml only affects which devices are shown in the GUI and the
generation of boot images. You will be able to generate boot images for
the newly added devices, but the flasher may not be able to access the
device. The flasher requires a much larger set of device parameters,
which are compiled into the flasher binary. It also includes its own
detection functions.
netX Bootwizard | Operating Instruction Manual
DOC070502OI16EN | Revision 16 | English | 2013-12 | Released | Public
© Hilscher, 2005-2013