How to use the make_boot_img.sh

23 views
Skip to first unread message

gowtham gowda

unread,
Apr 15, 2009, 7:48:07 AM4/15/09
to android-porting
When i run this script i get the following error:
this is the command i issue:
root@gowtham-laptop:~/mydroid/out/target/product/eee_701# ./
make_boot_img.sh /root/mydroid
+ pwd
+ CURRPATH=/root/mydroid/out/target/product/eee_701
+ EXECPATH=out/target/product/eee_701
+ BINPATH=../../../../out/host/linux-x86/bin/
+ CP=cp
+ ECHO=echo
+ GZIP=gzip
+ RM=rm
+ MKDIR=mkdir
+ SED=sed
+ MKBOOTFS=../../../../out/host/linux-x86/bin//mkbootfs
+ GENEXT2FS=../../../../out/host/linux-x86/bin//genext2fs
+ EDITDISKLBL=../../../../out/host/linux-x86/bin//editdisklbl
+ [ 1 != 1 ]
+ [ ! -e /root/mydroid ]
+ DISKCONF=/root/mydroid
+ LASTPATH=/root/mydroid/out/target/product/eee_701
+ CHECKPATH=/out/target/product/eee_701
+ [ 1 ]
+ LASTDIR=eee_701
+ LASTPATH=/root/mydroid/out/target/product
+ CHECKDIR=eee_701
+ CHECKPATH=/out/target/product
+ [ -n /out/target/product ]
+ break
+ [ ! -e grub ]
+ [ ! -e root ]
+ [ ! -e data ]
+ [ ! -e system ]
+ [ ! -e ../../../../out/host/linux-x86/bin/ ]
+ [ ! -e kernel ]
+ [ -e bootimg ]
+ rm -rf bootimg
+ [ -e rootimg ]
+ rm -rf rootimg
+ [ ! -e dummy ]
+ mkdir bootimg
+ cp grub/grub.bin installed.img
+ cp -raf root rootimg
+ sed -e s/ext3/ext2/
+ ../../../../out/host/linux-x86/bin//mkbootfs rootimg
+ gzip -9
+ echo console=tty0 console=ttyS1,115200n8 console=tty0
androidboot.hardware=eee_701 vga=788
+ cp kernel bootimg/kernel
+ ../../../../out/host/linux-x86/bin//genext2fs -b 8192 -m 0 -d
bootimg boot.img
+ ../../../../out/host/linux-x86/bin//genext2fs -b 8192 -m 0 -N 8 -d
dummy dummy.img
number of inodes too low, increasing to 10
+ ../../../../out/host/linux-x86/bin//genext2fs -b 81920 -d data -N
512 -m 0 data.img
+ ../../../../out/host/linux-x86/bin//editdisklbl -l /root/mydroid -i
installed.img boot=boot.img cache=dummy.img system=system.img
third_party=dummy.img data=data.img
E/diskconfig( 6776): Could not read config file /root/mydroid
Errors encountered while loading disk conf file /root/mydroid+ echo
installed.img is ready if you don't see any error messages
installed.img is ready if you don't see any error messages


What am i doing wrong

Yi Sun

unread,
Apr 15, 2009, 1:28:52 PM4/15/09
to android...@googlegroups.com, android-porting
Check /root/nydroid.The script can not find it

gowtham gowda

unread,
Apr 15, 2009, 2:13:49 PM4/15/09
to android-porting
am i passing the parameters to the script correct?

./make_boot_img.s /root/mydroid

is this correct or do i need to add more parameters?

Thanks,
Gowtham

On Apr 15, 1:28 pm, Yi Sun <beyo...@gmail.com> wrote:
> Check /root/nydroid.The script can not find it
>

Yi Sun

unread,
Apr 15, 2009, 2:20:17 PM4/15/09
to android...@googlegroups.com
See the correct steps I post in the wiki on the same place where you
downloaded the patch.

Yi Sun

unread,
Apr 15, 2009, 2:48:12 PM4/15/09
to android...@googlegroups.com, android-porting
The parameter is correct, but it seems that the file is not there

gowtham gowda

unread,
Apr 15, 2009, 3:01:46 PM4/15/09
to android-porting
can u give me the link to the wiki. I found this in the asus eee
directory.

Thanks,
Gowtham

On Apr 15, 2:48 pm, Yi Sun <beyo...@gmail.com> wrote:
> The parameter is correct, but it seems that the file is not there
>

gowtham gowda

unread,
Apr 15, 2009, 3:22:42 PM4/15/09
to android-porting
Got the wiki,
thanks

gowtham gowda

unread,
Apr 15, 2009, 4:52:42 PM4/15/09
to android-porting
After the script builds the installer.img file how do i build a
bootable usb. does dd work?

Gowtham

Yi Sun

unread,
Apr 15, 2009, 4:57:45 PM4/15/09
to android...@googlegroups.com, android-porting
It should even I have never tried it
Reply all
Reply to author
Forward
0 new messages