1. 17 4月, 2018 5 次提交
  2. 16 4月, 2018 23 次提交
  3. 15 4月, 2018 12 次提交
    • T
      Merge git://git.denx.de/u-boot-imx · ebca902a
      Tom Rini 提交于
      Signed-off-by: NTom Rini <trini@konsulko.com>
      ebca902a
    • T
      Merge git://git.denx.de/u-boot-net · df13a443
      Tom Rini 提交于
      df13a443
    • T
      Merge git://git.denx.de/u-boot-sh · 6d0409f2
      Tom Rini 提交于
      6d0409f2
    • J
      mx6cuboxi: Fix some memory configuration errors · b4e9bdcd
      Jon Nettleton 提交于
      These changes bring mainline back into line with the configurations
      that were originally set in our stable BSP.
      Signed-off-by: NJon Nettleton <jon@solid-run.com>
      Signed-off-by: NFabio Estevam <fabio.estevam@nxp.com>
      b4e9bdcd
    • T
      imx: Create distinct pre-processed mkimage config files · f9167573
      Trent Piepho 提交于
      Each imx image is created by a separate sub-make and during this process
      the mkimage config file is run though cpp.
      
      The cpp output is to the same file no matter what imx image is being
      created.
      
      This means if two imx images are generated in parallel they will attempt
      to independently produce the same pre-processed mkimage config file at
      the same time.
      
      Avoid the problem by making the pre-processed config file name unique
      based on the imx image it will be used in.  This way each image will
      create a unique config file and they won't clobber each other when run
      in parallel.
      
      This should fixed the build bug referenced in b5b0e4e3 ("imximage:
      Remove failure when no IVT offset is found").
      
      Cc: Breno Lima <breno.lima@nxp.com>
      Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
      Cc: Fabio Estevam <fabio.estevam@nxp.com>
      Signed-off-by: NTrent Piepho <tpiepho@impinj.com>
      Tested-by: NFabio Estevam <fabio.estevam@nxp.com>
      f9167573
    • T
      mx31ads: Delete · 448fc44f
      Tom Rini 提交于
      This platform has been marked as orphaned since September 2013, remove.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      448fc44f
    • T
      imx31_phycore: Delete · bcca8aa9
      Tom Rini 提交于
      This platform has been marked as orphaned since September 2013, remove.
      Signed-off-by: NTom Rini <trini@konsulko.com>
      bcca8aa9
    • V
      pico-imx7d: Replace fatload command · ebca6013
      Vanessa Maegima 提交于
      Replace fatload with the fs generic loading interface ('load' command).
      Signed-off-by: NVanessa Maegima <vanessa.maegima@nxp.com>
      Reviewed-by: NFabio Estevam <fabio.estevam@nxp.com>
      ebca6013
    • B
      imx: mx7: snvs: Add an SNVS init routine · 723f8359
      Bryan O'Donoghue 提交于
      Working with HAB on the i.MX7 we've encountered a case where a board that
      successfully authenticates u-boot when booting Linux via OPTEE subsequently
      fails to properly bring up the RTC.
      
      The RTC registers live in the low-power block of the Secure Non-Volatile
      Storage (SNVS) block.
      
      The root cause of the error has been traced to the HAB handing off the
      SNVS-RTC in a state where HPCOMR::NPSWA_EN = 0 in other words where the
      Non-Privileged Software Access Enable bit is zero. In ordinary
      circumstances this is OK since we typically do not run in TZ mode, however
      when we boot via HAB and enablng TrustZone, it is required to set
      HPCOMR::NPSWA_EN = 1 in order for the upstream Linux driver to have
      sufficient permissions to manipulate the SNVS-LP block.
      
      On our reference board it is the difference between Linux doing this:
      
      root@imx7s-warp-mbl:~# dmesg | grep rtc
      snvs_rtc_enable read 0x00000000 from SNVS_LPLR @ 0x00000034
      snvs_rtc_enable read 0x00000021 from SNVS_LPCR @ 0x00000038
      snvs_rtc_enable read 0x00000000 from SNVS_HPLR @ 0x00000000
      snvs_rtc_enable read 0x80002100 from SNVS_HPCOMR @ 0x00000004
      snvs_rtc 30370000.snvs:snvs-rtc-lp: rtc core: registered
               30370000.snvs:snvs-rtc-lp as rtc0
      snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to2018-04-01 00:51:04 UTC (1522543864)
      
      and doing this:
      
      root@imx7s-warp-mbl:~# dmesg | grep rtc
      snvs_rtc_enable read 0x00000000 from SNVS_LPLR @ 0x00000034
      snvs_rtc_enable read 0x00000020 from SNVS_LPCR @ 0x00000038
      snvs_rtc_enable read 0x00000001 from SNVS_HPLR @ 0x00000000
      snvs_rtc_enable read 0x00002020 from SNVS_HPCOMR @ 0x00000004
      snvs_rtc 30370000.snvs:snvs-rtc-lp: failed to enable rtc -110
      snvs_rtc: probe of 30370000.snvs:snvs-rtc-lp failed with error -110
      hctosys: unable to open rtc device (rtc0)
      
      Note bit 1 of LPCR is not set in the second case and is set in the first
      case and that bit 31 of HPCOMR is set in the second case but not in the
      first.
      
      Setting NPSWA_EN in HPCOMR allows us to boot through enabling TrustZone
      and continue onto the kernel. The kernel then has the necessary permissions
      to set LPCR::SRTC_ENV (RTC enable in the LP command register) whereas in
      contrast - in the failing case the non-privileged kernel cannot do so.
      
      This patch adds a simple init_snvs() call which sets the permission-bit
      called from soc.c for the i.MX7. It may be possible, safe and desirable to
      perform this on other i.MX processors but for now this is only tested on
      i.MX7 as working.
      Signed-off-by: NBryan O'Donoghue <bryan.odonoghue@linaro.org>
      723f8359
    • L
      boot: script: The boot.scr file for K+P's boards · b04ff9bf
      Lukasz Majewski 提交于
      By using this file one can avoid cluttering <board>.h file with u-boot
      HUSH commands necessary for booting target device.
      
      With such approach the commands are stored only in one place and can be
      reused if needed.
      Signed-off-by: NLukasz Majewski <lukma@denx.de>
      Reviewed-by: NStefano Babic <sbabic@denx.de>
      b04ff9bf
    • L
      imx: board: Add support for the K+P's kp_imx6q_tpc board · dd4671cb
      Lukasz Majewski 提交于
      This commit provides support for Kieback & Peter GmbH IMX6Q based
      TPC board.
      
      U-boot console output:
      
      U-Boot SPL 2018.05-rc1-00005-g631e2d01fd (Apr 04 2018 - 21:16:24 +0200)
      Trying to boot from MMC1
      
      U-Boot 2018.05-rc1-00005-g631e2d01fd (Apr 04 2018 - 21:16:24 +0200)
      
      CPU:   Freescale i.MX6Q rev1.5 996 MHz (running at 792 MHz)
      CPU:   Extended Commercial temperature grade (-20C to 105C) at 37C
      Reset cause: POR
      Board: K+P KP_IMX6Q_TPC i.MX6Q
             Watchdog enabled
      I2C:   ready
      DRAM:  2 GiB
      MMC:   FSL_SDHC: 0, FSL_SDHC: 1
      Loading Environment from MMC... OK
      In:    serial
      Out:   serial
      Err:   serial
      Net:   FEC [PRIME]
      Autoboot in 3 seconds
      dd4671cb
    • I
      board: ge: bx50v3: enable backlight on demand · 6c0e6b45
      Ian Ray 提交于
      Enable display backlight only if a message needs to be displayed.
      The kernel re-initializes the backlight, which results in some
      unwanted artifacts.
      Signed-off-by: NIan Ray <ian.ray@ge.com>
      Signed-off-by: NSebastian Reichel <sebastian.reichel@collabora.co.uk>
      6c0e6b45