1. 09 1月, 2018 3 次提交
  2. 04 1月, 2018 1 次提交
  3. 03 1月, 2018 5 次提交
    • C
      ARM: imx: cm_fx6: env: don't run boot scripts twice · 5a6440ca
      Christopher Spinrath 提交于
      Boot scripts located in the root directory of the first partition of
      USB, mmc, and SATA drives are executed twice: first by the distro boot
      command and then by the legacy boot command. This may have weird side
      effects if those scripts only change or extend the environment
      (including parts of the boot command itself).
      
      Removing the script execution from the legacy boot command has its own
      caveats. For instance, the distro boot command may execute the boot.scr
      on the mmc drive, then the boot.scr on the SATA drive, before the
      legacy boot command actually boots from the mmc drive. However, the
      current behavior would only execute the boot.scr once more before the
      actual boot, but it does not prevent the script located on the SATA
      drive from being executed, and thus, both scripts from being mixed up.
      
      Considering that the legacy boot command is only in place to boot old
      (standard) installations, let's go with the resolution having less
      custom code and remove the script execution from the legacy boot
      command.
      Signed-off-by: NChristopher Spinrath <christopher.spinrath@rwth-aachen.de>
      Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
      5a6440ca
    • C
      ARM: imx: cm_fx6: env: support distro boot command · 3ef5f671
      Christopher Spinrath 提交于
      The current default environment of the cm_fx6 is not suitable for
      booting modern distributions.
      
      Instead of extending the custom environment, let's use the distro
      boot command, which has been developed for precisely this use case.
      
      If the distro boot command fails, fall back to the old behavior
      (except for USB drives where the old behaviour is completely covered
      by the distro boot command). That way it is still possible to create
      "rescue SD cards" for old installations (e.g. if one messes up the
      on-flash environment).
      Signed-off-by: NChristopher Spinrath <christopher.spinrath@rwth-aachen.de>
      Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
      3ef5f671
    • C
      ARM: imx: cm_fx6: env: use standard variables · 6b79f71c
      Christopher Spinrath 提交于
      In preparation for supporting the distro boot command, introduce the
      standard variables for specifying load addresses, which are documented
      in README and doc/README.distro, and replace the custom variables
      used so far with them.
      
      Since the current address layout disregards an address for an initramfs,
      also switch to the load addresses used and proven by other imx6 boards
      (e.g. the wandboard and nitrogen6x), instead of going on with our own
      way.
      Signed-off-by: NChristopher Spinrath <christopher.spinrath@rwth-aachen.de>
      Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
      6b79f71c
    • E
      imx: spl: Fix NAND bootmode detection · af104ae5
      Eran Matityahu 提交于
      commit 20f14714 ("imx: spl: Update NAND bootmode detection bit")
      broke the NAND bootmode detection by checking if
      BOOT_CFG1[7:4] == 0x8 for NAND boot mode.
      This commit essentially reverts it, while using the IMX6_BMODE_*
      macros that were introduced since.
      
      Tables 8-7 & 8-10 from IMX6DQRM say the NAND boot mode selection
      is done when BOOT_CFG1[7] is 1, but BOOT_CFG1[6:4] is not
      necessarily 0x0 in this case.
      Actually, NAND boot mode is when 0x8 <= BOOT_CFG1[7:4] <= 0xf,
      like it was in the code before.
      Signed-off-by: NEran Matityahu <eran.m@variscite.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Jagan Teki <jagan@openedev.com>
      Cc: Tim Harvey <tharvey@gateworks.com>
      af104ae5
    • E
      mx6: Add board mx6memcal for use in validating DDR · baefb63a
      Eric Nelson 提交于
      This is a virtual "board" that uses configuration files and
      Kconfig to define the memory layout used by a real board during
      the board bring-up process.
      
      It generates an SPL image that can be loaded using imx_usb or
      SB_LOADER.exe.
      
      When run, it will generate a set of calibration constants for
      use in either or both a DCD configuration file for boards that
      use u-boot.imx or struct mx6_mmdc_calibration for boards that
      boot via SPL.
      
      In essence, it is a configurable, open-source variant of the
      Freescale ddr-stress tool.
      
      	https://community.nxp.com/docs/DOC-105652
      
      File mx6memcal_defconfig configures the board for use with
      mx6sabresd or mx6qsabreauto.
      Signed-off-by: NEric Nelson <eric@nelint.com>
      Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com>
      baefb63a
  4. 02 1月, 2018 2 次提交
  5. 01 1月, 2018 10 次提交
  6. 29 12月, 2017 19 次提交