Miao Yan | aed1458 | 2013-11-28 17:51:40 +0800 | [diff] [blame] | 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. |