Initial commit for tinkering

This commit is contained in:
Tom Reincke
2026-06-28 23:57:44 +02:00
parent 448ec65759
commit 10201d10a5
15 changed files with 46349 additions and 0 deletions
+15425
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+6
View File
@@ -0,0 +1,6 @@
https://fahrplan.events.ccc.de/congress/2014/Fahrplan/system/attachments/2503/original/ccc-final.pdf
https://media.ccc.de/v/31c3_-_6103_-_en_-_saal_2_-_201412272145_-_amd_x86_smu_firmware_analysis_-_rudolf_marek
SMU blob is defined at
coreboot/src/vendorcode/amd/agesa/f15tn/Proc/GNB/Modules/GnbInitTN/GnbSmuFirmwareTN.h
Executable
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+34
View File
@@ -0,0 +1,34 @@
/* #include <stdio.h> */
/* #include <stdint.h> */
/* #include <stdlib.h> */
/* #define UINT32 uint32_t */
#define UINT32 unsigned int
#include "GnbSmuFirmwareTN.h"
int main(int argc, char **argv){
unsigned int u = 12;
/* uint32_t u = 12; */
/* uint32_t bytes; */
/* size_t res; */
/* FILE * fptr; */
/* uint8_t byte1; */
/* uint8_t byte2; */
/* fptr = fopen("firmware.bin", "w"); */
/* */
/* if (fptr == NULL ) return -1; */
/* */
/* res = fwrite(FirmwareTN, sizeof(FirmwareTN), 1, fptr); */
/* */
/* if (!(res > 0)) { */
/* printf("Did not work\n"); */
/* return -1; */
/* } */
/* printf("Wrote %u bytes\n", res); */
/* u = fclose(fptr); */
return u;
}
Executable
BIN
View File
Binary file not shown.
Executable
BIN
View File
Binary file not shown.
Executable
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Executable
BIN
View File
Binary file not shown.
+15454
View File
File diff suppressed because it is too large Load Diff
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+6
View File
@@ -0,0 +1,6 @@
SECTIONS
{
.data : { *(.data) }
.bss : { *(.bss) }
.text : { *(.text) }
}