写真集

Camera:Panasonic LUMIX DMC-LX3
Vine Linux と Ubuntu の設定方法など

Android ビルド終了

2011-01-15 14:14:17 | Android
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
/lost+found not found.  Create? yes
Pass 4: Checking reference counts
Pass 5: Checking group summary information
system: ***** FILE SYSTEM WAS MODIFIED *****
system: 1096/1752 files (1.3% non-contiguous), 573769/592472 blocks
Install system fs image: out/target/product/eeepc/system.img
rm -rf out/target/product/eeepc/installer
out/host/linux-x86/bin/acp -pr bootable/newinstaller/initrd out/target/product/eeepc/installer
out/host/linux-x86/bin/acp -p device/asus/eeepc/eeepc_info out/target/product/eeepc/installer/scripts
ln -s /bin/ld-linux.so.2 out/target/product/eeepc/installer/lib
mkdir -p out/target/product/eeepc/installer/android out/target/product/eeepc/installer/mnt out/target/product/eeepc/installer/proc out/target/product/eeepc/installer/sys out/target/product/eeepc/installer/tmp out/target/product/eeepc/installer/sfs out/target/product/eeepc/installer/hd
echo "VER=2011-01-15" > out/target/product/eeepc/installer/scripts/00-ver
out/host/linux-x86/bin/mkbootfs out/target/product/eeepc/installer | gzip -9 > out/target/product/eeepc/initrd.img
out/host/linux-x86/bin/mkbootfs bootable/newinstaller/install/ | gzip -9 > out/target/product/eeepc/install.img
rm -rf out/target/product/eeepc/usb_boot
mkdir -p out/target/product/eeepc/usb_boot/android-system
touch out/target/product/eeepc/usb_boot/ramdisk
echo 1 > out/target/product/eeepc/usb_boot/cmdline
ln out/target/product/eeepc/ramdisk.img out/target/product/eeepc/initrd.img out/target/product/eeepc/install.img out/target/product/eeepc/system.img out/target/product/eeepc/kernel out/target/product/eeepc/usb_boot/android-system
out/host/linux-x86/bin/acp -fp bootable/newinstaller/usb/* bootable/newinstaller/usb/../install/grub/android-x86.xpm.gz out/target/product/eeepc/usb_boot
ln -s grub4dos out/target/product/eeepc/usb_boot/kernel
num_blocks=`du -sk out/target/product/eeepc/usb_boot | tail -n1 | awk '{print $1;}'`; \
num_inodes=`find out/target/product/eeepc/usb_boot | wc -l`; \
out/host/linux-x86/bin/genext2fs -d out/target/product/eeepc/usb_boot -b `expr $num_blocks + 20480` -N `expr $num_inodes + 15` -m 0 out/target/product/eeepc/usb_tmp.img
target Creating: out/target/product/eeepc/grub/grub_stage2
target Generating GRUB bin: out/target/product/eeepc/grub/grub.bin
----- Making usb image ------
I/diskconfig(10726): Requesting operation on a regular file, not block device.
I/config_mbr(10726): Configuring pentry. status=0x80 type=0x83 start_lba=2048 len_lba=1235920
I/config_mbr(10726): Configuring pentry. status=0x0 type=0x0 start_lba=0 len_lba=0
I/config_mbr(10726): Configuring pentry. status=0x0 type=0x0 start_lba=0 len_lba=0
I/config_mbr(10726): Configuring pentry. status=0x0 type=0x0 start_lba=0 len_lba=0
I/diskutils(10726): Writing RAW image 'out/target/product/eeepc/usb_tmp.img' to 'out/target/product/eeepc/eeepc_usb.img' (offset=1048576)
I/diskutils(10726): Wrote 632791040 bytes to out/target/product/eeepc/eeepc_usb.img @ 1048576
Updated usb_boot length to be 617960KB
Copying images to specified partition offsets
File edit complete. Wrote 1 images.

Android x86 をビルドする 準備編

2011-01-12 20:49:22 | Android

1. repo のインストールします。
$ cd ~
$ mkdir bin
$ curl http://android.git.kernel.org/repo >bin/repo
$ chmod a+x bin/repo


2. Android x86 のソースを取得します。
$ mkdir android-x86
$ cd android-x86
$ repo init -u git://git.android-x86.org/manifest.git -b froyo-x86
$ repo sync

ソース取得するのに時間がかかりますね。30分経過してまだ終わらない。

http://www.android-x86.org/getsourcecode