question about installing android on FR

2012-01-18 Thread a dehqan
In The name Of Allah

hello
have set some enviroments in uboot that is on NAND:
 setenv mtdparts
mtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)


and this is result of mtdparts command > http://pastebin.com/2hgCwDgz

but when want to sudo dfu-util -a userdata -R -D userdata.img
dfu says No such Alternate Setting: "userdata"

how to fix it ?

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


Re: question about installing android on FR

2012-01-18 Thread Alishams Hassam
>From what I know, Android on the FR requires QI. Unless you have a specific
reason not to use it, just go with that. Note that it has to be the QI from
the AoF people as it changes the partition layout.

On Wed, Jan 18, 2012 at 8:36 PM, a dehqan  wrote:

> In The name Of Allah
>
> hello
> have set some enviroments in uboot that is on NAND:
>  setenv mtdparts
> mtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)
>
>
> and this is result of mtdparts command > http://pastebin.com/2hgCwDgz
>
> but when want to sudo dfu-util -a userdata -R -D userdata.img
> dfu says No such Alternate Setting: "userdata"
>
> how to fix it ?
>
> Regards dehqan
>
>
> ___
> 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


Re: question about installing android on FR

2012-01-18 Thread a dehqan
My question was about installing android on NAND without uSD and Now
Android comes up but becaue of lacking userdata partition can not download
.apk and so ...
could not create userdata partition because dfu error
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: question about installing android on FR

2012-01-19 Thread David Matthews

+++ a dehqan [19/01/12 11:05 +0330]:

  My question was about installing android on NAND without uSD and Now
  Android comes up but becaue of lacking userdata partition can not download
  .apk and so ...
  could not create userdata partition because dfu error


android on a freerunner needs an sdcard to work I believe. The recommended
way to install it involves using an sdcard and it continues to use that after
the first run flashes it to NAND.

--
David Matthews
m...@dmatthews.org

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


Re: question about installing android on FR

2012-01-19 Thread a dehqan
please if you know just answer question nothing more ,thanks
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: question about installing android on FR

2012-01-19 Thread Davide Scaini
 Just read the instructions here
http://code.google.com/p/android-on-freerunner/wiki/GetIt, here pasted:
Partition and format the SD card

For Android to work properly the Micro SD Card in your FreeRunner needs to
have 2 primary partitions. The first needs to be a VFAT/MSDOS (16 or 32)
partition which is used is mounted as '/sdcard', this is used as a storage
area (for pictures, movies, music, etc). The second is an ext3 partition
which Android mounts as '/data', this is where it stores settings, caches,
etc.

Experience has shown that sizing these at a ratio of 3 to 1 works best. So
if you have a 4GB card make a 3GB vfat partition and a 1GB ext3 partion.

Experience has also shown that it is best to delete all existing partitions
and create new when installing a new build. *(This greatly helps the
testing and bug fixing process).* Comprehensive information on partitioning
and formatting your SD card can be found on the Openmoko
Wiki.

*Note* Users have reported that it is also possible to install Android by
making a single partition formatted as VFAT/MSDOS

On Thu, Jan 19, 2012 at 10:40 AM, a dehqan  wrote:

> please if you know just answer question nothing more ,thanks
>

AND BE KIND! we are not working FOR you :D
d


>
>
> ___
> 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


Re: question about installing android on FR

2012-01-19 Thread a dehqan
Thanks a lot for your attentions,
but my question is not how to install android by using uSD
Again my need is only the answer of question in my first post ,maybe should
be repeated:

Am trying to install android without uSD on NAND
have flashed kernel,qi,system images into kernel,uboot,rootfs partitions but
But Dfu-utils has not userdata altsetting .

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


Re: question about installing android on FR

2012-01-19 Thread Davide Scaini
The answer is: it seems not to be possible.
Try to ask also to the AoF community.
hth
d

On Thu, Jan 19, 2012 at 11:15 AM, a dehqan  wrote:

> Thanks a lot for your attentions,
> but my question is not how to install android by using uSD
> Again my need is only the answer of question in my first post ,maybe
> should be repeated:
>
> Am trying to install android without uSD on NAND
> have flashed kernel,qi,system images into kernel,uboot,rootfs partitions
> but
> But Dfu-utils has not userdata altsetting .
>
> Regards dehqan
>
>
> ___
> 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


Re: question about installing android on FR

2012-01-19 Thread a dehqan
thanks AoF community.
do they have mailing list ?

On Thu, Jan 19, 2012 at 1:48 PM, Davide Scaini  wrote:

> The answer is: it seems not to be possible.
> Try to ask also to the AoF community.
> hth
> d
>
> On Thu, Jan 19, 2012 at 11:15 AM, a dehqan  wrote:
>
>> Thanks a lot for your attentions,
>> but my question is not how to install android by using uSD
>> Again my need is only the answer of question in my first post ,maybe
>> should be repeated:
>>
>> Am trying to install android without uSD on NAND
>> have flashed kernel,qi,system images into kernel,uboot,rootfs partitions
>> but
>> But Dfu-utils has not userdata altsetting .
>>
>> Regards dehqan
>>
>>
>> ___
>> 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
>
>
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: question about installing android on FR

2012-01-19 Thread Gennady Kupava
http://groups.google.com/group/android-on-freerunner

On Thu, 2012-01-19 at 13:53 +0330, a dehqan wrote:
> thanks AoF community.
> do they have mailing list ?
> 
> On Thu, Jan 19, 2012 at 1:48 PM, Davide Scaini 
> wrote:
> The answer is: it seems not to be possible.
> Try to ask also to the AoF community.
> hth
> d
> 
> On Thu, Jan 19, 2012 at 11:15 AM, a dehqan
>  wrote:
> 
> Thanks a lot for your attentions, 
> but my question is not how to install android by using
> uSD
> Again my need is only the answer of question in my
> first post ,maybe should be repeated:
> 
> Am trying to install android without uSD on NAND
> have flashed kernel,qi,system images into
> kernel,uboot,rootfs partitions but
> But Dfu-utils has not userdata altsetting .
> 
> Regards dehqan
> 
> 
> 
> 
> ___
> 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
> 
> 
> 
> ___
> 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


Re: question about installing android on FR

2012-01-19 Thread Jose Luis Perez Diez
El Thursday 19 January 2012 08:35:24 a dehqan va escriure:
> My question was about installing android on NAND without uSD and Now
> Android comes up but becaue of lacking userdata partition can not download
> .apk and so ...
> could not create userdata partition because dfu error

I think that the Uboot DFU protocol implementation (or dfu-util) has a maximun 
of 7 (1 ram 6 nand)
 downlad/upload positions harcoded. (I tested reading from diferent mtdparts 
configurations with 
nor uboot and Genady's one)

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


Re: question about installing android on FR

2012-01-19 Thread a dehqan
Thanks methink so
Have installed uboot on NAND and have set enviroments on it , this is
mtdparts output http://pastebin.com/E08fHr2G and this is printenv output
http://pastebin.com/E08fHr2G

But dfu-util -l  http://pastebin.com/59fLK4GC  does not show any userdata
partition while it got system partition

On Thu, Jan 19, 2012 at 7:31 PM, Jose Luis Perez Diez <
jl...@escomposlinux.org> wrote:

> El Thursday 19 January 2012 08:35:24 a dehqan va escriure:
> > My question was about installing android on NAND without uSD and Now
> > Android comes up but becaue of lacking userdata partition can not
> download
> > .apk and so ...
> > could not create userdata partition because dfu error
>
> I think that the Uboot DFU protocol implementation (or dfu-util) has a
> maximun of 7 (1 ram 6 nand)
>  downlad/upload positions harcoded. (I tested reading from diferent
> mtdparts configurations with
> nor uboot and Genady's one)
>
> ___
> 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


Re: question about installing android on FR

2012-01-19 Thread dmatthews.org
On Thu, 19 Jan 2012 10:49:43 +0100
Davide Scaini  wrote:


> 
> For Android to work properly the Micro SD Card in your FreeRunner needs to
> have 2 primary partitions. The first needs to be a VFAT/MSDOS (16 or 32)
> partition which is used is mounted as '/sdcard', this is used as a storage
> area (for pictures, movies, music, etc). The second is an ext3 partition
> which Android mounts as '/data', this is where it stores settings, caches,
> etc.
> 
> Experience has shown that sizing these at a ratio of 3 to 1 works best. So
> if you have a 4GB card make a 3GB vfat partition and a 1GB ext3 partion.

Interestingly my android install does not seem to use the ext3 partition - 
looks like I wasted some sdcard space making that?

This is an install from ran's cupcake image:-

# mount
rootfs / rootfs ro 0 0
tmpfs /dev tmpfs rw,mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw 0 0
sysfs /sys sysfs rw 0 0
tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
/dev/block/mtdblock6 /system jffs2 ro 0 0
/dev/block/mmcblk0p1 /sdcard vfat 
rw,nosuid,nodev,fmask=,dmask=,allow_utime=0022,codepage=cp437,iocharset=iso8859-1
 0 0
/dev/block/mtdblock7 /data yaffs2 rw,nosuid,nodev 0 0



-- 
David Matthews
m...@dmatthews.org

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


Re: question about installing android on FR

2012-01-19 Thread Davide Scaini
On Thu, Jan 19, 2012 at 8:38 PM, dmatthews.org  wrote:

> On Thu, 19 Jan 2012 10:49:43 +0100
> Davide Scaini  wrote:
>
>
> >
> > For Android to work properly the Micro SD Card in your FreeRunner needs
> to
> > have 2 primary partitions. The first needs to be a VFAT/MSDOS (16 or 32)
> > partition which is used is mounted as '/sdcard', this is used as a
> storage
> > area (for pictures, movies, music, etc). The second is an ext3 partition
> > which Android mounts as '/data', this is where it stores settings,
> caches,
> > etc.
> >
> > Experience has shown that sizing these at a ratio of 3 to 1 works best.
> So
> > if you have a 4GB card make a 3GB vfat partition and a 1GB ext3 partion.
>
> Interestingly my android install does not seem to use the ext3 partition -
> looks like I wasted some sdcard space making that?
>
> This is an install from ran's cupcake image:-
>
> # mount
> rootfs / rootfs ro 0 0
> tmpfs /dev tmpfs rw,mode=755 0 0
> devpts /dev/pts devpts rw,mode=600 0 0
> proc /proc proc rw 0 0
> sysfs /sys sysfs rw 0 0
> tmpfs /sqlite_stmt_journals tmpfs rw,size=4096k 0 0
> /dev/block/mtdblock6 /system jffs2 ro 0 0
> /dev/block/mmcblk0p1 /sdcard vfat
> rw,nosuid,nodev,fmask=,dmask=,allow_utime=0022,codepage=cp437,iocharset=iso8859-1
> 0 0
> /dev/block/mtdblock7 /data yaffs2 rw,nosuid,nodev 0 0
>
>
>
I reply directly to you because our mate dehqan seems nervous...
in http://code.google.com/p/android-on-freerunner/wiki/GetIt they write:
*Note* Users have reported that it is also possible to install Android by
making a single partition formatted as VFAT/MSDOS.

I have no other ideas :P


>
> --
> David Matthews
> m...@dmatthews.org
>
> ___
> 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


Re: question about installing android on FR

2012-01-19 Thread a dehqan
In The Name of Allah


Hello

the problem is that the bootloader of my fr is not compatible with fastboot
but with dfu instead, the problem is that not all partitions defined trough
u-boot are exported trough the dfu protocol, so the solution is to flash
from android itself the remaining partition
 unfortunately the phone is armv4t so we must find a flasher binary for
android or statically linked for armv4t
do you know one ?

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


Re: question about installing android on FR

2012-01-20 Thread Jose Luis Perez Diez
El Thursday 19 January 2012 17:52:46 a dehqan va escriure:
> Thanks methink so
> Have installed uboot on NAND and have set enviroments on it , this is
> mtdparts output http://pastebin.com/E08fHr2G and this is printenv output
> http://pastebin.com/E08fHr2G
> 
> But dfu-util -l  http://pastebin.com/59fLK4GC  does not show any userdata
> partition while it got system partition

Have you tried to use diferent mtdparts while flashing?

one like this for system:

setenv mtdparts 
mtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system)

and other like this for usedata:

setenv 
mtdpartsmtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0404(factory_system),0x0b6a(userdata)

and, if using uboot to start android, this other when all is flasshed:

setenv mtdparts 
mtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)

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


Re: question about installing android on FR

2012-01-20 Thread a dehqan
the problem is that the bootloader of my fr is not compatible with fastboot
but with dfu instead, the problem is that not all partitions defined trough
u-boot are exported trough the dfu protocol, so the solution is to flash
from android itself the remaining partition
 unfortunately the phone is armv4t so we must find a flasher binary for
android or statically linked for armv4t,do you know one?
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: question about installing android on FR

2012-01-20 Thread Patryk Benderz
Dnia 2012-01-20, piÄ… o godzinie 16:41 +0330, a dehqan pisze:
[cut]
> the problem is that not all partitions defined trough u-boot are
> exported trough the dfu protocol,
[cut]
Tormod Volden and Stefan Schmidt are actively developing dfu-util, but I
am not sure if they are reading community ML. So it might be a good idea
to ask about dfu-util related problems on de...@lists.openmoko.org .

-- 
Patryk "LeadMan" Benderz
Linux Registered User #377521
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments


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


Re: question about installing android on FR

2012-01-21 Thread a dehqan
In The Name Of Allah
Hello
Thanks have tried:
mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)

Now printenv shows:

mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)

but when want to try dfu-utils -l shows:
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=1, name="u-boot"
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=2,
name="u-boot_env"
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=3, name="kernel"
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=4, name="splash"
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=5, name="factory"
Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=6, name="system"


again there is no userdata
On Fri, Jan 20, 2012 at 11:33 AM, Jose Luis Perez Diez <
jl...@escomposlinux.org> wrote:

> El Thursday 19 January 2012 17:52:46 a dehqan va escriure:
> > Thanks methink so
> > Have installed uboot on NAND and have set enviroments on it , this is
> > mtdparts output http://pastebin.com/E08fHr2G and this is printenv output
> > http://pastebin.com/E08fHr2G
> >
> > But dfu-util -l  http://pastebin.com/59fLK4GC  does not show any
> userdata
> > partition while it got system partition
>
> Have you tried to use diferent mtdparts while flashing?
>
> one like this for system:
>
> setenv mtdparts
> mtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system)
>
> and other like this for usedata:
>
> setenv
> mtdpartsmtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0404(factory_system),0x0b6a(userdata)
>
> and, if using uboot to start android, this other when all is flasshed:
>
> setenv mtdparts
> mtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)
>
> ___
> 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


Re: question about installing android on FR

2012-01-23 Thread a dehqan
In The Name Of Allah
Hello

This is answer of stefan schimdt (dfu-utils developer) :

"The number of shown partitions is hardcoded atm to DFU_NUM_ALTERNATES
which is set to 6. So you last partition does not get shown increment
it to seven in your board config and re-compile your u-boot and test
again."

but unfortunately ,have not board here ,would someone recompile it ?
On Sun, Jan 22, 2012 at 12:52 AM, a dehqan  wrote:

>
> Thanks have tried:
>
> mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)
>
> Now printenv shows:
>
>
> mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)
>
> but when want to try dfu-utils -l shows:
> Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=1, name="u-boot"
> Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=2,
> name="u-boot_env"
> Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=3, name="kernel"
> Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=4, name="splash"
> Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=5, name="factory"
> Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=6, name="system"
>
>
> again there is no userdata
>
> On Fri, Jan 20, 2012 at 11:33 AM, Jose Luis Perez Diez <
> jl...@escomposlinux.org> wrote:
>
>> El Thursday 19 January 2012 17:52:46 a dehqan va escriure:
>> > Thanks methink so
>> > Have installed uboot on NAND and have set enviroments on it , this is
>> > mtdparts output http://pastebin.com/E08fHr2G and this is printenv
>> output
>> > http://pastebin.com/E08fHr2G
>> >
>> > But dfu-util -l  http://pastebin.com/59fLK4GC  does not show any
>> userdata
>> > partition while it got system partition
>>
>> Have you tried to use diferent mtdparts while flashing?
>>
>> one like this for system:
>>
>> setenv mtdparts
>> mtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system)
>>
>> and other like this for usedata:
>>
>> setenv
>> mtdpartsmtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0404(factory_system),0x0b6a(userdata)
>>
>> and, if using uboot to start android, this other when all is flasshed:
>>
>> setenv mtdparts
>> mtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)
>>
>> ___
>> 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


Re: question about installing android on FR

2012-01-23 Thread Martin Jansa
On Mon, Jan 23, 2012 at 08:07:15PM +0330, a dehqan wrote:
> In The Name Of Allah
> Hello
> 
> This is answer of stefan schimdt (dfu-utils developer) :
> 
> "The number of shown partitions is hardcoded atm to DFU_NUM_ALTERNATES
> which is set to 6. So you last partition does not get shown increment
> it to seven in your board config and re-compile your u-boot and test
> again."

Why not sqash factory+system partitions together as someone suggested in
this thread?

Here:

> >> setenv
> >> mtdpartsmtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0404(factory_system),0x0b6a(userdata)
> >>


Cheers,

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com


signature.asc
Description: Digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: question about installing android on FR

2012-01-23 Thread a dehqan
Hello.

On Sun, 2012-01-22 at 01:13, a dehqan wrote:
>In The Name Of Allah
>Hello
>Thanks have tried:
>
 
mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)
>
>Now printenv shows:
>
>
 
mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)
>
>but when want to try dfu-utils -l shows:
>Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=1,
name="u-boot"
>Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=2,
>name="u-boot_env"
>Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=3,
name="kernel"
>Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=4,
name="splash"Hello.

On Sun, 2012-01-22 at 01:13, a dehqan wrote:
>In The Name Of Allah
>Hello
>Thanks have tried:
>
 
mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)
>
>Now printenv shows:
>
>
 
mtdparts=mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0400(system),0x0b6a(userdata)
>
>but when want to try dfu-utils -l shows:
>Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=1,
name="u-boot"
>Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=2,
>name="u-boot_env"
>Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=3,
name="kernel"
>Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=4,
name="splash"
>Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=5,
name="factory"
>Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=6,
name="system"
>
>again there is no userdata
>Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=5,
name="factory"
>Found DFU: [0x1d50:0x5119] devnum=61, cfg=0, intf=0, alt=6,
name="system"
>
>again there is no userdata
On Mon, Jan 23, 2012 at 8:13 PM, Martin Jansa wrote:

> On Mon, Jan 23, 2012 at 08:07:15PM +0330, a dehqan wrote:
> > In The Name Of Allah
> > Hello
> >
> > This is answer of stefan schimdt (dfu-utils developer) :
> >
> > "The number of shown partitions is hardcoded atm to DFU_NUM_ALTERNATES
> > which is set to 6. So you last partition does not get shown increment
> > it to seven in your board config and re-compile your u-boot and test
> > again."
>
> Why not sqash factory+system partitions together as someone suggested in
> this thread?
>
> Here:
>
> > >> setenv
> > >>
> mtdpartsmtdparts=physmap-flash:-(nor)\;neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0404(factory_system),0x0b6a(userdata)
> > >>
>
>
> Cheers,
>
> --
> Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
>
> ___
> 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