To anybody who's bored and knows a bit about the HWFLY-NX firmware, what the hell is this code at line 69 (
nice) in firmware/src/payload.c?
(Link:
https://github.com/hwfly-nx/firmware/blob/master/firmware/src/payload.c)
View attachment 350292
The BCT offsets above that (0, 0x20, 0x40, 0x60) all make sense if you multiple them by 512 (I've guessed that that's the block size), you get the exact offsets
the wiki says:
View attachment 350293
Only this "payload", which I assume is the actual HWFLY / Spacecraft firmware, seemingly makes no sense why the offset is 0x1F80 * 512 = 0xE9E000
package1 (NX Bootloader and stuff like that) starts at 0x100000, this payload is way beyond that and I haven't found anything for this address space..
I'm just curious and learning the code though, please don't get any wrong ideas.