Re: [Android] on SD card

2009-01-21 Thread dscaini
it's very interesting! but is there a way for booting with uboot?
thanks
d

ps i haven't tried android recently mainly cause the bigger kernel and
my lazyness in changing uboot.

On 12/29/08, Radek Polak pson...@seznam.cz wrote:
 Hi,
 i have android booting from SD card. It wasn't that hard to make it work.

 You will need SD with one ext3 partition. Download and unpack tarball
 from here [1] and boot with Qi [2]. First boot take quite a lot of time.
 Then it will be faster.

 You can also compile from sources [3] and put the rootfs together
 yourself. You just have to put together what is in
 out/target/product/freerunner directory and add kernel (either the
 Sean's [4] or andy tracking[5]). I have attached my script which does
 this [6]. Last this is to modify init.rc file so that it mounts SD card,
 you can find it attached or here [7].

 While Android boots or later you can attach to it with adb like this:

 ifconfig usb0 192.168.0.200
 adb kill-server
 adb shell
 adb logcat

 I hope this helps us with killing bugs that Android on FR currently has
 (suspend, power off, GSM crashes, ...)

 Cheers

 Radek

 [1] http://activationrecord.net/radekp/openmoko/android/rootfs.tar.gz
 [2] http://wiki.openmoko.org/wiki/Qi
 [3] http://git.koolu.org/
 [4] http://people.openmoko.org/sean_mcneil/
 [5] http://people.openmoko.org/andy/
 [6] http://activationrecord.net/radekp/openmoko/android/mk_rootfs.sh
 [7] http://activationrecord.net/radekp/openmoko/android/init.rc


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Android] on SD card

2009-01-21 Thread Radek Polak

 it's very interesting! but is there a way for booting with uboot?
 thanks
 d

 ps i haven't tried android recently mainly cause the bigger kernel and
 my lazyness in changing uboot.
   
It could be possible from u-boot bootloader prompt.
You can check http://wiki.openmoko.org/wiki/U-boot

According to Michael this is for booting from NAND:

bootargs_base=rootfstype=jffs2 root=/dev/mtdblock6 
console=ttySAC2,115200 loglevel=8 regular_boot
bootcmd=setenv bootargs ${bootargs_base} ${mtdparts}; nand read.e 
0x3200 kernel 0x30; bootm 0x3200

I am not sure if this is possible when kernel is on SD card.
You can try replace jffs2 with ext3 and /dev/mtdblock6 with
/dev/mmcblk0p2 and commands for loading kernel (nand read.e)
with their equivalent for SD card.

Good luck

Radek



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Android] on SD card

2008-12-31 Thread clare johnstone
Radek thank you very much for this post. I was able to try the
Android; very interesting.
Having the SD card version was a great help. I like the real clock
faces especially.
I will try your further suggestions if I get some spare time, by then
it may all be different..
Good wishes for New Year,
clare

On Mon, Dec 29, 2008 at 12:05 PM, Radek Polak pson...@seznam.cz wrote:
 Hi,
 i have android booting from SD card. It wasn't that hard to make it work.

 You will need SD with one ext3 partition. Download and unpack tarball from
 here [1] and boot with Qi [2]. First boot take quite a lot of time. Then it
 will be faster.

 You can also compile from sources [3] and put the rootfs together yourself.
 You just have to put together what is in out/target/product/freerunner
 directory and add kernel (either the Sean's [4] or andy tracking[5]). I have
 attached my script which does this [6]. Last this is to modify init.rc file
 so that it mounts SD card, you can find it attached or here [7].

 While Android boots or later you can attach to it with adb like this:

 ifconfig usb0 192.168.0.200
 adb kill-server
 adb shell
 adb logcat

 I hope this helps us with killing bugs that Android on FR currently has
 (suspend, power off, GSM crashes, ...)

 Cheers

 Radek

 [1] http://activationrecord.net/radekp/openmoko/android/rootfs.tar.gz
 [2] http://wiki.openmoko.org/wiki/Qi
 [3] http://git.koolu.org/
 [4] http://people.openmoko.org/sean_mcneil/
 [5] http://people.openmoko.org/andy/
 [6] http://activationrecord.net/radekp/openmoko/android/mk_rootfs.sh
 [7] http://activationrecord.net/radekp/openmoko/android/init.rc

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[Android] on SD card

2008-12-29 Thread Radek Polak

Hi,
i have android booting from SD card. It wasn't that hard to make it work.

You will need SD with one ext3 partition. Download and unpack tarball 
from here [1] and boot with Qi [2]. First boot take quite a lot of time. 
Then it will be faster.


You can also compile from sources [3] and put the rootfs together 
yourself. You just have to put together what is in 
out/target/product/freerunner directory and add kernel (either the 
Sean's [4] or andy tracking[5]). I have attached my script which does 
this [6]. Last this is to modify init.rc file so that it mounts SD card, 
you can find it attached or here [7].


While Android boots or later you can attach to it with adb like this:

ifconfig usb0 192.168.0.200
adb kill-server
adb shell
adb logcat

I hope this helps us with killing bugs that Android on FR currently has 
(suspend, power off, GSM crashes, ...)


Cheers

Radek

[1] http://activationrecord.net/radekp/openmoko/android/rootfs.tar.gz
[2] http://wiki.openmoko.org/wiki/Qi
[3] http://git.koolu.org/
[4] http://people.openmoko.org/sean_mcneil/
[5] http://people.openmoko.org/andy/
[6] http://activationrecord.net/radekp/openmoko/android/mk_rootfs.sh
[7] http://activationrecord.net/radekp/openmoko/android/init.rc


mk_rootfs.sh
Description: application/shellscript


init.rc
Description: application/extension-rc
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community