Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./mkbootimg_dtb: No such file or directory #1

Closed
hkfriends opened this issue Sep 5, 2013 · 4 comments
Closed

./mkbootimg_dtb: No such file or directory #1

hkfriends opened this issue Sep 5, 2013 · 4 comments

Comments

@hkfriends
Copy link

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?

@xiaolu
Copy link
Owner

xiaolu commented Sep 6, 2013

你应该可以看懂中文吧,修改下mkboot,把mkbootimg_mtb的实际路径写上。

@xiaolu
Copy link
Owner

xiaolu commented Sep 6, 2013

如果mkbootimg_dtb无法在你的系统运行,你先使用这个工具来解包打包吧, https://github.com/xiaolu/Fricando
boot开头的那个,打包的时候有参数需要修改那个py文件。
我的系统是Ubuntu x64 12.04

@xiaolu
Copy link
Owner

xiaolu commented Sep 6, 2013

我的系统是:
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.

@hkfriends
Copy link
Author

thanks ... re-install the following libs ok :)

apt-get install --reinstall libc6-i386
apt-get install lib32stdc++6

@xiaolu xiaolu closed this as completed Sep 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants