Commit 82450b9a62f381ed3ef40ef3753dd4bda61db90e

Authored by Miao Yan
Committed by Tom Rini
1 parent 35940de1a6

README.vxworks: add a document describing the new VxWorks boot interface

Signed-off-by: Miao Yan <miao.yan@windriver.com>

Showing 1 changed file with 19 additions and 0 deletions Side-by-side Diff

  1 +From VxWorks 6.9+ (not include 6.9), VxWorks starts adopting device tree as its hardware
  2 +decription mechansim (for PowerPC and ARM), thus requiring boot interface changes.
  3 +This section will describe the new interface.
  4 +
  5 +For PowerPC, the calling convention of the new VxWorks entry point conforms to the ePAPR standard,
  6 +which is shown below (see ePAPR for more details):
  7 +
  8 + void (*kernel_entry)(fdt_addr,
  9 + 0, 0, EPAPR_MAGIC, boot_IMA, 0, 0)
  10 +
  11 +For ARM, the calling convention is show below:
  12 +
  13 + void (*kernel_entry)(void *fdt_addr)
  14 +
  15 +When booting new VxWorks kernel (uImage format), the parameters passed to bootm is like below:
  16 +
  17 + bootm <kernel image address> - <device tree address>
  18 +
  19 +The do_bootvx command still works as it was for older VxWorks kernels.