Re: license for setup_sdcard.sh

2010-12-04 Thread Robert Nelson
On Wed, Sep 1, 2010 at 9:58 AM, Robert Nelson  wrote:
> On Wed, Sep 1, 2010 at 7:38 AM, Loïc Minier  wrote:
>> On Wed, Sep 01, 2010, Robert Nelson wrote:
>>> I'm the primary author for most of it, if I draw the 'significant'
>>> line before localizations..
>>
>>  Ok; I added Copyright 2010 Robert Nelson  at
>>  the top of our fork; thanks!
>>
>>>                             (German(1) spelling versions of "Disk")
>>
>>  I just removed the need for the translation in our fork of the script
>>  (changed "sudo sfdisk [...]" calls to "sudo LC_ALL=C sfdisk [...]")
>>
>>  You might want to do the same for your script, to support any language.
>
> Thanks Loïc, that definitely will work alot better.  I was playing
> with LANG='s this morning not have much luck, wish i was bi-lingual.
> (does Canadian count?)
>
>>
>>> So that leaves one author for dealing with "/dev/mmcblk0[p]" (2)
>>
>>  Apparently, we don't have this feature; I guess our script doesn't work
>>  on real MMC drives on laptops, only on USB ones.
>
> Yeah i didn't run into that myself till this summer with my new laptop
> with built-in mmc card..  So it'll probally come up at some point as a
> bug for you guys..
>
>>  Our version was GPLv3 licensed; I'm not sure whether it's GPLv3+ or
>>  GPLv3 though.  I think it would be best to move to BSD style licensing,
>>  but that needs some kind of approval.  Our version is in
>>  lp:linaro-image-tools BTW (linaro-media-create script).
>>
>>   Thanks for your help in sorting this out!

Guys, just a heads up for util-linux-ng 2.18, (I've been tweaking my
script for Fedora 14/15 usage..)

It looks like 'fdisk' can no longer create the new partition at sector
1, (thru forcing dos compatibly mode, i can get it down to sector 62,
however that isn't bootable on my Bx/Cx beagles)..  I know you use
sfdisk, but you might run into the same issue since it's from the same
project..

http://bazaar.launchpad.net/~linaro-maintainers/linaro-image-tools/linaro-image-tools/annotate/head:/linaro-media-create#L474

I'm looking into using parted from the command line, and so far it
seems to be working on maverick just have to confirm on fedora..

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


Re: license for setup_sdcard.sh

2010-12-04 Thread Robert Nelson
On Sat, Dec 4, 2010 at 9:06 AM, Robert Nelson  wrote:
> On Wed, Sep 1, 2010 at 9:58 AM, Robert Nelson  wrote:
>> On Wed, Sep 1, 2010 at 7:38 AM, Loïc Minier  wrote:
>>> On Wed, Sep 01, 2010, Robert Nelson wrote:
 I'm the primary author for most of it, if I draw the 'significant'
 line before localizations..
>>>
>>>  Ok; I added Copyright 2010 Robert Nelson  at
>>>  the top of our fork; thanks!
>>>
                             (German(1) spelling versions of "Disk")
>>>
>>>  I just removed the need for the translation in our fork of the script
>>>  (changed "sudo sfdisk [...]" calls to "sudo LC_ALL=C sfdisk [...]")
>>>
>>>  You might want to do the same for your script, to support any language.
>>
>> Thanks Loïc, that definitely will work alot better.  I was playing
>> with LANG='s this morning not have much luck, wish i was bi-lingual.
>> (does Canadian count?)
>>
>>>
 So that leaves one author for dealing with "/dev/mmcblk0[p]" (2)
>>>
>>>  Apparently, we don't have this feature; I guess our script doesn't work
>>>  on real MMC drives on laptops, only on USB ones.
>>
>> Yeah i didn't run into that myself till this summer with my new laptop
>> with built-in mmc card..  So it'll probally come up at some point as a
>> bug for you guys..
>>
>>>  Our version was GPLv3 licensed; I'm not sure whether it's GPLv3+ or
>>>  GPLv3 though.  I think it would be best to move to BSD style licensing,
>>>  but that needs some kind of approval.  Our version is in
>>>  lp:linaro-image-tools BTW (linaro-media-create script).
>>>
>>>   Thanks for your help in sorting this out!
>
> Guys, just a heads up for util-linux-ng 2.18, (I've been tweaking my
> script for Fedora 14/15 usage..)
>
> It looks like 'fdisk' can no longer create the new partition at sector
> 1, (thru forcing dos compatibly mode, i can get it down to sector 62,
> however that isn't bootable on my Bx/Cx beagles)..  I know you use
> sfdisk, but you might run into the same issue since it's from the same
> project..
>
> http://bazaar.launchpad.net/~linaro-maintainers/linaro-image-tools/linaro-image-tools/annotate/head:/linaro-media-create#L474
>
> I'm looking into using parted from the command line, and so far it
> seems to be working on maverick just have to confirm on fedora..

nm  figured out a work-around with fdisk that works

"-c=dos -u=cylinders"

so you might run into it too..

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


Re: license for setup_sdcard.sh

2010-12-04 Thread arnd
On Saturday 04 December 2010 18:05:03 Robert Nelson wrote:
> > Guys, just a heads up for util-linux-ng 2.18, (I've been tweaking my
> > script for Fedora 14/15 usage..)
> >
> > It looks like 'fdisk' can no longer create the new partition at sector
> > 1, (thru forcing dos compatibly mode, i can get it down to sector 62,
> > however that isn't bootable on my Bx/Cx beagles)..  I know you use
> > sfdisk, but you might run into the same issue since it's from the same
> > project..
> >
> > http://bazaar.launchpad.net/~linaro-maintainers/linaro-image-tools/linaro-image-tools/annotate/head:/linaro-media-create#L474
> >
> > I'm looking into using parted from the command line, and so far it
> > seems to be working on maverick just have to confirm on fedora..
> 
> nm  figured out a work-around with fdisk that works
> 
> "-c=dos -u=cylinders"
> 
> so you might run into it too..
> 

We really need to fix the boot loaders here. Anything that writes
to SD cards at unaligned sectors is rather broken, better make sure
that setup_sdcards always aligns the start of each partition to
multiples of 4MB from the start of the medium, and that all boot
loaders know how to deal with this!

Arnd

___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev


Re: license for setup_sdcard.sh

2010-12-04 Thread Robert Nelson
On Sat, Dec 4, 2010 at 11:49 AM,   wrote:
> On Saturday 04 December 2010 18:05:03 Robert Nelson wrote:
>> > Guys, just a heads up for util-linux-ng 2.18, (I've been tweaking my
>> > script for Fedora 14/15 usage..)
>> >
>> > It looks like 'fdisk' can no longer create the new partition at sector
>> > 1, (thru forcing dos compatibly mode, i can get it down to sector 62,
>> > however that isn't bootable on my Bx/Cx beagles)..  I know you use
>> > sfdisk, but you might run into the same issue since it's from the same
>> > project..
>> >
>> > http://bazaar.launchpad.net/~linaro-maintainers/linaro-image-tools/linaro-image-tools/annotate/head:/linaro-media-create#L474
>> >
>> > I'm looking into using parted from the command line, and so far it
>> > seems to be working on maverick just have to confirm on fedora..
>>
>> nm  figured out a work-around with fdisk that works
>>
>> "-c=dos -u=cylinders"
>>
>> so you might run into it too..
>>
>
> We really need to fix the boot loaders here. Anything that writes
> to SD cards at unaligned sectors is rather broken, better make sure
> that setup_sdcards always aligns the start of each partition to
> multiples of 4MB from the start of the medium, and that all boot
> loaders know how to deal with this!

Well, the good news, the bootloaders, x-load and u-boot do a better
job at this on the omap family

However, it's actually the bootrom, inside the omap3 that's the problem..

Regards,

-- 
Robert Nelson
http://www.rcn-ee.com/

___
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev