-
Notifications
You must be signed in to change notification settings - Fork 191
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add(duo config):support SPINOR image compilation on IOB board
- Loading branch information
1 parent
22ada0c
commit 7a0d47a
Showing
44 changed files
with
1,253 additions
and
2 deletions.
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
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,6 @@ | ||
{ | ||
"ddr_cfg_list": [ | ||
"ddr2_1333_x16" | ||
], | ||
"board_information": "C906B + SPINOR 32MB + QFN SIP 64MB" | ||
} |
44 changes: 44 additions & 0 deletions
44
build/boards/cv180x/cv1800b_milkv_duo_spinor/cv1800b_milkv_duo_spinor_defconfig
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,44 @@ | ||
CONFIG_CHIP_cv1800b=y | ||
CONFIG_BOARD_milkv_duo_spinor=y | ||
CONFIG_DDR_CFG_ddr2_1333_x16=y | ||
CONFIG_ARCH="riscv" | ||
CONFIG_CROSS_COMPILE="riscv64-unknown-linux-musl-" | ||
CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
CONFIG_KERNEL_ENTRY_HACK=y | ||
CONFIG_KERNEL_ENTRY_HACK_ADDR="0x80200000" | ||
CONFIG_TOOLCHAIN_MUSL_RISCV64=y | ||
CONFIG_FLASH_SIZE_SHRINK=y | ||
CONFIG_NO_FB=y | ||
CONFIG_NO_TP=y | ||
CONFIG_DDR_64MB_SIZE=y | ||
CONFIG_BOOT_IMAGE_SINGLE_DTB=y | ||
CONFIG_STORAGE_TYPE_spinor=y | ||
CONFIG_SENSOR_TUNING_PARAM_cv180x_src_sms_sc200ai=y | ||
CONFIG_SENSOR_SMS_SC200AI=y | ||
CONFIG_SENSOR_GCORE_GC2053=y | ||
CONFIG_SENSOR_GCORE_GC2083=y | ||
CONFIG_SENSOR_SMS_SC035HGS=y | ||
CONFIG_SENSOR_OV_OV5647=y | ||
CONFIG_UBOOT_2021_10=y | ||
CONFIG_KERNEL_SRC_5.10=y | ||
CONFIG_KERNEL_LZMA=y | ||
CONFIG_SKIP_RAMDISK=y | ||
# CONFIG_ROOTFS_OVERLAYFS is not set | ||
# CONFIG_TARGET_PACKAGE_CVITRACER is not set | ||
# CONFIG_TARGET_PACKAGE_GDBSERVER is not set | ||
# CONFIG_TARGET_PACKAGE_LIBCRYPTO is not set | ||
# CONFIG_TARGET_PACKAGE_LIBZ is not set | ||
# CONFIG_TARGET_PACKAGE_OTASERVER is not set | ||
# CONFIG_TARGET_PACKAGE_RSYSLOG is not set | ||
CONFIG_TARGET_PACKAGE_CRONTABS=y | ||
# CONFIG_TARGET_PACKAGE_GATORD is not set | ||
CONFIG_TARGET_PACKAGE_WIFI=y | ||
CONFIG_TARGET_PACKAGE_DROPBEAR=y | ||
CONFIG_TARGET_PACKAGE_NTP=y | ||
CONFIG_ENABLE_FREERTOS=y | ||
CONFIG_ENABLE_RTOS_DUMP_PRINT=y | ||
CONFIG_DUMP_PRINT_SZ_IDX=17 | ||
CONFIG_USE_4K_ERASE_SIZE_FOR_JFFS2=y | ||
CONFIG_USB_OSDRV_CVITEK_GADGET=n | ||
CONFIG_BUILDROOT_FS=y | ||
CONFIG_BUILD_FOR_DEBUG=y |
39 changes: 39 additions & 0 deletions
39
build/boards/cv180x/cv1800b_milkv_duo_spinor/dts_riscv/cv1800b_milkv_duo_spinor.dts
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,39 @@ | ||
/dts-v1/; | ||
#include "cv180x_base_riscv.dtsi" | ||
#include "cv180x_asic_qfn.dtsi" | ||
#include "cv180x_asic_sd.dtsi" | ||
#include "cv180x_default_memmap.dtsi" | ||
|
||
&mipi_rx{ | ||
snsr-reset = <&portc 8 GPIO_ACTIVE_LOW>, <&portc 8 GPIO_ACTIVE_LOW>, <&portc 8 GPIO_ACTIVE_LOW>; | ||
}; | ||
|
||
&spi0 { | ||
status = "okay"; | ||
flash@0 { | ||
compatible = "winbond,w25q256", "jedec,spi-nor"; | ||
reg = <0>; | ||
}; | ||
}; | ||
|
||
&spi2 { | ||
status = "okay"; | ||
|
||
spidev@0 { | ||
status = "okay"; | ||
}; | ||
}; | ||
|
||
&uart4 { | ||
status = "okay"; | ||
}; | ||
|
||
&i2c1 { | ||
status = "okay"; | ||
clock-frequency = <100000>; | ||
}; | ||
|
||
/ { | ||
|
||
}; | ||
|
Oops, something went wrong.