Skip to content
Snippets Groups Projects
  1. Aug 07, 2018
    • Troy Kisky's avatar
      a: initial addition, Boundary Devices board · c46401a5
      Troy Kisky authored
      
      a: add usb hub reset/uart3/uart4/flexcan pins
      a: keep USB Huawei Modem in reset
      a: add leds rx active/tx active
      a: remove printf of board_mmc_init
      a.h: add cmd_custom to avoid update u-boot warning
      a: add CONFIG_CMD_GPIO
      a: remove redundant CONFIG_CMD_GPIO
      a: verify port in board_ehci_hcd_init
      a: use boundary.h
      a: call preboot_keys
      a: add CONFIG_SPI_FLASH_SPANSION
      a: add RV4162 rtc on I2C2
      a: a_defconfig add CONFIG_BLOCK_CACHE
      a: use common code for eth init
      a: eth.c now in common directory
      a: move misc_init_r/do_kbd to common
      a: move mmc_init/ dram_init/ overwrite_console/ common_board_init/ splash_screen_prepare/ board_cfb_skip to common
      a: add  CONFIG_SPI_FLASH_GIGADEVICE: to defconfigs
      a: add a_s512m.cfg
      a: port to v2018.07
      
      Signed-off-by: default avatarTroy Kisky <troy.kisky@boundarydevices.com>
      
      a: update to v2017.01
      a: update to v2017.03
      a.h: add custom BOOT_TARGET_DEVICES priority
      
      Signed-off-by: default avatarGary Bisson <gary.bisson@boundarydevices.com>
      c46401a5
  2. May 18, 2018
  3. May 17, 2018
  4. Apr 26, 2018
  5. Apr 15, 2018
    • Lukasz Majewski's avatar
      imx: board: Add support for the K+P's kp_imx6q_tpc board · dd4671cb
      Lukasz Majewski authored
      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
  6. Feb 22, 2018
  7. Jan 12, 2018
    • Christopher Spinrath's avatar
      ARM: imx: cm_fx6: export board and soc info to env · dbeaa1d1
      Christopher Spinrath authored
      
      Like many other i.MX6 based boards, there are multiple variants of
      the cm-fx6 module featuring different SoC variants. Furthermore, the
      module can be paired with multiple baseboards.
      
      At the same time modern distribution like Fedora require U-Boot to
      select a proper devicetree which depends on the SoC variant and the
      baseboard.
      
      Thus, export the SoC variant and the actual board to the environment
      following the conventions of other i.MX6 devices (e.g. the NXP boards)
      such that the environment can select a devicetree file to load.
      
      For now, we only know for sure that the cm-fx6 module and the SB-fx6m
      baseboard amount to a Utilite Computer variant (depending on the SoC).
      Further combinations may be added in the future; e.g. CompuLab's
      evaluation board once someone can verify the identification string
      stored in its eeprom.
      
      Signed-off-by: default avatarChristopher Spinrath <christopher.spinrath@rwth-aachen.de>
      Reviewed-by: default avatarStefano Babic <sbabic@denx.de>
      dbeaa1d1
    • Stefano Babic's avatar
      mx6: Support SKS-Kinkel sksimx6 Board · fb8cac93
      Stefano Babic authored
      
      Board  has 1GB RAM and boots from SD Card
      
      U-Boot SPL 2018.01-rc3-00005-ga1898b8 (Jan 02 2018 - 13:48:54)
      BT_FUSE_SEL already fused, will do nothing
      Trying to boot from MMC1
      
      U-Boot 2018.01-rc3-00005-ga1898b8 (Jan 02 2018 - 13:48:54 +0100)
      
      CPU:   Freescale i.MX6DL rev1.2 996 MHz (running at 792 MHz)
      CPU:   Commercial temperature grade (0C to 95C) at 40C
      Reset cause: POR
      I2C:   ready
      DRAM:  1 GiB
      MMC:   FSL_SDHC: 0
      In:    serial
      Out:   serial
      Err:   serial
      Net:   FEC [PRIME]
      
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      fb8cac93
  8. Jan 08, 2018
  9. Jan 04, 2018
  10. Jan 03, 2018
    • Eric Nelson's avatar
      mx6: Add board mx6memcal for use in validating DDR · baefb63a
      Eric Nelson authored
      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: default avatarEric Nelson <eric@nelint.com>
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      baefb63a
  11. Dec 29, 2017
    • Breno Lima's avatar
      imx: Kconfig: Add HAS_CAAM option · 52384b7e
      Breno Lima authored
      
      Currently CONFIG_SECURE_BOOT is selecting FSL_CAAM for all i.MX devices,
      this causes the following error when building mx6sl boards since
      this SoC doesn't have the CAAM block:
      
      In file included from drivers/crypto/fsl/jobdesc.c:12:0:
      drivers/crypto/fsl/jobdesc.c: In function 'inline_cnstr_jobdesc_blob_dek':
      include/fsl_sec.h:268:25: error: 'CAAM_ARB_BASE_ADDR' undeclared (first use
      in this function)
       #define SEC_MEM_PAGE1  (CAAM_ARB_BASE_ADDR + 0x1000)
                               ^
      drivers/crypto/fsl/jobdesc.c:140:21: note: in expansion of macro 'SEC_MEM_PAGE1'
        memcpy((uint32_t *)SEC_MEM_PAGE1, (uint32_t *)plain_txt, in_sz);
                           ^
      include/fsl_sec.h:268:25: note: each undeclared identifier is reported only
      once for each function it appears in
       #define SEC_MEM_PAGE1  (CAAM_ARB_BASE_ADDR + 0x1000)
                               ^
      drivers/crypto/fsl/jobdesc.c:140:21: note: in expansion of macro 'SEC_MEM_PAGE1'
        memcpy((uint32_t *)SEC_MEM_PAGE1, (uint32_t *)plain_txt, in_sz);
                           ^
      scripts/Makefile.build:280: recipe for target 'drivers/crypto/fsl/jobdesc.o'
      failed
      make[3]: *** [drivers/crypto/fsl/jobdesc.o] Error 1
      scripts/Makefile.build:425: recipe for target 'drivers/crypto/fsl' failed
      make[2]: *** [drivers/crypto/fsl] Error 2
      scripts/Makefile.build:425: recipe for target 'drivers/crypto' failed
      make[1]: *** [drivers/crypto] Error 2
      
      Add HAS_CAAM configuration to avoid this error.
      
      Signed-off-by: default avatarBreno Lima <breno.lima@nxp.com>
      Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      52384b7e
    • Breno Lima's avatar
      Kconfig: mx6ull: Deselect MX6UL from CONFIG_MX6ULL · 051ba9e0
      Breno Lima authored
      
      MX6UL contains features that MX6ULL doesn't support.
      Deselect CONFIG_MX6UL and select SYS_L2CACHE_OFF and ROM_UNIFIED_SECTIONS.
      
      The motivation for doing this change is that MX6UL supports CAAM and
      MX6ULL does not.
      
      Signed-off-by: default avatarBreno Lima <breno.lima@nxp.com>
      Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      051ba9e0
    • Breno Lima's avatar
      mx6sl: Select MX6SL option via Kconfig · a4e6b001
      Breno Lima authored
      
      Currently the MX6SL option is selected via CONFIG_SYS_EXTRA_OPTIONS,
      but it is better to select it directly via Kconfig.
      
      Signed-off-by: default avatarBreno Lima <breno.lima@nxp.com>
      Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      Reviewed-by: default avatarPeng Fan <peng.fan@nxp.com>
      a4e6b001
    • Fabio Estevam's avatar
      mx6sxsabresd: Load the correct dtb for revA board · 6ca03f0d
      Fabio Estevam authored
      
      Currently only imx6sx-sdb.dtb is loaded, but if revA board is used the
      correct dtb is imx6sx-sdb-reva.dtb, so make this possible.
      
      While at it, remove an extra 'mmc dev'.
      
      Signed-off-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      6ca03f0d
  12. Nov 27, 2017
  13. Nov 20, 2017
  14. Nov 09, 2017
  15. Oct 12, 2017
  16. Sep 08, 2017
  17. Aug 16, 2017
    • Peng Fan's avatar
      imx: mx6: select ARM_ERRATA_845369 · 3d3598d0
      Peng Fan authored
      
      Select ARM_ERRATA_845369 for i.MX6DQ/DL/QP.
      
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Reviewed-by: default avatarStefano Babic <sbabic@denx.de>
      3d3598d0
    • Peng Fan's avatar
      ARM: i.MX6: exclude the ARM errata from i.MX6 UP system · 91435cd4
      Peng Fan authored
      
      The ARM errata 751472, 794072, 761320 only applied
      to the following configuration:
      
      This erratum affects configurations with either:
      - One processor if the ACP is present
      - Two or more processors
      
      i.MX6 family does not have the ACP and thus only the MPCore system
      will be impacted, which are the i.MX6DQ, i.MX6DL, and i.MX6QP.
      
      Signed-off-by: default avatarPeng Fan <peng.fan@nxp.com>
      Cc: Stefano Babic <sbabic@denx.de>
      Cc: Fabio Estevam <fabio.estevam@nxp.com>
      91435cd4
    • Simon Glass's avatar
      env: Convert CONFIG_ENV_IS_IN... to a choice · c1c3fe23
      Simon Glass authored
      
      At present we support multiple environment drivers but there is not way to
      select between them at run time. Also settings related to the position and
      size of the environment area are global (i.e. apply to all locations).
      
      Until these limitations are removed we cannot really support more than one
      environment location. Adjust the location to be a choice so that only one
      can be selected. By default the environment is 'nowhere', meaning that the
      environment exists only in memory and cannot be saved.
      
      Also expand the help for the 'nowhere' option and move it to the top since
      it is the default.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      [trini: Move all of the imply logic to default X if Y so it works again]
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      c1c3fe23
  18. Aug 11, 2017
  19. Aug 02, 2017
    • Stefano Babic's avatar
      mx6: Add support for Phytec pfla02 (NAND) · 83605d37
      Stefano Babic authored
      
      Add support for Phytec pfla02, equipped with NAND.
      
      CPU:   Freescale i.MX6Q rev1.5 996 MHz (running at 792 MHz)
      CPU:   Automotive temperature grade (-40C to 125C) at 31C
      Reset cause: POR
      I2C:   ready
      DRAM:  1 GiB
      NAND:  2048 MiB
      MMC:   FSL_SDHC: 0, FSL_SDHC: 1
      SF: Detected n25q128 with page size 256 Bytes, erase size 64 KiB, total
      16 MiB
      In:    serial
      Out:   serial
      Err:   serial
      Net:   FEC [PRIME]
      Hit any key to stop autoboot:  0
      
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      CC: Stefan Christ <s.christ@phytec.de>
      CC: Stefan Müller-Klieser <S.Mueller-Klieser@phytec.de>
      CC: Christian Hemp <C.Hemp@phytec.de>
      83605d37
  20. Jul 26, 2017
    • Simon Glass's avatar
      Convert CONFIG_ENV_IS_IN_MMC/NAND/UBI and NOWHERE to Kconfig · 2be29653
      Simon Glass authored
      
      This converts the following to Kconfig:
         CONFIG_ENV_IS_IN_MMC
         CONFIG_ENV_IS_IN_NAND
         CONFIG_ENV_IS_IN_UBI
         CONFIG_ENV_IS_NOWHERE
      
      In fact this already exists for sunxi as a 'choice' config. However not
      all the choices are available in Kconfig yet so we cannot use that. It
      would lead to more than one option being set.
      
      In addition, one purpose of this series is to allow the environment to be
      stored in more than one place. So the existing choice is converted to a
      normal config allowing each option to be set independently.
      
      There are not many opportunities for Kconfig updates to reduce the size of
      this patch. This was tested with
      
         ./tools/moveconfig.py -i CONFIG_ENV_IS_IN_MMC
      
      And then manual updates.  This is because for CHAIN_OF_TRUST boards they
      can only have ENV_IS_NOWHERE set, so we enforce that via Kconfig logic
      now.
      
      Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
      Signed-off-by: default avatarTom Rini <trini@konsulko.com>
      2be29653
  21. Jul 12, 2017
    • Stefano Babic's avatar
      imx: reorganize IMX code as other SOCs · 552a848e
      Stefano Babic authored
      
      Change is consistent with other SOCs and it is in preparation
      for adding SOMs. SOC's related files are moved from cpu/ to
      mach-imx/<SOC>.
      
      This change is also coherent with the structure in kernel.
      
      Signed-off-by: default avatarStefano Babic <sbabic@denx.de>
      
      CC: Fabio Estevam <fabio.estevam@nxp.com>
      CC: Akshay Bhat <akshaybhat@timesys.com>
      CC: Ken Lin <Ken.Lin@advantech.com.tw>
      CC: Marek Vasut <marek.vasut@gmail.com>
      CC: Heiko Schocher <hs@denx.de>
      CC: "Sébastien Szymanski" <sebastien.szymanski@armadeus.com>
      CC: Christian Gmeiner <christian.gmeiner@gmail.com>
      CC: Stefan Roese <sr@denx.de>
      CC: Patrick Bruenn <p.bruenn@beckhoff.com>
      CC: Troy Kisky <troy.kisky@boundarydevices.com>
      CC: Nikita Kiryanov <nikita@compulab.co.il>
      CC: Otavio Salvador <otavio@ossystems.com.br>
      CC: "Eric Bénard" <eric@eukrea.com>
      CC: Jagan Teki <jagan@amarulasolutions.com>
      CC: Ye Li <ye.li@nxp.com>
      CC: Peng Fan <peng.fan@nxp.com>
      CC: Adrian Alonso <adrian.alonso@nxp.com>
      CC: Alison Wang <b18965@freescale.com>
      CC: Tim Harvey <tharvey@gateworks.com>
      CC: Martin Donnelly <martin.donnelly@ge.com>
      CC: Marcin Niestroj <m.niestroj@grinn-global.com>
      CC: Lukasz Majewski <lukma@denx.de>
      CC: Adam Ford <aford173@gmail.com>
      CC: "Albert ARIBAUD (3ADEV)" <albert.aribaud@3adev.fr>
      CC: Boris Brezillon <boris.brezillon@free-electrons.com>
      CC: Soeren Moch <smoch@web.de>
      CC: Richard Hu <richard.hu@technexion.com>
      CC: Wig Cheng <wig.cheng@technexion.com>
      CC: Vanessa Maegima <vanessa.maegima@nxp.com>
      CC: Max Krummenacher <max.krummenacher@toradex.com>
      CC: Stefan Agner <stefan.agner@toradex.com>
      CC: Markus Niebel <Markus.Niebel@tq-group.com>
      CC: Breno Lima <breno.lima@nxp.com>
      CC: Francesco Montefoschi <francesco.montefoschi@udoo.org>
      CC: Jaehoon Chung <jh80.chung@samsung.com>
      CC: Scott Wood <oss@buserror.net>
      CC: Joe Hershberger <joe.hershberger@ni.com>
      CC: Anatolij Gustschin <agust@denx.de>
      CC: Simon Glass <sjg@chromium.org>
      CC: "Andrew F. Davis" <afd@ti.com>
      CC: "Łukasz Majewski" <l.majewski@samsung.com>
      CC: Patrice Chotard <patrice.chotard@st.com>
      CC: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
      CC: Hans de Goede <hdegoede@redhat.com>
      CC: Masahiro Yamada <yamada.masahiro@socionext.com>
      CC: Stephen Warren <swarren@nvidia.com>
      CC: Andre Przywara <andre.przywara@arm.com>
      CC: "Álvaro Fernández Rojas" <noltari@gmail.com>
      CC: York Sun <york.sun@nxp.com>
      CC: Xiaoliang Yang <xiaoliang.yang@nxp.com>
      CC: Chen-Yu Tsai <wens@csie.org>
      CC: George McCollister <george.mccollister@gmail.com>
      CC: Sven Ebenfeld <sven.ebenfeld@gmail.com>
      CC: Filip Brozovic <fbrozovic@gmail.com>
      CC: Petr Kulhavy <brain@jikos.cz>
      CC: Eric Nelson <eric@nelint.com>
      CC: Bai Ping <ping.bai@nxp.com>
      CC: Anson Huang <Anson.Huang@nxp.com>
      CC: Sanchayan Maity <maitysanchayan@gmail.com>
      CC: Lokesh Vutla <lokeshvutla@ti.com>
      CC: Patrick Delaunay <patrick.delaunay@st.com>
      CC: Gary Bisson <gary.bisson@boundarydevices.com>
      CC: Alexander Graf <agraf@suse.de>
      CC: u-boot@lists.denx.de
      Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      Reviewed-by: default avatarChristian Gmeiner <christian.gmeiner@gmail.com>
      552a848e
    • Vanessa Maegima's avatar
      mx6sabreauto: Update to SPL only mode · d7c11502
      Vanessa Maegima authored
      
      As mx6sabreauto supports SPL now, all variants can boot using the same
      defconfig.
      
      This patch:
      - Removes non-SPL targets.
      - Renames target to mx6sabreauto_defconfig.
      - Renames folder and board files to mx6sabreauto.
      - Updates MAINTAINERS, Makefile and Kconfig accordingly.
      - Removes .cfg files.
      - Adds a README with instructions to build and flash SPL and u-boot.img.
      
      Signed-off-by: default avatarVanessa Maegima <vanessa.maegima@nxp.com>
      Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      Reviewed-by: default avatarStefano Babic <sbabic@denx.de>
      d7c11502
    • Vanessa Maegima's avatar
      mx6qsabreauto: Add SPL support · 823dff9d
      Vanessa Maegima authored
      
      Add support for mx6q, mx6dl and mx6qp sabreauto boards in SPL.
      
      Retrieved the mx6q DCD table from:
      board/freescale/mx6qsabreauto/imximage.cfg
      
      Retrieved the mx6dl DCD table from:
      board/freescale/mx6qsabreauto/mx6dl.cfg
      
      Retrieved the mx6qp DCD table from:
      board/freescale/mx6qsabreauto/mx6qp.cfg
      
      Flashed SPL and u-boot.img to an SD card and could successfully boot it
      on mx6q, mx6qp and mx6dl sabreauto boards.
      
      Signed-off-by: default avatarVanessa Maegima <vanessa.maegima@nxp.com>
      Reviewed-by: default avatarFabio Estevam <fabio.estevam@nxp.com>
      Reviewed-by: default avatarStefano Babic <sbabic@denx.de>
      823dff9d
  22. Jul 11, 2017
  23. May 22, 2017
  24. May 18, 2017
Loading