this command is mainly for debugging.
Usage:
./make.sh debug-N
Example:
./make.sh debug ------ for debug help
./make.sh debug-1 ------ enable case1 debug
......
Change-Id: I1a0b063863cbdfc2be6bcc33da9c08f6d7536b3e
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
- include: boot_merge/trust_merge/loaderimage/resource_tool/checksum;
- porting from rkdevelop and base on commit 8fd1d8f
(resource: get resource primary from boot partition);
- clean generated binary file when execute clean command;
Change-Id: I41c1893c2da0a0f25c2d39dbbd933f89fbb04948
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
PX3SE loader/trust packing was broken since
d443b7d make.sh: parse RKCHIP from .config
This fixs px3se building with previous commit. And since we're
here, detecting the variant gracefully.
Change-Id: I5c7f5385a4cfd0d6beba842bd4766b77d8f67d88
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
mainly for rk3399 ini files:
RK3399MINIALL.ini
RK3399MINIALL_SPINOR.ini
Change-Id: I025c98c2cb0a4e8d6070efe1999797c90b113036
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
this makes RKCHIP non relative about build command,
but we have to do special fixup for rk3326 and rk3126
board defconfig, because they contain px30 and rk3128
in the .config file.
Change-Id: Ia1974f2c8961b0a698d32f45effa4ddfe4177b0b
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
this default use exist .config to build project. because users
maybe don't like their .config to be override after "make menuconfig"
change.
Only one SoC in the .config is allowed, otherwise still use
"./make.sh [board]".
Change-Id: Ib65a4b6d6f84b822f6bdaf84b9784521fbf200e9
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
1. move all platform fixup together in fixup_platform_configure();
2. Support rk3308 build trust.img/uboot.img AArch32 1MB and AArch64 2MB.
Change-Id: I02cf51bc8e01317caee0d6de157d832ef133ab4c
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
This reverts commit b45ec7ccd8.
Due to commit d77daa4 in rkbin project, which supports muitiple filesystem,
so we don't need this patch any more.
Change-Id: I73fab6f865a8428c9ecf41406fd5bbeffe6920cc
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
generate both trust_nand.img and trust_emmc.img
Change-Id: I736679f1544d1804487995d6eafbc876bec78bbe
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
rk big endian sha256 pack magic is "2", so use "--sha 2" subcmd
Change-Id: I1a31712f808aaff7f9213ea6f1a7ca15fe3012c2
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
RSA PKCS1 V2.1 pack magic is "3", so use "--rsa 3" subcmd
Change-Id: Ic35445445121d765385f5cf9673473b061633a3a
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
We can set a special build output dir for ${OUTDIR}
by argument -o, so the correct way to locate a output
object is ${OUTDIR}/obj.
Change-Id: I894b44d703afe2d21fcf7dddfbb82ae943835021
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
We don't want uboot.img compile everytime if we just want to
pack trust or loader.
Example:
./make.sh evb-rk3308 trust ------ only pack trust
./make.sh evb-rk3308 loader ------ only pack loader
Change-Id: I9d940eefba99074c155c978cbc0ba838160f65d9
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
this avoids users to be confused with uboot.img
Change-Id: Ifdbb1c483825ef065708ca81da3496bde3358e21
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
PX30 and RK3326 would have their individual ini files.
Change-Id: I3e8f05b34ee9a38429fd2870f635328eaf6b5f59
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
default use current directory as output dir, you can also
assign output dir by command "O=[directory]".
Example:
./make.sh evb-px30 O=rockdev
Change-Id: I1a7efb7a273d147d81b7fa9bb0bbbe00a8f5d12e
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
1. make clean, make distclean and make mrproper;
2. objdump elf file;
Append 'clean', 'distclean', 'mrproper' or 'elf' to build command
Example:
./make.sh evb-px30 clean
./make.sh evb-px30 distclean
./make.sh evb-px30 mrproper
./make.sh evb-px30 elf
you can also use 'elf[option]', like: 'elf-D', 'elf-d', 'elf-S'...
[option] is not necessary(default -D), it would be used as objdump
command option.
Change-Id: If6402ee9b0f9bd79aa7f18703ce0061106b11e26
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>