beautypg.com

Post boot steps - 9, At8902 software description – Kontron AT8902 User Manual

Page 76

background image

AT8902

Software Description

Page 4 - 9

AT8902 User Guide

A list of defined postcodes is shown in the table below.

Table 4-2: POST Boot Steps

POST Step Code

Value

Boot Step

PC_INIT

0x00

Initial PC, EBC has been set up

PC_BINIT

0x01

Board early init (interrupt settings)

PC_CLOCKS

0x02

Get system clocks

PC_TIMEB

0x03

Init timebase

PC_ENVINIT

0x04

Init environment

PC_BAUD

0x05

Init baudrate

PC_SERIAL

0x06

Init UART

PC_CPU

0x07

Check CPU

PC_PHY

0x08

Setup PHY

PC_I2C

0x09

Init I2C

PC_INITRAM

0x0A

Init SDRAM controller and SDRAM

PC_TESTRAM

0x0B

Test SDRAM

PC_INITSEQ

0x0F

Board init sequence completed

PC_INITBOARD

0x10

Board init ok, stack set up ok, board info struct set up

PC_RELOC

0x11

Relocation completed

PC_TRAP

0x18

Setup trap handler

PC_FLASH

0x19

Flash OK

PC_CPU2

0x1A

Init higher level parts of CPU

PC_RELOCENV

0x1B

Relocation of environment Ok

PC_BDINFO

0x1C

Fill missing fields of bdinfo

PC_PCI

0x1D

PCI configuration done

PC_DEVICES

0x1E

Device init done

PC_JUMPTABLE

0x1F

Jumptable init done

PC_CONSOLE

0x20

Console init done

PC_MAIN

0x2F

Enter main loop

PC_START_OS

0x3F

Pass control to OS, leave bootloader