| 3f656054 | 14-Apr-2022 |
Joseph Chen <chenjh@rock-chips.com> |
Revert "common: board_r: inactive jumptable_init() if CONFIG_ROCKCHIP_IMAGE_TINY=y"
This reverts commit 470a5dbfaa078cd0e9d44e072d9bc7872912cd81.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Revert "common: board_r: inactive jumptable_init() if CONFIG_ROCKCHIP_IMAGE_TINY=y"
This reverts commit 470a5dbfaa078cd0e9d44e072d9bc7872912cd81.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I805fa9788dc97fcbba63bb147f61c1ed84a293c5
show more ...
|
| b51aa429 | 30-Mar-2022 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: fit: support bring up kernel without optee
If the uboot.img do not have tee.bin, it will load uboot.bin instead. But if the process is to bring up kernel in spl, the uboot.bin is no needed to l
spl: fit: support bring up kernel without optee
If the uboot.img do not have tee.bin, it will load uboot.bin instead. But if the process is to bring up kernel in spl, the uboot.bin is no needed to load.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I50b2c706411c293735727669be72dcdae96a6c7c
show more ...
|
| e12b5efd | 28-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
env: envf: refactor code to read env partition table directly
The partition table list should not depend on other procedure, eg. pre-init or env variables, etc. Otherwise:
- The "part list mmc 1" i
env: envf: refactor code to read env partition table directly
The partition table list should not depend on other procedure, eg. pre-init or env variables, etc. Otherwise:
- The "part list mmc 1" is wrong which uses part list from mmc 0; - SPL may use sdmmc part list but not eMMC when try boot. - Maybe ...
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I311a42a5c2122dcc5fad76ad2ff7b951543b46f9
show more ...
|
| c2b76562 | 29-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
rsa/sig: Compile rsa_burn_key_hash() in SPL only
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ibe2c198432e75e5aec46f3784a78b215ad46af2f |
| 88d57c08 | 26-Mar-2022 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: support bring up kernel with macro CONFIG_SPL_KERNEL_BOOT
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: Icdf16172a197d04627c1cb396cc5feb3723e0dbf |
| 4beae52d | 22-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
spl: cleanup before jump to U-Boot
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I32cc543bc65a3d1a5e889b9baf75b1ea6bbb0149 |
| 1bb4e9ba | 15-Sep-2019 |
Marek Vasut <marek.vasut+renesas@gmail.com> |
UPSTREAM: usb: storage: Limit transfer size to 120 kiB
Due to constant influx of more and more weird and broken USB sticks, do as Linux does in commit 779b457f66e10de3471479373463b27fd308dc85
u
UPSTREAM: usb: storage: Limit transfer size to 120 kiB
Due to constant influx of more and more weird and broken USB sticks, do as Linux does in commit 779b457f66e10de3471479373463b27fd308dc85
usb: storage: scsiglue: further describe our 240 sector limit
Just so we have some sort of documentation as to why we limit our Mass Storage transfers to 240 sectors, let's update the comment to make clearer that devices were found that would choke with larger transfers.
While at that, also make sure to clarify that other operating systems have similar, albeit different, limits on mass storage transfers.
And reduce the maximum transfer length of USB storage to 120 kiB.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Simon Glass <sjg@chromium.org> Signed-off-by: William Wu <william.wu@rock-chips.com> Change-Id: Iaed3a4aee789969ce32bfb53b4f286de0b071e58 (cherry picked from commit 7d6fd7f0ba71cd93d94079132f958d9630f27a89)
show more ...
|
| 470a5dbf | 18-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
common: board_r: inactive jumptable_init() if CONFIG_ROCKCHIP_IMAGE_TINY=y
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I605b9845f5d1776ca689692c4c71df0f941905e1 |
| 29981b4f | 08-Mar-2022 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: fit: add spl_fit_tb_arm64.S
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I7ccb99c84a306d92f1547fbf24ce840a93ab0d99 |
| 205951f5 | 08-Mar-2022 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: fit: rename the spl_fit_tb_arm_v7.S
Rename the spl_fit_tb_arm_v7.S as spl_fit_tb_arm32.S
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I5d870cee08476127bfae4ab47e2e2f538e708ebb |
| 3bf65388 | 08-Mar-2022 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: atf: pass fdt info to atf through spl_image->fdt_addr
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I9a980a4bda95f1b0e3b5171c52b33adcfdf5bb65 |
| 6b5bcb2e | 04-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
spl: spl_decomp: Add arch_cpu_init()
Mainly to init secure.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ibc023f494ddf2f1c07cf3087109f549f29913587 |
| fcc1058f | 02-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
spl: spl_decomp: optmise code
Get decompressed image size from the end of *.lzma file.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I53c3d6b69d6a90007ec7ea0a03873c39415b5cea |
| dced238b | 01-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
common: image-fit: Add control for fit image print
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I2bab824cd3ddacf925992c55dc135f5bcee55be2 |
| 02e7eea8 | 28-Feb-2022 |
Joseph Chen <chenjh@rock-chips.com> |
common: malloc: use more clearly error message
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ia8330cf31e06dbce1b60ad209e1b11f756ee4c0c |
| 53138e05 | 14-Feb-2022 |
Joseph Chen <chenjh@rock-chips.com> |
common: spl: Add decompress header support
Image: SPL = spl decomp header + U-Boot proper(lzma)
Bootflow: Maskrom => ddr => spl decomp header => U-Boot proper => kernel
Tested on RV1126 `grep
common: spl: Add decompress header support
Image: SPL = spl decomp header + U-Boot proper(lzma)
Bootflow: Maskrom => ddr => spl decomp header => U-Boot proper => kernel
Tested on RV1126 `grep ^CONFIG_SPL_ .config`: CONFIG_SPL_SYS_THUMB_BUILD=y CONFIG_SPL_USE_ARCH_MEMCPY=y CONFIG_SPL_USE_ARCH_MEMSET=y CONFIG_SPL_LDSCRIPT="arch/$(ARCH)/cpu/u-boot-spl.lds" CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_SPL_FIT_GENERATOR="" CONFIG_SPL_SYS_MALLOC_F_LEN=0x300000 CONFIG_SPL_FIT_SOURCE="" CONFIG_SPL_FIT_IMAGE_KB=2048 CONFIG_SPL_FIT_IMAGE_MULTIPLE=2 CONFIG_SPL_LOGLEVEL=4 CONFIG_SPL_DECOMP_HEADER=y CONFIG_SPL_BOARD_INIT=y CONFIG_SPL_SYS_MALLOC_SIMPLE=y CONFIG_SPL_SKIP_RELOCATE=y CONFIG_SPL_OF_CONTROL=y CONFIG_SPL_DM=y CONFIG_SPL_TINY_MEMSET=y CONFIG_SPL_LZMA=y
Change-Id: If29b11c4c871fefc424e0b7b4ef9ad3cbe0e979a Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| 7a38549f | 08-Feb-2022 |
Joseph Chen <chenjh@rock-chips.com> |
env: envf: optimise/update
- Rename "bootargs_envf" to "sys_bootargs" - Use CONFIG_ENV_OFFSET to find ENVF data - Hashtable: don't remove variables which were not considered - Split envf and nowhere
env: envf: optimise/update
- Rename "bootargs_envf" to "sys_bootargs" - Use CONFIG_ENV_OFFSET to find ENVF data - Hashtable: don't remove variables which were not considered - Split envf and nowhere - Add SPL support - Init partition table before any partition query.
Important: Must call part_init() to reinit system partition tables after mtdparts/blkdevparts parsed.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I89623b2067108040eca1ee0f5e6f7519ebc3c42a
show more ...
|
| 83f9654d | 21-Jan-2022 |
Joseph Chen <chenjh@rock-chips.com> |
common: board_f: move arch_fpga_init() in board_init_f_boot_flags()
Without this, GD_FLG_DISABLE_CONSOLE was set.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I193da99b3b328c701c24
common: board_f: move arch_fpga_init() in board_init_f_boot_flags()
Without this, GD_FLG_DISABLE_CONSOLE was set.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I193da99b3b328c701c241ee2efa94ae25fabfa04
show more ...
|
| 9732565d | 15-Feb-2022 |
Joseph Chen <chenjh@rock-chips.com> |
spl: enable U-Boot jump message
This is friendly for us to know what SPL does.
RV1126 boot message:
U-Boot SPL 2017.09-g4f0c5b5663-220210-dirty #cjh (Feb 15 2022 - 02:10:33) ...... ## Verifi
spl: enable U-Boot jump message
This is friendly for us to know what SPL does.
RV1126 boot message:
U-Boot SPL 2017.09-g4f0c5b5663-220210-dirty #cjh (Feb 15 2022 - 02:10:33) ...... ## Verified-boot: 0 ## Checking uboot 0x00600000 ... sha256(3d716084f7...) + OK ## Checking fdt 0x006ba8e0 ... sha256(80f00e7967...) + OK Jumping to U-Boot(0x00600000)
U-Boot 2017.09-g4f0c5b5663-220210-dirty #cjh (Feb 15 2022 - 02:11:31 +0000)
Model: Rockchip RV1126 Evaluation Board PreSerial: 2, raw, 0xff570000 ......
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I27f97924a22563b872a47bafffbf2fc9c749c9db
show more ...
|
| 3e344c46 | 11-Feb-2022 |
Jason Zhu <jason.zhu@rock-chips.com> |
common: android: add ANDROID_AVB_ROLLBACK_INDEX
Add ANDROID_AVB_ROLLBACK_INDEX to support the android verified boot rollback index.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I3
common: android: add ANDROID_AVB_ROLLBACK_INDEX
Add ANDROID_AVB_ROLLBACK_INDEX to support the android verified boot rollback index.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I324fc251e4680fed48672bcec15a59a74f529e62
show more ...
|
| 916434d9 | 22-Jan-2022 |
Algea Cao <algea.cao@rock-chips.com> |
edid: Support hdmi2.1
Signed-off-by: Algea Cao <algea.cao@rock-chips.com> Change-Id: I1e40cfa01b7ffab32f1a1f8adcec8355eba01686 |
| eebee7ab | 12-Jan-2022 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: fix error: "ANDROID_ARG_FDT_FILENAME" redefined
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I703e45aecdfc5da1b1d7d0dfba8fbdd68652d074 |
| a786ab7a | 14-Dec-2021 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: mmc: extern spl_mmc_find_device()
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: I27dc7a5332c10f637325d8d7225e79a7018cec7d |
| 2ba7d841 | 14-Dec-2021 |
Jason Zhu <jason.zhu@rock-chips.com> |
spl: add spl_board_storages_fixup()
This function may be used to fix storages problem, like iomux.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: Ia4d7cd3374ec1f97f052b7359c7e6f616e
spl: add spl_board_storages_fixup()
This function may be used to fix storages problem, like iomux.
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com> Change-Id: Ia4d7cd3374ec1f97f052b7359c7e6f616e986c99
show more ...
|
| 0c546838 | 10-Dec-2021 |
Joseph Chen <chenjh@rock-chips.com> |
common: android: support soft sha1 verify for image
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ib61924b8f5c4e55320a370c7f7ed9a95a9588627 |