09 Jan, 2018
1 commit
-
Signed-off-by: Florian Klink
Signed-off-by: Stefan Roese
30 Nov, 2017
1 commit
-
The order of members in struct hws_topology_map is cas_wl, cas_l. The
comments in the original db-88f6820-gp.c had this wrong and have been
copied to other Armada-385 based boards. Practically this hasn't made a
difference since all these boards set both cas_wl and cas_l to 0
(autodetect) but if there were ever a board that did need to set these
explicitly they would run into unexpected issued.Update the comments to reflect the correct order of structure members.
Reported-by: Tobi Wulff
Signed-off-by: Chris Packham
Reviewed-by: Stefan Roese
Signed-off-by: Stefan Roese
12 Oct, 2017
1 commit
-
There is no need call setup_display() from SPL code, so move it to
board_init(), which executes only in U-Boot proper.Reported-by: Stefano Babic
Signed-off-by: Fabio Estevam
Reviewed-by: Stefano Babic
26 Sep, 2017
1 commit
-
Signed-off-by: Baruch Siach
Signed-off-by: Stefan Roese
20 Sep, 2017
1 commit
-
The hummingboard2 is slightly different to the cubox i and to the
hummingboard. The GPIO pin info to probe came from solidruns
for of u-boot on github.
https://github.com/SolidRun/u-boot-imx6/blob/imx6/board/solidrun/mx6_cubox-i/mx6_cubox-i.c#L569-L589
I have tested on a hummingboard-edge witha imx6 solo and 512mb of
ram.Signed-off-by: Dennis Gilmore
28 Aug, 2017
1 commit
-
Since the gpr_init() function is common for boards using MX6S, MX6DL, MX6D,
MX6Q and MX6QP processors move it to the soc.c file.Signed-off-by: Breno Lima
Acked-by: Stefano Babic
Reviewed-by: Lukasz Majewski
Reviewed-by: Fabio Estevam
16 Aug, 2017
1 commit
-
We are now using an env_ prefix for environment functions. Rename setenv()
for consistency. Also add function comments in common.h.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass
18 Jul, 2017
1 commit
12 Jul, 2017
4 commits
-
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/.This change is also coherent with the structure in kernel.
Signed-off-by: Stefano Babic
CC: Fabio Estevam
CC: Akshay Bhat
CC: Ken Lin
CC: Marek Vasut
CC: Heiko Schocher
CC: "Sébastien Szymanski"
CC: Christian Gmeiner
CC: Stefan Roese
CC: Patrick Bruenn
CC: Troy Kisky
CC: Nikita Kiryanov
CC: Otavio Salvador
CC: "Eric Bénard"
CC: Jagan Teki
CC: Ye Li
CC: Peng Fan
CC: Adrian Alonso
CC: Alison Wang
CC: Tim Harvey
CC: Martin Donnelly
CC: Marcin Niestroj
CC: Lukasz Majewski
CC: Adam Ford
CC: "Albert ARIBAUD (3ADEV)"
CC: Boris Brezillon
CC: Soeren Moch
CC: Richard Hu
CC: Wig Cheng
CC: Vanessa Maegima
CC: Max Krummenacher
CC: Stefan Agner
CC: Markus Niebel
CC: Breno Lima
CC: Francesco Montefoschi
CC: Jaehoon Chung
CC: Scott Wood
CC: Joe Hershberger
CC: Anatolij Gustschin
CC: Simon Glass
CC: "Andrew F. Davis"
CC: "Łukasz Majewski"
CC: Patrice Chotard
CC: Nobuhiro Iwamatsu
CC: Hans de Goede
CC: Masahiro Yamada
CC: Stephen Warren
CC: Andre Przywara
CC: "Álvaro Fernández Rojas"
CC: York Sun
CC: Xiaoliang Yang
CC: Chen-Yu Tsai
CC: George McCollister
CC: Sven Ebenfeld
CC: Filip Brozovic
CC: Petr Kulhavy
CC: Eric Nelson
CC: Bai Ping
CC: Anson Huang
CC: Sanchayan Maity
CC: Lokesh Vutla
CC: Patrick Delaunay
CC: Gary Bisson
CC: Alexander Graf
CC: u-boot@lists.denx.de
Reviewed-by: Fabio Estevam
Reviewed-by: Christian Gmeiner -
The Cubox-i and Hummingboard series of devices have an option of
SATA on board, and depending on how the fuses are blown even the
option to boot SPL from SATA. So enable support for it so it can
be used to boot the OS from if people desire.Cc: Fabio Estevam
Signed-off-by: Peter Robinson
Acked-by: Fabio Estevam -
The clearfog uses Armada 388.
Cc: Stefan Roese
Signed-off-by: Baruch Siach
Signed-off-by: Stefan Roese -
The DDR3 training code for Marvell A38X currently computes 1t timing
when given board topology map of the Turris Omnia, but Omnia needs 2t.This patch adds support for enforcing the 2t timing in struct
hws_topology_map, through a new enum hws_timing, which can assume
following values:
HWS_TIM_DEFAULT - default behaviour, compute whether to enable 2t
from the number of CSs
HWS_TIM_1T - enforce 1t
HWS_TIM_2T - enforce 2tThis patch also sets all the board topology maps (db-88f6820-amc,
db-88f6820-gp, controlcenterdc and clearfog) to have timing set to
HWS_TIM_DEFAULT.Signed-off-by: Marek Behun
Reviewed-by: Stefan Roese
Signed-off-by: Stefan Roese
31 May, 2017
1 commit
-
Use GPIO19 which is wired to the uSOM phy reset signal in order to reset
the uSOM's 1512 Gigabit Ethernet phy.This GPIO is valid on ClearFog rev 2.1 and newer.
Taken from SolidRun's specialised u-boot, see
https://github.com/SolidRun/u-boot-armada38x/commit/f906e3df172e07ac82cdd87b278d7896949262eaSigned-off-by: Patrick Wildt
Signed-off-by: Stefan Roese
24 Sep, 2016
1 commit
-
Now, arch/${ARCH}/include/asm/errno.h and include/linux/errno.h have
the same content. (both just wrap )Replace all include directives for with .
Signed-off-by: Masahiro Yamada
[trini: Fixup include/clk.]
Signed-off-by: Tom Rini
07 Sep, 2016
1 commit
-
Currently MX6 SPL DDR initialization hardcodes the REF_SEL and
REFR fields of the MDREF register as 1 and 7, respectively for
DDR3 and 0 and 3 for LPDDR2.Looking at the MDREF initialization done via DCD we see that
boards do need to initialize these fields differently:$ git grep 0x021b0020 board/
board/bachmann/ot1200/mx6q_4x_mt41j128.cfg:DATA 4 0x021b0020 0x00005800
board/ccv/xpress/imximage.cfg:DATA 4 0x021b0020 0x00000800 /* MMDC0_MDREF */
board/freescale/mx6qarm2/imximage.cfg:DATA 4 0x021b0020 0x7800
board/freescale/mx6qarm2/imximage.cfg:DATA 4 0x021b0020 0x00005800
board/freescale/mx6qarm2/imximage_mx6dl.cfg:DATA 4 0x021b0020 0x00005800
board/freescale/mx6qarm2/imximage_mx6dl.cfg:DATA 4 0x021b0020 0x00005800
board/freescale/mx6qsabreauto/imximage.cfg:DATA 4 0x021b0020 0x00005800
board/freescale/mx6qsabreauto/mx6dl.cfg:DATA 4 0x021b0020 0x00005800
board/freescale/mx6qsabreauto/mx6qp.cfg:DATA 4 0x021b0020 0x00005800
board/freescale/mx6sabresd/mx6dlsabresd.cfg:DATA 4 0x021b0020 0x00005800
board/freescale/mx6sabresd/mx6q_4x_mt41j128.cfg:DATA 4 0x021b0020 0x00005800
board/freescale/mx6slevk/imximage.cfg:DATA 4 0x021b0020 0x00001800
board/freescale/mx6sxsabreauto/imximage.cfg:DATA 4 0x021b0020 0x00000800
board/freescale/mx6sxsabresd/imximage.cfg:DATA 4 0x021b0020 0x00000800
board/warp/imximage.cfg:DATA 4 0x021b0020 0x00001800So introduce a mechanism for users to be able to configure
REFSEL and REFR fields as needed.Keep all the mx6 SPL users in their current REF_SEL and REFR values,
so no functional changes for the existing users.Signed-off-by: Fabio Estevam
Reviewed-by: Eric Nelson
28 Jul, 2016
1 commit
-
It's not necessary to implement the is_mx6q function, there is a macro in
sys_proto.h already implemented.Signed-off-by: Breno Lima
Reviewed-by: Fabio Estevam
02 Apr, 2016
1 commit
-
Most of ehci-fsl header describe USB controller
designed by Chipidea and used by various SoC vendors.This patch renames it to a generic header: ehci-ci.h
Contents of file are not changed (so it contains several
references to freescale SoCs).Signed-off-by: Mateusz Kulikowski
Acked-by: Marek Vasut
Tested-by: Simon Glass
06 Feb, 2016
1 commit
-
Correct spelling of "U-Boot" shall be used in all written text
(documentation, comments in source files etc.).Signed-off-by: Bin Meng
Reviewed-by: Heiko Schocher
Reviewed-by: Simon Glass
Reviewed-by: Minkyu Kang
14 Jan, 2016
2 commits
-
Merging all the board specific Kconfig options into the main Kconfig file
for mach-mvebu makes things easier to maintain.Signed-off-by: Stefan Roese
Cc: Luka Perkov -
This patch adds basic support for the SolidRun ClearFog Armada 38x based
board to mainline U-Boot. Supported interfaces / devices are:
- DDR3
- UART
- MMC
- Ethernet port 0 (connected to dedicated PHY)
- I2CThe included DT source was taken from Russell King's ftp server:
http://www.home.arm.linux.org.uk/~rmk/clearfog/With only minor modifications, like the addition of some aliases and the
"u-boot,dm-pre-reloc" property.Signed-off-by: Stefan Roese
Cc: Rabeeh Khoury
Cc: Luka Perkov
12 Jan, 2016
1 commit
-
Update my email address to the NXP account.
Signed-off-by: Fabio Estevam
10 Jan, 2016
2 commits
-
We currently support various versions of Solidrun mx6 boards, so
remove the obsolete comment.Reported-by: Jon Nettleton
Signed-off-by: Fabio Estevam
Reviewed-by: Stefano Babic -
Since commit 59370f3fcd1350 ("net: phy: delay only if reset handler is
registered") Ethernet is no longer functional:Booting from net ...
FEC Waiting for PHY auto negotiation to complete......... TIMEOUT !
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4This commit does not have an issue in itself, but it revelead a problem
with the Ethernet initialization.As per the AR8035 datasheet:
"For a reliable power on reset, suggest to keep asserting the reset
low long enough (10ms) to ensure the clock is stable and clock-to-reset
1ms requirement is satisfied."So do as suggested and keep the reset low for 10ms.
Also add a 100us delay after deasserting the reset line
to guarantee that the PHY ID can be read correctly and the Atheros
PHY can be loaded as per Troy Kisky's suggestion.Signed-off-by: Fabio Estevam
Tested-by: Tom Rini
13 Sep, 2015
1 commit
-
Remove duplicated SYS_SOC Kconfig entry from board Kconfig,
because we have this entry in arch/arm/cpu/armv7/mx6/Kconfig.Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Heiko Schocher
Cc: Christian Gmeiner
Cc: Stefan Roese
Cc: Troy Kisky
Cc: Nikita Kiryanov
Cc: "Eric Bénard"
Cc: Fabio Estevam
Cc: Tim Harvey
Cc: Marek Vasut
Cc: Markus Niebel
Cc: Otavio Salvador
Acked-by: Stefan Roese
Acked-by: Marek Vasut
Acked-by: Christian Gmeiner
Acked-by: Markus Niebel
Acked-by: Troy Kisky
Acked-by: Igor Grinberg
02 Sep, 2015
2 commits
-
To i.MX6, DDR3 and LPDDR2 is supported, so rename function mx6_dram_cfg
to mx6_ddr3_cfg and the original mx6_dram_cfg function only is a wrapper.
The new reimplemented function mx6_dram_cfg only invokes mx6_ddr3_cfg
when ddr_type is for DDR3. Later we can use ddr_type to initialize
MMDC for LPDDR2.Initialize ddr_type for different boards which enable SPL.
Signed-off-by: Peng Fan
Cc: Stefano Babic
Cc: Tim Harvey
Cc: Stefan Roese
Cc: Fabio Estevam
Reviewed-by: Stefan Roese -
To i.MX6SX/UL, two ethernet interfaces are supported.
Add ENET2 clock support:
1. Introduce a new input parameter "fec_id", only 0 and 1 are allowed.
To value 1, only i.MX6SX/UL can pass the check.
2. Modify board code who use this api to follow new api prototype.Signed-off-by: Peng Fan
Cc: Heiko Schocher
Cc: Fabio Estevam
Cc: Stefan Roese
Cc: Nikolaos Pasaloukos
Cc: Stefano Babic
Reviewed-by: Stefan Roese
15 Jun, 2015
1 commit
-
Hummingboard dual-lite is picking the incorrect calibration structure.
Fix it so that it can boot.
While at it, also fix p1_mpdgctrl1 register to match Solid-run's
setting.Reported-by: Andrei Gherzan
Signed-off-by: Fabio Estevam
Tested-by: Andrei Gherzan
19 May, 2015
1 commit
-
The 'mx6-microsom' directory was only used for the previous mx6solo
hummingboard support, which has been removed in favour of the SPL
version.Remove the remaining piece of the old mx6solo hummingboard support.
Signed-off-by: Fabio Estevam
Acked-by: Stefano Babic
16 May, 2015
6 commits
-
Cubox-i boards are also supported, so update the README file.
Signed-off-by: Fabio Estevam
-
Hummingboard dual, dual-lite and solo are now supported via SPL mechanism.
Remove the previous hummingboard support, which does not use SPL and supported
only the solo variant.Signed-off-by: Fabio Estevam
Reviewed-by: Tom Rini -
Configure PAD_ENET_RXD0/RXD1 pads as pull down because these pads are directly
connected to the Atheros 8035/8030 although they should be functional
only in the RMII mode - 8030.Signed-off-by: Rabeeh Khoury
Signed-off-by: Fabio Estevam
Reviewed-by: Stefano Babic
Reviewed-by: Tom Rini
Tested-By: Vagrant Cascadian -
mx6cuboxi sometimes fails to recognize the Ethernet PHY:
Net: Phy 0 not found
The explanation for this behavior comes from from Rabeeh Khoury:
"The LED_ACT pin on the carrier-one boards had a pull down that
forces the phy address to 0x0; where on CuBox-i and the production
HummingBoard that pin is connected directly to LED that depending
on the pull down strength of the LED it might be sampled as '0' or '1' thus
the phy address might appear as either address 0x0 or 0x4.""This is AR8035 implementation; in reset stage the LED pin is configured as
input, and pull up/down does matter. In this case it configures the PHY
address.After reset is deasserted the same LED pin becomes output and then
according to the previous pull/up it should be active high/low"One way to properly fix this behavior is to place external pull-up/down
resistors in the LED line, but from a software standpoint we can fix it
by telling phy_find_by_mask() to scan the PHY at addresses
0x0 and 0x4.Reported-by: Vagrant Cascadian
Signed-off-by: Rabeeh Khoury
Signed-off-by: Fabio Estevam
Acked-by: Stefano Babic
Reviewed-by: Tom Rini
Tested-By: Vagrant Cascadian -
Enable USB Host1 port.
Signed-off-by: Rabeeh Khoury
Signed-off-by: Fabio Estevam
Tested-By: Vagrant Cascadian -
Add HDMI output using PLL5 as the source for the IPU clocks,
and accurate VESA timings.These settings are based on the patch from Soeren Moch
submitted for the tbs2910 mx6 based board.It allows the display to work properly at 1024x768@60.
This should make the hdmi output signal compatible with most if not all
modern displays.Signed-off-by: Jon Nettleton
Signed-off-by: Fabio Estevam
Reviewed-by: Tom Rini
Tested-by: Tom Rini
Signed-off-by: Rabeeh Khoury
Signed-off-by: Fabio Estevam
Reviewed-by: Tom Rini
Tested-by: Vagrant Cascadian
27 Apr, 2015
5 commits
-
Instead of hardcoding the 'fdtfile' variable, let's detect the SoC and
board variant on the fly and change the dtb name.Based on the scheme done on am335x board.
Signed-off-by: Fabio Estevam
Tested-By: Vagrant Cascadian
Reviewed-by: Tom Rini -
Introduce is_hummingboard() function that reads GPIOs that can distinguish
between Cubox-i and Hummingboard.Print the board name accordingly.
Based on a patch from Rabeeh Khoury.
Signed-off-by: Rabeeh Khoury
Signed-off-by: Fabio Estevam
Reviewed-by: Tom Rini -
Cubox-i and Hummingboard support several MX6 SoCs: mx6solo, mx6dual-lite,
mx6dual and mx6quad. Add support for the different SoC/memory sizes
combinations.DDR initialization values were extracted from Solid-run internal U-boot.
Tested on a CuBox-i4Pro, HummingBoard-i2eX and HummingBoard-i1.
Signed-off-by: Rabeeh Khoury
Signed-off-by: Fabio Estevam
Reviewed-by: Tom Rini -
Cubox-i and Hummingboard support several MX6 SoCs: mx6solo, mx6dual-lite,
mx6dual and mx6quad.Use IOMUX_PADS() macro in order to prepare for the multi-SoC support.
Also pass 'MX6QDL' in the defconfig to indicate it.Signed-off-by: Fabio Estevam
Reviewed-by: Tom Rini -
The correct name of the defconfig file is 'mx6cuboxi_defconfig'.
Signed-off-by: Fabio Estevam
Reviewed-by: Tom Rini
22 Apr, 2015
1 commit
-
Add the initial SPL support for HummingBoard-i2eX, which is based on a
MX6 Dual.For more information about HummingBoard, please check:
http://www.solid-run.com/products/hummingboard/Based on the work from Jon Nettleton and Rabeeh Khoury.
Signed-off-by: Fabio Estevam
Reviewed-by: Tom Rini