<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/dfu/Kconfig, branch v2020.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/dfu/Kconfig?h=v2020.07</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/dfu/Kconfig?h=v2020.07'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2020-05-08T13:16:26Z</updated>
<entry>
<title>configs: migrate CONFIG_SET_DFU_ALT_INFO to defconfigs</title>
<updated>2020-05-08T13:16:26Z</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@st.com</email>
</author>
<published>2020-02-26T09:28:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8cc28146f55340777a48c44e948a8ff1143e1c17'/>
<id>urn:sha1:8cc28146f55340777a48c44e948a8ff1143e1c17</id>
<content type='text'>
Move CONFIG_SET_DFU_ALT_INFO into Kconfig done by moveconfig.py.

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
Acked-by: Lukasz Majewski &lt;lukma@denx.de&gt;
Reviewed-by: Jaehoon Chung &lt;jh80.chung@samsung.com&gt;
</content>
</entry>
<entry>
<title>dfu: Add option to skip empty pages when flashing UBI images to NAND</title>
<updated>2020-02-02T17:19:52Z</updated>
<author>
<name>Guillermo Rodríguez</name>
<email>guille.rodriguez@gmail.com</email>
</author>
<published>2019-12-16T15:27:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=13cb7cc9e8e48eb888b13743f79ff02420405044'/>
<id>urn:sha1:13cb7cc9e8e48eb888b13743f79ff02420405044</id>
<content type='text'>
Add a new option to enable the DROP_FFS flag when flashing UBI images to
NAND in order to drop trailing all-0xff pages.

This is similar to the existing FASTBOOT_FLASH_NAND_TRIMFFS option.

Signed-off-by: Guillermo Rodriguez &lt;guille.rodriguez@gmail.com&gt;
Cc: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
<entry>
<title>dfu: Add optional timeout parameter</title>
<updated>2020-01-07T13:37:50Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2019-11-27T16:12:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=98a8f445fd6b93988340d845c96fd47ff454e895'/>
<id>urn:sha1:98a8f445fd6b93988340d845c96fd47ff454e895</id>
<content type='text'>
When the `dfu` command is called from the U-Boot environment,
it now accepts an optional parameter that specifies a timeout (in seconds).
If a DFU connection is not made within that time the `dfu` command exits
(as it would if Ctrl+C was pressed). If the timeout is left empty or being
zero the `dfu` command behaves as it does now.

This is useful for allowing U-Boot to check to see if anything wants to
upload new firmware before continuing to boot.

The patch is based on the commit
https://github.com/01org/edison-u-boot/commit/5e966ccc3c65c18c9783741fa04e0c45e021780c
by Sebastien Colleur, which has been heavily reworked due to U-Boot changes
in the past.

Signed-off-by: Brad Campbell &lt;bradjc5@gmail.com&gt;
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>dfu: add dependency on the raw NAND core</title>
<updated>2019-12-04T22:10:51Z</updated>
<author>
<name>Miquel Raynal</name>
<email>miquel.raynal@bootlin.com</email>
</author>
<published>2019-10-03T17:50:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f3a02d29e84b57fe7f11e7f3de5cd5f2479484b1'/>
<id>urn:sha1:f3a02d29e84b57fe7f11e7f3de5cd5f2479484b1</id>
<content type='text'>
CONFIG_DFU_NAND needs the raw NAND core being compiled.

Also fix the colibri_vf defconfig to reflect this dependency.

Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Reviewed-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
</content>
</entry>
<entry>
<title>mtd: rename CONFIG_MTD -&gt; CONFIG_DM_MTD</title>
<updated>2019-12-04T04:04:10Z</updated>
<author>
<name>Miquel Raynal</name>
<email>miquel.raynal@bootlin.com</email>
</author>
<published>2019-10-03T17:50:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=1de770d5442769778c96bdac271590b44b2c7b78'/>
<id>urn:sha1:1de770d5442769778c96bdac271590b44b2c7b78</id>
<content type='text'>
CONFIG_MTD must be reserved for the MTD core. Like any other
subsystem, prefix the symbol by DM when it comes to DM support.

Signed-off-by: Miquel Raynal &lt;miquel.raynal@bootlin.com&gt;
Reviewed-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
[trini: Add Kconfig files]
Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>dfu: add DFU virtual backend</title>
<updated>2019-10-31T11:12:31Z</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@st.com</email>
</author>
<published>2019-10-14T07:28:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=ec44cace4b8d23556924550fe76bf2744eb91144'/>
<id>urn:sha1:ec44cace4b8d23556924550fe76bf2744eb91144</id>
<content type='text'>
Add a virtual DFU backend to allow board specific read and write
(for OTP update for example).

Acked-by: Lukasz Majewski &lt;lukma@denx.de&gt;
Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</content>
</entry>
<entry>
<title>dfu: add backend for MTD device</title>
<updated>2019-10-31T11:12:31Z</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@st.com</email>
</author>
<published>2019-10-14T07:28:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=6015af28ee6d44d6c7b21f3844c90df9239f66f4'/>
<id>urn:sha1:6015af28ee6d44d6c7b21f3844c90df9239f66f4</id>
<content type='text'>
Add DFU backend for MTD device: allow to read
and write on all MTD device (NAND, SPI-NOR,
SPI-NAND,...)

For example :
&gt; set dfu_alt_info "nand_raw raw 0x0 0x100000"
&gt; dfu 0 mtd nand0

This MTD backend provides the same level than dfu nand
backend for NAND and dfu sf backend for SPI-NOR;
So it can replace booth of them but it also
add support of spi-nand.

&gt; set dfu_alt_info "nand_raw raw 0x0 0x100000"
&gt; dfu 0 mtd spi-nand0

The backend code is based on the "mtd" command
introduced by commit 5db66b3aee6f ("cmd: mtd:
add 'mtd' command")

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</content>
</entry>
<entry>
<title>dfu: sf: add partition support for nor backend</title>
<updated>2019-10-31T11:12:31Z</updated>
<author>
<name>Patrick Delaunay</name>
<email>patrick.delaunay@st.com</email>
</author>
<published>2019-10-14T07:28:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cb986ba0fe4692a9d21a193c4ca9db460df77364'/>
<id>urn:sha1:cb986ba0fe4692a9d21a193c4ca9db460df77364</id>
<content type='text'>
Copy the partition support from NAND backend to SF,
support part and partubi option.
In case of ubi partition, erase the rest of the
partition as it is mandatory for UBI.

The added code is under compilation flag CONFIG_DFU_SF_PART
activated by default.

for example:

U-Boot&gt; env set dfu_alt_info "spl part 0 1;\
u-boot part 0 2;u-boot-env part 0 3;UBI partubi 0 4"
U-Boot&gt; dfu 0 sf 0:0:10000000:0

Signed-off-by: Patrick Delaunay &lt;patrick.delaunay@st.com&gt;
</content>
</entry>
<entry>
<title>dfu: nand: Add missing dependency on CMD_MTDPARTS</title>
<updated>2018-11-13T13:23:10Z</updated>
<author>
<name>Boris Brezillon</name>
<email>boris.brezillon@bootlin.com</email>
</author>
<published>2018-11-13T11:43:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=96c2961ba68e0baf463998301a09eddf76f462e6'/>
<id>urn:sha1:96c2961ba68e0baf463998301a09eddf76f462e6</id>
<content type='text'>
dfu_fill_entity_nand() uses find_dev_and_part() and mtdparts_init()
which are provided by cmd/mtdparts.c.

Add the dependency to avoid build failures when CMD_MTDPARTS is not
selected.

Reported-by: Jagan Teki &lt;jagan@amarulasolutions.com&gt;
Fixes: 6828e602b722d ("dfu: Migrate to Kconfig")
Signed-off-by: Boris Brezillon &lt;boris.brezillon@bootlin.com&gt;
Reviewed-by: Lukasz Majewski &lt;lukma@denx.de&gt;
Reviewed-by: Jagan Teki &lt;jagan@openedev.com&gt;
</content>
</entry>
<entry>
<title>dfu: Rename _FUNCTION_DFU to DFU_OVER_</title>
<updated>2018-02-21T19:28:15Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut@gmail.com</email>
</author>
<published>2018-02-16T15:41:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=bb4059a53bc13615f12b5e21252872bf7e02dce4'/>
<id>urn:sha1:bb4059a53bc13615f12b5e21252872bf7e02dce4</id>
<content type='text'>
Do the following to make the symbol names less confusing.

sed -i "s/\([TU][^_]\+\)_FUNCTION_DFU/DFU_OVER_\1/g" \
	`git grep _FUNCTION_DFU | cut -d ":" -f 1 | sort -u`

Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@gmail.com&gt;
Cc: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
</feed>
