<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm63xx/u-boot/lib/efi_loader/efi_device_path.c, branch master</title>
<subtitle>Broadcom-s U-Boot</subtitle>
<id>https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/'/>
<updated>2019-04-22T22:51:01Z</updated>
<entry>
<title>efi_loader: check length in CreateDeviceNode()</title>
<updated>2019-04-22T22:51:01Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2019-04-22T22:51:01Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=7d1e4b73e3f321cd4f0e039aa0387484cf97b25c'/>
<id>urn:sha1:7d1e4b73e3f321cd4f0e039aa0387484cf97b25c</id>
<content type='text'>
When creating a device path node ensure that the size of the allocated
memory at lest matches the size of the node header.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>efi_loader: efi_setup_loaded_image() handle missing file name</title>
<updated>2019-04-22T22:37:27Z</updated>
<author>
<name>AKASHI Takahiro</name>
</author>
<published>2019-04-16T15:39:26Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=f86076d885b29b71064ef3a1f5b1ada1bd92866c'/>
<id>urn:sha1:f86076d885b29b71064ef3a1f5b1ada1bd92866c</id>
<content type='text'>
This is a preparatory patch.

efi_dp_split_file_path() is used to create device_path and file_path
from file_path for efi_setup_loaded_image().
In a special case, however, of HARDWARE_DEVICE/MEMORY, it doesn't
work expectedly since this path doesn't contain any FILE_PATH sub-type.

This patch makes a workaround.

Signed-off-by: AKASHI Takahiro &lt;takahiro.akashi@linaro.org&gt;

Adjust the logic such that for all paths that do no end on a media file
path we return NULL as file_path.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>efi_loader: add protection for block_dev</title>
<updated>2019-04-12T20:00:42Z</updated>
<author>
<name>Patrick Delaunay</name>
</author>
<published>2019-04-10T09:02:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=74f5baa28bebf243b372d63a673ddf214cbc50b6'/>
<id>urn:sha1:74f5baa28bebf243b372d63a673ddf214cbc50b6</id>
<content type='text'>
Check the value of block_dev before to use this pointer.

This patch solves problem for the command "load" when ubifs
is previously mounted: in this case the function
blk_get_device_part_str("ubi 0") don't return error but return
block_dev = NULL and then data abort.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
Reviewed-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>efi_loader: remove stray #define LOG_CATEGORY LOGL_ERR</title>
<updated>2019-04-12T20:00:41Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2019-04-09T21:22:13Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=2337741fb4379754340149f2d4fdaf8071274826'/>
<id>urn:sha1:2337741fb4379754340149f2d4fdaf8071274826</id>
<content type='text'>
The statement '#define LOG_CATEGORY LOGL_ERR' makes not sense. LOGL_ERR is
not a LOG_CATEGORY. Remove the statement.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>efi_loader: do not add \ in efi_fs_from_name()</title>
<updated>2019-03-02T22:34:26Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2019-02-23T10:20:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=30a231dcce0b4daf6102cffcdc5c81db8ddaaa48'/>
<id>urn:sha1:30a231dcce0b4daf6102cffcdc5c81db8ddaaa48</id>
<content type='text'>
In the `efidebug boot add` command we do not want an unsolicited leading
backslash added to the file name.

There is no good reason to mark a loaded file with a backslash as absolute.
Anyway when reading files the file name will be interpreted as relative to
root directory of the device.

So let's get rid of this backslash.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>efi_loader: efi_dp_split_file_path() error handling</title>
<updated>2019-02-16T14:42:19Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2019-02-04T11:49:43Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=caf6d2fd1a0c4c8eb2b8125c10a9d6bc37676e1a'/>
<id>urn:sha1:caf6d2fd1a0c4c8eb2b8125c10a9d6bc37676e1a</id>
<content type='text'>
If the path passed to efi_dp_split_file_path() does not contain a
reference to a file it returns EFI_OUT_OF_RESOURCES. This does not properly
indicate the kind of the problem that occurred. Return
EFI_INVALID_PARAMETER instead.

Update function description.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
</content>
</entry>
<entry>
<title>efi_loader: allow device == NULL in efi_dp_from_name()</title>
<updated>2018-12-02T23:13:15Z</updated>
<author>
<name>AKASHI Takahiro</name>
</author>
<published>2018-11-05T09:06:40Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=2419b161cc083c4927c2ee0582ccc93d1d54b3b0'/>
<id>urn:sha1:2419b161cc083c4927c2ee0582ccc93d1d54b3b0</id>
<content type='text'>
This is a preparatory patch for use in efi_serialize_load_option()
as a load option's file_path should have both a device path and
a file path.

Signed-off-by: AKASHI Takahiro &lt;takahiro.akashi@linaro.org&gt;
Signed-off-by: Alexander Graf &lt;agraf@suse.de&gt;
</content>
</entry>
<entry>
<title>efi_loader: fix typos in efi_device_path.c</title>
<updated>2018-12-02T20:59:36Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2018-10-17T19:55:24Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=eb3bc8bb177e8b19464529826acad5ec0d0edb61'/>
<id>urn:sha1:eb3bc8bb177e8b19464529826acad5ec0d0edb61</id>
<content type='text'>
Fix some typos in comments.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Signed-off-by: Alexander Graf &lt;agraf@suse.de&gt;
</content>
</entry>
<entry>
<title>efi_loader: add efi_dp_from_name()</title>
<updated>2018-12-02T20:59:36Z</updated>
<author>
<name>AKASHI Takahiro</name>
</author>
<published>2018-10-17T07:32:03Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=f1589ffb33a798ddb9391dcbab0ddaea2643c2c8'/>
<id>urn:sha1:f1589ffb33a798ddb9391dcbab0ddaea2643c2c8</id>
<content type='text'>
Factor out efi_set_bootdev() and extract efi_dp_from_name().
This function will be used to set a boot device in efishell command.

Signed-off-by: AKASHI Takahiro &lt;takahiro.akashi@linaro.org&gt;
Signed-off-by: Alexander Graf &lt;agraf@suse.de&gt;
</content>
</entry>
<entry>
<title>efi_loader: eliminate handle member</title>
<updated>2018-12-02T20:59:36Z</updated>
<author>
<name>Heinrich Schuchardt</name>
</author>
<published>2018-09-26T03:27:55Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/project/bcm63xx/u-boot/commit/?id=fae0118e7ae3a209b30205f02e8349c36ec0dbd9'/>
<id>urn:sha1:fae0118e7ae3a209b30205f02e8349c36ec0dbd9</id>
<content type='text'>
A pointer to a struct efi_object is a handle. We do not need any handle
member in this structure. Let's eliminate it.

Signed-off-by: Heinrich Schuchardt &lt;xypron.glpk@gmx.de&gt;
Signed-off-by: Alexander Graf &lt;agraf@suse.de&gt;
</content>
</entry>
</feed>
