[U-Boot] [PATCH v3 00/12] Better support of booting VxWorks via 'bootvx'

Bin Meng bmeng.cn at gmail.com
Thu Oct 8 05:19:08 CEST 2015


This series adds better support of booting VxWorks using 'bootvx'.

Tested by booting a VxWorks 6.9.4 kernel on Intel Crown Bay, and
a VxWorks 7 kernel on Intel Galileo.

Rebased on u-boot/master branch and dropped the #1 and #2 patches
in the v2 series as they were already applied in the main stream.

Changes in v3:
- New patch to avoid strlen() calls when constructing VxWorks bootline
- Avoid calls to strlen()

Changes in v2:
- New patch to move install_e820_map() out of zimage.c
- New patch to remove quotation mark in CONFIG_HOSTNAME
- Split the defconfig reorder to another patch, making this patch
  as CONFIG_CMD_ELF mods only
- Update sparc and avr32 boards to unset CONFIG_CMD_ELF
- Fix the endian issue for netmask
- New patch to add asmlinkage to the VxWorks x86 entry
- Describe typical values for bootaddr, e820data, e820info.

Bin Meng (12):
  x86: Initialize GDT entry 1 to be the 32-bit CS as well
  x86: Move install_e820_map() out of zimage.c
  x86: Remove quotation mark in CONFIG_HOSTNAME
  cmd: Convert CONFIG_CMD_ELF to Kconfig
  cmd: Clean up cmd_elf a little bit
  cmd: elf: Reorder load_elf_image_phdr() and load_elf_image_shdr()
  cmd: bootvx: Avoid strlen() calls when constructing VxWorks bootline
  cmd: bootvx: Pass netmask and gatewayip to VxWorks bootline
  cmd: bootvx: Always get VxWorks bootline from env
  cmd: bootvx: Pass E820 information to an x86 VxWorks kernel
  cmd: bootvx: Add asmlinkage to the VxWorks x86 entry
  doc: Complement document about booting VxWorks

 README                                          |  12 +-
 arch/x86/cpu/cpu.c                              |   7 +-
 arch/x86/include/asm/e820.h                     |   3 +
 arch/x86/include/asm/zimage.h                   |   3 -
 arch/x86/lib/Makefile                           |   1 +
 arch/x86/lib/e820.c                             |  37 +++
 arch/x86/lib/zimage.c                           |  26 --
 common/Kconfig                                  |   6 +
 common/cmd_elf.c                                | 406 +++++++++++++-----------
 configs/atngw100_defconfig                      |   1 +
 configs/atngw100mkii_defconfig                  |   1 +
 configs/atstk1002_defconfig                     |   1 +
 configs/dbau1000_defconfig                      |   1 +
 configs/dbau1100_defconfig                      |   1 +
 configs/dbau1500_defconfig                      |   1 +
 configs/dbau1550_defconfig                      |   1 +
 configs/dbau1550_el_defconfig                   |   1 +
 configs/dlvision-10g_defconfig                  |   1 +
 configs/dlvision_defconfig                      |   1 +
 configs/gr_cpci_ax2000_defconfig                |   1 +
 configs/gr_ep2s60_defconfig                     |   1 +
 configs/gr_xc3s_1500_defconfig                  |   1 +
 configs/grasshopper_defconfig                   |   1 +
 configs/grsim_defconfig                         |   1 +
 configs/grsim_leon2_defconfig                   |   1 +
 configs/io_defconfig                            |   1 +
 configs/iocon_defconfig                         |   1 +
 configs/neo_defconfig                           |   1 +
 configs/pb1000_defconfig                        |   1 +
 configs/sandbox_defconfig                       |   1 +
 configs/vct_platinum_onenand_small_defconfig    |   1 +
 configs/vct_platinum_small_defconfig            |   1 +
 configs/vct_platinumavc_onenand_small_defconfig |   1 +
 configs/vct_platinumavc_small_defconfig         |   1 +
 configs/vct_premium_onenand_small_defconfig     |   1 +
 configs/vct_premium_small_defconfig             |   1 +
 doc/README.vxworks                              |  82 ++++-
 doc/README.x86                                  |   2 +
 include/config_cmd_all.h                        |   1 -
 include/config_distro_defaults.h                |   1 -
 include/configs/B4860QDS.h                      |   1 -
 include/configs/BSC9131RDB.h                    |   1 -
 include/configs/BSC9132QDS.h                    |   1 -
 include/configs/C29XPCIE.h                      |   1 -
 include/configs/CPCI2DP.h                       |   1 -
 include/configs/CPCI4052.h                      |   1 -
 include/configs/M5208EVBE.h                     |   1 -
 include/configs/M52277EVB.h                     |   1 -
 include/configs/M5235EVB.h                      |   1 -
 include/configs/M5272C3.h                       |   1 -
 include/configs/M5275EVB.h                      |   1 -
 include/configs/M53017EVB.h                     |   1 -
 include/configs/M5329EVB.h                      |   1 -
 include/configs/M5373EVB.h                      |   1 -
 include/configs/M54418TWR.h                     |   1 -
 include/configs/M54451EVB.h                     |   1 -
 include/configs/M54455EVB.h                     |   1 -
 include/configs/M5475EVB.h                      |   1 -
 include/configs/M5485EVB.h                      |   1 -
 include/configs/MIP405.h                        |   1 -
 include/configs/MPC8536DS.h                     |   1 -
 include/configs/MPC8540ADS.h                    |   1 -
 include/configs/MPC8541CDS.h                    |   1 -
 include/configs/MPC8544DS.h                     |   1 -
 include/configs/MPC8548CDS.h                    |   1 -
 include/configs/MPC8555CDS.h                    |   1 -
 include/configs/MPC8560ADS.h                    |   1 -
 include/configs/MPC8568MDS.h                    |   1 -
 include/configs/MPC8569MDS.h                    |   1 -
 include/configs/MPC8572DS.h                     |   1 -
 include/configs/P1010RDB.h                      |   1 -
 include/configs/P1022DS.h                       |   1 -
 include/configs/P2041RDB.h                      |   1 -
 include/configs/PIP405.h                        |   1 -
 include/configs/PLU405.h                        |   1 -
 include/configs/PMC405DE.h                      |   1 -
 include/configs/PMC440.h                        |   1 -
 include/configs/T102xQDS.h                      |   1 -
 include/configs/T102xRDB.h                      |   1 -
 include/configs/T1040QDS.h                      |   1 -
 include/configs/T104xRDB.h                      |   1 -
 include/configs/T208xQDS.h                      |   1 -
 include/configs/T208xRDB.h                      |   1 -
 include/configs/T4240RDB.h                      |   1 -
 include/configs/TQM823L.h                       |   1 -
 include/configs/TQM823M.h                       |   1 -
 include/configs/TQM850L.h                       |   1 -
 include/configs/TQM850M.h                       |   1 -
 include/configs/TQM855L.h                       |   1 -
 include/configs/TQM855M.h                       |   1 -
 include/configs/TQM860L.h                       |   1 -
 include/configs/TQM860M.h                       |   1 -
 include/configs/TQM862L.h                       |   1 -
 include/configs/TQM862M.h                       |   1 -
 include/configs/TQM866M.h                       |   1 -
 include/configs/UCP1020.h                       |   1 -
 include/configs/VCMA9.h                         |   1 -
 include/configs/VOM405.h                        |   1 -
 include/configs/amcc-common.h                   |   1 -
 include/configs/arcangel4.h                     |   1 -
 include/configs/astro_mcf5373l.h                |   1 -
 include/configs/axs101.h                        |   1 -
 include/configs/bf537-minotaur.h                |   1 -
 include/configs/bf537-srv1.h                    |   1 -
 include/configs/bfin_adi_common.h               |   1 -
 include/configs/blackstamp.h                    |   1 -
 include/configs/blackvme.h                      |   1 -
 include/configs/controlcenterd.h                |   1 -
 include/configs/corenet_ds.h                    |   1 -
 include/configs/dbau1x00.h                      |   1 -
 include/configs/digsy_mtc.h                     |   1 -
 include/configs/dlvision-10g.h                  |   1 -
 include/configs/dlvision.h                      |   1 -
 include/configs/io.h                            |   1 -
 include/configs/iocon.h                         |   1 -
 include/configs/km/km_arm.h                     |   1 -
 include/configs/lsxl.h                          |   1 -
 include/configs/malta.h                         |   1 -
 include/configs/mecp5123.h                      |   1 -
 include/configs/motionpro.h                     |   1 -
 include/configs/munices.h                       |   1 -
 include/configs/neo.h                           |   1 -
 include/configs/nitrogen6x.h                    |   1 -
 include/configs/openrisc-generic.h              |   1 -
 include/configs/origen.h                        |   1 -
 include/configs/p1_p2_rdb_pc.h                  |   1 -
 include/configs/p1_twr.h                        |   1 -
 include/configs/pb1x00.h                        |   2 -
 include/configs/qemu-mips.h                     |   1 -
 include/configs/qemu-mips64.h                   |   1 -
 include/configs/qemu-ppce500.h                  |   1 -
 include/configs/sandbox.h                       |   1 -
 include/configs/sbc8548.h                       |   1 -
 include/configs/smdk2410.h                      |   1 -
 include/configs/smdkc100.h                      |   1 -
 include/configs/smdkv310.h                      |   1 -
 include/configs/t4qds.h                         |   1 -
 include/configs/tb100.h                         |   1 -
 include/configs/vct.h                           |   2 -
 include/configs/vme8349.h                       |   1 -
 include/configs/x86-common.h                    |   3 +-
 include/configs/xilinx-ppc.h                    |   1 -
 include/configs/xilinx_zynqmp.h                 |   1 -
 include/configs/xpedite1000.h                   |   1 -
 include/configs/xpedite517x.h                   |   1 -
 include/configs/xpedite520x.h                   |   1 -
 include/configs/xpedite537x.h                   |   1 -
 include/configs/xpedite550x.h                   |   1 -
 include/configs/zmx25.h                         |   1 -
 include/configs/zynq-common.h                   |   1 -
 include/vxworks.h                               |  51 +--
 151 files changed, 408 insertions(+), 371 deletions(-)
 create mode 100644 arch/x86/lib/e820.c

-- 
1.8.2.1



More information about the U-Boot mailing list