| 745aeb1a | 09-Sep-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: add boot_img_hdr_v3 and vendor boot support
Android Header v3 and vendor boot partition are introduced from Android-11(R).
Header populate: Header v3 is no longer compatible with
common: android: add boot_img_hdr_v3 and vendor boot support
Android Header v3 and vendor boot partition are introduced from Android-11(R).
Header populate: Header v3 is no longer compatible with v0/1/2 header, we add populate_andr_img_hdr() to merge boot and vendor_boot partition header into struct andr_img_hdr in order to compatible with v0/1/2 header.
resource.img: The second_addr and second_size fields are removed in v3, so we require resource partition to restore resource.img.
A/B system: If not A/B system, the boot.img header version is 3 and recovery header is version 2.
AVB load image: - If allow verification error: the image is loaded by ops->get_preloaded_partition() which auto populates boot_img_hdr_v3. - If not allow verification error: the image is full loaded by ops->read_from_partition() which doesn't populate boot_img_hdr_v3, we need to fix it.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I2afce53c43d782fc57baa01acf9c05518b580840
show more ...
|
| 177c8736 | 04-Sep-2020 |
Jon Lin <jon.lin@rock-chips.com> |
cmd: rockusb: Add block continue write flag
1.It's good for Nand devices P/E align 2.But actually 0x200 sector(USB limit) is aligned with Nand flash block size
Change-Id: I69510161c32e15ee739c99d36
cmd: rockusb: Add block continue write flag
1.It's good for Nand devices P/E align 2.But actually 0x200 sector(USB limit) is aligned with Nand flash block size
Change-Id: I69510161c32e15ee739c99d36f0294d59df554dd Signed-off-by: Jon Lin <jon.lin@rock-chips.com>
show more ...
|
| cd694b63 | 21-Jul-2020 |
Lin Jinhan <troy.lin@rock-chips.com> |
cmd: crypto: drop RSA test when rsa driver not compiled
Change-Id: Iad42b1f35e3029a97158a1b16e7ca86f3c6e4b5f Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com> |
| b704ab33 | 16-Jun-2020 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: add "always" attribute for some commands
They are basic commands even in critical cost down version
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I0ad56056133226c25cbcfb70e54d5
cmd: add "always" attribute for some commands
They are basic commands even in critical cost down version
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I0ad56056133226c25cbcfb70e54d519eb7582341
show more ...
|
| 8a2d844d | 03-Jun-2019 |
Alex Marginean <alexm.osslist@gmail.com> |
UPSTREAM: net: introduce MDIO DM class for MDIO devices
Adds UCLASS_MDIO DM class supporting MDIO buses that are probed as stand-alone devices. Useful in particular for systems that support DM_ETH
UPSTREAM: net: introduce MDIO DM class for MDIO devices
Adds UCLASS_MDIO DM class supporting MDIO buses that are probed as stand-alone devices. Useful in particular for systems that support DM_ETH and have a stand-alone MDIO hardware block shared by multiple Ethernet interfaces.
Signed-off-by: Alex Marginean <alexm.osslist@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: David Wu <david.wu@rock-chips.com> Change-Id: I8e106f4360aa46289e0ed551f8f685cad9dc6269
show more ...
|
| 11a331d2 | 28-May-2020 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: source: update terminal value
According to commit: (40d08d0 tools: mkimage: support pack empty file for multi image)
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ie370e9137b74
cmd: source: update terminal value
According to commit: (40d08d0 tools: mkimage: support pack empty file for multi image)
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ie370e9137b7441bd75582c95b3f60d76d8945629
show more ...
|
| f6aff21f | 19-May-2020 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: rockusb: import U_BOOT_CMD_ALWAYS
rockusb command is required for usbplug feature in the furture.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I9998ba07e2f7faddae6a830987bea2d
cmd: rockusb: import U_BOOT_CMD_ALWAYS
rockusb command is required for usbplug feature in the furture.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I9998ba07e2f7faddae6a830987bea2d6018f431a
show more ...
|
| 3d8049ad | 15-May-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: add U_BOOT_CMD_ALWAYS() support
This function is used to support some special U-Boot commands with U_BOOT_CMD_ALWAYS() declared even when CONFIG_CMDLINE is disabled.
It's used when develope
common: add U_BOOT_CMD_ALWAYS() support
This function is used to support some special U-Boot commands with U_BOOT_CMD_ALWAYS() declared even when CONFIG_CMDLINE is disabled.
It's used when developers requires a critial u-boot.bin by disabling the U_BOOT_CMD() and using a simple CLI instead.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I768637592a4d85c7fea00564e96fb80f21ab65fe
show more ...
|
| a1daefc8 | 13-May-2020 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: fit: refactor code
- update coding style; - verify dtb or resource signature before use.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Iff763d5ab9e9f3b5e4ef5cc59065cd1ad78
rockchip: fit: refactor code
- update coding style; - verify dtb or resource signature before use.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Iff763d5ab9e9f3b5e4ef5cc59065cd1ad782fcf0
show more ...
|
| 90b678f6 | 17-Apr-2020 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: charge: clean code
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ief810522d1bd55eccce6d096d3a945fac61fa00a |
| ade0ea07 | 26-Dec-2017 |
Rick Chen <rick@andestech.com> |
UPSTREAM: riscv: Modify generic codes to support RISC-V
Support common commands bdinfo and image format, also modify common generic flow for RISC-V.
Signed-off-by: Rick Chen <rick@andestech.com> Si
UPSTREAM: riscv: Modify generic codes to support RISC-V
Support common commands bdinfo and image format, also modify common generic flow for RISC-V.
Signed-off-by: Rick Chen <rick@andestech.com> Signed-off-by: Rick Chen <rickchen36@gmail.com> Signed-off-by: Greentime Hu <green.hu@gmail.com> Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Reviewed-by: Tom Rini <trini@konsulko.com> Change-Id: Id58d17cd58433fdadc8ce7ee78d72035f84adb53 (cherry picked from commit 068feb9b86d991283c43b56e36094f4e6f484d04)
show more ...
|
| 36c66887 | 10-Apr-2020 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: bootuimage: update return code
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I9bd10b448b409fe9e74c7b4c56f5ec7ec3cd4a85 |
| b72261dd | 10-Apr-2020 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: bootfit: update return code
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Icaa55c9a7be873d413e91d742bbedecb707447a1 |
| 80ca1a53 | 20-Jan-2020 |
Lin Jinhan <troy.lin@rock-chips.com> |
cmd: crypto: add hash performance evaluate
Change-Id: I493ff0bf3a08e24f427b89d21ea7e6e8731f2e9f Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com> |
| bfbe8759 | 28-Mar-2020 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: bootuimage: return -1 as error code
support autoboot to traverse all bootcmd list.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I03f10a5982c4a9bb0eee429f756dd19c027c3371 |
| e2c45c31 | 28-Mar-2020 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: bootfit: return -1 as error code
support autoboot to traverse all bootcmd list.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ibb35c20fb9ffcf58130aaeaea072c2dd6bc46256 |
| a86a723e | 26-Mar-2020 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: uimage: fix alloc and free ramdisk sysmem
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I84d965caff7c0d733792bcf2387d751808991c0d |
| 909b9728 | 14-Jan-2020 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: net: support tftp/tftpbootm/tftpflash commands
- tftp: download image. - tftpbootm: download and bootm the aosp/uImage/FIT Image. - tftpflash: download and flash the Image to partition.
rename
cmd: net: support tftp/tftpbootm/tftpflash commands
- tftp: download image. - tftpbootm: download and bootm the aosp/uImage/FIT Image. - tftpflash: download and flash the Image to partition.
rename "tftpboot" to "tftp" since there are so many tftpxxx commands, the "tftp" cmd can't be recoganize as "tftpboot" by CLI shell.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I0128cd41a8fc9105016ae0417241348eb4a6f637
show more ...
|
| a4696473 | 07-Feb-2020 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: bootrkp: simplify fdt/ramdisk skip reloc
bootm_board_start() takes over it.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ie1df21ee3ff929a5fa7163216d90315277f6cfd5 |
| e39c2b5d | 07-Feb-2020 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: add "boot_uimage" command for legacy uImage
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ie7b55ff4f63957312895c0f57fd405d3389f2ad7 |
| 72c88b4a | 15-Jan-2020 |
Joseph Chen <chenjh@rock-chips.com> |
cmd: add "boot_fit" command for FIT image
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I09f936cf5cefb0b9f2334a6590b5dfb4d85151a3 |
| 998aeb5f | 11-Jan-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: bootm: add board_do_bootm()
There maybe some board routine before do_bootm_states(). The board can override this __weak function.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-I
common: bootm: add board_do_bootm()
There maybe some board routine before do_bootm_states(). The board can override this __weak function.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Iab6a6742a02dae681e4d3221dc7cfffd2c3df98c
show more ...
|
| c01d4489 | 07-Feb-2020 |
Joseph Chen <chenjh@rock-chips.com> |
sysmem: simplify the memblk name
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Icfe908ade21d1d8f568db796298f67ba9f013da6 |
| 408bf4b9 | 13-Jan-2020 |
Joseph Chen <chenjh@rock-chips.com> |
cmd_source: fix compile error
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I4c532326f70bcda71543f6768d3ca136bb7c7d0b |
| 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 |