<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/disk/part.c, branch v2014.07-rc2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/disk/part.c?h=v2014.07-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/disk/part.c?h=v2014.07-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2014-05-23T09:11:44Z</updated>
<entry>
<title>mmc: provide a select_hwpart implementation for get_device()</title>
<updated>2014-05-23T09:11:44Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2014-05-07T18:19:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d235628434657cf1eba58821445cb5ad88e10763'/>
<id>urn:sha1:d235628434657cf1eba58821445cb5ad88e10763</id>
<content type='text'>
This enables specifying which eMMC HW partition to target for any U-Boot
command that uses the generic get_partition() function to parse its
command-line arguments.

Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>disk: support devices with HW partitions</title>
<updated>2014-05-23T09:11:31Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2014-05-07T18:19:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=336b6f90482f23b149323b698c05c2713fe55701'/>
<id>urn:sha1:336b6f90482f23b149323b698c05c2713fe55701</id>
<content type='text'>
Some device types (e.g. eMMC) have hardware-level partitions (for eMMC,
separate boot and user data partitions). This change allows the user to
specify the HW partition they wish to access when passing a device ID to
U-Boot Commands such as part, ls, load, ums, etc.

The syntax allows an optional ".$hwpartid" to be appended to the device
name string for those commands.

Existing syntax, for MMC device 0, default HW partition ID, SW partition
ID 1:

ls mmc 0:1 /

New syntax, for MMC device 0, HW partition ID 1 (boot0), SW partition
ID 2:

ls mmc 0.1:2 /

For my purposes, this is most useful for the ums (USB mass storage
gadget) command, but there's no reason not to allow the new syntax
globally.

This patch adds the core support infra-structure. The next patch will
provide the implementation for MMC.

Acked-by: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>sandbox: Use os functions to read host device tree</title>
<updated>2014-03-18T02:05:45Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2014-02-27T20:25:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=95fac6ab4589ec0767b1eac662577866e2b2f423'/>
<id>urn:sha1:95fac6ab4589ec0767b1eac662577866e2b2f423</id>
<content type='text'>
At present we use U-Boot's filesystem layer to read the sandbox device tree,
but this is problematic since it relies on a temporary feauture added
there. Since we plan to implement proper block layer support for sandbox,
change this code to use the os layer functions instead. Also use the new
fdt_create_empty_tree() instead of our own code.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>sandbox: block driver using host file/device as backing store</title>
<updated>2014-01-09T00:24:03Z</updated>
<author>
<name>Henrik Nordström</name>
<email>henrik@henriknordstrom.net</email>
</author>
<published>2013-11-10T17:26:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f4d8de48f5a2aa1885daa0d425b8c0568a2ccb69'/>
<id>urn:sha1:f4d8de48f5a2aa1885daa0d425b8c0568a2ccb69</id>
<content type='text'>
Provide a way to use any host file or device as a block device in U-Boot.
This can be used to provide filesystem access within U-Boot to an ext2
image file on the host, for example.

The support is plumbed into the filesystem and partition interfaces.

We don't want to print a message in the driver every time we find a missing
device. Pass the information back to the caller where a message can be printed
if desired.

Signed-off-by: Henrik Nordström &lt;henrik@henriknordstrom.net&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
- Removed change to part.c get_device_and_partition()

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>Add GPL-2.0+ SPDX-License-Identifier to source files</title>
<updated>2013-07-24T13:44:38Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2013-07-08T07:37:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1a4596601fd395f3afb8f82f3f840c5e00bdd57a'/>
<id>urn:sha1:1a4596601fd395f3afb8f82f3f840c5e00bdd57a</id>
<content type='text'>
Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>fs/ext4: fix log2blksz un-initialized error, by cacaulating its value from blksz</title>
<updated>2013-07-22T14:09:56Z</updated>
<author>
<name>Lan Yixun (dlan)</name>
<email>dennis.yxun@gmail.com</email>
</author>
<published>2013-07-20T00:17:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=50ffc3b64aa3c8113f0a9fc31ea96e596d60054a'/>
<id>urn:sha1:50ffc3b64aa3c8113f0a9fc31ea96e596d60054a</id>
<content type='text'>
The problem here is that uboot can't mount ext4 filesystem with
commit "50ce4c07df1" applied. We use hard-coded "SECTOR_SIZE"(512)
before this commit, now we introduce (block_dev_desc_t *)-&gt;log2blksz
to replace this macro. And after we calling do_ls()-&gt;fs_set_blk_dev(),
the variable log2blksz is not initialized, which it's not correct.

And this patch try to solve the problem by caculating the value of
log2blksz from variable blksz.
</content>
</entry>
<entry>
<title>disk: define HAVE_BLOCK_DEVICE in a common place</title>
<updated>2013-03-14T18:06:44Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2013-02-28T15:03:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2c1af9dcdcf4ede8d153c0918beca9067ec0eb36'/>
<id>urn:sha1:2c1af9dcdcf4ede8d153c0918beca9067ec0eb36</id>
<content type='text'>
This set of ifdefs is used in a number of places. Move its definition
somewhere common so it doesn't have to be repeated.

Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Acked-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Tom Rini &lt;trini@ti.com&gt;
Signed-off-by: Tom Warren &lt;twarren@nvidia.com&gt;
</content>
</entry>
<entry>
<title>sandbox: Add host filesystem</title>
<updated>2013-03-04T19:19:56Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2012-12-26T09:53:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=92ccc96bf3cd6c6a3a9a56e03d5ceb4874735d22'/>
<id>urn:sha1:92ccc96bf3cd6c6a3a9a56e03d5ceb4874735d22</id>
<content type='text'>
This allows reading of files from the host filesystem in sandbox.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Tom Rini &lt;trini@ti.com&gt;
</content>
</entry>
<entry>
<title>part: check each variable for capability calculation</title>
<updated>2012-12-06T20:56:39Z</updated>
<author>
<name>Jerry Huang</name>
<email>Chang-Ming.Huang@freescale.com</email>
</author>
<published>2012-11-06T15:33:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=33699df12cbcd9bfa609dc7fb5a0a69c029449e9'/>
<id>urn:sha1:33699df12cbcd9bfa609dc7fb5a0a69c029449e9</id>
<content type='text'>
In order to calculate the capability, we use the below expression to check:
((dev_desc-&gt;lba * dev_desc-&gt;blksz)&gt;0L)
If the capability is greater than 4GB (e.g. 8GB = 8 * 1024 * 104 * 1024),
the result will overflow, the low 32bit may be zero.

Therefore, change to check each variable to fix this potential issue.

Signed-off-by: Jerry Huang &lt;Chang-Ming.Huang@freescale.com&gt;
</content>
</entry>
<entry>
<title>disk: Make the disk partition code work with no specific partition types</title>
<updated>2012-10-22T15:29:55Z</updated>
<author>
<name>Gabe Black</name>
<email>gabeblack@chromium.org</email>
</author>
<published>2012-10-12T14:26:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0c9c8fb5ec9c2ec20670dce0c5ff0752371893da'/>
<id>urn:sha1:0c9c8fb5ec9c2ec20670dce0c5ff0752371893da</id>
<content type='text'>
Currently, if the disk partition code is compiled with all of the parition
types compiled out, it hits an #error which stops the build. This change
adjusts that file so that those functions will fall through to their defaults
in those cases instead of breaking the build. These functions are needed
because other code calls them, and that code is needed because other config
options are overly broad and bring in support we don't need along with
support we do.

Also reduce repetition of the 6-term #ifdef throughout the file.

Signed-off-by: Gabe Black &lt;gabeblack@chromium.org&gt;
Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
