Skip to content

Commit 9e63f88

Browse files
committed
m1n1.fw.agx.initdata: Add 13.5B4 G14X initdata changes
Simple for once! Signed-off-by: Asahi Lina <[email protected]>
1 parent 6a149e5 commit 9e63f88

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

proxyclient/m1n1/constructutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ class Ver(Subconstruct):
801801
"G": os.environ.get("AGX_GPU", "G13")}
802802

803803
MATRIX = {
804-
"V": ["V12_1", "V12_3", "V12_4", "V13_0B4", "V13_0B5", "V13_0B6", "V13_2", "V13_3"],
804+
"V": ["V12_1", "V12_3", "V12_4", "V13_0B4", "V13_0B5", "V13_0B6", "V13_2", "V13_3", "V13_5B4"],
805805
"G": ["G13", "G14", "G14X"],
806806
}
807807

proxyclient/m1n1/fw/agx/initdata.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ class AGXHWDataA(ConstructClass):
575575
"unk_bb0" / Int32ul,
576576
"unk_bb4" / Int32ul,
577577
Ver("V >= V13_3", "pad_bb8_0" / Default(HexDump(Bytes(0x200)), bytes(0x200))),
578+
Ver("V >= V13_5B4", "pad_bb8_200" / Default(HexDump(Bytes(8)), bytes(8))),
578579
"pad_bb8" / HexDump(Bytes(0xc2c - 0xbb8)),
579580

580581
"unk_c2c" / Int32ul,
@@ -1062,7 +1063,8 @@ class AGXHWDataB(ConstructClass):
10621063
"pad_1c8" / HexDump(Bytes(8)),
10631064
Ver("V < V13_0B4", "io_mappings" / Array(0x14, IOMapping)),
10641065
Ver("V >= V13_0B4 && V < V13_3", "io_mappings" / Array(0x17, IOMapping)),
1065-
Ver("V >= V13_3", "io_mappings" / Array(0x18, IOMapping)),
1066+
Ver("V >= V13_3 && V < V13_5B4", "io_mappings" / Array(0x18, IOMapping)),
1067+
Ver("V >= V13_5B4", "io_mappings" / Array(0x19, IOMapping)),
10661068
Ver("V >= V13_0B4", "sgx_sram_ptr" / Int64ul),
10671069
"chip_id" / Int32ul,
10681070
"unk_454" / Int32ul,
@@ -1196,6 +1198,7 @@ class AGXHWDataB(ConstructClass):
11961198
Ver("V >= V13_0B4", "unk_b6c" / HexDump(Bytes(0xd0))),
11971199
Ver("G >= G14X", "unk_c3c_0" / Default(HexDump(Bytes(0x8)), bytes(0x8))),
11981200
Ver("G >= G14X && V < V13_3", "unk_c3c_8" / Default(HexDump(Bytes(0x30)), bytes(0x30))),
1201+
Ver("G >= G14X && V >= V13_5B4", "unk_c3c_8" / Default(HexDump(Bytes(0x20)), bytes(0x20))),
11991202
Ver("V >= V13_0B4", "unk_c3c" / Int32ul),
12001203
)
12011204

proxyclient/m1n1/proxyutils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"iBoot-8419.60.44": "V13_1",
3535
"iBoot-8419.80.7": "V13_2",
3636
"iBoot-8422.100.650": "V13_3",
37+
"iBoot-8422.140.50.0.2": "V13_5B4",
3738
}
3839

3940
class ProxyUtils(Reloadable):

0 commit comments

Comments
 (0)