The parameter is correct, but it seems that the file is not there
On Apr 15, 2009, at 11:13 AM, gowtham gowda <gowth...@gmail.com> wrote: > > 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 >> >> On Apr 15, 2009, at 4:48 AM, gowtham gowda <gowth...@gmail.com> >> wrote: >> >> >> >>> When i run this script i get the following error: >>> this is the command i issue: >>> r...@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 > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---