1. 10 1月, 2018 1 次提交
  2. 09 1月, 2018 10 次提交
  3. 08 1月, 2018 5 次提交
  4. 04 1月, 2018 2 次提交
  5. 03 1月, 2018 10 次提交
    • 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
    • P
      rockchip: firefly-rk3399: enable SPL_ATF_NO_PLATFORM_PARAM · e2a75f02
      Philipp Tomsich 提交于
      The Rockchip-released ATF for the Firefly apparently (i.e. Kever
      reported this) does not tolerate a FDT being passed as the platform
      parameter and will run into a hard stop.
      
      To work around this limitation in the ATF parameter handling, we
      enable SPL_ATF_NO_PLATFORM_PARAM (which will force passing NULL for
      the platform parameters).
      
      Note that this only affects this platform, as the ATF releases for the
      RK3368 and RK3399 have always either ignored the platform parameter
      (i.e. before the FDT-based parameters were supported) or support
      receiving a pointer to a FDT.
      Signed-off-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
      Reviewed-by: NKever Yang <kever.yang@rock-chips.com>
      e2a75f02
    • P
      spl: atf: add SPL_ATF_NO_PLATFORM_PARAM option · d21fb63d
      Philipp Tomsich 提交于
      While we expect to call a pointer to a valid FDT (or NULL) as the
      platform parameter to an ATF, some ATF versions are not U-Boot aware
      and have an insufficiently robust (or an overzealour) parameter
      validation: either way, this may cause a hard-stop with uncooperative
      ATF versions.
      
      This change adds the option to suppress passing a platform parameter
      and will always pass NULL.
      
      Debug output from ATF w/ this option disabled (i.e. default):
            INFO:    plat_param_from_bl2: 0x291450
      Debug output from ATF w/ this option enabled:
            INFO:    plat_param_from_bl2: 0
      Signed-off-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
      Tested-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
      Reviewed-by: NKever Yang <kever.yang@rock-chips.com>
      d21fb63d
    • 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
    • P
      video: Support multiple lines version string display · f9d891f0
      Peng Fan 提交于
      The calculation of left space for version string is not correct, should
      use VIDEO_COLS not VIDEO_LINE_LEN / 2, otherwise we will get larger space
      than actual have and cause string to overlay logo picture.
      
      Also current version string display only supports two lines words at max.
      This also causes overlay when the LCD pixel column size is not enough.
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      Tested-by: NAnatolij Gustschin <agust@denx.de>
      f9d891f0
    • P
      video: ipu: Fix dereferencing NULL pointer problem · cca3ff05
      Peng Fan 提交于
      The clk_set_rate function dereferences the clk pointer without
      checking whether it is NULL. This may cause problem when clk is NULL.
      Signed-off-by: NPeng Fan <peng.fan@nxp.com>
      Signed-off-by: NAnatolij Gustschin <agust@denx.de>
      cca3ff05
    • P
      rockchip: board: lion-rk3368: reduce env-size default to 8KiB · 224d261a
      Philipp Tomsich 提交于
      We want to have the same configuration defaults for the RK3368-uQ7
      as for the RK3399-Q7: this change reduces the default env-size to
      8KiB to ensure that it does not overlap the boot-payload on SD/MMC
      configurations.
      
      References: commit fe529e65 ("rockchip: rk3399-puma: reduce env size to 8kiB")
      Signed-off-by: NPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
      224d261a
  6. 02 1月, 2018 2 次提交
  7. 01 1月, 2018 10 次提交