Skip to content

Better support of booting VxWorks via 'bootvx'

Bin Meng u-boot 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest12 patches 0 repliesNew
  2. v213 patches 0 repliesSuperseded
  3. v18 patches 0 repliesSuperseded

Changes in v3 from the cover letter

- New patch to avoid strlen() calls when constructing VxWorks bootline
- Avoid calls to strlen()

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12x86: Initialize GDT entry 1 to be the 32-bit CS as wellarch/x86/cpu/cpu.c+6 -11 reply
2/12x86: Move install_e820_map() out of zimage.carch/x86/include/asm/e820.h arch/x86/include/asm/zimage.h arch/x86/lib/Makefile +2 more+41 -291 reply
3/12x86: Remove quotation mark in CONFIG_HOSTNAMEinclude/configs/x86-common.h+1 -11 reply
4/12cmd: Convert CONFIG_CMD_ELF to Kconfigcommon/Kconfig configs/atngw100_defconfig configs/atngw100mkii_defconfig +137 more+33 -1141 reply
5/12cmd: Clean up cmd_elf a little bitcommon/cmd_elf.c+73 -981 reply
6/12cmd: elf: Reorder load_elf_image_phdr() and load_elf_image_shdr()common/cmd_elf.c+79 -821 reply
7/12cmd: bootvx: Avoid strlen() calls when constructing VxWorks bootlinecommon/cmd_elf.c+10 -102 replies
8/12cmd: bootvx: Pass netmask and gatewayip to VxWorks bootlinecommon/cmd_elf.c+15 -22 replies
9/12cmd: bootvx: Always get VxWorks bootline from envREADME common/cmd_elf.c include/vxworks.h+68 -851 reply
10/12cmd: bootvx: Pass E820 information to an x86 VxWorks kernelcommon/cmd_elf.c include/vxworks.h+59 -00 replies
11/12cmd: bootvx: Add asmlinkage to the VxWorks x86 entrycommon/cmd_elf.c+6 -01 reply
12/12doc: Complement document about booting VxWorksdoc/README.vxworks doc/README.x86+76 -81 reply

Reviews trailers per patch

11 of 12 patches have a Reviewed-by or Acked-by.

PatchSimon GlassJian LuoTom RiniHannes Schmelzer
1/12A-b T-b
2/12A-b
3/12A-b
4/12
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b T-b
10/12A-b T-b R-b
11/12A-b
12/12R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v3 thread

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

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
Signature · 1 line
1.8.2.1