Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in / Register
Toggle navigation
L
librem5-devkit-tools
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
10
Issues
10
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
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
Librem5
librem5-devkit-tools
Commits
f0575ed6
Commit
f0575ed6
authored
Jan 23, 2019
by
Esteban Torre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add debug support to uuu in flash script.
parent
ef4a109f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
librem5-devkit-flash-image
scripts/librem5-devkit-flash-image
+6
-3
No files found.
scripts/librem5-devkit-flash-image
View file @
f0575ed6
...
...
@@ -219,7 +219,10 @@ def write_uuu_script(target, image, uboot):
uboot
=
os
.
path
.
basename
(
uboot
)))
def
flash_image
(
uuu_target
):
def
flash_image
(
uuu_target
,
debug
):
if
debug
:
subprocess
.
check_call
([
'uuu'
,
'-v'
,
uuu_target
])
else
:
subprocess
.
check_call
([
'uuu'
,
uuu_target
])
...
...
@@ -283,7 +286,7 @@ def main():
download_uboot
(
urljoin
(
uboot_ref
[
'url'
],
'artifact/build/{}'
.
format
(
UBOOT
)),
uboot_target
)
write_uuu_script
(
uuu_target
,
image_target
,
uboot_target
)
flash_image
(
uuu_target
)
flash_image
(
uuu_target
,
args
.
debug
)
except
VerifyImageException
as
e
:
logging
.
error
(
e
)
return
1
...
...
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