Skip to content

Commit

Permalink
add AI Demo for Duo256M and DuoS
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonfix committed Jan 30, 2024
1 parent 9e945dc commit dd7c594
Show file tree
Hide file tree
Showing 408 changed files with 93 additions and 4,567 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ function get_toolchain()

function get_available_board()
{
MILKV_BOARD_ARRAY=( $(find device -mindepth 1 -maxdepth 1 -type d -print ! -name "." | awk -F/ '{ print $NF }' | sort -t '-' -k2,2) )
MILKV_BOARD_ARRAY=( $(find device -mindepth 1 -maxdepth 1 -not -path 'device/common' -type d -print ! -name "." | awk -F/ '{ print $NF }' | sort -t '-' -k2,2) )
#echo ${MILKV_BOARD_ARRAY[@]}

MILKV_BOARD_ARRAY_LEN=${#MILKV_BOARD_ARRAY[@]}
Expand Down
3 changes: 2 additions & 1 deletion build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -578,8 +578,9 @@ endif

# copy milkv overlay files
ifeq ($(MV_VENDOR), milkv)
${Q}cp -arf $(TOP_DIR)/device/common/overlay/* $(BR_ROOTFS_DIR)/
${Q}cp -arf $(TOP_DIR)/device/$(MV_BOARD)/overlay/* $(BR_ROOTFS_DIR)/
${Q}cp -arf $(TOP_DIR)/device/$(MV_BOARD)/br_overlay/* $(BR_ROOTFS_DIR)/
${Q}cp -arf $(TOP_DIR)/device/common/br_overlay/* $(BR_ROOTFS_DIR)/
${Q}rm -rf $(BR_OVERLAY_DIR)
endif
# strip
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 6 additions & 0 deletions device/common/overlay/mnt/system/usr/bin/camera-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

export LD_LIBRARY_PATH=/mnt/system/lib

sample_vi_fd /mnt/cvimodel/scrfd_768_432_int8_1x.cvimodel

Binary file not shown.
1 change: 0 additions & 1 deletion device/milkv-duo-lite/br_overlay

This file was deleted.

6 changes: 0 additions & 6 deletions device/milkv-duo-spinand/br_overlay/.gitignore

This file was deleted.

6 changes: 5 additions & 1 deletion device/milkv-duo-spinand/genimage.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ image milkv-duospinand.img {

partition system {
image = "rawimages/system.spinand"
size = 81152k
size = 71680k

partition cfg {
image = "rawimages/cfg.spinand"
size = 4096k
}
}
6 changes: 0 additions & 6 deletions device/milkv-duo-spinor/br_overlay/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions device/milkv-duo-spinor/br_overlay/etc/dnsmasq.conf

This file was deleted.

50 changes: 0 additions & 50 deletions device/milkv-duo-spinor/br_overlay/etc/init.d/S99user

This file was deleted.

40 changes: 0 additions & 40 deletions device/milkv-duo-spinor/br_overlay/etc/inittab

This file was deleted.

37 changes: 0 additions & 37 deletions device/milkv-duo-spinor/br_overlay/etc/profile

This file was deleted.

Loading

0 comments on commit dd7c594

Please sign in to comment.