[Armadeus-commitlog] armadeus branch, master, updated. armadeus-6.0-290-gd734cb8
Brought to you by:
sszy
|
From: Sébastien S. <ss...@us...> - 2017-06-12 08:26:47
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via d734cb8703c3a8eb499ff534ce3afdab755e6c13 (commit)
from b54c02e3ea2a27fc1c5e8f8c0d33860ced762758 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d734cb8703c3a8eb499ff534ce3afdab755e6c13
Author: Sébastien Szymanski <seb...@ar...>
Date: Mon Jun 12 10:31:23 2017 +0200
[TOOLS] {apf6,opos6ul}_recovery: set baudrate before ymodem transfer
-----------------------------------------------------------------------
Summary of changes:
software/uboot_recover/apf6_recovery.py | 1 +
software/uboot_recover/opos6ul_recovery.py | 1 +
2 files changed, 2 insertions(+)
diff --git a/software/uboot_recover/apf6_recovery.py b/software/uboot_recover/apf6_recovery.py
index 785b20d..aa79e9c 100644
--- a/software/uboot_recover/apf6_recovery.py
+++ b/software/uboot_recover/apf6_recovery.py
@@ -120,6 +120,7 @@ if __name__ == "__main__":
try:
subprocess.check_call([USB_DOWNLOAD_APP, "-c", BR_HOST_PATH + "/etc/imx-loader.d/", U_BOOT_SPL])
+ subprocess.check_call("stty -F " + port + " " + str(SPEED), shell=True)
subprocess.check_call(SERIAL_DOWNLOAD_APP + " -k " + U_BOOT_IMG + " > " + port + " < " + port, shell=True)
except subprocess.CalledProcessError:
print color.RED + "Error: Loading U-Boot binaries failed !" + color.END
diff --git a/software/uboot_recover/opos6ul_recovery.py b/software/uboot_recover/opos6ul_recovery.py
index ada6b56..8aa5930 100644
--- a/software/uboot_recover/opos6ul_recovery.py
+++ b/software/uboot_recover/opos6ul_recovery.py
@@ -120,6 +120,7 @@ if __name__ == "__main__":
try:
subprocess.check_call([USB_DOWNLOAD_APP, "-c", BR_HOST_PATH + "/etc/imx-loader.d/", U_BOOT_SPL])
+ subprocess.check_call("stty -F " + port + " " + str(SPEED), shell=True)
subprocess.check_call(SERIAL_DOWNLOAD_APP + " -k " + U_BOOT_IMG + " > " + port + " < " + port, shell=True)
except subprocess.CalledProcessError:
print color.RED + "Error: Loading U-Boot binaries failed !" + color.END
hooks/post-receive
--
armadeus
|