summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chun Liu (PaulLiu) <paulliu@debian.org>2022-05-09 06:52:36 +0800
committerYing-Chun Liu (PaulLiu) <paulliu@debian.org>2022-05-09 06:52:36 +0800
commit001a333efc7eda128199d34490a95c17fc62f228 (patch)
tree9ae4e11a37daf6fdc6e346db6cfac58ad5ca8282
parente2465367c325847a47c36d1f6131ed0d8c68aa91 (diff)
EBBR4 M2 release.HEADmaster
Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
-rwxr-xr-xbuild_everything.sh2
-rwxr-xr-xbuild_flashbin.sh3
-rwxr-xr-xbuild_uboot.sh4
-rwxr-xr-xdownload_everything.sh6
4 files changed, 8 insertions, 7 deletions
diff --git a/build_everything.sh b/build_everything.sh
index 4dafb1b..c5b7607 100755
--- a/build_everything.sh
+++ b/build_everything.sh
@@ -22,11 +22,9 @@ FLASHBIN=`find /tmp/uboot-imx8mp -name flash.bin`
UBOOTITB=`find /tmp/uboot-imx8mp -name u-boot.itb`
echo "flash.bin:" "$FLASHBIN"
-echo "u-boot.itb:" "$UBOOTITB"
if [ x"$USER" = xpaulliu ]; then
atftp -p -l "$FLASHBIN" -r flash.bin 192.168.66.10
- atftp -p -l "$UBOOTITB" -r u-boot.itb 192.168.66.10
fi
if [ x"$USER" = xpaulliu ]; then
diff --git a/build_flashbin.sh b/build_flashbin.sh
index dc478b2..839ec53 100755
--- a/build_flashbin.sh
+++ b/build_flashbin.sh
@@ -52,5 +52,6 @@ EOF
cd "$B"
"$B"/tools/mkimage -f capsule1.its capsule1.itb
-"$B"/tools/mkeficapsule --fit capsule1.itb --index 1 capsule1.bin
+"$B"/tools/mkeficapsule --index 1 --instance 0 --guid b5fb6f08-e142-4db1-97ea-5fd36b9be5b9 \
+ capsule1.itb capsule1.bin
cd "$O1"
diff --git a/build_uboot.sh b/build_uboot.sh
index d5ed0ce..8bad67f 100755
--- a/build_uboot.sh
+++ b/build_uboot.sh
@@ -28,6 +28,9 @@ CONFIG_DM_I2C_GPIO=y
CONFIG_OF_BOARD_FIXUP=y
CONFIG_CMD_DNS=y
CONFIG_MISC=y
+CONFIG_PROT_TCP=y
+CONFIG_PROT_TCP_SACK=y
+CONFIG_CMD_WGET=y
EOF
./scripts/kconfig/merge_config.sh -O ${B} ${B}/.config ${B}/extraconfig
@@ -35,7 +38,6 @@ if [ x"$SDCARD" = x"" ]; then
cat <<EOF > "${B}"/extraconfig2
CONFIG_CMD_OPTEE_RPMB=y
CONFIG_EFI_MM_COMM_TEE=y
-CONFIG_MMC_WRITE_PROTECT_ACTIVE_BOOT=y
EOF
./scripts/kconfig/merge_config.sh -O ${B} ${B}/.config ${B}/extraconfig2
fi
diff --git a/download_everything.sh b/download_everything.sh
index 30c5cd4..95c555f 100755
--- a/download_everything.sh
+++ b/download_everything.sh
@@ -6,11 +6,11 @@ git -C optee_os checkout paulliu-compulab-rpmb
# TF-A
git clone https://git.linaro.org/people/paul.liu/systemready/trusted-firmware-a.git
-git -C trusted-firmware-a checkout master
+git -C trusted-firmware-a checkout paulliu-imx8mm-emmc
git clone https://github.com/ARMmbed/mbedtls.git
git -C mbedtls checkout development
-git -C mbedtls checkout f08ec01e2b4b3c91af8d822a1cdf17c8a5577035 -b test1
+git -C mbedtls checkout 068a13d909ec08a12a5f74289b18142d27977044 -b test1
# U-boot
if [ x"$USER" = xpaulliu ]; then
@@ -19,4 +19,4 @@ else
git clone https://git.linaro.org/people/paul.liu/systemready/u-boot.git
fi
-git -C u-boot checkout paulliu-rsb3720-2
+git -C u-boot checkout paulliu-compulab-tpm2-ab-tcp