blob: c5b7607a3ec5dbd33f4f11c08f01df30059fb73a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#!/bin/sh
./build_edk2.sh
cd optee_os
../build_optee.sh
cd ..
cd u-boot
../build_uboot.sh
cd ..
cd trusted-firmware-a
../build_atf.sh
cd ..
cd u-boot
../build_flashbin.sh
cd ..
FLASHBIN=`find /tmp/uboot-imx8mp -name flash.bin`
UBOOTITB=`find /tmp/uboot-imx8mp -name u-boot.itb`
echo "flash.bin:" "$FLASHBIN"
if [ x"$USER" = xpaulliu ]; then
atftp -p -l "$FLASHBIN" -r flash.bin 192.168.66.10
fi
if [ x"$USER" = xpaulliu ]; then
atftp -p -l /tmp/uboot-imx8mp/capsule1.bin -r capsule1.bin 192.168.66.10
fi
echo "capsule: " "/tmp/uboot-imx8mp/capsule1.bin"
|