01 Apr, 2019
2 commits
-
Since commit 9e3c0174da842 ("pico-imx7d: Add LCD support") we started to
notice some hangs in U-Boot.There is not an issue on such commit per se, but due to the LCD support
the current drawn is increased and this may cause issues when powering
pico-imx7d-pi from USB.Some computers may be a bit strict with USB current draw and will
shut down their ports if the draw is too high.The solution for that is to use an externally powered USB hub between the
board and the host computer.Add such recommendation to the README file.
Signed-off-by: Fabio Estevam
-
After the DM_MMC conversion the following eMMC boot error is observed:
U-Boot SPL 2019.04-rc4 (Mar 20 2019 - 18:53:28 +0000)
Trying to boot from MMC1
MMC Device 0 not found
spl: could not find mmc device 0. error: -19
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###This happens because the SPL code does not initialize the SDHC pins
and clock.Fix it by moving the original eMMC initialization from U-Boot proper
to SPL.Reported-by: Otavio Salvador
Signed-off-by: Fabio Estevam
Tested-by: Fabio Berton
Reviewed-by: Otavio Salvador
13 Mar, 2019
4 commits
-
After the conversion to DM the U-Boot binary is called u-boot-dtb.imx,
so fix the README file accordingly.Signed-off-by: Fabio Estevam
Acked-by: Otavio Salvador -
Convert to use DM_PMIC for the PFUZE3000. Since this PMIC is
under an I2C bus, conver to DM_I2C as well.Also, since I2C is not used in SPL, remove CONFIG_SPL_I2C_SUPPORT
to avoid build warnings.Signed-off-by: Fabio Estevam
Acked-by: Otavio Salvador -
Convert to CONFIG_DM_GPIO.
Also, DM GPIO requires gpio_request() to be called explicitly before
doing any gpio operation, so do as requested.Signed-off-by: Fabio Estevam
Acked-by: Otavio Salvador -
Select CONFIG_DM_MMC=y in order to support MMC driver model.
This allows the MMC board related code to be removed.
Signed-off-by: Fabio Estevam
Acked-by: Otavio Salvador
28 Jan, 2019
1 commit
-
Add support for the VXT VL050-8048NT-C01 panel connected through
the 24 bit parallel LCDIF interface.Signed-off-by: Fabio Estevam
Signed-off-by: Otavio Salvador
10 Oct, 2018
1 commit
-
USB OTG2 port is connected to the USB host connector.
Add support for it.
Signed-off-by: Fabio Estevam
Signed-off-by: Otavio Salvador
18 Sep, 2018
4 commits
-
This adds a new defconfig which pre-selects the PICO-Hobbit baseboard
allowing a completely non-interactive boot process.Signed-off-by: Otavio Salvador
-
Signed-off-by: Otavio Salvador
-
This adds a new defconfig which pre-selects the PICO-Pi baseboard
allowing a completely non-interactive boot process.Signed-off-by: Otavio Salvador
-
Signed-off-by: Otavio Salvador
14 Sep, 2018
7 commits
-
Falcon mode allows the SPL to load and jump directly to the kernel,
without loading U-Boot proper.Add detailed step by step on how to use Falcon mode on pico-imx6ul.
Signed-off-by: Fabio Estevam
Signed-off-by: Otavio Salvador -
Falcon mode boots the kernel directly from SPL, without loading
the full U-Boot.As pico-imx6ul does not have a GPIO for selecting Falcon versus normal
mode, enter in Falcon mode when the customer selects the
CONFIG_SPL_OS_BOOT option in menuconfig.Signed-off-by: Otavio Salvador
-
The new config skips the boot menu which asks which board is in
use. This is useful to allow direct booting of image without user
iteration.Signed-off-by: Otavio Salvador
-
Signed-off-by: Otavio Salvador
-
Update the README file to take into accound the switch to SPL.
Signed-off-by: Fabio Estevam
Signed-off-by: Fabio Berton
Signed-off-by: Otavio Salvador -
Currently only the module with 256MB of RAM is supported.
Add support for the 512MB of RAM variant as well.
Signed-off-by: Fabio Estevam
Signed-off-by: Fabio Berton
Signed-off-by: Otavio Salvador -
There are two versions of imx6ul pico SOMs: one with 256MB and another
one with 512MB of RAM.Convert to SPL so that both versions can be supported. This patch
doesn't rework the clock initialization to avoid changing the behavior
in this same patch, so it will be cleaned up in future.Currently only the 256MB is tested/supported.
Signed-off-by: Fabio Estevam
Signed-off-by: Fabio Berton
Signed-off-by: Otavio Salvador
06 Sep, 2018
1 commit
-
Update the README file to take into accound the switch to SPL.
Signed-off-by: Fabio Estevam
Signed-off-by: Fabio Berton
Signed-off-by: Otavio Salvador
01 Aug, 2018
1 commit
-
Update the MAINTAINERS file to list Otavio Salvador as the maintainer
for this board.Acked-by: Otavio Salvador
Signed-off-by: Tom Rini
23 Jul, 2018
5 commits
-
Our default config already has the secure mode supported, so the
manual step is not required anymore.Signed-off-by: Otavio Salvador
-
The DFU allows a more user friendly use as the details where the
bootloader is installed are abstracted.Signed-off-by: Otavio Salvador
-
The addrmap5 value is the same for the 512MB and 1GB variants,
so there is no need to override it.Signed-off-by: Fabio Estevam
Signed-off-by: Otavio Salvador -
Falcon mode boots the kernel directly from SPL, without loading
the full U-Boot.As pico-imx7d does not have a GPIO for selecting Falcon versus
normal mode, enter in Falcon mode when the customer selects
the CONFIG_SPL_OS_BOOT option in menuconfig.Signed-off-by: Fabio Estevam
Signed-off-by: Otavio Salvador -
Convert pico-imx7d to SPL support.
There are two variants of pico-imx7d SOMs:
- One with 512MB of RAM
- One with 1GB of RAMThe 512MB module contains two Hynix H5TC2G63GFR-PBA.
The 1GB module contains two Hynix H5TC4G63GFR-PBA.The RAM size is determined in runtime by reading GPIO1_12.
While at it, also add USB Serial Download mode support as it
is very helpful for loading SPL and u-boot.img via imx_usb_loader.Signed-off-by: Fabio Estevam
Signed-off-by: Otavio Salvador
24 May, 2018
1 commit
-
MMC is not initialized in SPL, so it cannot load u-boot.img
preventing boot from MMC.Also driver specific functions are guarded with generic
configuration options which leads to build failures when device
driver is not enabled in config. Fix that by using driver
specific defines.Signed-off-by: Ladislav Michl
Acked-by: Stefano Babic
07 May, 2018
1 commit
-
When U-Boot started using SPDX tags we were among the early adopters and
there weren't a lot of other examples to borrow from. So we picked the
area of the file that usually had a full license text and replaced it
with an appropriate SPDX-License-Identifier: entry. Since then, the
Linux Kernel has adopted SPDX tags and they place it as the very first
line in a file (except where shebangs are used, then it's second line)
and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibility
and in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declared
license in the tag as both the before and after are identical in tag
contents. There's also a few places where I found we did not have a tag
and have introduced one.Signed-off-by: Tom Rini
18 Sep, 2017
2 commits
-
The NXP 4.1 kernel needs to boot with secure boot.
Add information on how to enable secure boot mode.
Signed-off-by: Vanessa Maegima
-
Update these macros to use all upper-case to avoid checkpatch
warnings:ENET_25MHz,
ENET_50MHz,
ENET_125MHz,Signed-off-by: Eric Nelson
Reviewed-by: Stefano Babic
16 Aug, 2017
1 commit
-
We are now using an env_ prefix for environment functions. Rename these
two functions for consistency. Also add function comments in common.h.Quite a few places use getenv() in a condition context, provoking a
warning from checkpatch. These are fixed up in this patch also.Suggested-by: Wolfgang Denk
Signed-off-by: Simon Glass
12 Jul, 2017
1 commit
-
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
30 Jun, 2017
1 commit
-
Wig Cheng's email bounces, so remove it from the maintainers list.
Signed-off-by: Fabio Estevam
31 May, 2017
1 commit
-
Add the initial support for pico-imx7d board based on Wig Cheng's
source code.Add support for eMMC, USB gadget, I2C, PMIC and Ethernet.
For more information about this board, please visit:
http://www.technexion.org/products/pico/pico-som/pico-imx7-emmcSigned-off-by: Vanessa Maegima
Reviewed-by: Fabio Estevam
16 May, 2017
1 commit
-
- Add #undef CONFIG_DM_MMC_OPS to omap3_logic in the SPL build case, to
match other TI platforms in the same situation.Signed-off-by: Tom Rini
15 May, 2017
2 commits
-
In order to be able to migrate the various SoC EHCI CONFIG options we
first need to finish the switch from CONFIG_USB_EHCI to
CONFIG_USB_EHCI_HCD.Cc: Marek Vasut
Signed-off-by: Tom Rini
Reviewed-by: Marek Vasut -
Now CONFIG_GENERIC_MMC and CONFIG_MMC match for all defconfig.
We do not need two options for the same feature. Deprecate the
former.This commit was generated with the sed script 's/GENERIC_MMC/MMC/'
and manual fixup of drivers/mmc/Kconfig.Signed-off-by: Masahiro Yamada
20 Mar, 2017
1 commit
-
To keep a consistent MMC device mapping in SPL and in u-boot, let's
register the MMC controllers the same way in u-boot and in the SPL.
In terms of boot time, it doesn't hurt to register more controllers than
needed because the MMC device is initialized only prior being accessed for
the first time.
Having the same device mapping in SPL and u-boot allows us to use the
environment in SPL whatever the MMC boot device.Signed-off-by: Jean-Jacques Hiblot
11 Jan, 2017
1 commit
-
Move (and rename) the following CONFIG options to Kconfig:
CONFIG_DAVINCI_MMC (renamed to CONFIG_MMC_DAVINCI)
CONFIG_OMAP_HSMMC (renamed to CONFIG_MMC_OMAP_HS)
CONFIG_MXC_MMC (renamed to CONFIG_MMC_MXC)
CONFIG_MXS_MMC (renamed to CONFIG_MMC_MXS)
CONFIG_TEGRA_MMC (renamed to CONFIG_MMC_SDHCI_TEGRA)
CONFIG_SUNXI_MMC (renamed to CONFIG_MMC_SUNXI)They are the same option names as used in Linux.
This commit was created as follows:
[1] Rename the options with the following command:
find . -name .git -prune -o ! -path ./scripts/config_whitelist.txt \
-type f -print | xargs sed -i -e '
s/CONFIG_DAVINCI_MMC/CONFIG_MMC_DAVINCI/g
s/CONFIG_OMAP_HSMMC/CONFIG_MMC_OMAP_HS/g
s/CONFIG_MXC_MMC/CONFIG_MMC_MXC/g
s/CONFIG_MXS_MMC/CONFIG_MMC_MXS/g
s/CONFIG_TEGRA_MMC/CONFIG_MMC_SDHCI_TEGRA/g
s/CONFIG_SUNXI_MMC/CONFIG_MMC_SUNXI/g
'[2] Commit the changes
[3] Create entries in driver/mmc/Kconfig.
(copied from Linux)[4] Move the options with the following command
tools/moveconfig.py -y -r HEAD \
MMC_DAVINCI MMC_OMAP_HS MMC_MXC MMC_MXS MMC_SDHCI_TEGRA MMC_SUNXI[5] Sort and align drivers/mmc/Makefile for readability
Signed-off-by: Masahiro Yamada
Reviewed-by: Marek Vasut
26 Oct, 2016
1 commit
-
Fixed typo for doc/README.imximage on respective imximage.cfg files.
Cc: Tom Rini
Cc: Stefano Babic
Cc: Fabio Estevam
Acked-by: Peng Fan
Signed-off-by: Jagan Teki