Age | Commit message (Collapse) | Author |
|
We are targeting let uboot loading images from emmc to boot android.
Currently only emmc1 is enabled, so other devices are disabled.
Also change memory layout according to VM layout. The memory layout
needs to be samesize as what you configured in as "memory = "3584"".
Add a new dts dedicated for this kind uboot, add a new defconfig
to select CONFIG_XEN/CONFIG_XEN_DEBUG_SERIAL, deselect CONFIG_DM_SERIAL,
select CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK, and disable some devices
compared with imx8qm_mek_androidauto_defconfig.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit a4e932cae433b9d2e1cff6a94b12e4abcac45543)
|
|
Introduce console write hypercall to let Uboot could directly
output with xen console, this needs CONFIG_VERBOSE_DEBUG
enabled in xen.
Because input is not a must requirement in android VM,
and develop pvconsole needs more efforts, so let's use
this hypercall first.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 8836c3104a1edfe542e0c1cef6690bc9d3d842a0)
|
|
The sec_boot environment is used for AHAB secure boot. When run command
"env default -f -a", this environment is not set due to its default value
is not added to CONFIG_EXTRA_ENV_SETTINGS. Then the boot flow will go to
AHAB branch to load OS container.
Fix the issue by adding default sec_boot value to CONFIG_EXTRA_ENV_SETTINGS.
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 20fd426d8d1a8aa42343115f853e4d91087b7a5e)
|
|
This is a proting patch from linux kernel: 37a3a533429e
("usb: gadget: OS Feature Descriptors support"), the original commit
log see below:
There is a custom (non-USB IF) extension to the USB standard:
http://msdn.microsoft.com/library/windows/hardware/gg463182
They grant permission to use the specification - there is
"Microsoft OS Descriptor Specification License Agreement"
under the link mentioned above, and its Section 2 "Grant
of License", letter (b) reads:
"Patent license. Microsoft hereby grants to You a nonexclusive,
royalty-free, nontransferable, worldwide license under Microsoft’s
patents embodied solely within the Specification and that are owned
or licensable by Microsoft to make, use, import, offer to sell,
sell and distribute directly or indirectly to Your Licensees Your
Implementation. You may sublicense this patent license to Your
Licensees under the same terms and conditions."
The said extension is maintained by Microsoft for Microsoft.
Yet it is fairly common for various devices to use it, and a
popular proprietary operating system expects devices to provide
"OS descriptors", so Linux-based USB gadgets whishing to be able
to talk to a variety of operating systems should be able to provide
the "OS descriptors".
This patch adds optional support for gadgets whishing to expose
the so called "OS Feature Descriptors", that is "Extended Compatibility ID"
and "Extended Properties".
Hosts which do request "OS descriptors" from gadgets do so during
the enumeration phase and before the configuration is set with
SET_CONFIGURATION. What is more, those hosts never ask for configurations
at indices other than 0. Therefore, gadgets whishing to provide
"OS descriptors" must designate one configuration to be used with
this kind of hosts - this is what os_desc_config is added for in
struct usb_composite_dev. There is an additional advantage to it:
if a gadget provides "OS descriptors" and designates one configuration
to be used with such non-USB-compliant hosts it can invoke
"usb_add_config" in any order because the designated configuration
will be reported to be at index 0 anyway.
This patch also adds handling vendor-specific requests addressed
at device or interface and related to handling "OS descriptors"."
Signed-off-by: Li Jun <jun.li@nxp.com>
(cherry picked from commit 859be2fc12dbd1b99e140641f2d7fa14df29c9dd)
|
|
As other users may use utf8_to_utf16le() to convert the utf8
to utf16 for usb, so move it to head file.
Signed-off-by: Li Jun <jun.li@nxp.com>
(cherry picked from commit 94870cb6b587243e0a68ee9a3ec43540d76152cc)
|
|
This is a porting patch from linux kernel: 19824d5eeece
("usb: gadget: OS String support"), original commit log
see below:
"There is a custom (non-USB IF) extension to the USB standard:
http://msdn.microsoft.com/library/windows/hardware/gg463182
They grant permission to use the specification - there is
"Microsoft OS Descriptor Specification License Agreement"
under the link mentioned above, and its Section 2 "Grant
of License", letter (b) reads:
"Patent license. Microsoft hereby grants to You a nonexclusive,
royalty-free, nontransferable, worldwide license under Microsoft’s
patents embodied solely within the Specification and that are owned
or licensable by Microsoft to make, use, import, offer to sell,
sell and distribute directly or indirectly to Your Licensees Your
Implementation. You may sublicense this patent license to Your
Licensees under the same terms and conditions."
The said extension is maintained by Microsoft for Microsoft.
Yet it is fairly common for various devices to use it, and a
popular proprietary operating system expects devices to provide
"OS descriptors", so Linux-based USB gadgets whishing to be able
to talk to a variety of operating systems should be able to provide
the "OS descriptors".
This patch adds optional support for gadgets whishing to expose
the so called "OS String" under index 0xEE of language 0.
The contents of the string is generated based on the qw_sign
array and b_vendor_code.
Interested gadgets need to set the cdev->use_os_string flag,
fill cdev->qw_sign with appropriate values and fill cdev->b_vendor_code
with a value of their choice.
This patch does not however implement responding to any vendor-specific
USB requests."
Signed-off-by: Li Jun <jun.li@nxp.com>
(cherry picked from commit b6ea0aaee307be0defaf8dc2c1eae9110bdae9a7)
|
|
Current u-boot reset is internal wdog reset. Change it to enable WDOG_B
to reset PMIC.
Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Robin Gong <yibin.gong@nxp.com>
(cherry picked from commit 6f60ce5c65f71653494b5a1376c5e2a871e55ebf)
|
|
Remove redundant one
Signed-off-by: Frank Li <Frank.Li@nxp.com>
(cherry picked from commit 9f522a0af06bc0f56a548ff034d8675db4d4f44c)
|
|
auto run fastboot accept command from uuu.
it compatible old mfgtools method.
old mfgtool will download initramfs before boot.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
(cherry picked from commit 219c989e7d172b3dcc0ae04582419fdd23f87de1)
|
|
Signed-off-by: Frank Li <Frank.Li@nxp.com>
(cherry picked from commit 719651a4424d962933377bf12733561a188f3ae9)
|
|
Porting the imx8m-phanbell android things board support from v2017.03
Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Porting the board support for imx6ul spriot board from v2017.03
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Porting the board support for imx6ul nxpu iopb board from v2017.03
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add imx7d multa board support for android things
Signed-off-by: fang hui <hui.fang@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Update imx7d pico board support for android things and trusty OS,
porting from v2017.03
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add board support for imx6ul pico-som, porting from v2017.03
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add board support for imx6dl pico pi, porting from v2017.03
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add board level support for android and android auto. Each board has
android/andriod_auto specified header file for defining relevant configuraitons.
And add build targets for their android uboot images building.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
fastboot
Add board level support for android fastboot feature. Each board has
a android specified header file for defining android related configuraitons.
And add build targets for their android uboot images building.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Use trusty_os_init to load Trusty OS from CONFIG_TRUSTY_OS_ENTRY
before u-boot ready.
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
|
|
Secure Storage service in Trusty OS will compute
the encrypted mmc frame and the rpmb proxy inject the frame
to driver directly. So that need to export RPMB related
interface for Secure Storage proxy use.
Change-Id: I7f69831a20a440f597d323b610fa615fd4344d05
Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
(cherry picked from commit 4d2c1873ce8221e35874265e41dc42a6df169659)
|
|
The lib provided ql-tipc communication channel with
Trusty OS.
Also the AVB, Keymaster and SecureStorage service
tipc client implement in this lib.
Change-Id: I0ab1ec9ee1b6f272b960c2e944008283c2c9249a
Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
(cherry picked from commit 8fb370dd80fbb293b58115d2e7fc4970813773c7)
|
|
Porting the FSL android fastboot features from imx u-boot v2017.03 to
support all SoCs: imx6/imx7/imx7ulp/imx8/imx8m
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Add the fsl CAAM driver and new commands to implement DEK blob operations,
like "caam genblob" to generate encrypted blob and "caam decap" to output
orignal plain data.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Porting the android AVB lib from imx u-boot v2017.03
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Necessary extensions of axp152 to support stream812.
merge patches from Martin Pietryka <martin.pietryka@streamunlimited.com>
Change-Id: I7708db4e59d6403a3576f17a221b448866f469a0
Signed-off-by: fang hui <hui.fang@nxp.com>
(cherry picked from commit 6f51148d75869415bb4e9920572e8fffb1eb0099)
|
|
Porting the iMX6Q DDR3/LPDDR2 ARM2, iMX6DL DDR3/LPDDR2 ARM2 and iMX6Q POP LPDDR2 ARM2
board codes from v2017.03.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Porting the iMX7ULP 10x10 ARM2 and 14x14 ARM2 board codes from v2017.03.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Porting the iMX7D 19x19 LPDDR2, LPDDR3 and DDR3 ARM2 board codes from v2017.03.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Porting the iMX7D 12x12 LPDDR3 and DDR3 ARM2 board codes from v2017.03.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Porting the iMX6SLL LPDDR2/LPPDR3 ARM2 board codes from v2017.03.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Porting the iMX6ULL 14x14 DDR3 ARM2 board codes from v2017.03.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Porting the iMX6UL 14x14 ARM2 board codes from v2017.03, support DDR3 board
and LPDDR2 board.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Porting the 19x19 ARM2 board codes from v2017.03, support DDR3 board
and LPDDR2 board.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Porting the 17x17 ARM2 and 14x14 ARM2 board codes from v2017.03. The
14x14 ARM2 shares similar board design with 17x17 ARM2, but uses LPDDR2
memory. So share the codes for them.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
like for i.MX 8mq ATF passes as argument to u-boot
the start and the length of the BL32 firmware.
u-boot uses this information to adjust the size of the DDR for linux.
Signed-off-by: Silvano di Ninno <silvano.dininno@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit e9ec5ea8dbe3d12b40ba22fe36400cfe98e1bd44)
|
|
Introduce spl_qspi.cfg for booting from qspi.
Add new defconfig files.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit f6ccfcc1eefc45b75f07d8285e9af3d153eb3510)
|
|
Since default values of some registers of pmic not match well our board
design, add BD71837/BD71840 pmic support in spl, for example, RESET key
(PWRON_B) pushing time, VDD_DRAM too low for 3Ghz DDR.
Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
|
|
The imx8mm has changed the address of rvt_hab, use new address for imx8mm.
Also enable fuse driver in SPL and update registers maps.
The authentication procedure is same as imx8mq. In u-boot, the authentication
uses SIP call to trap ATF to run HAB authenticate.
Need to work with ATF commit:
(commit 7a4d6f90e999ed413d520310cc199901b52b7a04)
Users need to add CONFIG_SECURE_BOOT=y to imx8mm_evk_defconfig to enable
the feature.
Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 1118c9960c22c80a452181c6857fd1df86fe05ae)
|
|
Add iMX8QM HDMI RX firmware loading.
Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
(cherry picked from commit 969d93660e1b34765627ff9f6f8dcab08dcd1250)
|
|
i.MX8QXPB0 mfgtool ramfs may exceed the memory layout boundary with new
layout, change the dtb load address from 0x83800000 to 0x83100000 to
only reserve 1MB for dtb, which should be enough and leave 15MB for
ramfs.
Signed-off-by: Han Xu <han.xu@nxp.com>
(cherry picked from commit 1a7cd5fb2f0f3b853d60fbd52e03cec0f061d329)
|
|
Enable the USB host and device support, add relvent board level codes
and settings.
For device mode, the gadget is fixed on USB device 0. Can't support
gadget on USB device 1.
Signed-off-by: Ye Li <ye.li@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 62dab68436bb0a7cc53b506dad9168b9f10d0b3d)
|
|
When unregister gadget driver in ci_udc, the usb device is not
removed or stop. This causes next "usb start" fails to work.
Add a new interface "usb_remove_ehci_gadget" in usb-uclass to
remove the usb device for DM driver. Using "usb_lowlevel_stop" for
non-DM driver.
Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit c73d137e0a4a613a49f6f63ec63332508afb88c0)
|
|
Add i.MX8MM EVK board support
LPDDR4 code is still keep in old coding style to ease updating
if there is no code released.
dts is synced from kernel with sd2 regulator start up delay and off on
delay added.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 01b3f229b188e28b0887c0b32f66e939a50d3a69)
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Sync dts from Linux kernel commit
3091745d6acfdad21("MLK-18210 ARM64: dts: imx8qm: correct the pds of pcie").
Signed-off-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 0e7a5484878338d0dff871b6d21092a0479f07b4)
|
|
The iMX8MM EVK board uses BD71837MWV pmic. Add its driver to u-boot.
Signed-off-by: Ye Li <ye.li@nxp.com>
|
|
Current size of used environments variables is closed to 4KB size.
We need to enlarge the size, otherwise the saveenv may fail like
"Env export buffer too small"
Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
(cherry picked from commit 850d6d05a7c496e56a372e72b5f2bc69f72e0c23)
|
|
In i.MX8M platforms the secure memory block has a newer version
than those used in i.MX6/7 platforms, this patch update the driver
to use the correct registers offsets.
Signed-off-by: Aymen Sghaier <aymen.sghaier@nxp.com>
(cherry picked from commit 0daa9c142a1809b473d101f6db9700574ce3d522)
|
|
Enabling CAAM driver for i.MX8M platforms, a 64 bits architecture,
lead to casting warnings: from/to pointer to/from integer with
different size. This patch fix these warnings
Signed-off-by: Aymen Sghaier <aymen.sghaier@nxp.com>
(cherry picked from commit d02fbc7d2957f4788ced017ccf17fd35ab968121)
|
|
This patch enable CAAM support for i.MX8M platforms.
Signed-off-by: Aymen Sghaier <aymen.sghaier@nxp.com>
(cherry picked from commit 1fc92e6e34b06bdee81240ce06326aca1d9c02d8)
|