Skip to content

bootvx: Various enhancements to booting VxWorks x86 kernels

Bin Meng u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest18 patches 0 repliesNew
  2. v13 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- update the ELF32 and ELF64 loader comments
- update the graphics console driver information

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18doc: vxworks: Minor update for claritydoc/README.vxworks+4 -40 replies
1/18doc: vxworks: Minor update for clarity+0 -00 replies
2/18bootvx: x86: Prepare e820 related stuff from the given kernel memory base addresscmd/elf.c doc/README.vxworks include/vxworks.h+23 -271 reply
2/18bootvx: x86: Prepare e820 related stuff from the given kernel memory base address+0 -00 replies
3/18bootvx: x86: Explicitly clear the bootloader image sizecmd/elf.c include/vxworks.h+16 -01 reply
3/18bootvx: x86: Explicitly clear the bootloader image size+0 -00 replies
4/18vxworks: x86: Rename e820info to e820_infocmd/elf.c include/vxworks.h+4 -41 reply
4/18vxworks: x86: Rename e820info to e820_info+0 -00 replies
5/18x86: Use 'unsigned int' in install_e820_map() functionsarch/x86/cpu/coreboot/sdram.c arch/x86/cpu/qemu/e820.c arch/x86/cpu/tangier/sdram.c +3 more+17 -111 reply
5/18x86: Use 'unsigned int' in install_e820_map() functions+0 -00 replies
6/18x86: Rename e820entry to e820_entryarch/x86/cpu/coreboot/sdram.c arch/x86/cpu/qemu/e820.c arch/x86/cpu/tangier/sdram.c +6 more+13 -131 reply
6/18x86: Rename e820entry to e820_entry+0 -00 replies
7/18elf: Clean up the ELF header fileinclude/elf.h+138 -1461 reply
7/18elf: Clean up the ELF header file+0 -00 replies
8/18elf: Add ELF64 related structure definesinclude/elf.h+43 -01 reply
8/18elf: Add ELF64 related structure defines+0 -00 replies
9/18elf: Add a very simple ELF64 loadercmd/elf.c+43 -11 reply
9/18elf: Add a very simple ELF64 loader+0 -00 replies
9/18elf: Add a very simple ELF64 loader+0 -00 replies
10/18bios: vesa: Guard setting vesa mode with CONFIG_FRAMEBUFFER_SET_VESA_MODEarch/x86/lib/bios.c drivers/bios_emulator/atibios.c+8 -01 reply
10/18bios: vesa: Guard setting vesa mode with CONFIG_FRAMEBUFFER_SET_VESA_MODE+0 -00 replies
10/18bios: vesa: Guard setting vesa mode with CONFIG_FRAMEBUFFER_SET_VESA_MODE+0 -00 replies
11/18video: vesa: Change default FRAMEBUFFER_VESA_MODEdrivers/video/Kconfig+1 -11 reply
11/18video: vesa: Change default FRAMEBUFFER_VESA_MODE+0 -00 replies
12/18x86: Change default FRAMEBUFFER_VESA_MODE of some boardsconfigs/bayleybay_defconfig configs/minnowmax_defconfig configs/qemu-x86_64_defconfig +3 more+6 -61 reply
12/18x86: Change default FRAMEBUFFER_VESA_MODE of some boards+0 -00 replies
13/18pci: video: Only print out when everything is OKdrivers/pci/pci_rom.c+1 -31 reply
13/18pci: video: Only print out when everything is OK+0 -00 replies
14/18bootvx: x86: Make VxWorks EFI console driver happycmd/elf.c include/vxworks.h+45 -01 reply
14/18bootvx: x86: Make VxWorks EFI console driver happy+0 -00 replies
15/18bootvx: Refactor the bootline copy codes a little bitcmd/elf.c+5 -101 reply
15/18bootvx: Refactor the bootline copy codes a little bit+0 -00 replies
16/18bootvx: Exit if bootline address is not specifiedcmd/elf.c+53 -560 replies
16/18bootvx: Exit if bootline address is not specified+0 -00 replies
17/18bootvx: x86: Assign bootaddr based on kernel memory basecmd/elf.c include/vxworks.h+51 -430 replies
17/18bootvx: x86: Assign bootaddr based on kernel memory base+0 -00 replies
18/18doc: vxworks: Update x86 specific instructionsdoc/README.vxworks+19 -20 replies
18/18doc: vxworks: Update x86 specific instructions+0 -00 replies

Reviews trailers per patch

32 of 38 patches have a Reviewed-by or Acked-by.

PatchChristian GmeinerSimon Glass
1/18R-b
1/18R-b
2/18R-b
2/18R-b
3/18R-b
3/18R-b
4/18R-b
4/18R-b
5/18R-b
5/18R-b
6/18R-b
6/18R-b
7/18R-b
7/18R-b
8/18R-b
8/18R-b
9/18R-b
9/18R-b
9/18R-b
10/18R-b
10/18R-b
10/18R-b
11/18R-b
11/18R-b
12/18R-b
12/18R-b
13/18R-b
13/18R-b
14/18R-b
14/18R-b
15/18R-b
15/18R-b
16/18
16/18
17/18
17/18
18/18
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 00/18] bootvx: Various enhancements to booting VxWorks x86 kernels

This introduces various enhancements to booting VxWorks x86 kernels. It also cleans up the 'bootvx' x86 path a little bit.

Test was performed on MinnowMax, with VxWorks 7 generic x86/x64 images, with VGA text mode and EFI graphics mode console drivers.

This series is available at u-boot-x86/bootvx for testing.

Changes in v2:
- update the ELF32 and ELF64 loader comments
- update the graphics console driver information

Bin Meng (18):
doc: vxworks: Minor update for clarity
bootvx: x86: Prepare e820 related stuff from the given kernel memory
base address
bootvx: x86: Explicitly clear the bootloader image size
vxworks: x86: Rename e820info to e820_info
x86: Use 'unsigned int' in install_e820_map() functions
x86: Rename e820entry to e820_entry
elf: Clean up the ELF header file
elf: Add ELF64 related structure defines
elf: Add a very simple ELF64 loader
bios: vesa: Guard setting vesa mode with
CONFIG_FRAMEBUFFER_SET_VESA_MODE
video: vesa: Change default FRAMEBUFFER_VESA_MODE
x86: Change default FRAMEBUFFER_VESA_MODE of some boards
pci: video: Only print out when everything is OK
bootvx: x86: Make VxWorks EFI console driver happy
bootvx: Refactor the bootline copy codes a little bit
bootvx: Exit if bootline address is not specified
bootvx: x86: Assign bootaddr based on kernel memory base
doc: vxworks: Update x86 specific instructions

 arch/x86/cpu/coreboot/sdram.c            |   7 +-
 arch/x86/cpu/qemu/e820.c                 |   3 +-
 arch/x86/cpu/tangier/sdram.c             |   6 +-
 arch/x86/include/asm/bootparam.h         |   2 +-
 arch/x86/include/asm/e820.h              |   5 +-
 arch/x86/lib/bios.c                      |   4 +
 arch/x86/lib/coreboot_table.c            |   2 +-
 arch/x86/lib/e820.c                      |   4 +-
 arch/x86/lib/fsp/fsp_dram.c              |   5 +-
 cmd/elf.c                                | 233 ++++++++++++++--------
 configs/bayleybay_defconfig              |   2 +-
 configs/minnowmax_defconfig              |   2 +-
 configs/qemu-x86_64_defconfig            |   2 +-
 configs/qemu-x86_defconfig               |   2 +-
 configs/qemu-x86_efi_payload32_defconfig |   2 +-
 configs/qemu-x86_efi_payload64_defconfig |   2 +-
 doc/README.vxworks                       |  49 +++--
 drivers/bios_emulator/atibios.c          |   4 +
 drivers/pci/pci_rom.c                    |   4 +-
 drivers/video/Kconfig                    |   2 +-
 include/elf.h                            | 327 +++++++++++++++++--------------
 include/vxworks.h                        |  52 ++++-
 22 files changed, 442 insertions(+), 279 deletions(-)
Signature · 1 line
2.7.4