
Advanced Boot Techniques
16-34
ADSP-BF59x Blackfin Processor Hardware Reference
The boot kernel also generates a circular log file in scratch pad memory.
While the
pLogBuffer
and the
dLogByteCount
variables describe the loca-
tion and dimension of the log buffer, the
pLogCurrent
points to the next
free location in the buffer. The log file is updated whenever the kernel
passes the
_bootrom.bootkernel.breakpoint
label.
At each pass, nine 32-bit words are written to the log file, as follows.
• block code word (
dBlockCode
) of the block header
• target address (
pTargetAddress
) of the block header
• byte count (
dByteCount
) of the block header
• argument word (
dArgument
) of the block header
• source pointer (
pSource
) of the boot stream
• block count (
dBlockCount
)
• internal copy of the
dBlockCode
word OR’ed with
dFlags
• content of the
SEQSTAT
register
• 0xFFFF FFFA (-6) constant
The ninth word is overwritten by the next entry set, so that 0xFFFF FFFA
always marks the last entry in the log file.
Most of the data structures used by the boot kernel reside on the stack in
scratchpad memory. While executing the boot kernel routine (excluding
subroutines), the
P5
points to the
ADI_BOOT_DATA
structure. Type
“
(ADI_BOOT_DATA*) $P5
” in the Vi+ expression window to see
the structure content.
Содержание ADSP-BF59x Blackfin
Страница 64: ...Development Tools 1 22 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 74: ...Processor Specific MMRs 2 10 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 204: ...Unique Information for the ADSP BF59x Processor 5 104 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 244: ...Programming Examples 6 40 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 345: ...ADSP BF59x Blackfin Processor Hardware Reference 9 9 Core Timer Unique Information for the ADSP BF59x Processor None...
Страница 346: ...Unique Information for the ADSP BF59x Processor 9 10 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 398: ...Unique Information for the ADSP BF59x Processor 11 42 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 622: ...Unique Information for the ADSP BF59x Processor 15 38 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 700: ...Programming Examples 16 78 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 738: ...Boundary Scan Architecture B 8 ADSP BF59x Blackfin Processor Hardware Reference...