mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			Add SigmaStar SSC325 basic support
							parent
							
								
									b8d37d2111
								
							
						
					
					
						commit
						54f24c0bd0
					
				|  | @ -1,6 +1,11 @@ | |||
| name: OpenIPC for SSC325 | ||||
| 
 | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       - master | ||||
|     tags: | ||||
|       - "v*" | ||||
|   workflow_dispatch: | ||||
| 
 | ||||
| jobs: | ||||
|  |  | |||
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								|  | @ -0,0 +1,3 @@ | |||
| MEM_START_ADDR=0x20000000 | ||||
| KERNEL_UPLOAD_ADDR=0x20008000 | ||||
| 
 | ||||
|  | @ -0,0 +1,10 @@ | |||
| VENDOR=unknown | ||||
| MODEL=unknown | ||||
| FAMILY=infinity6b0 | ||||
| CHIP=ssc325 | ||||
| RAM_SIZE=64M | ||||
| RAM_LINUX_SIZE=32M | ||||
| RAM_MPP_SIZE=32M | ||||
| ROM_SIZE=? | ||||
| CMOS=unknown | ||||
| UBOOT_SIZE=? | ||||
|  | @ -0,0 +1,88 @@ | |||
| # Architecture | ||||
| BR2_arm=y | ||||
| BR2_cortex_a7=y | ||||
| BR2_ARM_EABIHF=y | ||||
| BR2_ARM_FPU_NEON_VFPV4=y | ||||
| BR2_ARM_INSTRUCTIONS_THUMB2=y | ||||
| BR2_KERNEL_HEADERS_VERSION=y | ||||
| BR2_DEFAULT_KERNEL_VERSION="4.9.84" | ||||
| BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_9=y | ||||
| 
 | ||||
| # Toolchain | ||||
| BR2_PER_PACKAGE_DIRECTORIES=y | ||||
| BR2_GCC_VERSION_7_X=y | ||||
| BR2_TOOLCHAIN_USES_UCLIBC=y | ||||
| BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y | ||||
| BR2_TOOLCHAIN_BUILDROOT_LIBC="uclibc" | ||||
| # BR2_TOOLCHAIN_USES_MUSL is not set | ||||
| # BR2_TOOLCHAIN_BUILDROOT_MUSL is not set | ||||
| # BR2_TOOLCHAIN_BUILDROOT_LIBC="musl" | ||||
| # BR2_TOOLCHAIN_BUILDROOT_CXX is not set | ||||
| # BR2_TOOLCHAIN_BUILDROOT_LOCALE is not set | ||||
| BR2_TOOLCHAIN_BUILDROOT_USE_SSP=y | ||||
| 
 | ||||
| # Kernel | ||||
| BR2_LINUX_KERNEL=y | ||||
| BR2_LINUX_KERNEL_CUSTOM_VERSION=y | ||||
| BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.9.84" | ||||
| BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y | ||||
| BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_SIGMASTAR_PATH)/board/infinity6b0/kernel/ssc325.generic.config" | ||||
| BR2_LINUX_KERNEL_UIMAGE=y | ||||
| BR2_LINUX_KERNEL_XZ=y | ||||
| BR2_LINUX_KERNEL_EXT_SIGMASTAR_PATCHER=y | ||||
| BR2_LINUX_KERNEL_EXT_SIGMASTAR_PATCHER_LIST="$(BR2_EXTERNAL_SIGMASTAR_PATH)/board/infinity6b0/kernel/patches/ $(BR2_EXTERNAL_SIGMASTAR_PATH)/board/infinity6b0/kernel/overlay" | ||||
| 
 | ||||
| # Filesystem | ||||
| # BR2_TARGET_TZ_INFO is not set | ||||
| BR2_TARGET_ROOTFS_SQUASHFS=y | ||||
| BR2_TARGET_ROOTFS_SQUASHFS4_XZ=y | ||||
| BR2_ROOTFS_OVERLAY="$(TOPDIR)/../general/overlay" | ||||
| BR2_ROOTFS_POST_BUILD_SCRIPT="$(TOPDIR)/../scripts/executing_commands_for_$(BR2_TOOLCHAIN_BUILDROOT_LIBC).sh" | ||||
| 
 | ||||
| # OpenIPC configuration | ||||
| BR2_TOOLCHAIN_BUILDROOT_VENDOR="openipc" | ||||
| BR2_TARGET_GENERIC_ISSUE="Welcome to OpenIPC v2.1" | ||||
| BR2_TARGET_GENERIC_HOSTNAME="ssc325-openipc" | ||||
| BR2_GLOBAL_PATCH_DIR="$(TOPDIR)/../general/package/all-patches" | ||||
| 
 | ||||
| # Packages | ||||
| BR2_PACKAGE_BUSYBOX_CONFIG="$(TOPDIR)/../general/package/busybox/busybox.config" | ||||
| BR2_PACKAGE_DROPBEAR=y | ||||
| BR2_PACKAGE_FWPRINTENV_OPENIPC=y | ||||
| # BR2_PACKAGE_HASERL is not set | ||||
| BR2_PACKAGE_IPCTOOL=y | ||||
| BR2_PACKAGE_JSON_C=y | ||||
| BR2_PACKAGE_LAME_OPENIPC=y | ||||
| BR2_PACKAGE_LIBEVENT_OPENIPC=y | ||||
| BR2_PACKAGE_LIBYAML=y | ||||
| BR2_PACKAGE_MAJESTIC_SSC335=y | ||||
| # BR2_PACKAGE_MINI_SNMPD is not set | ||||
| BR2_PACKAGE_SIGMASTAR_OSDRV_SSC335=y | ||||
| BR2_PACKAGE_VTUND_OPENIPC=y | ||||
| BR2_PACKAGE_YAML_CLI=y | ||||
| 
 | ||||
| # WiFi | ||||
| BR2_PACKAGE_WIRELESS_TOOLS=y | ||||
| BR2_PACKAGE_WPA_SUPPLICANT=y | ||||
| BR2_PACKAGE_WPA_SUPPLICANT_CLI=y | ||||
| BR2_PACKAGE_WPA_SUPPLICANT_NL80211=y | ||||
| BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y | ||||
| BR2_PACKAGE_LINUX_FIRMWARE=y | ||||
| BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7601U=y | ||||
| 
 | ||||
| # Unused | ||||
| # BR2_SHARED_STATIC_LIBS is not set | ||||
| # BR2_PACKAGE_JPEG_TURBO is not set | ||||
| # BR2_PACKAGE_MINIHTTP is not set | ||||
| # BR2_PACKAGE_MXML is not set | ||||
| # BR2_PACKAGE_SSHPASS is not set | ||||
| # BR2_PACKAGE_RTL8188EU is not set | ||||
| 
 | ||||
| # MQTT | ||||
| BR2_PACKAGE_MOSQUITTO=y | ||||
| # BR2_PACKAGE_MOSQUITTO_BROKER is not set | ||||
| 
 | ||||
| # Project | ||||
| BR2_PACKAGE_MBEDTLS_OPENIPC=y | ||||
| # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set | ||||
| # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set | ||||
|  | @ -39,6 +39,10 @@ insert_ko() | |||
|             # Untested | The information is obtained from the Anjoy and Brovotech (no any params) firmware | ||||
|             insmod ${PATH_MODULE}/mi_venc.ko max_width=2304 max_height=1296 thread_priority=99; | ||||
|             ;; | ||||
|         sc2239) | ||||
|             # Untested | The information is obtained from the IMOU firmware | ||||
|             insmod ${PATH_MODULE}/mi_venc.ko thread_priority=99; | ||||
|             ;; | ||||
|         sc3335) | ||||
|             # Untested | The information is obtained from the Uniview firmware (no any params on other version) | ||||
|             insmod ${PATH_MODULE}/mi_venc.ko max_width=2304 max_height=1296 mi_timeout_reset=1; | ||||
|  | @ -68,6 +72,10 @@ insert_ko() | |||
|             # Untested | The information is obtained from the Anjoy and Brovotech (mclk=37.125M) firmware | ||||
|             insmod ${PATH_MODULE}/sensor_imx307_mipi.ko chmap=1 lane_num=2 hdr_lane_num=2 mclk=37.125M; | ||||
|             ;; | ||||
|         sc2239) | ||||
|             # Untested | The information is obtained from the IMOU firmware | ||||
|             insmod ${PATH_MODULE}/sensor_sc2239_mipi.ko chmap=1; | ||||
|             ;; | ||||
|         sc3335) | ||||
|             # Untested | The information is obtained from the Uniview firmware | ||||
|             insmod ${PATH_MODULE}/sensor_sc3335_mipi.ko chmap=1; | ||||
|  | @ -85,6 +93,7 @@ remove_ko() | |||
| { | ||||
|     rmmod drv_ms_cus_gc2053_MIPI | ||||
|     rmmod drv_ms_cus_imx307_MIPI | ||||
|     rmmod drv_ms_cus_sc2239_MIPI | ||||
|     rmmod drv_ms_cus_sc3335_MIPI | ||||
|     rmmod mi_shadow | ||||
|     rmmod mi_venc | ||||
|  |  | |||
											
												Binary file not shown.
											
										
									
								
		Loading…
	
		Reference in New Issue