| 3e9875cd | 30-Dec-2020 |
Joseph Chen <chenjh@rock-chips.com> |
spl: fit: assume the max size of U-Boot/tee/atf is 2MB
RK3568 U-Boot is over 1MB size.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I743cf403ddfb63d9452a2d6781d99ebdd5313e9c |
| c6d7f8e4 | 28-Dec-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: ab: print a/b info in spl
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I2f1b05a6e12e53988a84b8ac876e80cd722fcaff |
| 9d8aa448 | 30-Dec-2020 |
Jianqun Xu <jay.xu@rock-chips.com> |
common: fix hex print format to %#010lx
Before this patch: Flattened Device Tree blob at 08300000 Booting using the fdt blob at 0x8300000
With this patch: Flattened Device Tree blob at 0x0
common: fix hex print format to %#010lx
Before this patch: Flattened Device Tree blob at 08300000 Booting using the fdt blob at 0x8300000
With this patch: Flattened Device Tree blob at 0x08300000 Booting using the fdt blob at 0x08300000
Change-Id: Ibd5f1cfc07791eff829512d1820eb3c8c0caa007 Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
show more ...
|
| d06e16f8 | 11-Dec-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
common: fit: fix calculate data error
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I3bea25d1d4c2d9e846146e33dbd7a5454ceca853 |
| 78263d89 | 10-Dec-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
rsa: support write public hash in spl
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I4120d0cad1cb24b45c3b281649e1eba520a11ee2 |
| ffc35703 | 25-Nov-2020 |
Yifeng Zhao <yifeng.zhao@rock-chips.com> |
spl: support boot from rknand device
Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com> Change-Id: I168ec42ec1ac4bc1e8b640fba22357cde4a26aac |
| 39b9f515 | 25-Nov-2020 |
Joseph Chen <chenjh@rock-chips.com> |
spl: fit: update U-Boot entry point by image info
Otherwise it depends on static value CONFIG_SYS_TEXT_BASE if the image node can't be found in "/fit-images".
Signed-off-by: Joseph Chen <chenjh@roc
spl: fit: update U-Boot entry point by image info
Otherwise it depends on static value CONFIG_SYS_TEXT_BASE if the image node can't be found in "/fit-images".
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I103bd3467baaefb816ab34d7a2bf37547113e431
show more ...
|
| 69a04b4f | 25-Nov-2020 |
Joseph Chen <chenjh@rock-chips.com> |
spl: atf: traverse all "/fit-images" sub nodes
Fix find sub nodes failed.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I2cb885028da9711a15f001fdd48e9d273cfd348a |
| 5d4ebb14 | 25-Nov-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: modify the spl log
Correct the log when bring up kernel with spl directly.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: Ic3204d8ddab37c3a5aac3488e209b3764e96a977 |
| 4623d13d | 24-Nov-2020 |
Weiwen Chen <cww@rock-chips.com> |
spl: Kconfig: update SPL_KERNEL_BOOT_SECTOR depend on
Signed-off-by: Weiwen Chen <cww@rock-chips.com> Change-Id: I0284e105960dd58690c779903c227c371a4611fc |
| a9e6d1e5 | 23-Nov-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: mtd_blk: redefine the mtd device name
Redefine the mtd device name according to the defination in file blk.h:
BLK_MTD_NAND 0 BLK_MTD_SPI_NAND 1 BLK_MTD_SPI_NOR 2
Signed-off-by: Jason Zhu <j
spl: mtd_blk: redefine the mtd device name
Redefine the mtd device name according to the defination in file blk.h:
BLK_MTD_NAND 0 BLK_MTD_SPI_NAND 1 BLK_MTD_SPI_NOR 2
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I75df9f0405d351c61929ff65781bfd4a26f2a1a4
show more ...
|
| cd081a97 | 20-Nov-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: rkfw: fix printing error message
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I4cfd0de01b826aaa21c7269e1b814e234670561a |
| a741b19c | 25-Aug-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: fit: map the bad block table depending on the image's size
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I6a257327fce16c8bf5ce10c8cbae0b60e044eb88 |
| 9d23fbe3 | 12-Nov-2020 |
Joseph Chen <chenjh@rock-chips.com> |
spl: fit: load kernel dtb if need
kernel FDT is for U-Boot if there is not valid one from images, ie: resource.img, boot.img or recovery.img. It is put right after U-Boot FDT.
This is used for U-di
spl: fit: load kernel dtb if need
kernel FDT is for U-Boot if there is not valid one from images, ie: resource.img, boot.img or recovery.img. It is put right after U-Boot FDT.
This is used for U-disk bing up.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I348b6ea5736f46c091284c501e7e0f9c64cd2f78
show more ...
|
| d6e082ce | 11-Nov-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: board_f: print kern.dtb address
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I8f593632676cad3758c37d5a027932bc1302f0d5 |
| 253ea6c6 | 09-Nov-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: independent on optee client
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I5c124c7bfcdfd3c2972a5310046b633324e3bdf0 |
| 713cdac3 | 09-Nov-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: allow failed to overly dtbo
Restore main fdt if it's destroyed by fdt_overlay_apply() when overlay failed.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Id26085f2df
common: android: allow failed to overly dtbo
Restore main fdt if it's destroyed by fdt_overlay_apply() when overlay failed.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Id26085f2df89d208caadeb3c4ce33f21f896ee22
show more ...
|
| a5aaa1e1 | 17-Oct-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: fdt_support: remove earlycon if uart is disabled
If uart is required to be disabled during power on, it would be not initialized by any pre-loader and U-Boot.
If we don't remove earlycon fr
common: fdt_support: remove earlycon if uart is disabled
If uart is required to be disabled during power on, it would be not initialized by any pre-loader and U-Boot.
If we don't remove earlycon from commandline, kernel hangs while using earlycon to putc/getc which may dead loop for waiting uart status. (It seems the root cause is baundrate is not initilalized)
So let's remove earlycon from commandline.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I2edcf48cb4dd301f2e79d5e94b1477c55198708f
show more ...
|
| 034db995 | 27-Sep-2020 |
Joseph Chen <chenjh@rock-chips.com> |
dm: serial: support always use uart debug mode
In this mode, uart debug is initialized depends on configuration from pre-loader or CONFIG_UART_DEBUG_.
The serial is not care about dts "stdout-path"
dm: serial: support always use uart debug mode
In this mode, uart debug is initialized depends on configuration from pre-loader or CONFIG_UART_DEBUG_.
The serial is not care about dts "stdout-path" and not register into console framework any more. It's nice to use pre-loader serial and make serial easy to configure.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: If4c68229d76b6f1710a35e3ef9a2a91cb306fa9c
show more ...
|
| 912fa075 | 25-Oct-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: board_f.c: add fpga init call
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I5fb507094207b14ad64cf3dee646aaac177bf43d |
| cc0848df | 30-Oct-2020 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: simplify image verify/un-verify
Support hash verify if header version < 3.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I2ade1a50aa26cd94c4464c25c86836421d973f00 |
| 651b0d0d | 30-Oct-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
common: android: move crypto_sha_init() after load IMG_RK_DTB
We call crypto to verify dtb alone, so move the crypto_sha_init() after load IMG_RK_DTB when begin another hash verification.
Signed-of
common: android: move crypto_sha_init() after load IMG_RK_DTB
We call crypto to verify dtb alone, so move the crypto_sha_init() after load IMG_RK_DTB when begin another hash verification.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I12f36172a5d03fa8baa0236503be5627fa18adf0
show more ...
|
| 1817f8c2 | 30-Oct-2020 |
Lin Jinhan <troy.lin@rock-chips.com> |
common: android: crypto v2 hash need length in crypto_sha_init
if not set ctx.length, you will get zero length hash value.
Change-Id: I9e653c845a36b4caea986c328c48ea8b2835da75 Signed-off-by: Lin Ji
common: android: crypto v2 hash need length in crypto_sha_init
if not set ctx.length, you will get zero length hash value.
Change-Id: I9e653c845a36b4caea986c328c48ea8b2835da75 Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com>
show more ...
|
| beeaf83f | 08-Sep-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
common: android: support AVB_SLOT_VERIFY_FLAGS_NO_VBMETA_PARTITION
Usually, the recovery is updated alone, so attach the vbmeta to its tail. Pass AVB_SLOT_VERIFY_FLAGS_NO_VBMETA_PARTITION to verify
common: android: support AVB_SLOT_VERIFY_FLAGS_NO_VBMETA_PARTITION
Usually, the recovery is updated alone, so attach the vbmeta to its tail. Pass AVB_SLOT_VERIFY_FLAGS_NO_VBMETA_PARTITION to verify the recovery.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: Iaea6c8cd06f02ce946a84f8f568a7b91ef6dd40a Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
show more ...
|
| 516562c2 | 23-Oct-2020 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: mtd_blk: support get image sector address by part info
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I85d5433ce165a8b027e485c694315c492467c6d9 |