Skip to content
Snippets Groups Projects
  1. Nov 01, 2021
    • Zhaofeng Li's avatar
      pxe_utils: Clean up {bootm,zboot}_argv generation · c97bd17b
      Zhaofeng Li authored and Bin Meng's avatar Bin Meng committed
      
      Signed-off-by: default avatarZhaofeng Li <hello@zhaofeng.li>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Bin Meng <bmeng.cn@gmail.com>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      c97bd17b
    • Zhaofeng Li's avatar
      pxe_utils: Fix arguments to x86 zboot · 23f3e399
      Zhaofeng Li authored and Bin Meng's avatar Bin Meng committed
      
      bootm and zboot accept different arguments:
      
      > bootm [addr [arg ...]]
      >    - boot application image stored in memory
      >        passing arguments 'arg ...'; when booting a Linux kernel,
      >        'arg' can be the address of an initrd image
      
      > zboot [addr] [size] [initrd addr] [initrd size] [setup] [cmdline]
      >       addr -        The optional starting address of the bzimage.
      >                     If not set it defaults to the environment
      >                     variable "fileaddr".
      >       size -        The optional size of the bzimage. Defaults to
      >                     zero.
      >       initrd addr - The address of the initrd image to use, if any.
      >       initrd size - The size of the initrd image to use, if any.
      
      In the zboot flow, the current code will reuse the bootm args and attempt
      to pass the initrd arg (argv[2]) as the kernel size (should be argv[3]).
      zboot also expects the initrd address and size to be separate arguments.
      
      Let's untangle them and have separate argv/argc locals.
      
      Signed-off-by: default avatarZhaofeng Li <hello@zhaofeng.li>
      Cc: Simon Glass <sjg@chromium.org>
      Cc: Bin Meng <bmeng.cn@gmail.com>
      Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      23f3e399
    • Bin Meng's avatar
      docs: uefi: Update stale U-Boot on EFI doc · 7a0eecb2
      Bin Meng authored
      
      The existing intructions in the U-Boot on EFI doc do not work with
      the latest QEMU. Update the doc with the correct instructions, as
      well as using the new OVMF URL link.
      
      Signed-off-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
      7a0eecb2
  2. Oct 31, 2021
Loading