From 0a3eaf400de88f8f7cd12c0a7a140d9657f3e7fd Mon Sep 17 00:00:00 2001 From: Christoph Muellner Date: Tue, 8 Oct 2019 13:10:41 +0200 Subject: usb-control: cp2102_haikou: Disable BIOS-disable again in do_cycle_to_maskrom. After we bring the board in to maskrom mode, we need to release the BIOS disable signal again. Otherwise we won't be able to write to the on-board eMMC. Signed-off-by: Christoph Muellner --- usb-control/cp2102_haikou.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usb-control/cp2102_haikou.py b/usb-control/cp2102_haikou.py index 4b44b3e..f05b3c1 100644 --- a/usb-control/cp2102_haikou.py +++ b/usb-control/cp2102_haikou.py @@ -108,6 +108,8 @@ def do_cycle_to_maskrom(dev): set_bootmode(dev, VALUE_BIOS_DISABLE) # Turn on board toggle_power(dev) + # Disable maskrom mode again + set_bootmode(dev, VALUE_BIOS_NORMAL) -- cgit v1.2.3