GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ZXShellScript/burn_script_new.bat at master · lin199231/ZXShellScript

Expand file tree

/

burn_script_new.bat

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
87 lines (78 loc) · 2.36 KB
/

burn_script_new.bat

Copy path

File metadata and controls

87 lines (78 loc) · 2.36 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
@echo off
cd %~dp0
echo Start flash boot.img to emmc
fastboot.exe flash boot %~dp0/image/boot.img
IF %ERRORLEVEL% == 0 echo Flash boot image succeed
IF NOT %ERRORLEVEL% == 0 goto 1
echo Start flash system.img to emmc
fastboot.exe flash system %~dp0/image/system.img
IF %ERRORLEVEL% == 0 echo Flash system image succeed
IF NOT %ERRORLEVEL% == 0 goto 1
echo Start flash userdata.img to emmc
fastboot.exe flash userdata %~dp0/image/userdata.img
IF %ERRORLEVEL% == 0 echo Flash userdata image succeed
IF NOT %ERRORLEVEL% == 0 goto 1
echo Start flash devicetree to emmc
if "%2"=="" goto orginal
if "%2"=="A1" goto A1
if "%2"=="A2" goto A2
:orginal
if "%1"=="" goto dsi
if "%1"=="dsi" goto dsi
if "%1"=="hdmi" goto hdmi
:dsi
echo flash orginal DSI devicetree
fastboot.exe flash devicetree %~dp0/image/elite2000-fpga.dtb
goto continue
:hdmi
echo flash orginal HDMI devicetree
fastboot.exe flash devicetree %~dp0/image/elite2000-fpga-mhl.dtb
goto continue
:A1
if "%1"=="" goto A1_dsi
if "%1"=="dsi" goto A1_dsi
if "%1"=="hdmi" goto A1_hdmi
:A1_dsi
echo flash A1 DSI devicetree
fastboot.exe flash devicetree %~dp0/image/elite2000-EVM-A1-dsi.dtb
goto continue
:A1_hdmi
echo flash A1 HDMI devicetree
fastboot.exe flash devicetree %~dp0/image/elite2000-EVM-A1-hdmi.dtb
goto continue
:A2
if "%1"=="" goto A2_dsi
if "%1"=="dsi" goto A2_dsi
if "%1"=="hdmi" goto A2_hdmi
:A2_dsi
echo flash A2 DSI devicetree
fastboot.exe flash devicetree %~dp0/image/elite2000-EVM-A2-dsi.dtb
goto continue
:A2_hdmi
echo flash A2 HDMI devicetree
fastboot.exe flash devicetree %~dp0/image/elite2000-EVM-A2-hdmi.dtb
goto continue
:continue
IF %ERRORLEVEL% == 0 echo Flash devicetree image succeed
IF NOT %ERRORLEVEL% == 0 goto 1
echo Start flash cache.img to emmc
fastboot.exe flash cache %~dp0/image/cache.img
IF %ERRORLEVEL% == 0 echo Flash cache image succeed
IF NOT %ERRORLEVEL% == 0 goto 1
echo Start flash recovery.img to emmc
fastboot.exe flash recovery %~dp0/image/recovery.img
IF %ERRORLEVEL% == 0 echo Flash recovery image succeed
IF NOT %ERRORLEVEL% == 0 goto 1
echo Start flash splash.dat to emmc
fastboot.exe flash bootlogo %~dp0/image/splash.dat
IF %ERRORLEVEL% == 0 echo Flash bootlogo image succeed
IF NOT %ERRORLEVEL% == 0 goto 1
:0
echo Flash all Succeed! Now booting...!
fastboot.exe oem ucmd boot
goto 2
:1
echo Error! Flash image Failed!!!
pause
:2
pause
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.