| b6932704 | 13-Oct-2022 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: Add avbtool.py
Usage: ./avbtool.py info_image --image vbmeta.img
Sync from google avb: (ee8fcfb Update Pixel BT key name.)
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I0
scripts: Add avbtool.py
Usage: ./avbtool.py info_image --image vbmeta.img
Sync from google avb: (ee8fcfb Update Pixel BT key name.)
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I016bca318e1122175fa30dc4328fc3d48100b01a
show more ...
|
| c1d8ae9b | 02-Apr-2022 |
Chris Zhong <zyw@rock-chips.com> |
scripts: fit-repack: increase offset to 0x1000
Signed-off-by: Chris Zhong <zyw@rock-chips.com> Change-Id: I62d8d94b077d2f62120567a0cd8165e951810578 |
| 1ebfa2d7 | 06-Apr-2022 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: fit-core.sh: Don't support boot/recovery.img rollback index
Don't support that without OP-TEE.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I9d03a4983f8bb93c0eb5c8a60e36fb
scripts: fit-core.sh: Don't support boot/recovery.img rollback index
Don't support that without OP-TEE.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I9d03a4983f8bb93c0eb5c8a60e36fb8271d46c96
show more ...
|
| 46eb17a8 | 02-Apr-2022 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: compress.sh: fix typo
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I0ae25cf48a20049cf1ed799aae88e97a96309879 |
| 116fd7c0 | 02-Apr-2022 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: Add mkenv.sh to generate env image
Example: ./scripts/mkenv.sh env.txt env.img 32k
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I5dbf6701e83eee773a99eda7571aadc8ae17f1e7 |
| 5d6c9d4c | 01-Apr-2022 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: renamed lzma.sh -> compress.sh to support more compression
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I1d01f34afc0dc03c5a0c6202253b9c5465dc9569 |
| a08b0b01 | 29-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: fit: fix typo
It was inactived by mistake.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I2ece43df3efe5773cb7b96267b3c92f578ec4b47 |
| 5a46c4f4 | 18-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: decomp.sh: Support sign image
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I4bbae60fb6863805bd6d7bc6c4d547fe0328abdb |
| 1e9dc3b8 | 18-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: fit.sh: separate core function to fit-core.sh
In order to be shared with other script.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I25052dde494750d444ecc25880e301f376e0f1
scripts: fit.sh: separate core function to fit-core.sh
In order to be shared with other script.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I25052dde494750d444ecc25880e301f376e0f172
show more ...
|
| 75c994bd | 17-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: lzma.sh: remove output message
It will called by make fit script.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I6c5fd6813d224d376247f738166bc9bbacabbe77 |
| 8ccb7b33 | 16-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: Add lzma.sh
Usage: ./lzma.sh <file>
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I5e4b8f1fcb49f1c4d2a9ef8b62ecc45a2d21b378 |
| 3b51da7c | 02-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: decomp.sh: refactor image pack
The decompressed file size is appended to *.lzma file.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I4a851c7c05a5781026bc3c217e96d1740368c5a8 |
| 7e94e08e | 01-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
make/fit.sh: Add file suffix for match pattern
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I8aec87ee859a426fc6520bcc7693a35bd34b6382 |
| 89b86f57 | 28-Feb-2022 |
Joseph Chen <chenjh@rock-chips.com> |
make.sh/scripts: Add idblock support
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ic8cad0353752ac0f630a7ec1ed61a50f221d01de |
| 5ebd6a91 | 01-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: fit: split sl and lk command of rk sign tool
In order to compat with the comming new rk sign tool.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I9a79cbb12b10e7b00bcf898861
scripts: fit: split sl and lk command of rk sign tool
In order to compat with the comming new rk sign tool.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I9a79cbb12b10e7b00bcf898861c2846b23736fc2
show more ...
|
| b9fb3eda | 14-Feb-2022 |
Joseph Chen <chenjh@rock-chips.com> |
make.sh: support pack spl decompress header
loader = [SPL decomp header + U-Boot proper] + ddr.bin + usbplug.bin
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I4b0b6e44f4c75ecbb95ff
make.sh: support pack spl decompress header
loader = [SPL decomp header + U-Boot proper] + ddr.bin + usbplug.bin
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I4b0b6e44f4c75ecbb95ffd55f143bdd943233b27
show more ...
|
| 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 ...
|
| 2d2cbe25 | 12-Jan-2022 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: android2distro: fix non integer error
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I3f37e6c8ddede51e04c107d1aed0bb0d199ca99a |
| 25dca6d0 | 03-Sep-2017 |
Heinrich Schuchardt <xypron.glpk@gmx.de> |
scripts/Makefile.lib: remove overridden target $(obj)/helloworld.so:
The target $(obj)/helloworld.so: exists twice in Makefile.lib.
If you add an echo command to each of the two recipes you get war
scripts/Makefile.lib: remove overridden target $(obj)/helloworld.so:
The target $(obj)/helloworld.so: exists twice in Makefile.lib.
If you add an echo command to each of the two recipes you get warnings like:
scripts/Makefile.lib:383: warning: overriding recipe for target 'drivers/power/battery/helloworld.so' scripts/Makefile.lib:379: warning: ignoring old recipe for target 'drivers/power/battery/helloworld.so'
This patch removes the obsolete target.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de> (cherry picked from commit d6507e6fd9e0a6f1a8dd28c18cd320c1f861269e)
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com> Change-Id: I6b9557fab36be314c7fda3988db6c80e8e1e0e92
show more ...
|
| 1659f9af | 21-Dec-2021 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: fit: check dev.pubkey and sign result
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I9ee14f685a11827da6dc472f2c85bd4b13c1e657 |
| ee147fea | 21-Dec-2021 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: fit-resign: add comment to generate dev.pubkey
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I76c2c45a5b98dc79f7bbb791d5c25d6d6f0e5f30 |
| c8a22fb8 | 18-Nov-2021 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: sync repack-bootimg from kernel 5.10
sync from commit: (1c21a1cc6b07 power: supply: cw2015: support dual cell)
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ie978d070152366
scripts: sync repack-bootimg from kernel 5.10
sync from commit: (1c21a1cc6b07 power: supply: cw2015: support dual cell)
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ie978d070152366b2899cbb4a3d717459b5b0e470
show more ...
|
| 1c67daaa | 10-Nov-2021 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: fit: increase external data offset
Fix compile error when fit signature is enabled, because bl31.elf increases more bl31 binaries.
compile error: Failed: external offset 0xe00 overlaps F
scripts: fit: increase external data offset
Fix compile error when fit signature is enabled, because bl31.elf increases more bl31 binaries.
compile error: Failed: external offset 0xe00 overlaps FIT length 0x1000 ./tools/mkimage Can't add hashes to FIT blob: -22
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Iec1719d9edcbe1755c1b6575d67ccc4b7e3a5d7d
show more ...
|
| 15dc9023 | 01-Apr-2021 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: add script to generate tftp update firmware
Example: ./scripts/build-tftp-firmware.sh --image image/ --size-MB 4
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I21647e91de
scripts: add script to generate tftp update firmware
Example: ./scripts/build-tftp-firmware.sh --image image/ --size-MB 4
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I21647e91de591dbd8949c2cce43a0bfbaf8c4549
show more ...
|
| 4e0fa9f6 | 06-Sep-2021 |
Joseph Chen <chenjh@rock-chips.com> |
scripts: unpack_bootimg: support android header v4
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I1948c1088b765ca1af4116af4fc62485bbc4b3ac |