Skip to content
Snippets Groups Projects
  1. Sep 16, 2014
  2. Sep 13, 2014
  3. Sep 11, 2014
    • Benoît Thébaudeau's avatar
      arm: Fix _start for CONFIG_SYS_DV_NOR_BOOT_CFG · a7f99bf1
      Benoît Thébaudeau authored
      
      The boards using CONFIG_SYS_DV_NOR_BOOT_CFG (i.e. calimain,
      da850evm_direct_nor and enbw_cmc) had the _start symbol defined after
      the CONFIG_SYS_DV_NOR_BOOT_CFG word rather than before it in
      arch/arm/lib/vectors.S. Because of that, if by lack of luck
      'gd->mon_len = (ulong)&__bss_end - (ulong)_start' (see setup_mon_len())
      was a multiple of 4 kiB (see reserve_uboot()), then the last BSS word
      overlapped the first word of the following reserved RAM area (or went
      beyond the top of RAM without such an area) after relocation because
      __image_copy_start did not match _start (see relocate_code()).
      
      This was broken by commit 41623c91 'arm: move exception handling out of
      start.S files', which defined _start twice (before and after the
      CONFIG_SYS_DV_NOR_BOOT_CFG word), then by commit 0a26e1d6 'arm: fix a
      double-definition error of _start symbol', which kept the definition of
      the _start symbol after the CONFIG_SYS_DV_NOR_BOOT_CFG word. This new
      commit fixes this issue by restoring the original behavior, i.e. by
      defining the _start symbol before the CONFIG_SYS_DV_NOR_BOOT_CFG word.
      
      Signed-off-by: default avatarBenoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Manfred Rudigier <manfred.rudigier@omicron.at>
      Cc: Christian Riesch <christian.riesch@omicron.at>
      Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
      Cc: Heiko Schocher <hs@denx.de>
      a7f99bf1
    • Benoît Thébaudeau's avatar
      arm: Make reset position-independent · 58f9e1ae
      Benoît Thébaudeau authored
      
      Some boards, like mx31pdk and tx25, require the beginning of the SPL
      code to be position-independent. For these two boards, this is because
      they use the i.MX external NAND boot, which starts by executing the
      first NAND Flash page from the NFC page buffer. The SPL then needs to
      copy itself to its actual link address in order to free the NFC page
      buffer and use it to load the non-SPL image from Flash before running
      it. This means that the SPL runtime address differs from its link
      address between the reset and the initial copy performed by
      board_init_f(), so this part of the SPL binary must be
      position-independent.
      
      This requirement was broken by commit 41623c91 'arm: move exception
      handling out of start.S files', which used an absolute address to branch
      to the reset routine. This new commit restores the original behavior,
      which just performed a relative branch. This fixes the boot of mx31pdk
      and tx25.
      
      Signed-off-by: default avatarBenoît Thébaudeau <benoit.thebaudeau.dev@gmail.com>
      Reported-by: default avatarHelmut Raiger <helmut.raiger@hale.at>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Magnus Lilja <lilja.magnus@gmail.com>
      Cc: John Rigby <jcrigby@gmail.com>
      Tested-by: default avatarMagnus Lilja <lilja.magnus@gmail.com>
      58f9e1ae
  4. Sep 10, 2014
    • Simon Glass's avatar
      tegra: dts: Add serial port details · c3691392
      Simon Glass authored
      
      Some Tegra device tree files do not include information about the serial
      ports. Add this and also add information about the input clock speed.
      
      The console alias needs to be set up to indicate which port is used for
      the console.
      
      Also add a binding file since this is missing.
      
      Series-changes; 5
      - Add full serial port nodes from Linux tree (commit fc9d4dbe)
      - Use /chosen/stdout-path instead of /aliases/console to specify the console
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      c3691392
    • Simon Glass's avatar
      sandbox: dts: Add a serial console node · 2a9ae6e0
      Simon Glass authored
      
      If the sandbox device tree is provided to U-Boot (with the -d flag) then it
      will use the device tree version in preference to the built-in device. The
      only difference is the colour.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      2a9ae6e0
    • Simon Glass's avatar
      tegra: Convert tegra GPIO driver to use driver model · 2fccd2d9
      Simon Glass authored
      
      This is an implementation of GPIOs for Tegra that uses driver model. It has
      been tested on trimslice and also using the new iotrace feature.
      
      The implementation uses a top-level GPIO device (which has no actual GPIOS).
      Under this all the banks are created as separate GPIO devices.
      
      The GPIOs are named as per the Tegra datasheet/header files: A0..A7, B0..B7,
      ..., Z0..Z7, AA0..AA7, etc.
      
      Since driver model is not yet available before relocation, or in SPL, a
      special function is provided for seaboard's SPL code.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      2fccd2d9
  5. Sep 09, 2014
  6. Sep 08, 2014
  7. Sep 05, 2014
  8. Sep 04, 2014
  9. Sep 02, 2014
  10. Sep 01, 2014
  11. Aug 31, 2014
Loading