mirror of https://github.com/OpenIPC/composer.git
Update ssc338q_lite_ask project
parent
adcae00377
commit
0d602dd47c
|
@ -28,7 +28,7 @@ echo_c() {
|
||||||
}
|
}
|
||||||
|
|
||||||
copy_to_archive() {
|
copy_to_archive() {
|
||||||
echo_c 32 "Copy files to archive"
|
echo_c 32 "Copying files to local archive"
|
||||||
mkdir -p "${COMPOSER_DIR}/archive/${PROJECT}/${TIMESTAMP}"
|
mkdir -p "${COMPOSER_DIR}/archive/${PROJECT}/${TIMESTAMP}"
|
||||||
cp -a \
|
cp -a \
|
||||||
${FIRMWARE_DIR}/output/images/rootfs.squashfs.* \
|
${FIRMWARE_DIR}/output/images/rootfs.squashfs.* \
|
||||||
|
@ -46,7 +46,7 @@ copy_to_archive() {
|
||||||
}
|
}
|
||||||
|
|
||||||
copy_to_tftp() {
|
copy_to_tftp() {
|
||||||
echo_c 32 "\nCopy files to TFTP server"
|
echo_c 32 "\nCopying files to a TFTP server using SCP protocol"
|
||||||
scp -r \
|
scp -r \
|
||||||
${FIRMWARE_DIR}/output/images/rootfs.squashfs.* \
|
${FIRMWARE_DIR}/output/images/rootfs.squashfs.* \
|
||||||
${FIRMWARE_DIR}/output/images/uImage.* \
|
${FIRMWARE_DIR}/output/images/uImage.* \
|
||||||
|
|
|
@ -32,24 +32,20 @@ BR2_OPENIPC_SOC_VENDOR="sigmastar"
|
||||||
BR2_OPENIPC_SOC_MODEL="ssc338q"
|
BR2_OPENIPC_SOC_MODEL="ssc338q"
|
||||||
BR2_OPENIPC_SOC_FAMILY="infinity6e"
|
BR2_OPENIPC_SOC_FAMILY="infinity6e"
|
||||||
BR2_OPENIPC_FLAVOR="lite"
|
BR2_OPENIPC_FLAVOR="lite"
|
||||||
|
BR2_OPENIPC_FLASH_SIZE="8"
|
||||||
|
|
||||||
# Filesystem
|
# Filesystem
|
||||||
# BR2_TARGET_TZ_INFO is not set
|
# BR2_TARGET_TZ_INFO is not set
|
||||||
BR2_TARGET_ROOTFS_CPIO=y
|
BR2_TARGET_ROOTFS_CPIO=y
|
||||||
BR2_TARGET_ROOTFS_SQUASHFS=y
|
BR2_TARGET_ROOTFS_SQUASHFS=y
|
||||||
BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y
|
BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y
|
||||||
BR2_TARGET_ROOTFS_UBI=y
|
|
||||||
BR2_TARGET_ROOTFS_UBI_SUBSIZE=2048
|
|
||||||
BR2_TARGET_ROOTFS_UBI_USE_CUSTOM_CONFIG=y
|
|
||||||
BR2_TARGET_ROOTFS_UBI_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL)/scripts/ubifs/ubinize_sigmastar.cfg"
|
|
||||||
BR2_TARGET_ROOTFS_UBIFS_LEBSIZE=0x1f000
|
|
||||||
BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL)/overlay"
|
BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL)/overlay"
|
||||||
BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL)/scripts/rootfs_script.sh"
|
BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL)/scripts/rootfs_script.sh"
|
||||||
|
|
||||||
# OpenIPC configuration
|
# OpenIPC configuration
|
||||||
BR2_TOOLCHAIN_BUILDROOT_VENDOR="openipc"
|
BR2_TOOLCHAIN_BUILDROOT_VENDOR="openipc"
|
||||||
BR2_TARGET_GENERIC_ISSUE="Welcome to OpenIPC"
|
BR2_TARGET_GENERIC_ISSUE="Welcome to OpenIPC"
|
||||||
BR2_TARGET_GENERIC_HOSTNAME="openipc-ssc338q"
|
BR2_TARGET_GENERIC_HOSTNAME="openipc-ssc338q-ask"
|
||||||
BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL)/package/all-patches"
|
BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL)/package/all-patches"
|
||||||
|
|
||||||
# OpenIPC packages
|
# OpenIPC packages
|
||||||
|
@ -79,12 +75,10 @@ BR2_PACKAGE_MBEDTLS_OPENIPC=y
|
||||||
# BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
|
# BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set
|
||||||
BR2_PACKAGE_MICROBE_WEB=y
|
BR2_PACKAGE_MICROBE_WEB=y
|
||||||
# BR2_PACKAGE_MINI_SNMPD is not set
|
# BR2_PACKAGE_MINI_SNMPD is not set
|
||||||
# BR2_PACKAGE_MOTORS is not set
|
BR2_PACKAGE_MOTORS=y
|
||||||
BR2_PACKAGE_OPUS_OPENIPC=y
|
BR2_PACKAGE_OPUS_OPENIPC=y
|
||||||
BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
|
BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT=y
|
||||||
BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6E=y
|
BR2_PACKAGE_SIGMASTAR_OSDRV_INFINITY6E=y
|
||||||
# BR2_PACKAGE_DOSFSTOOLS is not set
|
|
||||||
# BR2_PACKAGE_DOSFSTOOLS_FSCK_FAT is not set
|
|
||||||
# BR2_PACKAGE_EXFAT_OPENIPC is not set
|
# BR2_PACKAGE_EXFAT_OPENIPC is not set
|
||||||
# BR2_PACKAGE_EXFATPROGS is not set
|
# BR2_PACKAGE_EXFATPROGS is not set
|
||||||
# BR2_PACKAGE_SSHPASS is not set
|
# BR2_PACKAGE_SSHPASS is not set
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/xm-uart/main.c 2021-11-06 21:52:52.000000000 +0300
|
||||||
|
+++ b/xm-uart/main.c 2022-12-11 19:22:03.322193742 +0300
|
||||||
|
@@ -132,7 +132,7 @@
|
||||||
|
ctrl.c_lflag &= ~ECHO; // disable echo
|
||||||
|
tcsetattr(STDIN_FILENO, TCSANOW, &ctrl);
|
||||||
|
|
||||||
|
- int uart = open("/dev/ttyAMA0", O_RDWR | O_NOCTTY);
|
||||||
|
+ int uart = open("/dev/ttyS1", O_RDWR | O_NOCTTY);
|
||||||
|
if (uart == -1) {
|
||||||
|
printf("Error no is : %d\n", errno);
|
||||||
|
printf("Error description is : %s\n", strerror(errno));
|
Loading…
Reference in New Issue