06 Feb, 2020
1 commit
-
At present dm/device.h includes the linux-compatible features. This
requires including linux/compat.h which in turn includes a lot of headers.
One of these is malloc.h which we thus end up including in every file in
U-Boot. Apart from the inefficiency of this, it is problematic for sandbox
which needs to use the system malloc() in some files.Move the compatibility features into a separate header file.
Signed-off-by: Simon Glass
18 Jan, 2020
3 commits
-
At present panic() is in the vsprintf.h header file. That does not seem
like an obvious choice for hang(), even though it relates to panic(). So
let's put hang() in its own header.Signed-off-by: Simon Glass
[trini: Migrate a few more files]
Signed-off-by: Tom Rini -
These functions relate to memory init so move them into the init
header.Signed-off-by: Simon Glass
-
Move this function out of common.h and into a relevant header file.
Signed-off-by: Simon Glass
15 Jan, 2020
1 commit
-
Signed-off-by: Joris Offouga
Reviewed-by: Stefano Babic
03 Dec, 2019
1 commit
-
A number of board function belong in init.h with the others. Move them.
Signed-off-by: Simon Glass
Reviewed-by: Tom Rini
08 Oct, 2019
13 commits
-
Since convert dm_video, unused code introduced, so remove this
Signed-off-by: Joris Offouga
Reviewed-by: Otavio Salvador -
Signed-off-by: Joris Offouga
Reviewed-by: Otavio Salvador -
Add Falcon mode support, which allows the SPL to load and
jump to the Linux kernel directly, without the need of loading
U-Boot proper.CONFIG_SPL_OS_BOOT=y needs to be passed in the defconfig
in order to use Falcon mode.Signed-off-by: Fabio Estevam
Signed-off-by: Otavio Salvador -
Add splashscreen support. Tested with the parallel
FT5x06-WVGA panel.Signed-off-by: Fabio Estevam
Signed-off-by: Otavio Salvador -
Add Ethernet support.
Signed-off-by: Fabio Estevam
Signed-off-by: Otavio Salvador -
Add the initial support for the pico-imx6 variants.
DDR initialization is based on the TechNexion's U-Boot code.
Signed-off-by: Fabio Estevam
Signed-off-by: Fabio Berton
Signed-off-by: Otavio Salvador -
This commit convert all pico-imx7d to DM_VIDEO
Signed-off-by: Joris Offouga
-
Add missing files pico-nymph-imx7d_defconfig and
c>onfigs/pico-dwarf-imx7d_defconfigSigned-off-by: Stefano Babic
Reviewed-by: Peng Fan
CC: Fabio Estevam
CC: Otavio Salvador -
When CONFIG_SPL_OS_BOOT is selected, it is still convenient to be able
to escape from Falcon mode and boot to U-Boot proper.Add a mechanism that allows booting in U-Boot proper when the
key 'c' is entered on console at boot time.Signed-off-by: Fabio Estevam
Signed-off-by: Otavio Salvador -
Improve the README by adding instructions on how to boot using
Falcon mode, which allows the SPL to load the kernel directly,
without using U-Boot proper.Signed-off-by: Fabio Estevam
Signed-off-by: Otavio Salvador -
When CONFIG_SPL_OS_BOOT is selected, it is still convenient to be able
to escape from Falcon mode and boot to U-Boot proper.Add a mechanism that allows booting in U-Boot proper when the
key 'c' is entered on console at boot time.Signed-off-by: Fabio Estevam
Signed-off-by: Otavio Salvador -
Sync the Falcon mode instructions with the ones fro pico-imx7d.
Signed-off-by: Fabio Estevam
Signed-off-by: Otavio Salvador -
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
20 Jul, 2019
1 commit
-
This patch enable usb support with device-tree
Signed-off-by: Joris Offouga
Reviewed-by: Jun Nie
09 Jul, 2019
1 commit
-
- Pull in the series to split fsl_esdhc for i.MX/non-i.MX cleanly
27 Jun, 2019
1 commit
-
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: Joris Offouga
23 Jun, 2019
1 commit
-
Converted to use fsl_esdhc_imx for i.MX platforms.
Signed-off-by: Yangbo Lu
Tested-by: Steffen Dirkwinkel
Reviewed-by: Peng Fan
Reviewed-by: Lukasz Majewski
Reviewed-by: Martyn Welch
Acked-by: Jason Liu
11 Jun, 2019
6 commits
-
pico-dwarf-imx6ul_defconfig does not have an entry in MAINTAINERS file,
so add it to avoid a build warning.Reported-by: Stefano Babic
Signed-off-by: Fabio Estevam -
It is easier to consolidate all boards into a single entry.
Signed-off-by: Fabio Estevam
-
It is easier to consolidate all boards into a single entry.
Signed-off-by: Fabio Estevam
-
If PMIC is not probed successfully, it is still OK to boot
with default configuration although power is not optimized.Default voltage of SW1A/SW1B is 1.1V/1.0V for PC32PF3000A1EP
on pico according to table 42 of spec of PF3000 ver 9.0.Default mode of SW1A/SW1B is APS as expected(table 47).
Signed-off-by: Jun Nie
-
Add Documentation of BL33 usage case. U-boot is in
non-secure world in this case.Signed-off-by: Jun Nie
-
Subtracts CONFIG_OPTEE_TZDRAM_SIZE from the available DRAM size so that
the OPTEE memory is not override during u-boot relocation.Note the OPTEE live in the end part of DRAM and OPTEE boot process will
itself subtract the DRAM region it lives in from the memory map passed
to Linux.Signed-off-by: Jun Nie
Reviewed-by: Peng Fan
29 May, 2019
1 commit
-
This board still doesn't select CONFIG_DM and seems to be umaintained.
As it makes progress on modernizing several DaVinci drivers more
difficult and the maintainer has not expressed interest in updating
it, this patch proposes to remove it.Signed-off-by: Bartosz Golaszewski
Acked-by: Stefano Babic
26 Apr, 2019
2 commits
-
This patch enable convert DM MMC for imx7d-pico board and variant.
Before the DM conversion only usdhc3 was enabled and therefore it appeared
as MMC 0 to u-boot. After enabling MMC DM though usdhc3 defaults to MMC 2,
which left unattended would drive changes to existing pico-pi bootscripts and
environment variables that rely on mmc 0.Setup the alias of mmc0 and usdhc3 so that existing pico-imx7d boot code will
work unmodified.When converting to DM_MMC it is necessary that SPL initializes eMMC
by itself, so move the original eMMC initialization from U-Boot
proper to SPL.Signed-off-by: Joris Offouga
Signed-off-by: Fabio Estevam -
This patch is necessary for convert this board to dm driver model
DM GPIO requires gpio_request() to be called explicitly before
doing any gpio operationSigned-off-by: Joris Offouga
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