Organization and cleanup
This commit is contained in:
		
							parent
							
								
									c2e07181a6
								
							
						
					
					
						commit
						2c3f2e264d
					
				| @ -111,61 +111,51 @@ case "$BOARD" in | ||||
|   cp4b-skh) | ||||
|     cfg="coolpi_linux_defconfig" | ||||
|     dtb="rk3588s-cp4-skh.dtb" | ||||
|     txt_config_file="config_cp4b.txt" | ||||
|     txt_extconf_file="extlinux_cp4b.conf" | ||||
|     ;; | ||||
|   cp4b-hdmi-in) | ||||
|     cfg="rk3588s_cp4b_defconfig" | ||||
|     dtb="rk3588s-cp4-hdmi-in.dtb" | ||||
|     txt_config_file="config_cp4b_hdmi_in.txt" | ||||
|     txt_extconf_file="extlinux_cp4b_hdmi_in.conf" | ||||
|     ;; | ||||
|   cm5-evb) | ||||
|     cfg="rk3588_cpcm5_evb_defconfig" | ||||
|     dtb="rk3588-cpcm5-evb.dtb" | ||||
|     txt_config_file="config_cpcm5_evb.txt" | ||||
|     txt_extconf_file="extlinux_cpcm5_evb.conf" | ||||
|     ;; | ||||
|   cm5-evb-v11) | ||||
|     cfg="rk3588_cpcm5_evb_defconfig" | ||||
|     dtb="rk3588-cpcm5-evb-v11.dtb" | ||||
|     txt_config_file="config_cpcm5_evb_v11.txt" | ||||
|     txt_extconf_file="extlinux_cpcm5_evb_v11.conf" | ||||
|     ;; | ||||
|   cm5-minipc) | ||||
|     cfg="rk3588_cpcm5_minipc_defconfig" | ||||
|     dtb="rk3588-cpcm5-minipc.dtb" | ||||
|     txt_config_file="config_cpcm5_minipc.txt" | ||||
|     txt_extconf_file="extlinux_cpcm5_minipc.conf" | ||||
|     ;; | ||||
|   cm5-notebook) | ||||
|     cfg="rk3588_cpcm5_notebook_defconfig" | ||||
|     dtb="rk3588-cpcm5-notebook.dtb" | ||||
|     txt_config_file="config_cpcm5_notebook.txt" | ||||
|     txt_extconf_file="extlinux_cpcm5_notebook.conf" | ||||
|     ;; | ||||
|   cm5-genbook) | ||||
|     cfg="rk3588_cpcm5_genbook_defconfig" | ||||
|     dtb="rk3588-cpcm5-genbook.dtb" | ||||
|     txt_config_file="config_cpcm5_genbook.txt" | ||||
|     txt_extconf_file="extlinux_cpcm5_genbook.conf" | ||||
|     ;; | ||||
|   cm5-8uart) | ||||
|     cfg="rk3588_cpcm5_defconfig" | ||||
|     dtb="rk3588-cpcm5-8uart.dtb" | ||||
|     txt_config_file="config_cpcm5_8uart.txt" | ||||
|     txt_extconf_file="extlinux_cpcm5_8uart.conf" | ||||
|     ;; | ||||
|   cm5-lz) | ||||
|     cfg="rk3588_cpcm5_lz_defconfig" | ||||
|     dtb="rk3588-cpcm5-lz.dtb" | ||||
|     txt_config_file="config_cpcm5_lz.txt" | ||||
|     txt_extconf_file="extlinux_cpcm5_lz.conf" | ||||
|     ;; | ||||
|   cpnano) | ||||
|     cfg="rv1106_cpnano_defconfig" | ||||
|     dtb="rv1106-cpnano.dtb" | ||||
|     txt_config_file="config_cpnano.txt" | ||||
|     txt_extconf_file="extlinux_cpnano.conf" | ||||
|     RV1106="1" | ||||
|     export ARCH=arm | ||||
| @ -206,10 +196,6 @@ if [ "$RV1106" == "1" ]; then | ||||
|     make ARCH=arm modules_install INSTALL_MOD_PATH=out_modules | ||||
|     rm -rf out | ||||
|     mkdir -p out/extlinux | ||||
|     cp vmlinuz out/ | ||||
|     #cp demo-cfgs/cmdline.txt out/cmdline.txt | ||||
|     #cp demo-cfgs/$txt_config_file out/config.txt | ||||
|     cp demo-cfgs/$txt_extconf_file out/extlinux/extlinux.conf | ||||
| else | ||||
|     make ARCH=arm64 LOCALVERSION= $cfg | ||||
|     make ARCH=arm64 LOCALVERSION= -j8 | ||||
| @ -233,8 +219,6 @@ else | ||||
|     mkdir -p out/extlinux | ||||
|     cp vmlinuz out/ | ||||
|     cp Image out/ | ||||
|     cp demo-cfgs/cmdline.txt out/cmdline.txt | ||||
|     cp demo-cfgs/$txt_config_file out/config.txt | ||||
|     cp demo-cfgs/$txt_extconf_file out/extlinux/extlinux.conf | ||||
| fi | ||||
| 
 | ||||
|  | ||||
| @ -1 +0,0 @@ | ||||
| root=LABEL=writable rw rootfstype=ext4 console=ttyS0,115200n81 quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=1 irqchip.gicv3_pseudo_nmi=0 net.ifnames=0 | ||||
| @ -1,5 +0,0 @@ | ||||
| bootdir=/ | ||||
| kernel=vmlinuz | ||||
| initrd=initrd.img | ||||
| dtb=rk3588s-cp4.dtb | ||||
| 
 | ||||
| @ -1,5 +0,0 @@ | ||||
| bootdir=/ | ||||
| kernel=vmlinuz | ||||
| initrd=initrd.img | ||||
| dtb=rk3588-cpcm5-8uart.dtb | ||||
| 
 | ||||
| @ -1,5 +0,0 @@ | ||||
| bootdir=/ | ||||
| kernel=vmlinuz | ||||
| initrd=initrd.img | ||||
| dtb=rk3588-cpcm5-evb.dtb | ||||
| 
 | ||||
| @ -1,5 +0,0 @@ | ||||
| bootdir=/ | ||||
| kernel=vmlinuz | ||||
| initrd=initrd.img | ||||
| dtb=rk3588-cpcm5-evb-v11.dtb | ||||
| 
 | ||||
| @ -1,5 +0,0 @@ | ||||
| bootdir=/ | ||||
| kernel=vmlinuz | ||||
| initrd=initrd.img | ||||
| dtb=rk3588-cpcm5-genbook.dtb | ||||
| 
 | ||||
| @ -1,5 +0,0 @@ | ||||
| bootdir=/ | ||||
| kernel=vmlinuz | ||||
| initrd=initrd.img | ||||
| dtb=rk3588-cpcm5-lz.dtb | ||||
| 
 | ||||
| @ -1,5 +0,0 @@ | ||||
| bootdir=/ | ||||
| kernel=vmlinuz | ||||
| initrd=initrd.img | ||||
| dtb=rk3588-cpcm5-minipc.dtb | ||||
| 
 | ||||
| @ -1,5 +0,0 @@ | ||||
| bootdir=/ | ||||
| kernel=vmlinuz | ||||
| initrd=initrd.img | ||||
| dtb=rk3588-cpcm5-notebook.dtb | ||||
| 
 | ||||
| @ -1,5 +0,0 @@ | ||||
| bootdir=/ | ||||
| kernel=vmlinuz | ||||
| initrd=initrd32.img | ||||
| dtb=rv1106-cpnano.dtb | ||||
| 
 | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user