| 5353f2a9 | 30-Mar-2018 |
jason.zhu <jason.zhu@rock-chips.com> |
android: fix memory overflow
In the function android_assemble_cmdline, the allocated_suffix size must be strlen(ANDROID_ARG_SLOT_SUFFIX) + strlen(slot_suffix) +1. If not, the later strcpy and strcat
android: fix memory overflow
In the function android_assemble_cmdline, the allocated_suffix size must be strlen(ANDROID_ARG_SLOT_SUFFIX) + strlen(slot_suffix) +1. If not, the later strcpy and strcat operation will be out of bounds.
Change-Id: Ib0ed73ebc2f076c8dc8afac168c7aaeccfddfa67 Signed-off-by: jason.zhu <jason.zhu@rock-chips.com>
show more ...
|
| 30129f2f | 30-Jan-2018 |
David Wu <david.wu@rock-chips.com> |
config: Add CONFIG_TINY_TPL to disable SPL framework at TPL
Some devices cann't use SPL framework at TPL stage, but the CONFIG_SPL_FRAMEWORK is still defined at TPL stage, so need to separate them w
config: Add CONFIG_TINY_TPL to disable SPL framework at TPL
Some devices cann't use SPL framework at TPL stage, but the CONFIG_SPL_FRAMEWORK is still defined at TPL stage, so need to separate them with CONFIG_TINY_TPL.
If the SPL framewrok was used both at TPL and SPL stage, CONFIG_TINY_TPL is not defined. If the SPL framewrok was used at SPL stage, but not use at TPL, need to define CONFIG_TINY_TPL.
Change-Id: Iabb7e0377ee00311ca468cb8ff7544c96bd999d6 Signed-off-by: David Wu <david.wu@rock-chips.com>
show more ...
|
| f2d1698c | 26-Mar-2018 |
Joseph Chen <chenjh@rock-chips.com> |
autoboot: only allow ctrl+c to abort bootcmd
It works only for rockchip platforms.
Change-Id: I67e7d9ab625b7667ec411347249582ed9537686c Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| 849faaa0 | 01-Mar-2018 |
Andy Yan <andy.yan@rock-chips.com> |
common: boot_rkimg: avoid to access NULL address when failed to get bootdev type from env
The NULL address maybe point to a security region on rockchip armv8 platform, which can't be accessed from u
common: boot_rkimg: avoid to access NULL address when failed to get bootdev type from env
The NULL address maybe point to a security region on rockchip armv8 platform, which can't be accessed from u-boot(normal world). So before we access devtype by strcmp, set devtype to mmc if we failed to get it from env.
Change-Id: Iceae3d1b89abd78fe59a3b57938254e55fa3894f Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
show more ...
|
| 91c73fb4 | 19-Mar-2018 |
qiujian <qiujian@rock-chips.com> |
lib: optee_client:Support attestation
Add methods to read attestation key from the misc partition of last 64K, store key and certificate chain data in secure storage.
When CONFIG_OPTEE_CLIENT is
lib: optee_client:Support attestation
Add methods to read attestation key from the misc partition of last 64K, store key and certificate chain data in secure storage.
When CONFIG_OPTEE_CLIENT is defined, uboot support load attestation data.
Change-Id: I8f3bd7096a7856de9e58d294822a818d5fe380ba Signed-off-by: qiujian <qiujian@rock-chips.com>
show more ...
|
| 2301a6f5 | 25-Feb-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
rockchip: resrouce_img: support a/b
If apply the a/b system, open the macro CONFIG_ANDROID_AB. Then get the dtb from the boot '_a' or '_b' image.
Change-Id: I21ad9d5a5e6e63e26bc16b1aeeb2e690c669a53
rockchip: resrouce_img: support a/b
If apply the a/b system, open the macro CONFIG_ANDROID_AB. Then get the dtb from the boot '_a' or '_b' image.
Change-Id: I21ad9d5a5e6e63e26bc16b1aeeb2e690c669a535 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| 2e3f2770 | 05-Mar-2018 |
Joseph Chen <chenjh@rock-chips.com> |
board_f: print relocation offset
actually that relocation takes some troubls for our debug, print relocation offset can help a lot.
Change-Id: Ib15d6111930fda8e8cdfab505d977aaf1da934b2 Signed-off-b
board_f: print relocation offset
actually that relocation takes some troubls for our debug, print relocation offset can help a lot.
Change-Id: Ib15d6111930fda8e8cdfab505d977aaf1da934b2 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| 64e1e04c | 27-Feb-2018 |
Kever Yang <kever.yang@rock-chips.com> |
fastboot: support rknand device
Use rockchip_get_bootdev() to get dev_desc.
Change-Id: I127d5418f65db42d93930283348bb4072447012f Signed-off-by: Kever Yang <kever.yang@rock-chips.com> |
| 3c3675dd | 24-Feb-2018 |
Joseph Chen <chenjh@rock-chips.com> |
rockchip: recoganize boot devtype dynamicly
currently support: emmc and rknand.
Change-Id: I8b0e2623256ed3357de2acbee0d2455162228ab5 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| eb2a5055 | 22-Feb-2018 |
Kever Yang <kever.yang@rock-chips.com> |
rockchip: boot_rkimg: do not read dtb again if we have do it
We may read the dtb file before bootrkp command, we can use it directly.
Change-Id: Iff6dcd037d9d3637f1be81f458140189c13b1977 Signed-off
rockchip: boot_rkimg: do not read dtb again if we have do it
We may read the dtb file before bootrkp command, we can use it directly.
Change-Id: Iff6dcd037d9d3637f1be81f458140189c13b1977 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| 3a39dbf8 | 22-Feb-2018 |
Kever Yang <kever.yang@rock-chips.com> |
fdt_support: add fdt_update_reserved_memory()
Add API for rockchip pass uboot logo memory info to kernel.
Change-Id: Ib3bfadc381efae21359a43654493e8e0f4e67dd0 Signed-off-by: Kever Yang <kever.yang@
fdt_support: add fdt_update_reserved_memory()
Add API for rockchip pass uboot logo memory info to kernel.
Change-Id: Ib3bfadc381efae21359a43654493e8e0f4e67dd0 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| 09e52837 | 11-Feb-2018 |
Yu YongZhen <yuyz@rock-chips.com> |
common: boot_rkimg: go on the boot flow even no ramdisk found
in some case, we need persistent file system in NOR or NAND, such as squashfs, we need to boot system in flash.
Change-Id: I46e4ae3e43f
common: boot_rkimg: go on the boot flow even no ramdisk found
in some case, we need persistent file system in NOR or NAND, such as squashfs, we need to boot system in flash.
Change-Id: I46e4ae3e43f96f77f1ca6b4df8424fce19866226 Signed-off-by: Yu YongZhen <yuyz@rock-chips.com>
show more ...
|
| e4feb814 | 11-Feb-2018 |
Kever Yang <kever.yang@rock-chips.com> |
rockchip: android: fix compile warning
Change-Id: Ic89e97a852999a9ec929942b1b612f13cc43f57f Signed-off-by: Kever Yang <kever.yang@rock-chips.com> |
| e8759792 | 10-Feb-2018 |
Joseph Chen <chenjh@rock-chips.com> |
image-fdt: print reserved-memory node name
Change-Id: Ib7d4d7d4ae8355877b45eccc93deb03298f1e138 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| b666ac05 | 29-Jan-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
android: support android verified boot(AVB)
Define CONFIG_ANDROID_AVB to open avb.
Change-Id: Iae0306391e403b25aa454205dd5a70a578752aba Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| 8f254cea | 26-Jan-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
android: change enter recovery and a/b mode
Choose which partition to enter recovery and a/b depend on CONFIG_ANDROID_AB.
Change-Id: I10d03f1c592702f857e6224566deea3a4d607788 Signed-off-by: Jason Z
android: change enter recovery and a/b mode
Choose which partition to enter recovery and a/b depend on CONFIG_ANDROID_AB.
Change-Id: I10d03f1c592702f857e6224566deea3a4d607788 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| 37a7bc39 | 26-Jan-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
lib: avb: update and modify the avb library
The commit point is updated to google external/avb/ which commit point is cf8c56208d2d9643804a7f123b196c7ebc9af276.
Change-Id: I5a10a8a45d3e9e2c9d20d9b3d
lib: avb: update and modify the avb library
The commit point is updated to google external/avb/ which commit point is cf8c56208d2d9643804a7f123b196c7ebc9af276.
Change-Id: I5a10a8a45d3e9e2c9d20d9b3d44946073c9a49ff Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| fac2f040 | 10-Feb-2018 |
Kever Yang <kever.yang@rock-chips.com> |
common: board_r: init env before board_init()
We need to get and update env if we need to read kernel dtb in board_init(). Note that the env is NOWHERE now, or else we need to init emmc first if ENV
common: board_r: init env before board_init()
We need to get and update env if we need to read kernel dtb in board_init(). Note that the env is NOWHERE now, or else we need to init emmc first if ENV_IS_IN_MMC.
Change-Id: I22685fea77315811f3ff2bac7fb29d3b9206be34 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| c0ae4ef9 | 08-Feb-2018 |
Kever Yang <kever.yang@rock-chips.com> |
rockchip: rkimg: fix compile warning
Change-Id: I8988761a6504d9e7bfca3a6702266b8b69631984 Signed-off-by: Kever Yang <kever.yang@rock-chips.com> |
| d2e8ba4e | 07-Feb-2018 |
Kever Yang <kever.yang@rock-chips.com> |
Revert "rockchip: add support to load and use kernel dtb"
This reverts commit af586a3812f626a0f7ff0aded53414ac6c08b15c.
Change-Id: Ie1f8012b89ac810e3bc6219459127bc9ee88c674 Signed-off-by: Kever Yan
Revert "rockchip: add support to load and use kernel dtb"
This reverts commit af586a3812f626a0f7ff0aded53414ac6c08b15c.
Change-Id: Ie1f8012b89ac810e3bc6219459127bc9ee88c674 Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
show more ...
|
| ca5e018d | 06-Feb-2018 |
Joseph Chen <chenjh@rock-chips.com> |
common: fdt_support: add bootargs debug output
Change-Id: I06636c498b015774968b3c52ce53f54637fa8525 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |
| f52e474f | 26-Jan-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
android: support slot suffix
If the device support the AB system, must add the slot suffix to partition.
Change-Id: Ibac54109dd937e22a76e6fa68e9fdd1c0be48cc1 Signed-off-by: Jason Zhu <jason.zhu@roc
android: support slot suffix
If the device support the AB system, must add the slot suffix to partition.
Change-Id: Ibac54109dd937e22a76e6fa68e9fdd1c0be48cc1 Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
show more ...
|
| 31435dfd | 31-Jan-2018 |
Joseph Chen <chenjh@rock-chips.com> |
common: fdt_support: clean up bootargs combine
1. use env_update() to combine bootargs which avoid variable repeat; 2. use env_delete() to delete legacy property: "initrd=0x...,0x,,,".
Change-Id: I
common: fdt_support: clean up bootargs combine
1. use env_update() to combine bootargs which avoid variable repeat; 2. use env_delete() to delete legacy property: "initrd=0x...,0x,,,".
Change-Id: I5fd444a789df3f2ef9e527b9287e5173749cbb87 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| 6e806ac8 | 26-Jan-2018 |
Jason Zhu <jason.zhu@rock-chips.com> |
android: fix rockchip_get_resource_file compile warning
Change-Id: Ie510718333ef379f733ee50fed40058225281a7e Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> |
| bb982792 | 27-Jan-2018 |
Joseph Chen <chenjh@rock-chips.com> |
bootm: reserve memory when BOOTM_STATE_RAMDISK enabled
Change-Id: I2ba6dc7484de12aa7de28c9a8d6125b046029947 Signed-off-by: Joseph Chen <chenjh@rock-chips.com> |