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(-) -- 2.7.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot