-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8,422 changed files
with
2,262,488 additions
and
36,487 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,9 @@ variables: | |
GITHUB_REPO: [email protected]:kendryte/k230_sdk.git | ||
GITEE_REPO: [email protected]:kendryte/k230_sdk.git | ||
CONF: k230_evb_defconfig | ||
IMAGE_DIR: images | ||
IMAGE_NAME: "*_nncase_*.img.gz" | ||
RELEASE_DIR: sdk_images | ||
|
||
default: | ||
image: ai.b-bug.org:5000/k230_sdk:latest | ||
|
@@ -71,7 +74,7 @@ manual_sync: | |
# new MR open | ||
build-image: | ||
variables: | ||
DST_BASE: /data1/k230/gitlab-ci/images/${CI_PROJECT_NAME} | ||
DST_BASE: /data1/k230/gitlab-ci/${IMAGE_DIR}/${CI_PROJECT_NAME} | ||
SRC_DIR: ./output/${CONF}/images | ||
rules: | ||
- if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "dev" | ||
|
@@ -169,11 +172,11 @@ build-image: | |
script: | ||
- cd $CI_PROJECT_DIR | ||
- ls -alht | ||
- wget -qc https://ai.b-bug.org/k230/test_resources/ci/release/release_k230_sdk_image.sh -O ./release_k230_sdk_image.sh || exit 1 | ||
- chmod +x ./release_k230_sdk_image.sh | ||
- wget -qc https://ai.b-bug.org/k230/test_resources/ci/release/release_images.sh -O ./release_images.sh || exit 1 | ||
- chmod +x ./release_images.sh | ||
- echo $CI_COMMIT_TAG || exit 1 | ||
- echo $CONF || exit 1 | ||
- time ./release_k230_sdk_image.sh $CI_COMMIT_TAG $CONF || time ./release_k230_sdk_image.sh $CI_COMMIT_TAG $CONF || exit 1 | ||
- time ./release_images.sh $CI_COMMIT_TAG $CONF $IMAGE_DIR $IMAGE_NAME $RELEASE_DIR || time ./release_images.sh $CI_COMMIT_TAG $CONF $IMAGE_DIR $IMAGE_NAME $RELEASE_DIR || exit 1 | ||
- echo "all release file synced" | ||
|
||
.sync_sdk_github_zip: | ||
|
@@ -285,7 +288,7 @@ build-image: | |
- echo "----------save image----------" | ||
- echo ${DST_BASE} | ||
- echo "set DST_DIR with different type based on docs/images/src" | ||
- DST_DIR="${DST_BASE}/images" | ||
- DST_DIR="${DST_BASE}/${IMAGE_DIR}" | ||
- echo ${DST_DIR} | ||
- echo "---create repo dir---" | ||
- sudo mkdir -p ${DST_DIR} | ||
|
@@ -296,7 +299,7 @@ build-image: | |
- echo "---create current image version dir---" | ||
- sudo mkdir -p ${DST_DIR}/${SUB_DIR}/ || exit 1 | ||
- echo "---remove image file---" | ||
- rm -rf ${SRC_DIR}/images/ | ||
- rm -rf ${SRC_DIR}/${IMAGE_DIR}/ | ||
- echo "---save sdk build output---" | ||
- sudo cp -rf --sparse=always ${SRC_DIR}/ ${DST_DIR}/${SUB_DIR}/ | ||
- echo "${DST_DIR}/${SUB_DIR}/" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -70,4 +70,4 @@ image sysimage-sdcard.img { | |
# size = 32M | ||
image = "app.vfat" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# | ||
# Automatically generated file; DO NOT EDIT. | ||
# K230 SDK Configuration | ||
# | ||
|
||
# | ||
# board configuration | ||
# | ||
# CONFIG_BOARD_K230_EVB is not set | ||
# CONFIG_BOARD_K230_FPGA is not set | ||
# CONFIG_BOARD_K230D is not set | ||
# CONFIG_BOARD_K230_CANMV is not set | ||
# CONFIG_BOARD_K230_CANMV_V2 is not set | ||
# CONFIG_BOARD_K230D_CANMV is not set | ||
# CONFIG_BOARD_K230_CANMV_01STUDIO is not set | ||
# CONFIG_BOARD_K230_CANMV_DONGSHANPI is not set | ||
CONFIG_BOARD_K230D_CANMV_BPI=y | ||
CONFIG_BOARD_NAME="k230d_canmv_bpi" | ||
CONFIG_QUICK_BOOT=y | ||
# CONFIG_GEN_SECURITY_IMG is not set | ||
CONFIG_UBOOT_DEFCONFIG="k230d_canmv_bpi" | ||
CONFIG_LINUX_DEFCONFIG="k230d_canmv" | ||
CONFIG_LINUX_DTB="k230d_canmv" | ||
CONFIG_BUILDROOT_DEFCONFIG="k230d_canmv" | ||
CONFIG_RTTHREAD_DEFCONFIG="k230d_canmv_bp_only_rtt" | ||
# CONFIG_REMOTE_TEST_PLATFORM is not set | ||
CONFIG_GEN_IMG_SCRIPT="board/common/gen_image_script/gen_image.sh" | ||
CONFIG_RTT_CONSOLE_ID=0 | ||
|
||
# | ||
# toolchain configurations | ||
# | ||
CONFIG_TOOLCHAIN_PREFIX_RTT="riscv64-unknown-linux-musl-" | ||
CONFIG_TOOLCHAIN_PATH_RTT="/opt/toolchain/riscv64-linux-musleabi_for_x86_64-pc-linux-gnu/bin" | ||
CONFIG_TOOLCHAIN_PREFIX_LINUX="riscv64-unknown-linux-gnu-" | ||
CONFIG_TOOLCHAIN_PATH_LINUX="/opt/toolchain/Xuantie-900-gcc-linux-5.10.4-glibc-x86_64-V2.6.0/bin" | ||
|
||
# | ||
# Memory configuration | ||
# | ||
CONFIG_MEM_TOTAL_SIZE=0x8000000 | ||
CONFIG_MEM_IPCM_BASE=0x0 | ||
CONFIG_MEM_IPCM_SIZE=0x0 | ||
CONFIG_MEM_RTT_SYS_BASE=0x0000000 | ||
CONFIG_MEM_RTT_SYS_SIZE=0x03000000 | ||
CONFIG_MEM_MMZ_BASE=0x3000000 | ||
CONFIG_MEM_MMZ_SIZE=0x5000000 | ||
CONFIG_MEM_BOUNDARY_RESERVED_SIZE=0x8 | ||
|
||
# | ||
# storage configurations | ||
# | ||
# CONFIG_SPI_NOR is not set | ||
# CONFIG_SPI_NAND is not set | ||
CONFIG_SDCAED=y | ||
|
||
# | ||
# wifi configurations | ||
# | ||
# CONFIG_AP6212A is not set | ||
# CONFIG_AP6256 is not set | ||
# CONFIG_RTL8188FU is not set | ||
# CONFIG_RTL8723DU is not set | ||
CONFIG_SUPPORT_RTSMART=y | ||
# CONFIG_SUPPORT_LINUX is not set | ||
# CONFIG_MPP_MIDDLEWARE is not set | ||
CONFIG_BUILD_DEBUG_VER=y | ||
# CONFIG_BUILD_RELEASE_VER is not set | ||
CONFIG_DBGLV=8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.