Robert,
> I had to build a static version of eraseall myself, the mtd utilities are
> open
> source (yay!). They are available here:
>
> http://www.linux-mtd.infradead.org/source.html
Thanks for pointing out where to download the source...
FYI GIT repository: git://git.infradead.org/mtd-utils.git
We simply commented out the code that checks if a block has been marked bad.
Keep in mind the mtd drivers need to have this same logic commented out as the
mtd kernel code does the same type of check.
"flash_eraseall.c" 291L, 7412C written
:mtd-utils$ diff -u orig.flash_eraseall.c flash_eraseall.c
--- orig.flash_eraseall.c 2009-08-17 13:21:30.000000000 -0700
+++ flash_eraseall.c 2009-08-17 13:21:51.000000000 -0700
@@ -127,6 +127,7 @@
for (erase.start = 0; erase.start < meminfo.size; erase.start +=
meminfo.erasesize) {
if (bbtest) {
loff_t offset = erase.start;
+ /*
int ret = ioctl(fd, MEMGETBADBLOCK, &offset);
if (ret > 0) {
if (!quiet)
@@ -144,6 +145,7 @@
return 1;
}
}
+ */
}
if (!quiet)
:mtd-utils$
As I've mentioned earlier on this list, if you have any questions please give us
a call or an email. We're more than happy to help you out and I promise we won't
bite :)
>> --- In <ts-7000%40yahoogroups.com>, Jim
>> Jackson
>> <> wrote:
>> >
>> >
>> >
>> >
>> > On Sat, 15 Aug 2009, j.chitte wrote:
>> >
>> > > It would be cool if TS could start complying with license and copyright a
>> > > bit more seriously. It should not be up to users or copyright owners to
>> > > notify them.
>> > >
>> > > If you use GPL you publish the source next to any binaries , it's that
>> > > simple.
>> >
>> > Have you sent a request direct to TS to request the source?
>> >
>> > AFAIK the GPL does not mean that TS has to "publish" the source to all and
>> > sundry. It just has to make the source available to anybody that it
>> > supplies the binary to. I believe it should tell you somewhere how to get
>> > hold of the source. However one way to fully comply is to make the source
>> > generally available to everyone, it's just easier for all concerned.
>> >
>> > If TS fail to supply source - THEN beef about them - big time.
>> >
>> > cheers
>> > Jim
>> >
>>
>> http://www.softwarefreedom.org/resources/2008/compliance-guide.html
>> <http://www.softwarefreedom.org/resources/2008/compliance-guide.html>
>> GPLv2 § 3:
>> If distribution of executable or object code is made by offering access to
>> copy from a designated place, then offering equivalent access to copy the
>> source code from the same place counts as distribution of the source code,
>> even though third parties are not compelled to copy the source along with the
>> object code.
>>
>> This is by no means the only way to comply but it is by far the cheapest and
>> simplest. I also doubt that TS wants to get into providing CDs in response to
>> individual requests for odds and sods like this.
>>
>> Since Micheal from TS was good enough to reply to my inquiry about flash
>> recovery I am hoping he will read this thread and be able to post a link
>> (maybe its just elsewhere on the server).
>>
>> If not , I suppose I'll have to make a formal request directly to TS.
>>
>> In any case I don't see compliance here since there is not even "an offer of
>> source" via another medium.
>>
>
>
>
--
Best Regards,
________________________________________________________________
Eddie Dawydiuk, Technologic Systems | voice: (480) 837-5200
16525 East Laser Drive | fax: (480) 837-5300
Fountain Hills, AZ 85268 | web: www.embeddedARM.com
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|