13 Mar, 2019
3 commits
-
The third parameter of the pmic_clrsetbits() function is the mask
to the register and the correct mask is 1 not 0.Since the LDOGCTL only contains a single valid bit (bit 0),
we can use pmic_reg_write() and write 1 directly, which fixes
the problem in a simpler way and use the original pmic function
that was used prior to the DM PMIC conversion.Fixes: 8ba377321c86 ("arm: imx7s-warp: Convert to DM PMIC")
Signed-off-by: Fabio Estevam -
After DM conversion the I2C and MMC related board codes have been
removed, so remove the corresponding header files as well.Signed-off-by: Fabio Estevam
-
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
Reviewed-by: Bryan O'Donoghue
Reviewed-by: Bryan O'Donoghue
29 Jan, 2019
3 commits
-
This patch converts the warp7 and warp7_bl33 board ports over to using the
DM PMIC model.Signed-off-by: Bryan O'Donoghue
Reviewed-by: Peng Fan
Cc: Peng Fan
Cc: Fabio Estevam
Cc: Stefano Babic -
This commit switches to DM I2C for warp7 and warp7_bl33 defconfigs.
Signed-off-by: Bryan O'Donoghue
Reviewed-by: Peng Fan
Cc: Peng Fan
Cc: Fabio Estevam
Cc: Stefano Babic -
Converts from fixed initialization of MMC to DM initialization of MMC.
Signed-off-by: Bryan O'Donoghue
Cc: Albert Aribaud
Cc: Peng Fan
Cc: Fabio Estevam
Cc: Stefano Babic
24 Oct, 2018
1 commit
-
Add an entry for the warp7_bl33_defconfig target.
This fixes the following warnings:
WARNING: no status info for 'warp7_bl33'
WARNING: no maintainers for 'warp7_bl33'Reported-by: Tom Rini
Signed-off-by: Fabio Estevam
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
26 Apr, 2018
7 commits
-
This patch removes warp7_secure_defconfig. A previous patch set
CONFIG_ARMV7_BOOT_SEC_DEFAULT=y on the unsecure WaRP7 config. Fabio asked
if I could confirm that the NXP and upstream kernels will boot on the WaRP7
with CONFIG_ARMV7_BOOT_SEC_DEFAULT=y. I can confirm that this is the case,
so there's no need to support the secure defconfig - drop it now.Signed-off-by: Bryan O'Donoghue
Suggested-by: Fabio Estevam
Reviewed-by: Fabio Estevam -
Adding CONFIG_WARP7_ROOT_PART allows a defconfig to specify which partition
is use as the root partition on WaRP7, this is a desirable change in order
to support a different partitioning schemes. The default is the current
partition #2.Signed-off-by: Bryan O'Donoghue
Tested-by: Breno Lima
Reviewed-by: Fabio Estevam -
In order to sign images with the IMX code-signing-tool (CST) we need to
know the load address of a given image. The best way to derive this load
address is to make it into a define - so that u-boot.cfg contains the
address - which we can then parse when generating the IMX CST headers.Signed-off-by: Bryan O'Donoghue
Reviewed-by: Ryan Harkin
Tested-by: Breno Lima
Reviewed-by: Fabio Estevam -
Right now a region of 0x300000 bytes is allocated at the end of DRAM for
the purposes of loading an OPTEE firmware inside of it. This patch adds the
printout of the relevant address ranges.Signed-off-by: Bryan O'Donoghue
Tested-by: Breno Lima
Reviewed-by: Fabio Estevam -
Subtracts CONFIG_OPTEE_TZDRAM_SIZE from the available DRAM size.
On WaRP7 we simply define the OPTEE region as from the maximum DRAM address
minus CONFIG_OPTEE_TZDRAM_SIZE bytes.Note the OPTEE boot process will itself subtract the DRAM region it lives
in from the memory map passed to Linux.Signed-off-by: Bryan O'Donoghue
Tested-by: Breno Lima
Reviewed-by: Fabio Estevam -
This patch adds an environment variable called "hab_enabled" which gets set
to a boolean status indicating whether HAB is enabled or not.Subsequent patches can use this environment variable to determine if its
necessary to run a given binary through the hab_auth_img console command.Signed-off-by: Bryan O'Donoghue
Tested-by: Breno Lima
Reviewed-by: Fabio Estevam -
In order to correctly produce an image with a IVT/DCD header we need to
define a CSF in imximage.cfg. We just use the mx7 default here.All we have to do with this option switched on is "make u-boot.imx" and we
then will get- u-boot.imx
- u-boot.imx.logThe log file is really important because it gives the addresses for the HAB
that we will require to sign the u-boot image using the CST. Since the
addresses can change this logfile is a critical output.Signed-off-by: Bryan O'Donoghue
Tested-by: Breno Lima
Reviewed-by: Fabio Estevam
15 Apr, 2018
1 commit
-
u-boot has a standard "serial#" environment variable that is suitable
for storing the iSerial number we will supply via the USB device
descriptor. serial# is automatically picked up by the disk subsystem in
u-boot - thus providing a handy unique identifier in /dev/disk/by-id as
detailed below.Storing the hardware serial identifier in serial# means we can change the
serial# if we want before USB enumeration - thus making iSerial automatic
via OTP but overridable if necessary.This patch reads the defined OTP fuse and sets environment variable
"serial#" to the value read.With this patch in place the USB mass storage device will appear in
/dev/disk/by-id with a unique name based on the OTP value. For example/dev/disk/by-id/usb-Linux_UMS_disk_0_WaRP7-0xf42400d3000001d4-0:0
Signed-off-by: Bryan O'Donoghue
Cc: Fabio Estevam
Cc: Rui Miguel Silva
Cc: Ryan Harkin
Reviewed-by: Fabio Estevam
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
01 May, 2017
1 commit
-
Add warp7_secure_defconfig entry to avoid the following warning:
WARNING: no maintainers for 'warp7_secure'
Signed-off-by: Fabio Estevam
03 Jan, 2017
1 commit
-
Enable USB gadget ethernet by default to have networking capabilities.
Tested using DHCP and TFTP to transfer kernel, DT, ramdisk.
Cc: Fabio Estevam
Signed-off-by: Kevin Hilman
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
07 Sep, 2016
2 commits
-
warp7 has two targets:
- warp7_defconfig: boots in non-secure mode
- warp7_secure_defconfig: boots in secure modePrint the mode that is being used to help users to easily identify
which target is running on the board.Signed-off-by: Fabio Estevam
-
Add PMIC support. Tested by command "pmic PFUZE3000 dump".
Signed-off-by: Vanessa Maegima
Reviewed-by: Fabio Estevam
Reviewed-by: Stefano Babic
18 Jun, 2016
2 commits
-
Add a README file for helping users to install U-Boot into the eMMC.
Signed-off-by: Marco Franchi
Acked-by: Fabio Estevam -
The latest version of warp7 board provides the connection of the
WDOG1_B pin to the PMIC.Program the watchdog to enable the WDOG1_B output which causes
a POR reset.Based on the imx7dsabresd code.
Signed-off-by: Marco Franchi
Acked-by: Fabio Estevam
26 Mar, 2016
1 commit
-
Add the basic support for Warp7 board.
For more information about this reference design, please visit:
https://www.element14.com/community/docs/DOC-79058/l/warp-7-the-next-generation-wearable-reference-platform
Signed-off-by: Fabio Estevam
Reviewed-by: Peng Fan