Android boot on bc9
[
Front page
] [
New
|
List of pages
|
Search
|
Recent changes
]
Start:
[[Android]]
*Booting Android [#mecc7b4a]
To boot Android, ~
First boot gumstix and make sure that the USB flash memor...
root@gumstix-custom-verdex:~$ mount
rootfs on / type rootfs (rw)
/dev/root on / type jffs2 (rw,sync,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/root on /dev/.static/dev type jffs2 (rw,sync)
tmpfs on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
tmpfs on /var/volatile type tmpfs (rw)
tmpfs on /media/ram type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda on /media/hdd type ext2 (rw)
Then execute following command:
chroot /media/hdd/adnroid-root /init
You will see Andoird on gumstix.
If you want to boot Android directly after power on gumst...
/etc/init.d/android
Make this file as following contents:
#!/bin/sh
#
# Start android by chroot
#
start() {
echo "Starting android..."
/usr/sbin/chroot /media/hdd/android-root /init
}
case "$1" in
start)
start
;;
*)
echo $"Usage: $0 {start}"
exit 1
esac
exit $?
Add execute permission:
chmod a+x /etc/init.d/android
And in order to execute this script at default run level ...
root@gumstix-custom-verdex:~$ cd /etc/rc5.d/
root@gumstix-custom-verdex:~$ ln -s ../init.d/android S9...
This script will be executed at the end of gumstix linux ...
#youtube(NNSuuo505bE);
---------------------------------------
RIGHT:by Satoshi OTSUKA
End:
[[Android]]
*Booting Android [#mecc7b4a]
To boot Android, ~
First boot gumstix and make sure that the USB flash memor...
root@gumstix-custom-verdex:~$ mount
rootfs on / type rootfs (rw)
/dev/root on / type jffs2 (rw,sync,noatime)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/root on /dev/.static/dev type jffs2 (rw,sync)
tmpfs on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw)
tmpfs on /var/volatile type tmpfs (rw)
tmpfs on /media/ram type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda on /media/hdd type ext2 (rw)
Then execute following command:
chroot /media/hdd/adnroid-root /init
You will see Andoird on gumstix.
If you want to boot Android directly after power on gumst...
/etc/init.d/android
Make this file as following contents:
#!/bin/sh
#
# Start android by chroot
#
start() {
echo "Starting android..."
/usr/sbin/chroot /media/hdd/android-root /init
}
case "$1" in
start)
start
;;
*)
echo $"Usage: $0 {start}"
exit 1
esac
exit $?
Add execute permission:
chmod a+x /etc/init.d/android
And in order to execute this script at default run level ...
root@gumstix-custom-verdex:~$ cd /etc/rc5.d/
root@gumstix-custom-verdex:~$ ln -s ../init.d/android S9...
This script will be executed at the end of gumstix linux ...
#youtube(NNSuuo505bE);
---------------------------------------
RIGHT:by Satoshi OTSUKA
Page: