<feed xmlns='http://www.w3.org/2005/Atom'>
<title>starfive-tech/u-boot.git/drivers/fastboot, branch rtthread_AMP</title>
<subtitle>StarFive Tech U-Boot for VisionFive (JH7110) boards (mirror)</subtitle>
<id>https://git.radix-linux.su/starfive-tech/u-boot.git/atom?h=rtthread_AMP</id>
<link rel='self' href='https://git.radix-linux.su/starfive-tech/u-boot.git/atom?h=rtthread_AMP'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/'/>
<updated>2023-09-07T01:34:13+00:00</updated>
<entry>
<title>drivers: fastboot: Fix the error of writing sparse file with fastboot</title>
<updated>2023-09-07T01:34:13+00:00</updated>
<author>
<name>Xingyu Wu</name>
<email>xingyu.wu@starfivetech.com</email>
</author>
<published>2023-09-06T09:01:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=706fab8ccb290393c721c1f7e4e26bc0fa9e8d57'/>
<id>urn:sha1:706fab8ccb290393c721c1f7e4e26bc0fa9e8d57</id>
<content type='text'>
Add config for max block size to write in MMC with sparse file.

Signed-off-by: Xingyu Wu &lt;xingyu.wu@starfivetech.com&gt;
</content>
</entry>
<entry>
<title>drivers: fastboot: Add logical-block-size in getvar command</title>
<updated>2023-09-07T01:34:13+00:00</updated>
<author>
<name>Xingyu Wu</name>
<email>xingyu.wu@starfivetech.com</email>
</author>
<published>2023-09-06T08:59:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=92543ed1f3dc9ec0f70767115170719e93f2833f'/>
<id>urn:sha1:92543ed1f3dc9ec0f70767115170719e93f2833f</id>
<content type='text'>
Add a new parameter to get "logical-block-size" in getvar command.

Signed-off-by: Xingyu Wu &lt;xingyu.wu@starfivetech.com&gt;
</content>
</entry>
<entry>
<title>driver: fastboot: Add new flag to load image file without partition</title>
<updated>2023-09-07T01:34:13+00:00</updated>
<author>
<name>Xingyu Wu</name>
<email>xingyu.wu@starfivetech.com</email>
</author>
<published>2023-09-06T08:58:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=0c23a7095f57bc91df7980f7597f3fb84e223d57'/>
<id>urn:sha1:0c23a7095f57bc91df7980f7597f3fb84e223d57</id>
<content type='text'>
Add new flag to load image file to preset address without partition.

Signed-off-by: Xingyu Wu &lt;xingyu.wu@starfivetech.com&gt;
</content>
</entry>
<entry>
<title>Fix flashing of eMMC user area with Fastboot</title>
<updated>2021-08-21T22:23:02+00:00</updated>
<author>
<name>Oleh Kravchenko</name>
<email>oleg@kaa.org.ua</email>
</author>
<published>2021-05-19T10:31:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=55a202f64b1537f1cdbd0486cde10a5b6d4eef3c'/>
<id>urn:sha1:55a202f64b1537f1cdbd0486cde10a5b6d4eef3c</id>
<content type='text'>
'gpt' and 'mmc0' fastboot partitions have been treated as the same device,
but it is wrong.

Fill disk_partition structure with eMMC user partition info
to properly flash data.

Signed-off-by: Oleh Kravchenko &lt;oleg@kaa.org.ua&gt;
Cc: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
Cc: Sean Anderson &lt;sean.anderson@seco.com&gt;
Cc: Tom Rini &lt;trini@konsulko.com&gt;
Reviewed-by: Sean Anderson &lt;sean.anderson@seco.com&gt;
</content>
</entry>
<entry>
<title>Fix flash and erase of eMMC Boot2 with Fastboot</title>
<updated>2021-08-21T22:23:02+00:00</updated>
<author>
<name>Oleh Kravchenko</name>
<email>oleg@kaa.org.ua</email>
</author>
<published>2021-05-14T21:06:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=389b6765366ae95f59b0218a1f933aaa2a2b811f'/>
<id>urn:sha1:389b6765366ae95f59b0218a1f933aaa2a2b811f</id>
<content type='text'>
The current U-Boot version has the next matches for boot partitions:
&gt; mmc0boot0 to EMMC_BOOT1
&gt; mmc0boot1 to EMMC_BOOT1 (should be EMMC_BOOT2)
This patch fixes a typo for the boot partition number.

Signed-off-by: Oleh Kravchenko &lt;oleg@kaa.org.ua&gt;
Cc: Pantelis Antoniou &lt;panto@antoniou-consulting.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
Reviewed-by: Sean Anderson &lt;sean.anderson@seco.com&gt;
</content>
</entry>
<entry>
<title>global: Convert simple_strtoul() with hex to hextoul()</title>
<updated>2021-08-02T17:32:14+00:00</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2021-07-24T15:03:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=7e5f460ec457fe310156e399198a41eb0ce1e98c'/>
<id>urn:sha1:7e5f460ec457fe310156e399198a41eb0ce1e98c</id>
<content type='text'>
It is a pain to have to specify the value 16 in each call. Add a new
hextoul() function and update the code to use it.

Add a proper comment to simple_strtoul() while we are here.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>fastboot: Fix possible buffer overrun</title>
<updated>2021-04-12T21:44:55+00:00</updated>
<author>
<name>Sean Anderson</name>
<email>seanga2@gmail.com</email>
</author>
<published>2021-03-11T05:15:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/u-boot.git/commit/?id=69a752983171c2983fc1f29c7cfa1844f41e5d8b'/>
<id>urn:sha1:69a752983171c2983fc1f29c7cfa1844f41e5d8b</id>
<content type='text'>
This fixes several uses of strn(cpy|cat) which did not terminate their
destinations properly.

Fixes de1728ce4c ("fastboot: Allow u-boot-style partitions")

Reported-by: Coverity Scan
Signed-off-by: Sean Anderson &lt;seanga2@gmail.com&gt;
</content>
</entry>
<entry>
<title>fastboot: add UUU command UCmd and ACmd support</title>
<updated>2021-02-26T14:30:55+00:00</updated>
<author>
<name>Heiko Schocher</name>
<email>hs@denx.de</email>
</author>
<published>2021-02-10T08:29:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/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:55+00:00</updated>
<author>
<name>Sean Anderson</name>
<email>sean.anderson@seco.com</email>
</author>
<published>2021-02-05T14:39:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/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:55+00:00</updated>
<author>
<name>Sean Anderson</name>
<email>sean.anderson@seco.com</email>
</author>
<published>2021-02-05T14:38:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/starfive-tech/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>
</feed>
