Skip to content

Commit c70a9b2

Browse files
committed
bsp: cvitek: use rttpkgtool for aarch64
1.Using scripts in rttpkgtool to make firmware. 2.Deleted duplicate prebuild files. #9968 Signed-off-by: YunZhan Huang <[email protected]>
1 parent fc86cb9 commit c70a9b2

File tree

15 files changed

+18
-937
lines changed

15 files changed

+18
-937
lines changed

bsp/cvitek/build.sh

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ source ./tools.sh
44

55
function usage() {
66
echo "Usage:"
7-
echo " ./build.sh [-h|-l|-b]"
7+
echo " ./build.sh [-h|-l|-b|-a]"
88
echo " -h: display usage"
99
echo " -l: build c906L"
1010
echo " -b: build c906B"
11+
echo " -a: build Cortex-A53"
1112
}
1213

1314
function build_c906b() {
@@ -28,7 +29,14 @@ function build_c906l() {
2829
DPT_PATH_KERNEL=$BSP_PATH/../../ DPT_BOARD_TYPE=$BOARD_TYPE DPT_PATH_OUTPUT=$BSP_PATH/output ./rttpkgtool/script/mkpkg.sh -l
2930
}
3031

31-
while getopts ":hbl" opt
32+
function build_A53() {
33+
echo "build_A53"
34+
echo "BOARD_TYPE: duo256m"
35+
36+
DPT_PATH_KERNEL=$BSP_PATH/../../ DPT_BOARD_TYPE=duo256m DPT_PATH_OUTPUT=$BSP_PATH/output DPT_ARCH=arm ./rttpkgtool/script/mkpkg.sh
37+
}
38+
39+
while getopts ":hbla" opt
3240
do
3341
case $opt in
3442
h)
@@ -40,6 +48,9 @@ do
4048
l)
4149
O_MAKE_LITTLE=y
4250
;;
51+
a)
52+
O_MAKE_ARM=y
53+
;;
4354
?)
4455
echo "Unrecognized parameter."
4556
usage
@@ -66,3 +77,7 @@ if [ "$O_MAKE_LITTLE" = "y" ]; then
6677
build_c906l
6778
fi
6879

80+
if [ "$O_MAKE_ARM" = "y" ]; then
81+
build_A53
82+
fi
83+

bsp/cvitek/cv18xx_aarch64/combine.sh

Lines changed: 0 additions & 48 deletions
This file was deleted.

bsp/cvitek/cv18xx_aarch64/dtb/duo256m/multi.its

Lines changed: 0 additions & 56 deletions
This file was deleted.
Binary file not shown.

bsp/cvitek/cv18xx_aarch64/mksdimg.sh

Lines changed: 0 additions & 25 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.

bsp/cvitek/cv18xx_aarch64/prebuild/duo256m/blmacros.env

Lines changed: 0 additions & 2 deletions
This file was deleted.
Binary file not shown.
Binary file not shown.

bsp/cvitek/cv18xx_aarch64/prebuild/duo256m/empty.bin

Whitespace-only changes.
Binary file not shown.

0 commit comments

Comments
 (0)