Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-tools-update
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-tools-update
Commits
026d36a1
Commit
026d36a1
authored
May 05, 2020
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo
parent
e930191b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
write_bootable_mmc.py
write_bootable_mmc.py
+3
-3
No files found.
write_bootable_mmc.py
View file @
026d36a1
#!/usr/bin/env python
#!/usr/bin/env python
'''
'''
# Copyright (C) 20
16
, Elphel.inc.
# Copyright (C) 20
20
, Elphel.inc.
# Usage: known
# Usage: known
#
#
# This program is free software: you can redistribute it and/or modify
# This program is free software: you can redistribute it and/or modify
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
'''
'''
__author__
=
"Elphel"
__author__
=
"Elphel"
__copyright__
=
"Copyright 20
16
, Elphel, Inc."
__copyright__
=
"Copyright 20
20
, Elphel, Inc."
__license__
=
"GPL"
__license__
=
"GPL"
__version__
=
"3.0+"
__version__
=
"3.0+"
__maintainer__
=
"Oleg K Dzhimiev"
__maintainer__
=
"Oleg K Dzhimiev"
...
@@ -149,7 +149,7 @@ shout("dd if=/dev/zero of="+DEVICE+" bs=1MB count=1 seek="+str(BOOT_SIZE))
...
@@ -149,7 +149,7 @@ shout("dd if=/dev/zero of="+DEVICE+" bs=1MB count=1 seek="+str(BOOT_SIZE))
print
(
"= Create partition table"
)
print
(
"= Create partition table"
)
shout
(
"parted -s "
+
DEVICE
+
" mktable "
+
PT_TYPE
)
shout
(
"parted -s "
+
DEVICE
+
" mktable "
+
PT_TYPE
)
print
(
"= Create FAT parttion"
)
print
(
"= Create FAT part
i
tion"
)
shout
(
"parted -s "
+
DEVICE
+
" mkpart primary "
+
BOOT_FS
+
" 1 "
+
str
(
BOOT_SIZE
))
shout
(
"parted -s "
+
DEVICE
+
" mkpart primary "
+
BOOT_FS
+
" 1 "
+
str
(
BOOT_SIZE
))
shout
(
"parted -s "
+
DEVICE
+
" mkpart primary "
+
ROOT_FS
+
" "
+
str
(
BOOT_SIZE
+
1
)
+
" 100
%
"
)
shout
(
"parted -s "
+
DEVICE
+
" mkpart primary "
+
ROOT_FS
+
" "
+
str
(
BOOT_SIZE
+
1
)
+
" 100
%
"
)
# no need?
# no need?
...
...
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