<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/fastboot, branch v2021.04</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</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/fastboot?h=v2021.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2021-02-26T14:30:55Z</updated>
<entry>
<title>fastboot: add UUU command UCmd and ACmd support</title>
<updated>2021-02-26T14:30:55Z</updated>
<author>
<name>Heiko Schocher</name>
<email>hs@denx.de</email>
</author>
<published>2021-02-10T08:29:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bc820d5bcc507366677c592e400e120481748c05'/>
<id>urn:sha1:bc820d5bcc507366677c592e400e120481748c05</id>
<content type='text'>
add support for the UUU commands ACmd and UCmd.

Enable them through the Kconfig option
CONFIG_FASTBOOT_UUU_SUPPORT

base was commit in NXP kernel
9b149c2a2882: ("MLK-18591-3 android: Add FSL android fastboot support")

and ported it to current mainline. Tested this patch
on imx6ul based board.

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Acked-by: Patrick Delaunay &lt;patrick.delaunay@foss.st.com&gt;
</content>
</entry>
<entry>
<title>fastboot: Allow u-boot-style partitions</title>
<updated>2021-02-26T14:30:55Z</updated>
<author>
<name>Sean Anderson</name>
<email>sean.anderson@seco.com</email>
</author>
<published>2021-02-05T14:39:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=de1728ce4c86e77fd77e0b4f4f16eecaf8c00f8d'/>
<id>urn:sha1:de1728ce4c86e77fd77e0b4f4f16eecaf8c00f8d</id>
<content type='text'>
This adds support for partitions of the form "dev.hwpart:part" and
"dev#partname". This allows one to flash to eMMC boot partitions without
having to use CONFIG_FASTBOOT_MMC_BOOT1_SUPPORT. It also allows one to
flash to an entire device without needing CONFIG_FASTBOOT_MMC_USER_NAME.
Lastly, one can also flash MMC devices other than
CONFIG_FASTBOOT_FLASH_MMC_DEV.

Because devices can be specified explicitly, CONFIG_FASTBOOT_FLASH_MMC_DEV
is used only when necessary for existing functionality. For those cases,
fastboot_mmc_get_dev has been added as a helper function. This allows

There should be no conflicts with the existing system, but just in case, I
have ordered detection of these names after all existing names.

The fastboot_mmc_part test has been updated for these new names.

Signed-off-by: Sean Anderson &lt;sean.anderson@seco.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>fastboot: Move part_get_info_by_name_or_alias after raw_part_get_info_by_name</title>
<updated>2021-02-26T14:30:55Z</updated>
<author>
<name>Sean Anderson</name>
<email>sean.anderson@seco.com</email>
</author>
<published>2021-02-05T14:38:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ae5e6b4e8f91c4de7814c0308097b05c8e5358a1'/>
<id>urn:sha1:ae5e6b4e8f91c4de7814c0308097b05c8e5358a1</id>
<content type='text'>
This makes the next commit more readable by doing the move now.

Signed-off-by: Sean Anderson &lt;sean.anderson@seco.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>fastboot: Remove mmcpart argument from raw_part_get_info_by_name</title>
<updated>2021-02-26T14:30:55Z</updated>
<author>
<name>Sean Anderson</name>
<email>sean.anderson@seco.com</email>
</author>
<published>2021-02-05T14:38:58Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f3cf964f2d3588281342469b9bf722fea90daa0c'/>
<id>urn:sha1:f3cf964f2d3588281342469b9bf722fea90daa0c</id>
<content type='text'>
The only thing mmcpart was used for was to pass to blk_dselect_hwpart.
This calls blk_dselect_hwpart directly from raw_part_get_info_by_name. The
error handling is dropped, but it is reintroduced in the next commit
(albeit less specificly).

Signed-off-by: Sean Anderson &lt;sean.anderson@seco.com&gt;
Reviewed-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<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>
</feed>
