mirror of
https://git.k-space.ee/arti/vt1200.git
synced 2026-10-31 12:05:05 +02:00
hostload.py drives one rdebug connection: jump(malloc) for the COFF buffer, poke the COFF, poke the loader at 0x01880000, write the descriptor, call the loader, and verify status 0 plus app evidence (marker cells or xhello stage 6 and a VRAM screenshot). --tftp uses the existing tftpc.bin fetch instead of a host poke. Adds evidence for two/three fresh boots and appends the integrate section to dwt/notes/LOADER.md, including the bit-offset result-block layout and the create_process clobber of the descriptor.
35 lines
1.9 KiB
Plaintext
35 lines
1.9 KiB
Plaintext
[.] COFF /home/arti/code/k-space/vt1200/dwt/loader/build/marker.coff: 510 B, 3 sections, entry=0x018c0000 sha256=519e4724aa537436a35f5e49a3306b3f6bcebdc216a0ce4c103822b0df28d749
|
|
.text paddr=0x018c0000 size=656 bits (82 B) nreloc=0
|
|
.data paddr=0x018d0000 size=64 bits (8 B) nreloc=0
|
|
.bss paddr=0x018d8000 size=64 bits (8 B) nreloc=0
|
|
[.] connected 192.168.99.2:771; opcode 7 -> flag=0x0 b'Done\n\x00'
|
|
[.] tftpc poked 694 B at 0x01870000 (347 words, 0 differing)
|
|
[.] jump returned 0x00000000 (0)
|
|
[.] tftpc markers: stage=4 fd=1 buf=0x9fccd0 total=510 last=514 block=0x100 done=0x5a5a5a5
|
|
[.] server RRQ (dwt/loader/evidence/hostload/serve_tftp_marker.log): 15:31:47 RRQ 192.168.99.2:1025 requested 'dwt/tcpip/probe.bin' (510 bytes)
|
|
[+] TFTP fetch verified byte-for-byte: 510 B at 0x009fccd0 (sha256=519e4724aa537436a35f5e49a3306b3f6bcebdc216a0ce4c103822b0df28d749)
|
|
[+] loader poked 1220 B at 0x01880000 (610 words, 0 differing)
|
|
[.] descriptor @ 0x01882c00: 44 4c 31 52 d0 cc 9f 00 fe 01 00 00 01 00 00 00 (magic 4C44/5231, buf=0x009fccd0, len=510, mode=1)
|
|
[.] jump returned 0x00000000 (0)
|
|
[.] loader A8=0x0 (OK)
|
|
[.] result block @ 0x1882d00:
|
|
+0x000 status 0x00000000
|
|
+0x020 entry 0x018c0000
|
|
+0x040 text_addr 0x018c0000
|
|
+0x060 text_size 0x00000290
|
|
+0x080 data_addr 0x018d0000
|
|
+0x0a0 data_size 0x00000040
|
|
+0x0c0 bss_addr 0x018d8000
|
|
+0x0e0 bss_size 0x00000040
|
|
+0x100 relocs 0x00000000
|
|
+0x120 pcb 0x003fe310
|
|
+0x140 nscns 0x00000003
|
|
+0x160 coff_len 0x000001fe
|
|
+0x180 loader_base 0x01880000
|
|
[.] marker start 0x018c0000 (want 0x018c0000)
|
|
[.] marker data 0xdeadbeef (want 0xdeadbeef)
|
|
[.] marker data2 0x12345678 (want 0x12345678)
|
|
[.] marker bss 0x00000000 (want 0x00000000)
|
|
[.] marker count 268 -> 794 (child scheduled)
|
|
[+] PASS: status=0 pcb=0x003fe310 entry=0x018c0000 (tftp_marker_boot3)
|