| e72b9125 | 06-Jan-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: rkimg: move rkimg boot code into bootrkp.c
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I362e5ab0e1aee8b9126d51358ea1300d60d0a706 |
| 92937b1f | 18-Aug-2019 |
Michal Suchanek <msuchanek@suse.de> |
UPSTREAM: usb: Add nonblock argument to submit_int_msg
This will be used to implement non-blocking keyboard polling in case of errors.
Conflicts: common/usb.c common/usb_kbd.c common/usb_storage
UPSTREAM: usb: Add nonblock argument to submit_int_msg
This will be used to implement non-blocking keyboard polling in case of errors.
Conflicts: common/usb.c common/usb_kbd.c common/usb_storage.c include/usb.h
Change-Id: I4a951d779e2cf9e80380f93000a87a617453fb32 Signed-off-by: Michal Suchanek <msuchanek@suse.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 3437121c037f502a3b0faaec97059777034a1ead)
show more ...
|
| e7093b51 | 04-Jun-2019 |
Frieder Schrempf <frieder.schrempf@kontron.de> |
UPSTREAM: usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP
Add support for loading u-boot FIT images over the USB SDP protocol in the SPL
Change-Id: I41461b58c088a10eca6e48b0d49c76944c37c
UPSTREAM: usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP
Add support for loading u-boot FIT images over the USB SDP protocol in the SPL
Change-Id: I41461b58c088a10eca6e48b0d49c76944c37c3fa Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de> [Various build fixes] Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Tested-by: Fabio Estevam <festevam@gmail.com> Tested-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 2c72ead7387404eba16c556d2f204c52c36c27f9)
show more ...
|
| 09b32b41 | 17-Jan-2019 |
Andrew F. Davis <afd@ti.com> |
UPSTREAM: spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU
The symbol CONFIG_SPL_DFU_SUPPORT in SPL build has the same meaning as CONFIG_DFU in regular U-Boot. Drop the _SUPPORT to allow for cle
UPSTREAM: spl: Kconfig: Drop the _SUPPORT postfix from SPL_DFU
The symbol CONFIG_SPL_DFU_SUPPORT in SPL build has the same meaning as CONFIG_DFU in regular U-Boot. Drop the _SUPPORT to allow for cleaner use in code.
Conflicts: arch/arm/mach-zynqmp/spl.c common/Makefile common/spl/Kconfig common/spl/spl_ram.c
Change-Id: I93f09d5953284d511df135e6e71c03c0552719a2 Signed-off-by: Andrew F. Davis <afd@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Acked-by: Lukasz Majewski <lukma@denx.de> (cherry picked from commit 6536ca4d6676bf38e50784298e713edc30b9cde9)
show more ...
|
| eccca8a3 | 10-Jan-2019 |
Jean-Jacques Hiblot <jjhiblot@ti.com> |
UPSTREAM: Kconfig: rename CONFIG_SPL_USB_GADGET as CONFIG_SPL_USB_GADGET
The SPL option for USB gadget should be named after the option for u-boot (CONFIG_USB_GADGET)
Conflicts: arch/arm/mach-imx/
UPSTREAM: Kconfig: rename CONFIG_SPL_USB_GADGET as CONFIG_SPL_USB_GADGET
The SPL option for USB gadget should be named after the option for u-boot (CONFIG_USB_GADGET)
Conflicts: arch/arm/mach-imx/mx6/Kconfig arch/arm/mach-imx/spl.c configs/am335x_boneblack_vboot_defconfig configs/am335x_evm_usbspl_defconfig configs/am43xx_evm_defconfig configs/am43xx_hs_evm_defconfig configs/imx6q_logic_defconfig configs/mx6memcal_defconfig configs/mx6sabresd_defconfig configs/pico-hobbit-imx6ul_defconfig configs/pico-hobbit-imx7d_defconfig configs/pico-imx6ul_defconfig configs/pico-imx7d_defconfig configs/pico-pi-imx6ul_defconfig configs/pico-pi-imx7d_defconfig drivers/Makefile
Change-Id: I51305422f13cb7d743274f82c531000c0f93c144 Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit f811e9763f4b6f6f5e3fe9c2fa30d2b6c62d289e)
show more ...
|
| b95d4446 | 29-Nov-2018 |
Jean-Jacques Hiblot <jjhiblot@ti.com> |
UPSTREAM: usb: gadget: Do not call board_usb_xxx() directly in USB gadget drivers
Add 2 functions to wrap the calls to board_usb_init() and board_usb_cleanup(). This is a preparatory work for DM sup
UPSTREAM: usb: gadget: Do not call board_usb_xxx() directly in USB gadget drivers
Add 2 functions to wrap the calls to board_usb_init() and board_usb_cleanup(). This is a preparatory work for DM support for UDC drivers (DM_USB_GADGET).
Conflicts: cmd/fastboot.c cmd/rockusb.c cmd/usb_mass_storage.c
Change-Id: I2b3a567d9dff75a03176d76d9fd9775cd8a0792e Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Lukasz Majewski <lukma@denx.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit a06955ae1ef2a942f18025d4fefceea2c638a76f)
show more ...
|
| 3739bf7e | 21-Nov-2018 |
Sven Schwermer <sven@svenschwermer.de> |
UPSTREAM: usb: s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/
This allows to disable the USB driver model in SPL because it checks the CONFIG_SPL_DM_USB variable for SPL builds. Nothing changes for regu
UPSTREAM: usb: s/CONFIG_DM_USB/CONFIG_IS_ENABLED(DM_USB)/
This allows to disable the USB driver model in SPL because it checks the CONFIG_SPL_DM_USB variable for SPL builds. Nothing changes for regular non-SPL builds.
Conflicts: drivers/usb/host/ehci-atmel.c drivers/usb/host/xhci-fsl.c
Change-Id: If6c980c620cf97c1dd131f60953c305e34dba505 Signed-off-by: Sven Schwermer <sven@svenschwermer.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit fd09c205fc57b90a782cac33449ef172575d0a8c)
show more ...
|
| 8e33586e | 15-Feb-2018 |
Andre Heider <a.heider@gmail.com> |
UPSTREAM: usb: gadget: sdp: add missing line breaks
Cosmetic change.
Change-Id: Ia6606d3e491c3032882476f00d4e306c30da8953 Signed-off-by: Andre Heider <a.heider@gmail.com> Reviewed-by: Lukasz Majews
UPSTREAM: usb: gadget: sdp: add missing line breaks
Cosmetic change.
Change-Id: Ia6606d3e491c3032882476f00d4e306c30da8953 Signed-off-by: Andre Heider <a.heider@gmail.com> Reviewed-by: Lukasz Majewski <lukma@denx.de> Acked-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit 24ccd0c8fd6285636edb94d0ece2cbcf062d64eb)
show more ...
|
| c8f2d7ee | 21-Nov-2018 |
Sven Schwermer <sven@svenschwermer.de> |
UPSTREAM: usb: Remove CMD_USB dependency for common code
Common USB code is built whenever USB is enabled (in non-SPL builds). The USB uclass is built whenever (SPL_)DM_USB is enabled. Both need to
UPSTREAM: usb: Remove CMD_USB dependency for common code
Common USB code is built whenever USB is enabled (in non-SPL builds). The USB uclass is built whenever (SPL_)DM_USB is enabled. Both need to be independent from CMD_USB.
Change-Id: Idb5e7ffeea8cb325855cb2d1b6713d62fe438120 Signed-off-by: Sven Schwermer <sven@svenschwermer.de> Signed-off-by: Frank Wang <frank.wang@rock-chips.com> (cherry picked from commit ab5817027f9b4fce25f5f2a3e20577ac55bbd7e0)
show more ...
|
| b6b05c71 | 20-Dec-2019 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: skip blk read and memcpy if image size is 0
blk_read() may return error code if image size is 0, it depends on block layer implementation.
Signed-off-by: Joseph Chen <chenjh@rock-c
common: android: skip blk read and memcpy if image size is 0
blk_read() may return error code if image size is 0, it depends on block layer implementation.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I29bab10835e9029780a957e871a600a6fbdf6068
show more ...
|
| 6527836d | 17-Dec-2019 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: rename and export load_android_image()
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I7398b83bff0fd0dedd77834ee2a8ff14f2ae11e0 |
| 7b2520c7 | 17-Dec-2019 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: not go further if image is in-place
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I7ba27cd704638af933b8581f08192c3ab53c1928 |
| 470c5092 | 12-Dec-2019 |
Joseph Chen <chenjh@rock-chips.com> |
board_f/arm: fixup 4GB+ memory size
- fixup gd->bd->bi_dram[] before update "/memory" node - append 4GB+ memory size when announce dram
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id:
board_f/arm: fixup 4GB+ memory size
- fixup gd->bd->bi_dram[] before update "/memory" node - append 4GB+ memory size when announce dram
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I8908426c54d251e5cfa9216b0dc5470145e37cb5
show more ...
|
| c484df2f | 09-Dec-2019 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: refactor image load and sha1 verify
Unify single image load/memcpy to image_read(), containing sha1 update.
Not support verify image by RK legacy mkbootimg tools.
Signed-off-by: J
common: android: refactor image load and sha1 verify
Unify single image load/memcpy to image_read(), containing sha1 update.
Not support verify image by RK legacy mkbootimg tools.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ide88d2dda79f3335a6c34e41bdce56eac0d66408
show more ...
|
| e1b9a842 | 26-Nov-2019 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: support decompress kernel for AVB bootflow
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: If253d573384d697338f92b591b28efde9dab48bf |
| 3f7fb06b | 26-Nov-2019 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: make image separate load mandory
Since this feature is stable and helpful to save boot time, let't make it mandory.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I3
common: android: make image separate load mandory
Since this feature is stable and helpful to save boot time, let't make it mandory.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I36f244c6d319d6b54ed3d54730352c8d5b4cc6bd
show more ...
|
| b554a8f0 | 03-Dec-2019 |
Joseph Chen <chenjh@rock-chips.com> |
common: board_f: print new fdt address
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I61a9e6e65a5a81639424f27bda4d389e002f1132 |
| c641fb24 | 25-Nov-2019 |
Joseph Chen <chenjh@rock-chips.com> |
common: Kconfig: select SHA1 if !DM_CRYPTO for android image verify
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Id010fe3e5947ad19fdba8a2dd97f421d83282105 |
| 53bea680 | 22-Nov-2019 |
Tony Xu <tony.xu@rock-chips.com> |
common: write keybox: always write storage flag to security sorage
Change-Id: Iaa536eb51216f46a35ae5999ed19ad5703509b6a Signed-off-by: Tony Xu <tony.xu@rock-chips.com> |
| fd633ddc | 20-Nov-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
android: add function android_bcb_write
Change-Id: Ie65068dc4fca751a9bcc959c56209aaf4729f638 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 0a34d7e5 | 12-Nov-2019 |
Dayao Ji <jdy@rock-chips.com> |
common: android: support A/B with DP support
Need to pass androidboot.force_normal_boot=1 instead of skip_initramfs when A/B supporting dynamic partition.
Change-Id: I1748690d04d4ef16e121d8dc88f697
common: android: support A/B with DP support
Need to pass androidboot.force_normal_boot=1 instead of skip_initramfs when A/B supporting dynamic partition.
Change-Id: I1748690d04d4ef16e121d8dc88f69745a3cbb77d Signed-off-by: Dayao Ji <jdy@rock-chips.com>
show more ...
|
| a84f21eb | 12-Nov-2019 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: add misc BCB message offset compatibility
Rockchip platforms defines BCB message at the 16KB offset of misc partition while the Google defines it at 0x0 offset.
From Android-Q, the 0x0 of
rockchip: add misc BCB message offset compatibility
Rockchip platforms defines BCB message at the 16KB offset of misc partition while the Google defines it at 0x0 offset.
From Android-Q, the 0x0 offset is mandary on Google VTS, so this patch is a compatibility according to android image 'os_version'.
Android os version >= 10 is at 0x0 offset, otherwise at 16KB offset.
Change-Id: I54a7674e2dc2e0c29fc624f17b4453663c9ea462 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| c092b139 | 12-Nov-2019 |
Joseph Chen <chenjh@rock-chips.com> |
common: image: provide BCB offset according to android os version
Rockchip platforms defines BCB message at the 16KB offset of misc partition while the Google defines it at 0x0 offset.
From Android
common: image: provide BCB offset according to android os version
Rockchip platforms defines BCB message at the 16KB offset of misc partition while the Google defines it at 0x0 offset.
From Android-Q, the 0x0 offset is mandary on Google VTS.
Change-Id: Iac36d421ed605684353c30bfe0e9982bdd5de065 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| 3c9d2903 | 04-Nov-2019 |
Joseph Chen <chenjh@rock-chips.com> |
common: image: fix parse kernel compressed type issue
This issue happens on the SDK version < 8.1. The reason is we don't read enough blocks from storage for kernel compressed type validation.
ANDR
common: image: fix parse kernel compressed type issue
This issue happens on the SDK version < 8.1. The reason is we don't read enough blocks from storage for kernel compressed type validation.
ANDROID_ROCKCHIP_LEGACY_PAGE_SIZE(16KB) is defined by rockchip legacy mkboot tool(SDK version < 8.1) and larger than Google defined.
To compatible this, we malloc enough buffer but only read android header and kernel image(1 block) from storage.
Change-Id: I9800e4150985adcd5dbd78c28c471604eb403eae Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| e1c1c23d | 05-Nov-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
android: change the verification mode
The mode AVB_HASHTREE_ERROR_MODE_RESTART_AND_INVALIDATE will add "androidboot.vbmeta.invalidate_on_error=yes" to cmdline, and kernel will invalidate vbmeta if v
android: change the verification mode
The mode AVB_HASHTREE_ERROR_MODE_RESTART_AND_INVALIDATE will add "androidboot.vbmeta.invalidate_on_error=yes" to cmdline, and kernel will invalidate vbmeta if verified fail. This will modify the vbmeta.img head and make uboot verify vbmeta.img fail in avb system. And in avb & ab system, we can use the retry-count to change slot if verify fail without modify the vbmeta. So just use the mode AVB_HASHTREE_ERROR_MODE_RESTART.
Change-Id: I98d60683d5365b996fcca2e85d4847d4a6df2ef6 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|