mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
tools: pack: detach ubi after ubi write
Change-Id: I0480b67e7deabd3800324a2c82ca3208b136da37 Signed-off-by: Gurumoorthy Santhakumar <quic_gsanthak@quicinc.com>
This commit is contained in:
parent
20ea7adb66
commit
d0daefec80
1 changed files with 2 additions and 1 deletions
|
|
@ -920,7 +920,8 @@ class Pack(object):
|
|||
wifi_fw_cmd += "setenv mtdparts mtdparts=nand0:0x%x@0x%x(rootfs)\n" % (rootfs_len,rootfs_offset)
|
||||
wifi_fw_cmd += "ubi part rootfs\n"
|
||||
img_size = self.__get_img_size(fw_filename)
|
||||
wifi_fw_cmd += "ubi write $fileaddr wifi_fw %x" % img_size
|
||||
wifi_fw_cmd += "ubi write $fileaddr wifi_fw %x\n" % img_size
|
||||
wifi_fw_cmd += "ubi detach"
|
||||
script.append(wifi_fw_cmd, fatal=False)
|
||||
|
||||
#Enable the below lines for debugging purpose
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue