~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerass El Hafidi <funderscore@postmarketos.org>2024-10-30 10:41:38 +0000
committerFerass El Hafidi <funderscore@postmarketos.org>2024-10-30 10:41:38 +0000
commit7c2fcce7b77ee5d5260c07ba2ca54b1a2932c4c0 (patch)
tree68be88dec4c55c9c2a8028281e3364a3ac0f1d1f
parentd751f797dc8590b42d64fdbda5061f5df0317cd7 (diff)
downloadreversing-gxbb-bl2-master.tar.gz
g12b: update aml_ddr.fw notesHEADmaster
Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
-rw-r--r--g12b/amlddr.fw.c6
-rw-r--r--g12b/amlddr.fw.txt4
2 files changed, 5 insertions, 5 deletions
diff --git a/g12b/amlddr.fw.c b/g12b/amlddr.fw.c
index 7ef1da5..5837052 100644
--- a/g12b/amlddr.fw.c
+++ b/g12b/amlddr.fw.c
@@ -46,7 +46,7 @@ undefined4 FUN_fffd0110(void)
void FUN_fffd0120(void)
{
- /* WARNING: Do nothing block with infinite loop */
+ /* WARNING: Do nothing block with infinite loop */
do {
} while( true );
}
@@ -412,7 +412,7 @@ LAB_fffd07c4:
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
-undefined4 FUN_fffd0828(char param_1,long param_2)
+undefined4 main(char param_1,long param_2)
{
byte bVar1;
@@ -2979,7 +2979,7 @@ void FUN_fffd4dc0(long param_1)
if (*(byte *)(param_1 + 0x205) < 10) {
serial_puts(s__soc_vref_reg_value_0x_fffdb1b0 + 3);
}
- iVar1 = FUN_fffd0828(*(undefined *)(param_1 + 0x205));
+ iVar1 = main(*(undefined *)(param_1 + 0x205));
if (iVar1 == 0) {
_DAT_fe1a0132 = 1;
_DAT_fe1a0000 = 0;
diff --git a/g12b/amlddr.fw.txt b/g12b/amlddr.fw.txt
index c2bcf8a..f1d6d9f 100644
--- a/g12b/amlddr.fw.txt
+++ b/g12b/amlddr.fw.txt
@@ -710,7 +710,7 @@ ram:fffd0824 c0035fd6 ret
;************************************************************************************************
;* FUNCTION *
;************************************************************************************************
- ;undefined FUN_fffd0828()
+ ;undefined main()
;local_10 undefined8 -10 ;XREF[2,0]: fffd086c,fffd0ba4
;local_20 undefined8 -20 ;XREF[2,0]: fffd0868,fffd0ba0
;local_30 undefined8 -30 ;XREF[2,0]: fffd084c,fffd0b98
@@ -5753,7 +5753,7 @@ ram:fffd4e18 83170094 bl serial_puts
ram:fffd4e1c a10b40f9 ldr x1,[x29, #local_10+0x20]
LAB_fffd4e20: ;XREF[1,0]: fffd4e08
ram:fffd4e20 20144839 ldrb w0,[x1, #0x205]
-ram:fffd4e24 81eeff97 bl FUN_fffd0828 ;undefined FUN_fffd0828()
+ram:fffd4e24 81eeff97 bl main ;undefined main()
ram:fffd4e28 e0000035 cbnz w0,LAB_fffd4e44
ram:fffd4e2c 412680d2 mov x1,#0x132
ram:fffd4e30 41c3bff2 movk x1,#0xfe1a, LSL #16