./mkbootimg_dtb: No such file or directory
hkfriends opened this issue · 4 comments
Hi
I can extract my boot to tmp
./mkboot boot.img tmp
but when I try to re-pack it said:
./mkboot boot.img ./tmp/ramdisk.gz newboot.img
./mkboot: line 144: ./mkbootimg_dtb: No such file or directory
stat: cannot stat ‘newboot.img’: No such file or directory
my os: ubuntu x64
Linux ubuntu 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
is there any lib is missing in my system?
你应该可以看懂中文吧,修改下mkboot,把mkbootimg_mtb的实际路径写上。
如果mkbootimg_dtb无法在你的系统运行,你先使用这个工具来解包打包吧, https://github.com/xiaolu/Fricando
boot开头的那个,打包的时候有参数需要修改那个py文件。
我的系统是Ubuntu x64 12.04
我的系统是:
Linux xiaolu-ubuntu64 3.2.0-52-generic #78-Ubuntu SMP Fri Jul 26 16:21:44 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
如果mkbootimg_dtb在你系统无法正常运行,你可以先用这个py脚本来解包和打包含有dt.img的boot.img。
https://github.com/xiaolu/Fricando/tree/master/bootimg-parser
重新打包boot.img的时候,需要修改bootimg-parser.py:
ADDR_BASE = 0x0
ADDR_OFFSET = 0x2000000
TAGS_ADDR = 0x1e00000
在2013年09月06 00时05分,"hkfriends"notifications@github.com写道:
Hi
I can extract my boot to tmp
./mkboot boot.img tmp
but when I try to re-pack it said:
./mkboot boot.img ./tmp/ramdisk.gz newboot.img
./mkboot: line 144: ./mkbootimg_dtb: No such file or directory
stat: cannot stat ‘newboot.img’: No such file or directory
—
Reply to this email directly or view it on GitHub.
thanks ... re-install the following libs ok :)
apt-get install --reinstall libc6-i386
apt-get install lib32stdc++6