Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
B
Burning_Tool
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AM335X
Burning_Tool
Commits
941e7f6f
Commit
941e7f6f
authored
Dec 04, 2020
by
Carit Zhu
🎱
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify emmc_wince.sh to format dual partition for WINCE and update README.md
parent
d5102cfd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
README.md
README.md
+0
-1
emmc_wince.sh
emmc_wince.sh
+12
-1
No files found.
README.md
View file @
941e7f6f
...
...
@@ -31,7 +31,6 @@
解压文件系统
tar -xvf rootfs.tar.bz2 -C /mnt/rootfs
cp emmc_linux.sh/emmc_wince.sh /mnt/rootfs/etc/init.d/S50xxxx
最后在/mnt/boot里放入要更新的镜像
在/mnt/boot中创建linux 或wince放入相应的内容
...
...
emmc_wince.sh
View file @
941e7f6f
...
...
@@ -55,7 +55,13 @@ if [ "$NUM_ALL_DRIVES" == "1" ];then
fi
echo
"Format EMMC Start..."
>
/dev/tty1
echo
-e
"
${
DEL_CMD
}
n
\n
p
\n
1
\n\n\n
t
\n
c
\n
a
\n
1
\n
p
\n
w
\n
"
| fdisk
${
DRIVE
}
dd
if
=
/dev/zero
of
=
${
DRIVE
}
bs
=
1024
count
=
1
sfdisk
--force
-uM
${
DRIVE
}
<<
EOF
,500,0c,*
600,,0c
EOF
sleep
5
echo
"Format EMMC End..."
>
/dev/tty1
...
...
@@ -64,6 +70,11 @@ mkfs.vfat -F 32 ${DRIVE}p1
until
[
"
$?
"
==
0
]
;
do
sleep
8
done
mkfs.vfat
-F
32
${
DRIVE
}
p2
until
[
"
$?
"
==
0
]
;
do
sleep
8
done
echo
"Format Disk End..."
>
/dev/tty1
sleep
8
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment