Hi,
I have a problem with offsets for the dd tool. I cannot find it in the documentation.
I need these offsets:
boot0, fes, sboot, U-Boot
for develop on the device.
Thank you.
See if this helps: https://github.com/u-boot/u-boot/blob/master/board/sunxi/README.sunxi64
I also found this table:
| Boot Component | Function | Offset (KB) | dd Parameter (seek=) | Notes |
|---|---|---|---|---|
| Boot0 | Initial Boot Loader | 8 KB | seek=8 | BROM looks here first. |
| FES/SPL | First Stage Bootloader (SPL) | 32 KB | seek=32 | Often combined with U-Boot in a single file. |
| U-Boot | Second Stage Bootloader | 64 KB | seek=64 | The main U-Boot binary. |
| U-Boot Env | U-Boot Environment | 256 KB | seek=256 | For saving configuration variables. |
| Kernel/RootFS | Linux Kernel/Main OS | 1 MB (1024 KB) | seek=1024 | Where the primary Linux partition usually starts. |