On Mon, Apr 22, 2013 at 03:40:49PM -0700, Bob Armstrong wrote:
How is the application system image supposed to be
made? What's the file
format that DECnet wants to download? It's probably made with TKB in some
way, but what are the proper TKB options? Where (in memory) does it get
loaded on the satellite? What address does it start execution at ? Is the
MMU turned on? Is the I/O page mapped? Are any useful values (e.g. a
pointer to a valid stack, the address of the download device CSR, etc)
passed in the registers? So many questions !
Any chance it's similar to MOP over Ethernet? If so then I think you want
a fairly standard .TSK file with important stuff in block 0:
+10 (L$BSA) = .word <load address>
+16 (L$BLDZ) = .word <load size in 32-word MMU units>
+350 (L$BXFR) = .word <transfer address>
+360 (L$BBLK) = .word <total # 512-byte blks in header, e.g. 1>
Further guessing: MMU is off, so I/O page is available for groping.
Probably best to load the SP yourself. No idea if anything's guaranteed
about the other reg values but of course it's easy to find out what *happens*
to be in them. Boot ROMs have a tradition of passing the CSR in R1 and it'd
be nice if the pri/sec/etc. loaders did something similar but who knows.
John Wilson
D Bit