<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/fastboot, branch v2021.04-rc2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/fastboot?h=v2021.04-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/fastboot?h=v2021.04-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2021-02-07T18:22:55Z</updated>
<entry>
<title>fastboot: reinit partition after storing GPT or MBR</title>
<updated>2021-02-07T18:22:55Z</updated>
<author>
<name>Roman Stratiienko</name>
<email>r.stratiienko@gmail.com</email>
</author>
<published>2021-01-27T15:40:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=adb5daf0905a190375e46d59f1244b13c3cdc640'/>
<id>urn:sha1:adb5daf0905a190375e46d59f1244b13c3cdc640</id>
<content type='text'>
In case MMC has MBR system and fastboot writes GPT,
MMC is still recognized as MBR.
Invoke part_init() to purge cached data and update
information about partition table type.

Signed-off-by: Roman Stratiienko &lt;r.stratiienko@gmail.com&gt;
</content>
</entry>
<entry>
<title>fastboot: add command to select the eMMC boot configuration</title>
<updated>2021-02-07T18:22:55Z</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@foss.st.com</email>
</author>
<published>2021-01-27T13:46:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0c0394b5026ed3271c92ab1c92a65ae67588d65d'/>
<id>urn:sha1:0c0394b5026ed3271c92ab1c92a65ae67588d65d</id>
<content type='text'>
Add command oem bootbus which executes the command
``mmc bootbus &lt;id&gt; &lt;arg&gt;`` on the current fastboot mmc device
(&lt;i&gt; = CONFIG_FASTBOOT_FLASH_MMC_DEV) to set the eMMC boot
configuration on first update, with
&lt;arg&gt; =  boot_bus_width reset_boot_bus_width boot_mode

$&gt; fastboot oem bootbus:&lt;boot_bus_width&gt; &lt;reset_boot_bus_width&gt; &lt;boot_mode&gt;

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@foss.st.com&gt;
</content>
</entry>
<entry>
<title>fastboot: add command to select the default emmc hwpart for boot</title>
<updated>2021-02-07T18:22:55Z</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@foss.st.com</email>
</author>
<published>2021-01-27T13:46:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b2f6b97b78b47362c74f2fbe59c1f4f390cb458f'/>
<id>urn:sha1:b2f6b97b78b47362c74f2fbe59c1f4f390cb458f</id>
<content type='text'>
Add fastboot command oem partconf which executes the command
``mmc partconf &lt;id&gt; &lt;arg&gt; 0`` on the current &lt;id&gt; mmc device
to configure the eMMC boot partition with
&lt;arg&gt;: boot_ack boot_partition, so the command is:

$&gt; fastboot oem partconf:&lt;boot_ack&gt; &lt;boot_partition&gt;

The partition_access argument is forced to 0 (userdata)

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@foss.st.com&gt;
[lukma - Kconfig adjustments after merging this patch]
</content>
</entry>
<entry>
<title>fastboot: mmc: extend flash/erase for both emmc hwpart 1 and 2</title>
<updated>2021-02-07T18:22:55Z</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@foss.st.com</email>
</author>
<published>2021-01-27T13:46:47Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3acbc7b2aa14fe19ee341fc91a54849185708274'/>
<id>urn:sha1:3acbc7b2aa14fe19ee341fc91a54849185708274</id>
<content type='text'>
Update the code and the configs for eMMC boot and userdata
partitions acces
- FASTBOOT_MMC_BOOT_SUPPORT: boot partition 1 and 2 (erase/write)
- FASTBOOT_MMC_BOOT1_NAME: boot partition 1, default name="mmc0boot0"
- FASTBOOT_MMC_BOOT2_NAME: boot partition 2, default name="mmc0boot1"

This patch also removes the unnecessary dependency with
ARCH_MEDIATEK and EFI_PARTITION.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@foss.st.com&gt;
</content>
</entry>
<entry>
<title>fastboot: mmc: Add CONFIG_FASTBOOT_MMC_USER_SUPPORT</title>
<updated>2021-02-07T18:22:55Z</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@foss.st.com</email>
</author>
<published>2021-01-27T13:46:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7596696bc5c6062c52f07e2ed99e3b2eebb3a33e'/>
<id>urn:sha1:7596696bc5c6062c52f07e2ed99e3b2eebb3a33e</id>
<content type='text'>
Split userdata and boot partition support for eMMC update
and correct the description (update is supported).

The new configuration CONFIG_FASTBOOT_MMC_USER_SUPPORT
allows to activate support of userdata partition update,
based on target name=CONFIG_FASTBOOT_MMC_USER_NAME

This patch also removes the unnecessary dependency with
ARCH_MEDIATEK and EFI_PARTITION.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@foss.st.com&gt;
</content>
</entry>
<entry>
<title>fastboot: Implement generic fastboot_set_reboot_flag</title>
<updated>2021-02-07T18:22:54Z</updated>
<author>
<name>Roman Kovalivskyi</name>
<email>roman.kovalivskyi@globallogic.com</email>
</author>
<published>2021-01-26T20:54:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a362ce214f03f965b05a9a89997294773cd6e908'/>
<id>urn:sha1:a362ce214f03f965b05a9a89997294773cd6e908</id>
<content type='text'>
It is possible to implement fastboot_set_reboot_flag in a generic way
if BCB commands are turned on for a target. Using
bcb_set_reboot_reason allows to do this by simply passing string with
correct reboot reason that should be handled during next boot process.

If BCB are turned off, then bcb_set_reboot_reason would simply return
error, so it won't introduce any new behaviour for such targets.

Signed-off-by: Roman Kovalivskyi &lt;roman.kovalivskyi@globallogic.com&gt;
</content>
</entry>
<entry>
<title>Revert "fastboot: Add default fastboot_set_reboot_flag implementation"</title>
<updated>2021-02-07T18:22:54Z</updated>
<author>
<name>Roman Kovalivskyi</name>
<email>roman.kovalivskyi@globallogic.com</email>
</author>
<published>2021-01-26T20:54:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f80798122a726602a239ad7667164a89e98c8328'/>
<id>urn:sha1:f80798122a726602a239ad7667164a89e98c8328</id>
<content type='text'>
This reverts commit 0ebf9842e56c5b8cb7cb1f990bb452cc14af6225.

Current generic implementation of fastboot_set_reboot_flag is somewhat
messy and requires some additional configuration option to be enabled
besides CMD_BCB, so it reverts that implementtion in order to bring a
new cleaner one.

Next commit introduces new generic implementation of
fastboot_set_reboot_flag.

Signed-off-by: Roman Kovalivskyi &lt;roman.kovalivskyi@globallogic.com&gt;
</content>
</entry>
<entry>
<title>disk: dos: rename write_mbr_partition to write_mbr_sector</title>
<updated>2021-01-15T19:38:00Z</updated>
<author>
<name>Marek Szyprowski</name>
<email>m.szyprowski@samsung.com</email>
</author>
<published>2020-12-23T12:55:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=92f1c89d0a90ee39fce53ca6054223bf6b422cfb'/>
<id>urn:sha1:92f1c89d0a90ee39fce53ca6054223bf6b422cfb</id>
<content type='text'>
write_mbr_partition() function name is a bit misleading, so rename it to
write_mbr_sector(). This is a preparation for adding code for writing a
complete MBR partition layout.

Signed-off-by: Marek Szyprowski &lt;m.szyprowski@samsung.com&gt;
</content>
</entry>
<entry>
<title>fastboot: getvar: fix partition-size return value</title>
<updated>2020-09-01T12:47:43Z</updated>
<author>
<name>Gary Bisson</name>
<email>gary.bisson@boundarydevices.com</email>
</author>
<published>2020-08-27T08:51:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=293a6dfeb96129abebf1ad927fa9aedf03a66d34'/>
<id>urn:sha1:293a6dfeb96129abebf1ad927fa9aedf03a66d34</id>
<content type='text'>
The size returned by 'getvar partition-size' should be in bytes, not in
blocks as fastboot uses that value to generate empty partition when
running format [1].

Note that the function was already returning the proper size in bytes
for NAND devices (see struct part_info details).

[1]
https://android.googlesource.com/platform/system/core/+/refs/heads/android10-release/fastboot/fastboot.cpp#1500

Signed-off-by: Gary Bisson &lt;gary.bisson@boundarydevices.com&gt;
</content>
</entry>
<entry>
<title>fastboot: Add default fastboot_set_reboot_flag implementation</title>
<updated>2020-09-01T12:47:43Z</updated>
<author>
<name>Roman Kovalivskyi</name>
<email>roman.kovalivskyi@globallogic.com</email>
</author>
<published>2020-07-28T20:35:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0ebf9842e56c5b8cb7cb1f990bb452cc14af6225'/>
<id>urn:sha1:0ebf9842e56c5b8cb7cb1f990bb452cc14af6225</id>
<content type='text'>
Default implementation of fastboot_set_reboot_flag function that depends
on "bcb" commands could be used in general case if there are no need to
make any platform-specific implementation, otherwise it could be
disabled via Kconfig option FASTBOOT_USE_BCB_SET_REBOOT_FLAG.

Please note that FASTBOOT_USE_BCB_SET_REBOOT_FLAG is mutually exclusive
with some platforms which already have their own implementation of this
function.

Signed-off-by: Roman Kovalivskyi &lt;roman.kovalivskyi@globallogic.com&gt;
</content>
</entry>
</feed>
