Skip to content
Snippets Groups Projects
  1. Mar 17, 2017
    • Jagan Teki's avatar
      imx: spl: Update NAND bootmode detection bit · 20f14714
      Jagan Teki authored and Stefano Babic's avatar Stefano Babic committed
      
      BOOT_CFG1[7:4] the NAND boot mode selection is done
      only when BOOT_CFG1[7] is 1 hence update the NAND
      boot mode detection bit case. This information available
      on Table 8-11. NAND Boot eFUSE Descriptions, from IMX6DQRM.
      
      Cc: Tim Harvey <tharvey@gateworks.com>
      Reviewed by: Stefano Babic <sbabic@denx.de>
      Signed-off-by: default avatarJagan Teki <jagan@openedev.com>
      20f14714
    • Jagan Teki's avatar
      imx6: Add imx6_src_get_boot_mode · cba586b4
      Jagan Teki authored and Stefano Babic's avatar Stefano Babic committed
      
      For i.MX6, the bootmode determine code is part of spl_boot_device,
      but there is might be a possibility for other part the code need to
      check the desired boot mode for adding new functionalities like
      modeboot env variable, or changing boot order etc.
      
      So introduced imx6_src_get_boot_mode which actually reading the
      boot mode register for desired modes.
      
      More cleanup will be add in future patches.
      
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Tim Harvey <tharvey@gateworks.com>
      Cc: Matteo Lisi <matteo.lisi@engicam.com>
      Cc: Michael Trimarchi <michael@amarulasolutions.com>
      Signed-off-by: default avatarJagan Teki <jagan@openedev.com>
      Reviewed-by: default avatarStefano Babic <sbabic@denx.de>
      cba586b4
    • Peng Fan's avatar
      mx7ulp: Add HAB boot support · 27117b20
      Peng Fan authored and Stefano Babic's avatar Stefano Babic committed
      
      Add CAAM clock functions, SEC_CONFIG[1] fuse checking, and default CSF
      size for HAB support boot on mx7ulp.
      
      Users need to uncomment the CONFIG_SECURE_BOOT in mx7ulp_evk.h to build
      secure uboot.
      
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      Reviewed-by : Stefano Babic <sbabic@denx.de>
      27117b20
    • Peng Fan's avatar
      imx: mx7ulp: Add soc level initialization codes and functions · 1b409828
      Peng Fan authored and Stefano Babic's avatar Stefano Babic committed
      
      Implement soc level functions to get cpu rev, reset cause, enable cache,
      etc. We will disable the wdog and init clocks in s_init at very early u-boot
      phase.
      
      Since the we are seeking the way to get chip id for mx7ulp, the get_cpu_rev
      is hard coded to a fixed value. This may change in future.
      
      Reuse some code in imx-common.
      
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Signed-off-by: default avatarYe Li <ye.li@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      1b409828
  2. Mar 09, 2017
    • Tom Rini's avatar
      Freescale/NXP: Migrate CONFIG_FSL_CAAM to defconfigs · 28522678
      Tom Rini authored
      
      In some cases this is absolutely required, so select this for some secure
      features.  This also requires migration of RSA_FREESCALE_EXP
      
      Cc: Ruchika Gupta <ruchika.gupta@nxp.com>
      Cc: Poonam Aggrwal <poonam.aggrwal@freescale.com>
      Cc: Naveen Burmi <NaveenBurmi@freescale.com>
      Cc: Po Liu <po.liu@freescale.com>
      Cc: Shengzhou Liu <Shengzhou.Liu@freescale.com>
      Cc: Priyanka Jain <Priyanka.Jain@freescale.com>
      Cc: Sumit Garg <sumit.garg@nxp.com>
      Cc: Shaohui Xie <Shaohui.Xie@freescale.com>
      Cc: Chunhe Lan <Chunhe.Lan@freescale.com>
      Cc: Feng Li <feng.li_2@nxp.com>
      Cc: Alison Wang <alison.wang@freescale.com>
      Cc: Mingkai Hu <Mingkai.Hu@freescale.com>
      Cc: York Sun <york.sun@nxp.com>
      Cc: Saksham Jain <saksham.jain@nxp.freescale.com>
      Cc: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      28522678
  3. Jan 27, 2017
    • Stefan Agner's avatar
      imx_common: check for bmode Serial Downloader · ac0a93fd
      Stefan Agner authored and Stefano Babic's avatar Stefano Babic committed
      
      Before commit 81c4eccb ("imx: mx6: fix USB bmode to use
      reserved value") a non-reserved value has been used to trigger
      Serial Downloader using bmode, which translated to a GPR9 value
      of 0x10. However, on some boards the non-reserved value lead to
      unreliable bmode command. With the above mentioned commit, U-boot
      switched to use [7:4] b0001, which translates to GPR9 0x10 for
      Serial Downloader mode. Check for the new value and classify it
      as Serial Downloader mode.
      
      Signed-off-by: default avatarStefan Agner <stefan.agner@toradex.com>
      CC: Stefano Babic <sbabic@denx.de>
      CC: Tim Harvey <tharvey@gateworks.com>
      CC: Fabio Estevam <Fabio.Estevam@freescale.com>
      CC: Eric Nelson <eric.nelson@boundarydevices.com>
      ac0a93fd
  4. Jan 11, 2017
  5. Jan 02, 2017
  6. Dec 16, 2016
  7. Dec 05, 2016
  8. Nov 29, 2016
  9. Oct 24, 2016
  10. Oct 17, 2016
  11. Oct 04, 2016
  12. Sep 24, 2016
  13. Sep 23, 2016
  14. Jul 28, 2016
  15. Jul 21, 2016
    • Breno Lima's avatar
      Revert "imx_common: Return MMCSD_MODE_FS in spl_boot_mode() also for EXTFS" · 68b09b89
      Breno Lima authored and Stefano Babic's avatar Stefano Babic committed
      
      Commit c1ebf548 ("imx_common: Return MMCSD_MODE_FS in spl_boot_mode()
      also for EXTFS") causes SPL breakage on wandboard:
      
      ERROR: v7_dcache_inval_range - start address is not aligned - 0x1820006c
      ERROR: v7_dcache_inval_range - stop address is not aligned - 0x1820086c
      ERROR: v7_dcache_inval_range - start address is not aligned - 0x1820006c
      ERROR: v7_dcache_inval_range - stop address is not aligned - 0x1820086c
      ** First descriptor is NOT a primary desc on 0:1 **
      spl: no partition table found
      SPL: failed to boot from all boot devices
      ### ERROR ### Please RESET the board ###
      
      This error is seen when SPL and u-boot.img are stored in the raw SD card
      partition.
      
      This reverts commit c1ebf548.
      
      Signed-off-by: default avatarBreno Lima <breno.lima@nxp.com>
      Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      68b09b89
  16. Jul 16, 2016
    • Robert P. J. Day's avatar
      Various, unrelated tree-wide typo fixes. · 62a3b7dd
      Robert P. J. Day authored
      
          Fix a number of typos, including:
      
           * "compatble" -> "compatible"
           * "eanbeld" -> "enabled"
           * "envrionment" -> "environment"
           * "FTD" -> "FDT" (for "flattened device tree")
           * "ommitted" -> "omitted"
           * "overriden" -> "overridden"
           * "partiton" -> "partition"
           * "propogate" -> "propagate"
           * "resourse" -> "resource"
           * "rest in piece" -> "rest in peace"
           * "suport" -> "support"
           * "varible" -> "variable"
      
      Signed-off-by: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
      62a3b7dd
  17. Jul 12, 2016
  18. Jun 26, 2016
    • Marek Vasut's avatar
      common: Pass the boot device into spl_boot_mode() · 2b1cdafa
      Marek Vasut authored
      
      The SPL code already knows which boot device it calls the spl_boot_mode()
      on, so pass that information into the function. This allows the code of
      spl_boot_mode() avoid invoking spl_boot_device() again, but it also lets
      board_boot_order() correctly alter the behavior of the boot process.
      
      The later one is important, since in certain cases, it is desired that
      spl_boot_device() return value be overriden using board_boot_order().
      
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Cc: Andreas Bießmann <andreas.devel@googlemail.com>
      Cc: Albert Aribaud <albert.u.boot@aribaud.net>
      Cc: Tom Rini <trini@konsulko.com>
      Reviewed-by: default avatarAndreas Bießmann <andreas@biessmann.org>
      [add newly introduced zynq variant]
      Signed-aff-by: default avatarAndreas Bießmann <andreas@biessmann.org>
      2b1cdafa
  19. May 24, 2016
  20. May 17, 2016
Loading