mirror of https://github.com/OpenIPC/firmware.git
				
				
				
			Update SigmaStar and Initramfs work
							parent
							
								
									28f13c7999
								
							
						
					
					
						commit
						c4b2285b3b
					
				
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								|  | @ -14,83 +14,32 @@ 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=y | ||||
| # BR2_TOOLCHAIN_BUILDROOT_LOCALE is not set | ||||
| BR2_TOOLCHAIN_BUILDROOT_USE_SSP=y | ||||
| # BR2_TOOLCHAIN_BUILDROOT_USE_SSP is not set | ||||
| 
 | ||||
| # 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/ssc335.generic.config" | ||||
| BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_SIGMASTAR_PATH)/board/infinity6b0/kernel/infinity6b0-ssc009a.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_CPIO=y | ||||
| BR2_TARGET_ROOTFS_CPIO_GZIP=y | ||||
| BR2_TARGET_ROOTFS_INITRAMFS=y | ||||
| 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="ssc335-openipc" | ||||
| BR2_TARGET_GENERIC_ISSUE="Welcome to OpenIPC v2.1.8" | ||||
| BR2_TARGET_GENERIC_HOSTNAME="ssc335-initramfs" | ||||
| BR2_GLOBAL_PATCH_DIR="$(TOPDIR)/../general/package/all-patches" | ||||
| 
 | ||||
| # OpenIPC packages | ||||
| BR2_PACKAGE_BUSYBOX_CONFIG="$(TOPDIR)/../general/package/busybox/busybox.config" | ||||
| BR2_PACKAGE_DROPBEAR=y | ||||
| # BR2_PACKAGE_FDK_AAC_OPENIPC is not set | ||||
| BR2_PACKAGE_FWPRINTENV_OPENIPC=y | ||||
| # BR2_PACKAGE_HASERL is not set | ||||
| BR2_PACKAGE_BUSYBOX_CONFIG="$(TOPDIR)/../general/package/busybox/busybox-initramfs.config" | ||||
| # BR2_PACKAGE_DROPBEAR is not set | ||||
| # BR2_PACKAGE_FWPRINTENV_OPENIPC is not set | ||||
| BR2_PACKAGE_IPCTOOL=y | ||||
| # BR2_PACKAGE_JSON_C is not set | ||||
| # BR2_PACKAGE_LAME_OPENIPC is not set | ||||
| # BR2_PACKAGE_LIBCURL_OPENIPC is not set | ||||
| # BR2_PACKAGE_LIBCURL_OPENIPC_CURL is not set | ||||
| # BR2_PACKAGE_LIBCURL_OPENIPC_VERBOSE is not set | ||||
| # BR2_PACKAGE_LIBCURL_OPENIPC_PROXY_SUPPORT is not set | ||||
| # BR2_PACKAGE_LIBCURL_OPENIPC_COOKIES_SUPPORT is not set | ||||
| # BR2_PACKAGE_LIBCURL_OPENIPC_EXTRA_PROTOCOLS_FEATURES is not set | ||||
| # BR2_PACKAGE_LIBCURL_OPENIPC_MBEDTLS is not set | ||||
| # BR2_PACKAGE_LIBEVENT_OPENIPC is not set | ||||
| # BR2_PACKAGE_LIBEVENT_OPENIPC_REMOVE_PYSCRIPT is not set | ||||
| # BR2_PACKAGE_LIBOGG_OPENIPC is not set | ||||
| # BR2_PACKAGE_LIBYAML is not set | ||||
| # BR2_PACKAGE_MAJESTIC_SSC335 is not set | ||||
| # BR2_PACKAGE_MBEDTLS_OPENIPC is not set | ||||
| # BR2_PACKAGE_MBEDTLS_OPENIPC_PROGRAMS is not set | ||||
| # BR2_PACKAGE_MBEDTLS_OPENIPC_COMPRESSION is not set | ||||
| # BR2_PACKAGE_MINI_SNMPD is not set | ||||
| # BR2_PACKAGE_OPUS_OPENIPC is not set | ||||
| # BR2_PACKAGE_OPUS_OPENIPC_FIXED_POINT is not set | ||||
| # BR2_PACKAGE_SIGMASTAR_OSDRV_SSC335 is not set | ||||
| # BR2_PACKAGE_SSHPASS is not set | ||||
| # BR2_PACKAGE_UACME_OPENIPC is not set | ||||
| # BR2_PACKAGE_VTUND_OPENIPC is not set | ||||
| # BR2_PACKAGE_YAML_CLI is not set | ||||
| 
 | ||||
| # WiFi | ||||
| # BR2_PACKAGE_WIRELESS_TOOLS is not set | ||||
| # BR2_PACKAGE_WPA_SUPPLICANT is not set | ||||
| # BR2_PACKAGE_WPA_SUPPLICANT_CLI is not set | ||||
| # BR2_PACKAGE_WPA_SUPPLICANT_NL80211 is not set | ||||
| # BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE is not set | ||||
| # BR2_PACKAGE_LINUX_FIRMWARE is not set | ||||
| # BR2_PACKAGE_LINUX_FIRMWARE_MEDIATEK_MT7601U is not set | ||||
| # BR2_PACKAGE_RTL8188EU is not set | ||||
| 
 | ||||
| # MQTT | ||||
| # BR2_PACKAGE_MOSQUITTO is not set | ||||
| # BR2_PACKAGE_MOSQUITTO_BROKER is not set | ||||
|  |  | |||
|  | @ -1,6 +1,6 @@ | |||
| config BR2_PACKAGE_MAJESTIC_SSC335 | ||||
| 	bool "Tiny but powerful IPC streaming software" | ||||
| 	default y | ||||
| 	default n | ||||
| 	help | ||||
| 	  Tiny but powerful IPC streaming software | ||||
| 
 | ||||
|  |  | |||
								
									
									
										
											14
										
									
									building.sh
									
									
									
									
								
								
							
							
										
											14
										
									
									building.sh
									
									
									
									
								|  | @ -1,6 +1,6 @@ | |||
| #!/bin/bash | ||||
| # | ||||
| # OpenIPC.org | v.20210814 | ||||
| # OpenIPC.org | v.20210821 | ||||
| # | ||||
| 
 | ||||
| clone() { | ||||
|  | @ -25,6 +25,16 @@ rename() { | |||
|   echo -e "\n\n$(cat /tmp/openipc_buildtime.txt)" | ||||
| } | ||||
| 
 | ||||
| rename_initramfs() { | ||||
|   [[ $(stat --printf="%s" ./output/images/uImage) -gt 3097152 ]] && TG_NOTIFY="Warning: kernel size exceeded : $(stat --printf="%s" ./output/images/uImage) vs 2097152" && exit 1 | ||||
|   # | ||||
|   mv -v ./output/images/uImage ./output/images/uImage.initramfs.${soc} | ||||
|   mv -v ./output/images/rootfs.cpio ./output/images/rootfs.${soc}.cpio | ||||
|   mv -v ./output/images/rootfs.tar ./output/images/rootfs.${soc}.tar | ||||
|   date >>/tmp/openipc_buildtime.txt | ||||
|   echo -e "\n\n$(cat /tmp/openipc_buildtime.txt)" | ||||
| } | ||||
| 
 | ||||
| upload() { | ||||
|   server="zig@172.28.200.74:/sync/Archive/Incoming/Tftp/" | ||||
|   echo -e "\n\nStart transferring files to the TFTP server...\n" | ||||
|  | @ -113,7 +123,7 @@ ssc335_goodcam() { | |||
| 
 | ||||
| ssc335_initramfs() { | ||||
|   soc="ssc335" | ||||
|   fresh && make PLATFORM=sigmastar BOARD=unknown_unknown_ssc335_initramfs all && rename | ||||
|   fresh && make PLATFORM=sigmastar BOARD=unknown_unknown_ssc335_initramfs all && rename_initramfs | ||||
| } | ||||
| 
 | ||||
| ssc335_musl() { | ||||
|  |  | |||
|  | @ -1 +0,0 @@ | |||
| /usr/lib/libjson-c.so.5 | ||||
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								
		Loading…
	
		Reference in New Issue