| 73ec4e03 | 06-Jan-2020 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: move "rkimgtest" to individual file
The command is used for all image type, it should not depend on bootrkp.c
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I8d27318485c7e7ffb8c
cmd: move "rkimgtest" to individual file
The command is used for all image type, it should not depend on bootrkp.c
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I8d27318485c7e7ffb8c4e06112396fa18e8b2dc0
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 ...
|
| 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 ...
|
| 2f0750eb | 13-Sep-2017 |
Rob Clark <robdclark@gmail.com> |
UPSTREAM: efi_loader: refactor boot device and loaded_image handling
Get rid of the hacky fake boot-device and duplicate device-path constructing (which needs to match what efi_disk and efi_net do).
UPSTREAM: efi_loader: refactor boot device and loaded_image handling
Get rid of the hacky fake boot-device and duplicate device-path constructing (which needs to match what efi_disk and efi_net do). Instead convert over to use efi_device_path helpers to construct device-paths, and use that to look up the actual boot device.
Also, extract out a helper to plug things in properly to the loaded_image. In a following patch we'll want to re-use this in efi_load_image() to handle the case of loading an image from a file_path.
Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Alexander Graf <agraf@suse.de> (cherry picked from commit 95c5553ea268144056c4bafc318b9e8b5c096a6c)
Change-Id: Iaa6a9865f2cbd15d6537d200bd86662fa4baf5a0 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
show more ...
|
| 8609b717 | 02-Dec-2019 |
Lin Jinhan <troy.lin@rock-chips.com> |
cmd: crypto: unifiy hash output variable
rk1808 is not support SHA512.
Change-Id: Ica8c1a04553e862915417c36db6362df049e002e Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com> |
| 2eb7260f | 03-Dec-2019 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: fdt: use gd->fdt_blob as default fdt address
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I16a413bcbca17842cd560367ebae6454a63354f2 |
| 27d36fbd | 20-Nov-2019 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: crypto: make foo_data[] cacheline aligned
Crypto-v1 needs flush_dcache() for SHA, this avoids the warning message "CACHE: Misaligned operation at range ...".
Change-Id: Ie766af60db83ec1f290103
cmd: crypto: make foo_data[] cacheline aligned
Crypto-v1 needs flush_dcache() for SHA, this avoids the warning message "CACHE: Misaligned operation at range ...".
Change-Id: Ie766af60db83ec1f290103c2059863fa50d0a0ad Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| f501ba44 | 29-Oct-2019 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: boot: add mode args for "reset"
- Add "reboot" command as alias of "reset"; - Support command like: reboot loader/bootloader/recovery, etc.
Change-Id: I9748664aeca052a775a3f88f7fdf9b3923941026
cmd: boot: add mode args for "reset"
- Add "reboot" command as alias of "reset"; - Support command like: reboot loader/bootloader/recovery, etc.
Change-Id: I9748664aeca052a775a3f88f7fdf9b3923941026 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| c6666740 | 24-Oct-2019 |
Joseph Chen <chenjh@rock-chips.com> |
common: android/rkimg: remove/clean android a/b (slot) code
- the partition disk layer takes over the responsibility of slot suffix appending, we remove relative code to make file clean; - put and
common: android/rkimg: remove/clean android a/b (slot) code
- the partition disk layer takes over the responsibility of slot suffix appending, we remove relative code to make file clean; - put android a/b code together and name them to be eary understood, this makes file esay to read.
Change-Id: Id8c838da682ce6098bd7192d7d7c64269f4e86ba Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| 0ed06f16 | 21-Oct-2019 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: support boot from U-disk
- The U-disk boot is only supported from U-Boot, the earlier preloader doesn't support it; - MMC1(SD) has higher priority than U-disk; - Always boot into recover
rockchip: support boot from U-disk
- The U-disk boot is only supported from U-Boot, the earlier preloader doesn't support it; - MMC1(SD) has higher priority than U-disk; - Always boot into recovery mode and deliver "usbfwupdate" to cmdline; - Usb driver may depend on clock/regulator init, so behind of them; - Suggest to add ./dts/kern.dtb file to promise the kernel dtb always to be loaded successfully even the native images are all damaged.
Change-Id: Ibbb2a061a727752277ac1b80abf362de5d94cca2 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| f988e295 | 10-Sep-2019 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: nvedit: add "env update ..." sub command
It supports to add/append/replace variable(s).
Change-Id: I1219e67e3dc778a634689516503e311d0577f35d Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 535b44c0 | 28-Aug-2019 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: rockusb: forbid to flash mmc 1(sdcard)
Change-Id: I186bfe127e6146aab1df52f8bafb20da9d1647d2 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| c9d107b5 | 09-Oct-2019 |
Lin Jinhan <troy.lin@rock-chips.com> |
dm: crypto: add TRNG test
Change-Id: Id88d07ff36d20fa19e4be969673f88384f2f658e Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com> |
| 35ca3e03 | 14-Oct-2019 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: bootrkp: fix always detect sdcard successfully
fixes:(1476830 cmd: bootrkp: clean up code)
Change-Id: I437174085875b70bd72768f900b7c64c33163822 Signed-off-by: Joseph Chen <chenjh@rock-chips.co
cmd: bootrkp: fix always detect sdcard successfully
fixes:(1476830 cmd: bootrkp: clean up code)
Change-Id: I437174085875b70bd72768f900b7c64c33163822 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| e1f97ec3 | 07-Mar-2019 |
YouMin Chen <cym@rock-chips.com> |
driver: ram: rockchip: rename sdram_common.* to sdram.*
Change-Id: Idc6edee2906297d3ab681a36dc58c79283c0eb57 Signed-off-by: YouMin Chen <cym@rock-chips.com> |
| df57b34b | 19-Sep-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
fastboot: remove 'default y' from RK_AVB_LIBAVB_ENABLE_ATH_UNLOCK
Open RK_AVB_LIBAVB_ENABLE_ATH_UNLOCK if need advanced security requirements.
Change-Id: Ie01c6342d379b672fe69e367262496d97b5890e9 S
fastboot: remove 'default y' from RK_AVB_LIBAVB_ENABLE_ATH_UNLOCK
Open RK_AVB_LIBAVB_ENABLE_ATH_UNLOCK if need advanced security requirements.
Change-Id: Ie01c6342d379b672fe69e367262496d97b5890e9 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| df3ff372 | 30-Aug-2019 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: android: round up image header size
Change-Id: I79e1b31ae2d018c0a8da030482f2ac0be44cb177 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 2b4182c1 | 21-Aug-2019 |
Jason Zhu <jason.zhu@rock-chips.com> |
cmd: rk_secure_storage: dump data which is written in OTP or efuse
Change-Id: I644add22f3aaed546d727de7727d3230ae1a6c01 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| d38ae1a6 | 19-Aug-2019 |
zain wang <wzz@rock-chips.com> |
fastboot: export CONFIG_RK_AVB_LIBAVB_ENABLE_ATH_UNLOCK
Relate to commit 46a8a26905fc ("fastboot: add RK_AVB_LIBAVB_ENABLE_ATH_UNLOCK config") Export config can help us select it easily.
Change-Id:
fastboot: export CONFIG_RK_AVB_LIBAVB_ENABLE_ATH_UNLOCK
Relate to commit 46a8a26905fc ("fastboot: add RK_AVB_LIBAVB_ENABLE_ATH_UNLOCK config") Export config can help us select it easily.
Change-Id: I43a210f1efb35ff679102c8686cbca219d2def97 Signed-off-by: zain wang <wzz@rock-chips.com>
show more ...
|
| c4d5fc63 | 06-Aug-2019 |
Jon Lin <jon.lin@rock-chips.com> |
cmd: mtd: fix compiler error
Change-Id: Idc4bcd902c02b5dbd6f5aac631f3977f257f606f Signed-off-by: Jon Lin <jon.lin@rock-chips.com> |
| b99d850c | 06-Aug-2019 |
Jon Lin <jon.lin@rock-chips.com> |
Revert "cmd: mtd: Use the subcmd infrastructure to declare mtd sub-commands"
This reverts commit 9671243e8d10defb06f2ea24fac138c87697d7fc.
Change-Id: Ie34f9feb06aa0525c9fa59d79ecf687a9a572491 Signe
Revert "cmd: mtd: Use the subcmd infrastructure to declare mtd sub-commands"
This reverts commit 9671243e8d10defb06f2ea24fac138c87697d7fc.
Change-Id: Ie34f9feb06aa0525c9fa59d79ecf687a9a572491 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| b62a0f65 | 06-Aug-2019 |
Jon Lin <jon.lin@rock-chips.com> |
Revert "cmd: mtd: fix compilation warning for help when SYS_LONGHELP=n"
This reverts commit a645831ca0962532660e4db3155a8be85e5ca312.
Change-Id: Ida32a1a893b88503cffe432705d5d02921dfab09 Signed-off
Revert "cmd: mtd: fix compilation warning for help when SYS_LONGHELP=n"
This reverts commit a645831ca0962532660e4db3155a8be85e5ca312.
Change-Id: Ida32a1a893b88503cffe432705d5d02921dfab09 Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| e7b6c6a9 | 15-Jul-2019 |
Lin Jinhan <troy.lin@rock-chips.com> |
dm: crypto: add SHA512 test
Change-Id: If7bb7bb559a9d4d5e70e1f27eabb8995c85872d9 Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com> |
| 20614742 | 15-Jul-2019 |
Lin Jinhan <troy.lin@rock-chips.com> |
cmd: Kconfig: CMD_CRYPTO select SHA512
when CMD_CRYPTO is enabled, SHA512 will be selected.
Change-Id: I2a4dfa1ed024b9a6cc39417836e45ee1309fdfa1 Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com> |
| fbf99d91 | 30-Jul-2019 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: add "download" to enter rockusb/bootrom mode
Effect order: rockusb => bootrom.
Change-Id: Ie206f565e1c79e72c173c25f6970c93c8306332f Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |