30 خطوط
1.7 KiB
Markdown
30 خطوط
1.7 KiB
Markdown
Place `u-boot-sunxi-with-spl.bin` here before running the workflow.
|
|
The existing TFTP server (`serverip`) must serve this directory as its root.
|
|
Checkout alone does not publish files over TFTP.
|
|
|
|
The workflow clears stale `filesize`, requires a successful TFTP transfer,
|
|
and checks hexadecimal `filesize` against both the transfer count and local
|
|
file size (32 through 0x200000 bytes). It compares the first 32 RAM bytes
|
|
with the local file, probes SPI flash, writes at offset 0, reads back to
|
|
0x42800000 and compares the full transferred length with `cmp.b`.
|
|
|
|
No erase, reboot or saveenv command is issued. Any failed or unverified
|
|
command stops execution; flash writes are never automatically retried.
|
|
|
|
For the DTB workflow, place `sun8i-v3s-licheepi-zero-dock.dtb` here.
|
|
It uses the same checks, with maximum size 0x110000, RAM address
|
|
0x41000000 and flash offset 0x200000. Read-back uses 0x42800000.
|
|
|
|
For the Kernel workflow, place `zImage` here. It uses maximum size
|
|
0x500000, RAM address 0x42000000 and flash offset 0x310000. The first
|
|
64 bytes are checked against the local file; full read-back comparison
|
|
uses 0x42800000. The same stale-filesize and transfer checks apply.
|
|
|
|
For the RootFS workflow, place `rootfs.squashfs` here and supply the actual
|
|
RootFS partition size in bytes as the required `rootfs_size` workflow input
|
|
(decimal or 0x-prefixed hex). Determine it from the real board partition map;
|
|
the workflow does not infer it from flash capacity or a presumed layout.
|
|
It uses RAM 0x41000000, flash offset 0x810000, a 64-byte header comparison,
|
|
and read-back RAM 0x42800000. Files must fit the specified partition and
|
|
the non-overlapping RAM buffers (maximum 0x1800000 bytes).
|