<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/fs/ext2, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>ext4fs ls load support</title>
<updated>2012-08-09T21:47:43+00:00</updated>
<author>
<name>Uma Shankar</name>
<email>uma.shankar@samsung.com</email>
</author>
<published>2012-05-25T15:51:44+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a1596438a68921d2c9b1fdec70a720d38c85ca7d'/>
<id>a1596438a68921d2c9b1fdec70a720d38c85ca7d</id>
<content type='text'>
Signed-off-by: Uma Shankar &lt;uma.shankar@samsung.com&gt;
Signed-off-by: Manjunatha C Achar &lt;a.manjunatha@samsung.com&gt;
Signed-off-by: Iqbal Shareef &lt;iqbal.ams@samsung.com&gt;
Signed-off-by: Hakgoo Lee &lt;goodguy.lee@samsung.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Uma Shankar &lt;uma.shankar@samsung.com&gt;
Signed-off-by: Manjunatha C Achar &lt;a.manjunatha@samsung.com&gt;
Signed-off-by: Iqbal Shareef &lt;iqbal.ams@samsung.com&gt;
Signed-off-by: Hakgoo Lee &lt;goodguy.lee@samsung.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ext2fs: fix warning: 'blocknxt' may be used uninitialized with gcc 4.2</title>
<updated>2012-08-07T18:52:42+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@ti.com</email>
</author>
<published>2012-08-07T16:58:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=94c1a20fe78c0d3ba44ee8674b91163dddad0d80'/>
<id>94c1a20fe78c0d3ba44ee8674b91163dddad0d80</id>
<content type='text'>
The above warning was introduced originally in 436da3c "ext2load:
increase read speed" and fixed for newer toolchains in b803273 "ext2fs:
fix warning: 'blocknxt' may be used uninitialized".  This change did not
fix the warning with gcc 4.2, as found in ELDK 4.2.

If we rework the while loop to initalize blocknxt before entering the
warning really goes away.  Tested on am335x with an approx 7mb file and
crc32 in U-Boot befor and after this change.

Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Eric Nelson &lt;eric.nelson@boundarydevices.com&gt;
Cc: Thierry Reding &lt;thierry.reding@avionic-design.de&gt;
Cc: Jason Cooper &lt;u-boot@lakedaemon.net&gt;
Cc: Andreas Bießmann &lt;andreas.devel@googlemail.com&gt;
Cc: Reinhard Arlt &lt;reinhard.arlt@esd-electronics.com&gt;
Cc: Kim Phillips &lt;kim.phillips@freescale.com&gt;
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The above warning was introduced originally in 436da3c "ext2load:
increase read speed" and fixed for newer toolchains in b803273 "ext2fs:
fix warning: 'blocknxt' may be used uninitialized".  This change did not
fix the warning with gcc 4.2, as found in ELDK 4.2.

If we rework the while loop to initalize blocknxt before entering the
warning really goes away.  Tested on am335x with an approx 7mb file and
crc32 in U-Boot befor and after this change.

Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Cc: Eric Nelson &lt;eric.nelson@boundarydevices.com&gt;
Cc: Thierry Reding &lt;thierry.reding@avionic-design.de&gt;
Cc: Jason Cooper &lt;u-boot@lakedaemon.net&gt;
Cc: Andreas Bießmann &lt;andreas.devel@googlemail.com&gt;
Cc: Reinhard Arlt &lt;reinhard.arlt@esd-electronics.com&gt;
Cc: Kim Phillips &lt;kim.phillips@freescale.com&gt;
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ext2fs: fix warning: 'blocknxt' may be used uninitialized</title>
<updated>2012-07-08T20:55:04+00:00</updated>
<author>
<name>Kim Phillips</name>
<email>kim.phillips@freescale.com</email>
</author>
<published>2012-07-03T22:41:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b8032734ee94f4031c71aa40f100e9ef181ea0ef'/>
<id>b8032734ee94f4031c71aa40f100e9ef181ea0ef</id>
<content type='text'>
This warning was introduced in 436da3c "ext2load: increase read
speed":

ext2fs.c: In function 'ext2fs_read_file':
ext2fs.c:458:19: warning: 'blocknxt' may be used uninitialized in this function [-Wuninitialized]

this change makes it go away.

Cc: Eric Nelson &lt;eric.nelson@boundarydevices.com&gt;
Cc: Thierry Reding &lt;thierry.reding@avionic-design.de&gt;
Cc: Jason Cooper &lt;u-boot@lakedaemon.net&gt;
Cc: Andreas Bießmann &lt;andreas.devel@googlemail.com&gt;
Cc: Reinhard Arlt &lt;reinhard.arlt@esd-electronics.com&gt;
Signed-off-by: Kim Phillips &lt;kim.phillips@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This warning was introduced in 436da3c "ext2load: increase read
speed":

ext2fs.c: In function 'ext2fs_read_file':
ext2fs.c:458:19: warning: 'blocknxt' may be used uninitialized in this function [-Wuninitialized]

this change makes it go away.

Cc: Eric Nelson &lt;eric.nelson@boundarydevices.com&gt;
Cc: Thierry Reding &lt;thierry.reding@avionic-design.de&gt;
Cc: Jason Cooper &lt;u-boot@lakedaemon.net&gt;
Cc: Andreas Bießmann &lt;andreas.devel@googlemail.com&gt;
Cc: Reinhard Arlt &lt;reinhard.arlt@esd-electronics.com&gt;
Signed-off-by: Kim Phillips &lt;kim.phillips@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ext2load: increase read speed</title>
<updated>2012-06-21T20:49:33+00:00</updated>
<author>
<name>u-boot@lakedaemon.net</name>
<email>u-boot@lakedaemon.net</email>
</author>
<published>2012-03-28T04:37:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=436da3cd233e7166b5ce9293dbd28092cf37bcc9'/>
<id>436da3cd233e7166b5ce9293dbd28092cf37bcc9</id>
<content type='text'>
This patch dramatically drops the amount of time u-boot needs to read a
file from an ext2 partition.  On a typical 2 to 5 MB file (kernels and
initrds) it goes from tens of seconds to a couple seconds.

All we are doing here is grouping contiguous blocks into one read.

Boot tested on Globalscale Technologies Dreamplug (Kirkwood ARM SoC)
with three different files.  sha1sums were calculated in Linux
userspace, and then confirmed after ext2load.

Signed-off-by: Jason Cooper &lt;u-boot@lakedaemon.net&gt;
Tested-by: Eric Nelson &lt;eric.nelson@boundarydevices.com&gt;
Tested-by: Thierry Reding &lt;thierry.reding@avionic-design.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch dramatically drops the amount of time u-boot needs to read a
file from an ext2 partition.  On a typical 2 to 5 MB file (kernels and
initrds) it goes from tens of seconds to a couple seconds.

All we are doing here is grouping contiguous blocks into one read.

Boot tested on Globalscale Technologies Dreamplug (Kirkwood ARM SoC)
with three different files.  sha1sums were calculated in Linux
userspace, and then confirmed after ext2load.

Signed-off-by: Jason Cooper &lt;u-boot@lakedaemon.net&gt;
Tested-by: Eric Nelson &lt;eric.nelson@boundarydevices.com&gt;
Tested-by: Thierry Reding &lt;thierry.reding@avionic-design.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ext2: Cache line align indirection buffers</title>
<updated>2012-01-05T16:12:11+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2011-12-21T10:01:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=26784f1ecb5002aa309f2aefcb1157a9282a2007'/>
<id>26784f1ecb5002aa309f2aefcb1157a9282a2007</id>
<content type='text'>
Make ext2 use cache line aligned buffers for reading from the filesystem.
This is needed when caches are enabled because unaligned cache invalidates
are not safe.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make ext2 use cache line aligned buffers for reading from the filesystem.
This is needed when caches are enabled because unaligned cache invalidates
are not safe.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ext2: Cache line aligned partial sector bounce buffer</title>
<updated>2011-10-25T07:25:41+00:00</updated>
<author>
<name>Anton staaf</name>
<email>robotboy@chromium.org</email>
</author>
<published>2011-10-03T13:55:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4c1cd721d89d4b694dd018736007a97b5cdb04da'/>
<id>4c1cd721d89d4b694dd018736007a97b5cdb04da</id>
<content type='text'>
Currently, if a device read request is done that does not begin or end
on a sector boundary a stack allocated bounce buffer is used to perform
the read, and then just the part of the sector that is needed is copied
into the users buffer.  This stack allocation can mean that the bounce
buffer will not be aligned to the dcache line size.  This is a problem
when caches are enabled because unaligned cache invalidates are not
safe.

This patch uses ALLOC_CACHE_ALIGN_BUFFER to create a stack allocated
cache line size aligned bounce buffer.

Signed-off-by: Anton Staaf &lt;robotboy@chromium.org&gt;
Cc: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Dave Liu &lt;r63238@freescale.com&gt;
Cc: Andy Fleming &lt;afleming@gmail.com&gt;
Cc: Albert ARIBAUD &lt;albert.u.boot@aribaud.net&gt;

Change-Id: I32e1594d90ef039137bb219b0f7ced55768744ff
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, if a device read request is done that does not begin or end
on a sector boundary a stack allocated bounce buffer is used to perform
the read, and then just the part of the sector that is needed is copied
into the users buffer.  This stack allocation can mean that the bounce
buffer will not be aligned to the dcache line size.  This is a problem
when caches are enabled because unaligned cache invalidates are not
safe.

This patch uses ALLOC_CACHE_ALIGN_BUFFER to create a stack allocated
cache line size aligned bounce buffer.

Signed-off-by: Anton Staaf &lt;robotboy@chromium.org&gt;
Cc: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Dave Liu &lt;r63238@freescale.com&gt;
Cc: Andy Fleming &lt;afleming@gmail.com&gt;
Cc: Albert ARIBAUD &lt;albert.u.boot@aribaud.net&gt;

Change-Id: I32e1594d90ef039137bb219b0f7ced55768744ff
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ext2: Simplify partial sector access logic</title>
<updated>2011-07-28T13:36:32+00:00</updated>
<author>
<name>Anton Staaf</name>
<email>robotboy@chromium.org</email>
</author>
<published>2011-06-13T11:40:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d961c188b205bb821c16d8d9b932456d2fb79211'/>
<id>d961c188b205bb821c16d8d9b932456d2fb79211</id>
<content type='text'>
Previously reading or writing zero full sectors (reading the end of
one sector and the beginning of the next for example) was special
cased and involved stack allocating a second sector buffer.  This
change uses the same code path for this case as well as when there
are a non-zero number of full sectors to access.  The result is
easier to read and reduces the maximum stack used.

Signed-off-by: Anton Staaf &lt;robotboy@chromium.org&gt;
Cc: Andy Fleming &lt;afleming@freescale.com&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously reading or writing zero full sectors (reading the end of
one sector and the beginning of the next for example) was special
cased and involved stack allocating a second sector buffer.  This
change uses the same code path for this case as well as when there
are a non-zero number of full sectors to access.  The result is
easier to read and reduces the maximum stack used.

Signed-off-by: Anton Staaf &lt;robotboy@chromium.org&gt;
Cc: Andy Fleming &lt;afleming@freescale.com&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ext2: Fix checkpatch violations</title>
<updated>2011-07-28T13:36:10+00:00</updated>
<author>
<name>Anton Staaf</name>
<email>robotboy@chromium.org</email>
</author>
<published>2011-06-13T11:40:39+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9bac35f57bd41ae3f096dee1e747b90ca80fe044'/>
<id>9bac35f57bd41ae3f096dee1e747b90ca80fe044</id>
<content type='text'>
Fix all checkpatch violations in the low level Ext2 block
device reading code.  This is done in preparation for cleaning
up the partial sector access code.

Signed-off-by: Anton Staaf &lt;robotboy@chromium.org&gt;
Cc: Andy Fleming &lt;afleming@freescale.com&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix all checkpatch violations in the low level Ext2 block
device reading code.  This is done in preparation for cleaning
up the partial sector access code.

Signed-off-by: Anton Staaf &lt;robotboy@chromium.org&gt;
Cc: Andy Fleming &lt;afleming@freescale.com&gt;
Acked-by: Detlev Zundel &lt;dzu@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ext2: constify file/dir names</title>
<updated>2010-11-28T20:58:51+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2010-10-20T11:18:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c87f6457bb9cb465e9630b00b4c824847a62c6c5'/>
<id>c87f6457bb9cb465e9630b00b4c824847a62c6c5</id>
<content type='text'>
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch from archive libraries to partial linking</title>
<updated>2010-11-17T20:02:18+00:00</updated>
<author>
<name>Sebastien Carlier</name>
<email>sebastien.carlier@gmail.com</email>
</author>
<published>2010-11-05T14:48:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6d8962e814c15807dd6ac5757904be2a02d187b8'/>
<id>6d8962e814c15807dd6ac5757904be2a02d187b8</id>
<content type='text'>
Before this commit, weak symbols were not overridden by non-weak symbols
found in archive libraries when linking with recent versions of
binutils.  As stated in the System V ABI, "the link editor does not
extract archive members to resolve undefined weak symbols".

This commit changes all Makefiles to use partial linking (ld -r) instead
of creating library archives, which forces all symbols to participate in
linking, allowing non-weak symbols to override weak symbols as intended.
This approach is also used by Linux, from which the gmake function
cmd_link_o_target (defined in config.mk and used in all Makefiles) is
inspired.

The name of each former library archive is preserved except for
extensions which change from ".a" to ".o".  This commit updates
references accordingly where needed, in particular in some linker
scripts.

This commit reveals board configurations that exclude some features but
include source files that depend these disabled features in the build,
resulting in undefined symbols.  Known such cases include:
- disabling CMD_NET but not CMD_NFS;
- enabling CONFIG_OF_LIBFDT but not CONFIG_QE.

Signed-off-by: Sebastien Carlier &lt;sebastien.carlier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before this commit, weak symbols were not overridden by non-weak symbols
found in archive libraries when linking with recent versions of
binutils.  As stated in the System V ABI, "the link editor does not
extract archive members to resolve undefined weak symbols".

This commit changes all Makefiles to use partial linking (ld -r) instead
of creating library archives, which forces all symbols to participate in
linking, allowing non-weak symbols to override weak symbols as intended.
This approach is also used by Linux, from which the gmake function
cmd_link_o_target (defined in config.mk and used in all Makefiles) is
inspired.

The name of each former library archive is preserved except for
extensions which change from ".a" to ".o".  This commit updates
references accordingly where needed, in particular in some linker
scripts.

This commit reveals board configurations that exclude some features but
include source files that depend these disabled features in the build,
resulting in undefined symbols.  Known such cases include:
- disabling CMD_NET but not CMD_NFS;
- enabling CONFIG_OF_LIBFDT but not CONFIG_QE.

Signed-off-by: Sebastien Carlier &lt;sebastien.carlier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
