1. 14 4月, 2016 10 次提交
  2. 12 4月, 2016 2 次提交
    • S
      rpi: remove redundant board files · fe84ebf0
      Stephen Warren 提交于
      Now that rpi_*defconfig and Kconfig (rather than the config header file)
      provide the identity of the build, we don't need to separate config
      headers and board directories for each RPi variant. Set CONFIG_SYS_BOARD
      and CONFIG_SYS_CONFIG_NAME so that we can get rid of the duplication. This
      requires a tiny number of extra ifdefs in the config header.
      
      The only disadvantage of this approach is that the $board/$board_name
      environment variables aren't as descriptive as they used to be. This isn't
      really an issue because those only exist to allow scripts to create DTB
      filenames at runtime. However, the RPi board code already sets $fdtfile to
      something more accurate based on FW-reported board ID anyway.
      
      While at it, unify some Kconfig select options, and add a MAINTAINERS
      entry for bcm283x too.
      Partially-suggested-by: NTom Rini <trini@konsulko.com>
      Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      fe84ebf0
    • S
      ARM: add Raspberry Pi 3 64-bit config · d22a7657
      Stephen Warren 提交于
      On all Pis so far, the VC FW provides a short stub to set up the ARM CPU
      before entering the kernel (a/k/a U-Boot for us). This feature is not
      currently supported by the VC FW when booting in 64-bit mode. However,
      this feature will likely appear in the near future, and this U-Boot port
      assumes that such a feature is in place. Without that feature, or a
      temporary workaround described below, U-Boot will not boot.
      
      Once the VC FW does provide the ARM stub, u-boot.bin built for rpi_3 can
      be used drectly as kernel7.img, in the same way as any other RPi port. The
      following config.txt is required:
      
          # Fix mini UART input frequency, and setup/enable up the UART.
          # Without this option, U-Boot will not boot, even if you don't care
          # about the serial console. This option will always be required for
          # all RPi3 use-cases, unless the PL011 UART is used, which is not
          # yet supported by rpi_3* builds of U-Boot.
          enable_uart=1
          # Boot in AArch64 (64-bit) mode.
          # It is possible that a future VC FW will remove the need for this
          # option, instead auto-setting 32-/64-bit mode based on the "kernel"
          # filename present on the SD card.
          arm_control=0x200
      
      Prior to the VC FW providing the ARM boot stub, you can use the following
      steps to build an equivalent stub into the U-Boot binary:
      
      git clone https://github.com/swarren/rpi-3-aarch64-demo.git \
          ../rpi-3-aarch64-demo
      (cd ../rpi-3-aarch64-demo && ./build.sh)
      Build U-Boot for rpi_3 in the usual way
      cat ../rpi-3-aarch64-demo/armstub64.bin u-boot.bin > u-boot.bin.stubbed
      Use u-boot.bin.stubbed as kernel7.img on the Pi SD card.
      
      In this case, the following additional entries are required in config.txt:
      
          # Tell the FW to load the kernel image at address 0, the reset vector.
          kernel_old=1
      Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      d22a7657
  3. 10 4月, 2016 3 次提交
  4. 09 4月, 2016 1 次提交
  5. 08 4月, 2016 1 次提交
  6. 07 4月, 2016 4 次提交
  7. 05 4月, 2016 11 次提交
  8. 04 4月, 2016 1 次提交
    • S
      arm: mvebu: Add basic support for Armada 375 eval board db-88f6720 · 606576d5
      Stefan Roese 提交于
      This patch adds basic support for the Marvell A375 eval board. Tested
      are the following interfaces:
      - I2C
      - SPI
      - SPI NOR
      - Ethernet (mvpp2), port 0 & 1
      
      Currently the A375 SerDes and DDR3 init code is not intergrated. So
      the SPL U-Boot is not fully functional.
      
      Right now, this A375 mainline U-Boot can only be used by chainloading
      it via the original Marvell U-Boot. This can be done via this
      command:
      
      => tftpboot 00800000 a375/u-boot-dtb.bin;go 00800000
      Signed-off-by: NStefan Roese <sr@denx.de>
      Cc: Luka Perkov <luka.perkov@sartura.hr>
      606576d5
  9. 02 4月, 2016 7 次提交