Initial commit
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Build Kernel / Build all affected Kernels (push) Has been cancelled
				
			
		
			
				
	
				Build all core packages / Build all core packages for selected target (push) Has been cancelled
				
			
		
			
				
	
				Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
				
			
		
			
				
	
				Build Toolchains / Build Toolchains for each target (push) Has been cancelled
				
			
		
			
				
	
				Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
				
			
		
			
				
	
				Coverity scan build / Coverity x86/64 build (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Build Kernel / Build all affected Kernels (push) Has been cancelled
				
			Build all core packages / Build all core packages for selected target (push) Has been cancelled
				
			Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
				
			Build Toolchains / Build Toolchains for each target (push) Has been cancelled
				
			Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
				
			Coverity scan build / Coverity x86/64 build (push) Has been cancelled
				
			This commit is contained in:
		
							
								
								
									
										18
									
								
								target/linux/imx/cortexa7/base-files/etc/board.d/02_network
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								target/linux/imx/cortexa7/base-files/etc/board.d/02_network
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| . /lib/functions/uci-defaults.sh | ||||
|  | ||||
| board=$(board_name) | ||||
|  | ||||
| board_config_update | ||||
|  | ||||
| case "$board" in | ||||
| technexion,imx7d-pico-pi) | ||||
| 	ucidef_set_interface_lan "eth0" | ||||
| 	;; | ||||
| *) | ||||
| 	ucidef_set_interfaces_lan_wan "eth0" "eth1" | ||||
| 	;; | ||||
| esac | ||||
|  | ||||
| board_config_flush | ||||
|  | ||||
| exit 0 | ||||
| @@ -0,0 +1,15 @@ | ||||
| . /lib/imx.sh | ||||
| . /lib/functions.sh | ||||
| . /lib/upgrade/common.sh | ||||
|  | ||||
| move_config() { | ||||
| 	local board=$(board_name) | ||||
|  | ||||
| 	case "$board" in | ||||
| 	technexion,imx7d-pico-pi) | ||||
| 		imx_sdcard_move_config | ||||
| 		;; | ||||
| 	esac | ||||
| } | ||||
|  | ||||
| boot_hook_add preinit_mount_root move_config | ||||
							
								
								
									
										55
									
								
								target/linux/imx/cortexa7/base-files/lib/upgrade/platform.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								target/linux/imx/cortexa7/base-files/lib/upgrade/platform.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,55 @@ | ||||
| . /lib/imx.sh | ||||
|  | ||||
| RAMFS_COPY_BIN='blkid jffs2reset' | ||||
|  | ||||
| enable_image_metadata_check() { | ||||
| 	case "$(board_name)" in | ||||
| 	technexion,imx7d-pico-pi) | ||||
| 		REQUIRE_IMAGE_METADATA=1 | ||||
| 		;; | ||||
| 	esac | ||||
| } | ||||
| enable_image_metadata_check | ||||
|  | ||||
| platform_check_image() { | ||||
| 	local board=$(board_name) | ||||
|  | ||||
| 	case "$board" in | ||||
| 	technexion,imx7d-pico-pi) | ||||
| 		return 0 | ||||
| 		;; | ||||
| 	esac | ||||
|  | ||||
| 	echo "Sysupgrade is not yet supported on $board." | ||||
| 	return 1 | ||||
| } | ||||
|  | ||||
| platform_do_upgrade() { | ||||
| 	local board=$(board_name) | ||||
|  | ||||
| 	case "$board" in | ||||
| 	technexion,imx7d-pico-pi) | ||||
| 		imx_sdcard_do_upgrade "$1" | ||||
| 		;; | ||||
| 	esac | ||||
| } | ||||
|  | ||||
| platform_copy_config() { | ||||
| 	local board=$(board_name) | ||||
|  | ||||
| 	case "$board" in | ||||
| 	technexion,imx7d-pico-pi) | ||||
| 		imx_sdcard_copy_config | ||||
| 		;; | ||||
| 	esac | ||||
| } | ||||
|  | ||||
| platform_pre_upgrade() { | ||||
| 	local board=$(board_name) | ||||
|  | ||||
| 	case "$board" in | ||||
| 	technexion,imx7d-pico-pi) | ||||
| 		imx_sdcard_pre_upgrade | ||||
| 		;; | ||||
| 	esac | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 domenico
					domenico