Skip to content

Commit ef476dd

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 ef476dd

File tree

15 files changed

+17
-937
lines changed

15 files changed

+17
-937
lines changed

bsp/cvitek/build.sh

Lines changed: 16 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,13 @@ 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 for duo256m"
34+
35+
DPT_PATH_KERNEL=$BSP_PATH/../../ DPT_BOARD_TYPE=duo256m DPT_PATH_OUTPUT=$BSP_PATH/output DPT_ARCH=arm ./rttpkgtool/script/mkpkg.sh
36+
}
37+
38+
while getopts ":hbla" opt
3239
do
3340
case $opt in
3441
h)
@@ -40,6 +47,9 @@ do
4047
l)
4148
O_MAKE_LITTLE=y
4249
;;
50+
a)
51+
O_MAKE_ARM=y
52+
;;
4353
?)
4454
echo "Unrecognized parameter."
4555
usage
@@ -66,3 +76,7 @@ if [ "$O_MAKE_LITTLE" = "y" ]; then
6676
build_c906l
6777
fi
6878

79+
if [ "$O_MAKE_ARM" = "y" ]; then
80+
build_a53
81+
fi
82+

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)