Update cmcc-ds-ytj5301 profile

This commit is contained in:
Signor Pellegrino (from Citadel PC)
2025-08-28 16:22:17 +03:00
parent e494573166
commit e6244d7d40
5 changed files with 42 additions and 7 deletions

View File

@@ -26,7 +26,6 @@ BR2_LINUX_KERNEL_XZ=y
# Filesystem
BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL)/package/busybox/busybox.config"
BR2_PACKAGE_EXFATPROGS=y
BR2_PACKAGE_UBOOT_TOOLS=y
BR2_PACKAGE_ZLIB=y
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
@@ -45,7 +44,6 @@ BR2_OPENIPC_FLASH_SIZE="16"
# Packages
BR2_PACKAGE_DROPBEAR_OPENIPC=y
BR2_PACKAGE_EXFAT_OPENIPC=y
BR2_PACKAGE_GPIO_MOTORS=y
BR2_PACKAGE_IPCTOOL=y
BR2_PACKAGE_JSONFILTER=y
@@ -63,6 +61,7 @@ BR2_PACKAGE_MBEDTLS_OPENIPC=y
BR2_PACKAGE_OPUS_OPENIPC=y
BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
BR2_PACKAGE_QUIRC_OPENIPC=y
BR2_PACKAGE_RTL8188FU_OPENIPC=y
BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6E=y
BR2_PACKAGE_VTUND_OPENIPC=y
BR2_PACKAGE_YAML_CLI=y

View File

@@ -0,0 +1,15 @@
#!/bin/sh
set_gpio() {
[ "$2" -eq 1 ] && gpio set $1 || gpio clear $1
sleep 1
}
# SSC30KQ CMCC DS YTJ5301
if [ "$1" = "rtl8188fu-ssc30kq-cmcc-ds-ytj5301" ]; then
#set_gpio 6 1
modprobe 8188fu
exit 0
fi
exit 1

View File

@@ -37,7 +37,7 @@ cli -s .audio.outputVolume 80
# Set motor and mmc
#
#fw_setenv gpio_mmc XX
fw_setenv gpio_motors 59 60 8 9 111 112 113 114
fw_setenv gpio_motors 111 112 113 114 59 60 8 9
#
#
#adduser viewer -s /bin/false -D -H ; echo viewer:123456 | chpasswd

View File

@@ -0,0 +1,14 @@
alarm_in=-1
alarm_out=-1
button=-1
ircut1=23
ircut2=24
led1=-1
led2=-1
light_ir=-1
light_wl=-1
light_sensor=-1
mmc_pwr=-1
speaker=-1
usb=-1
motors=111 112 113 114 59 60 8 9

View File

@@ -1,14 +1,21 @@
/etc/sensors/gc4653.bin
/etc/sensors/imx307.bin
/etc/sensors/imx335.bin
/etc/sensors/imx415.bin
/etc/sensors/sc501ai.bin
#
/lib/modules/4.9.84/sigmastar/sensor_gc4653_mipi.ko
/lib/modules/4.9.84/sigmastar/sensor_imx307_mipi.ko
/lib/modules/4.9.84/sigmastar/sensor_imx335_mipi.ko
/lib/modules/4.9.84/sigmastar/sensor_imx347_mipi.ko
/lib/modules/4.9.84/sigmastar/sensor_imx415_mipi.ko
/lib/modules/4.9.84/sigmastar/sensor_os04a10_mipi.ko
/lib/modules/4.9.84/sigmastar/sensor_sc501ai_mipi.ko
/lib/modules/4.9.84/sigmastar/sensor_sc8235_mipi.ko
#
/lib/modules/4.9.84/kernel/fs/lockd/*.ko
/lib/modules/4.9.84/kernel/fs/nfs/*.ko
/lib/modules/4.9.84/kernel/fs/nfs_common/*.ko
/lib/modules/4.9.84/kernel/net/sunrpc/*.ko
/lib/modules/4.9.84/kernel/fs/lockd/lockd.ko
/lib/modules/4.9.84/kernel/fs/nfs/nfs.ko
/lib/modules/4.9.84/kernel/fs/nfs/nfsv3.ko
/lib/modules/4.9.84/kernel/fs/nfs_common/grace.ko
/lib/modules/4.9.84/kernel/net/sunrpc/sunrpc.ko