Skip to content
Snippets Groups Projects
  1. Feb 09, 2017
  2. Feb 08, 2017
  3. Feb 07, 2017
    • Andy Shevchenko's avatar
      x86: make LOAD_FROM_32_BIT visible for platforms · 446d4e04
      Andy Shevchenko authored
      
      This option is useful not only for development, but for the platforms
      where U-Boot is run from custom ROM bootloader. For example, Intel
      Edison is that board.
      
      Make this option visible that platforms can select it if needed.
      
      Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
      Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
      446d4e04
    • Bin Meng's avatar
      x86: qemu: Add a config for 64-bit U-Boot · bda40d56
      Bin Meng authored
      
      Add a new board config which uses 64-bit U-Boot. Supported features
      are the same as the other 64-bit board (Google Chromebook Link).
      It is a start for us to test 64-bit U-Boot easily without the need
      to access a real hardware.
      
      Note CONFIG_SPL_ENV_SUPPORT is required for QEMU 64-bit as without
      this the SPL build fails at the end. This is just a workaround as
      CONFIG_SPL_ENV_SUPPORT is not needed at all.
      
      common/built-in.o:(.data.env_htab+0xc): undefined reference to 'env_flags_validate'
      lib/built-in.o: In function `hsearch_r':
      lib/hashtable.c:380: undefined reference to 'env_callback_init'
      lib/hashtable.c:382: undefined reference to 'env_flags_init'
      make[1]: *** [spl/u-boot-spl] Error 1
      
      Except those SPL options required by 64-bit, compared to 32-bit
      config, the following options are different:
      
      - CONFIG_SYS_MALLOC_F_LEN has to be increased to 0x1000 for SPL.
      - CONFIG_DEBUG_UART has to be included due to the weird issue.
        See TODO comments in arch/x86/cpu/x86_64/cpu.c:arch_setup_gd().
        Once this issue gets fixed, debug uart can be optional.
      
      Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      bda40d56
    • Bin Meng's avatar
      x86: qemu: Add build options for SPL · 73d2de2b
      Bin Meng authored
      
      If SPL is used we want to use the generic SPL framework and boot
      from SPI via a board-specific means. Add these options to the
      board config file.
      
      Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
      Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
      73d2de2b
Loading