XENV

From t-hack.com - Hack X300T / X301T

Jump to: navigation, search

This is a data structure that contains information about the hardware configuration and other system parameters.

The whole data structure has a SHA1 value to detect corruption.

 a.avclk_mux  0x0000
 a.board_id   "KMM3210-TG-A"
 a.cd2_freq   0x00d8b805
 a.cd4_freq   0x55a0fc01
 a.chip_rev   0x82003486
 a.enable_devices  0xFE3E0200
 a.gpio_data  0x00000000
 a.gpio_dir   0x00000000
 a.gpio_irq_map 0x0008090d
 a.hostclk_mux 0x00010000
 a.irq_fall_edge_hi 0x00000000
 a.irq_fall_edge_lo 0x00c00000
 a.irq_rise_edge_hi 0xff010000
 a.irq_rise_edge_lo 0x00ca28ff
 a.pb_cs_config 0xc0100c00
 a.pb_def_timing 0x08000901
 a.pb_timing0    0x08000901
 a.pb_timing1    0x01011100
 a.pb_use_timing0 0xfc030000
 
 l.cs0.size  0x00000000
 l.cs1.size  0x00000000
 l.cs2.size  0x00800000
 l.cs2_part3_offset  0x00000f00
 l.cs2_parts  0x03000000
 l.cs3_size  0x00000000
 
 x.boot 0x00800000
 x.csf  0x02000000
 x.d0.cfg 0xba1141e3
 x.d1.cfg 0xba1141e3
 x.ds 0x40000100
 x.dt 0x01000000
 x.l2rzc  0x0c000000
 x.l2xz   0x15000000
 z.boot0  0x00000400
 z.boot1  0x00000800
 z.boot2  0x0000044c
 z.boot3  0x0000084c
 z.default_boot 0x00000000
 a.eth_mac  "00:00:DE:AD:BE:EF"


these are not all the values found in the x300t XENV, but most of them are not used anyway.

the prefixes of the values indicate where they are used:

 * x - used by XOS
 * z - used by Zboot
 * l - used by Linux
 * w - used by Windows
 * a - used by all
Personal tools