Firefly Open Source Community

   Login   |   Register   |
New_Topic

[Fireprime] OTA is possible?

33

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
33
Posted at 4/11/2017 08:08:47     
Hi,

I'm now using 3128 Lollipop 5.1 version.
I want to use OTA to upgrade Android system parts.

I followed your documenet to produce OTA packages.
But I have got  compile errors.

make clean
make -j4
make otapackage

I got errors.

I need help to fix thses errors.

Thank you in advance.

===
==========================
host Executable:fs_config(out/host/linux-x86/obj32/EXECUTABLES/fs_config_intermediates/fs_config)
Installut/host/linux-x86/bin/fs_config
No RK Loader forTARGET_DEVICE rk312x to otapackage
package addresource.img to BOOT and RECOVERY
No uboot foruboot/uboot.img to otapackage
No trust foruboot/trust.img to otapackage
No charge foruboot/charge.img to otapackage
No parameter forTARGET_DEVICE rk312x to otapackage
Package target filesut/target/product/rk312x/obj/PACKAGING/target_files_intermediates/rk312x-target_files-eng.jsmoon.zip
building image fromtarget_files RECOVERY...
Traceback (mostrecent call last):
  File"./build/tools/releasetools/make_recovery_patch", line 68, in<module>
   main(sys.argv[1:])
  File"./build/tools/releasetools/make_recovery_patch", line 39, in main
   input_dir, "RECOVERY")
  File"/home/jsmoon/work/prj_wallpad/fireprime_emmc/build/tools/releasetools/common.py",line 419, in GetBootableImage
   info_dict)
  File"/home/jsmoon/work/prj_wallpad/fireprime_emmc/build/tools/releasetools/common.py",line 376, in BuildBootableImage
    p4= Run(sign_cmd)
  File"/home/jsmoon/work/prj_wallpad/fireprime_emmc/build/tools/releasetools/common.py",line 86, in Run
   return subprocess.Popen(args, **kwargs)
  File"/usr/lib/python2.7/subprocess.py", line 710, in __init__
   errread, errwrite)
  File"/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
   raise child_exception
OSError: [Errno 2] Nosuch file or directory
make: ***[out/target/product/rk312x/obj/PACKAGING/target_files_intermediates/rk312x-target_files-eng.jsmoon.zip]오류 1
#### make failed tobuild some targets (03:33 (mm:ss)) ####

Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 4/11/2017 10:07:53     
do you have the latest sdk?
or try this patch:
projects / tvbox-51.git / commitdiff
? search:
re
summary | shortlog | log | commit | commitdiff | tree
raw | patch (parent: 37383c6)
Android->OTA:modify OTA complie issue
author  cjp <service@t-firefly.com>
Tue, 23 Feb 2016 08:27:39 +0000 (16:27 +0800)
committer       cjp <service@t-firefly.com>
Tue, 23 Feb 2016 08:27:39 +0000 (16:27 +0800)
device/rockchip/common/releasetools.py          patch | blob | history
diff --git a/device/rockchip/common/releasetools.py b/device/rockchip/common/releasetools.py
index 83e75b9..38399c8 100755 (executable)
--- a/device/rockchip/common/releasetools.py
+++ b/device/rockchip/common/releasetools.py
@@ -134,8 +134,8 @@ def IncrementalOTA_InstallEnd(info):
     InstallTrust(trust_target, info.target_zip, info)
   else:
     print "trust unchanged; skipping"
-
- try:
+
+  try:
     loader_uboot_target = info.target_zip.read("uboot.img")
   except KeyError:
     loader_uboot_target = None
Reply

Use props Report

33

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
33
Posted at 4/11/2017 15:49:21     
I got solved!!

Thank you!
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list