<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/common/spl, branch v2020.01-rc1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/common/spl?h=v2020.01-rc1</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/common/spl?h=v2020.01-rc1'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2019-10-29T02:09:44Z</updated>
<entry>
<title>spl: spl_mmc: fix getting raw_sect when boot from emmc boot partition</title>
<updated>2019-10-29T02:09:44Z</updated>
<author>
<name>Peng Fan</name>
<email>peng.fan@nxp.com</email>
</author>
<published>2019-10-23T01:43:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a335f80502131e9e2b58a0281f5fc78018295ea4'/>
<id>urn:sha1:a335f80502131e9e2b58a0281f5fc78018295ea4</id>
<content type='text'>
On i.MX8, when booting from eMMC boot partition, the whole flash.bin
is stored in boot partition, however SPL switches to user partition
during the init of mmc driver:
  spl_mmc_load() -&gt; mmc_init()

Then it tries to load the container image in
spl_mmc_get_uboot_raw_sector(), but here it reads the data from user
partition and the header is not recognized as a valid header.

So we move spl_mmc_get_uboot_raw_sector after eMMC partition switch
to address this issue.

Anyway put spl_mmc_get_uboot_raw_sector before eMMC partition switch
is not correct, so let's move it after eMMC partition switch.

Reported-by: Anatolij Gustschin &lt;agust@denx.de&gt;
Signed-off-by: Peng Fan &lt;peng.fan@nxp.com&gt;
</content>
</entry>
<entry>
<title>spl: mmc: make eMMC HW boot partition configuration optional</title>
<updated>2019-10-18T20:37:13Z</updated>
<author>
<name>Anatolij Gustschin</name>
<email>agust@denx.de</email>
</author>
<published>2019-10-18T19:38:33Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=32ded5022e5606fe1a1220ed5ea3e2f935da0fce'/>
<id>urn:sha1:32ded5022e5606fe1a1220ed5ea3e2f935da0fce</id>
<content type='text'>
Loading U-Boot on i.MX8QXP MEK board is broken since recent changes
in spl_mmc:

  U-Boot SPL 2019.10-00162-gff5bd397e4 (Oct 18 2019 - 15:50:45 +0200)
  Normal Boot
  WDT:   Not found!
  Trying to boot from MMC2_2
  Load image from MMC/SD 0x46400
  spl: mmc partition switch failed
  SPL: failed to boot from all boot devices
  ### ERROR ### Please RESET the board ###

The newly added CONFIG_SYS_MMCSD_RAW_MODE_EMMC_BOOT_PARTITION option
is selected automatically and overrides the EXT_CSC_PART_CONFIG
configurations with default value, always selecting the eMMC boot
partition 1. Boards which place U-Boot image in other partitions
became not bootable.

Fix this by making the eMMC HW boot partition selection optional.

Fixes: 17241ea0543a (spl: mmc: Add option to set eMMC HW boot partition)
Reviewed-by: Lukasz Majewski &lt;lukma@denx.de&gt;
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
</entry>
<entry>
<title>Merge tag 'mmc-10-10-2019' of https://gitlab.denx.de/u-boot/custodians/u-boot-mmc</title>
<updated>2019-10-14T11:28:32Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2019-10-14T11:28:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fae79480111be47944cf66a9c052ff3934a09ce5'/>
<id>urn:sha1:fae79480111be47944cf66a9c052ff3934a09ce5</id>
<content type='text'>
- Add sdhci driver for Broadcom iProc platform
- Add a driver callback for power-cycle for mmc
- Implement host_power_cycle callback for stm32_sdmmc2
- spl: dm_mmc: Initialize only the required mmc device
</content>
</entry>
<entry>
<title>Merge branch '2019-10-11-master-imports'</title>
<updated>2019-10-12T14:10:59Z</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2019-10-12T14:10:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0c9cc5155cb5027ae17ace986f349e2f0d1fb9a3'/>
<id>urn:sha1:0c9cc5155cb5027ae17ace986f349e2f0d1fb9a3</id>
<content type='text'>
- Assorted cleanups
- FAT bugfixes
- mediatek platform updates
</content>
</entry>
<entry>
<title>spl: Introduce SPL_DM_SPI Kconfig define</title>
<updated>2019-10-11T19:33:27Z</updated>
<author>
<name>Lukasz Majewski</name>
<email>lukma@denx.de</email>
</author>
<published>2019-09-09T10:06:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f18845c27ad86e118b074ce545ce685cb9a97561'/>
<id>urn:sha1:f18845c27ad86e118b074ce545ce685cb9a97561</id>
<content type='text'>
This define indicates if DM_SPI shall be supported in SPL. This allows
proper operation of DM converted SPI drivers in SPL, which use
#if !CONFIG_IS_ENABLED(DM_SPI) to also support not yet DM/DTS converted
boards.

Signed-off-by: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
<entry>
<title>spl: mmc: Add option to set eMMC HW boot partition</title>
<updated>2019-10-11T19:33:27Z</updated>
<author>
<name>Mans Rullgard</name>
<email>mans@mansr.com</email>
</author>
<published>2019-09-03T14:16:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=17241ea0543a4c998f79bde27b8a6047c8d84d0a'/>
<id>urn:sha1:17241ea0543a4c998f79bde27b8a6047c8d84d0a</id>
<content type='text'>
This change allows setting pre-defined eMMC boot partition for SPL eMMC
booting. It is necessary in the case when one wants to boot (through falcon
boot) from eMMC after loading SPL from other memory (like SPI-NOR).

Signed-off-by: Mans Rullgard &lt;mans@mansr.com&gt;
[lukma: Edit the commit message]
Signed-off-by: Lukasz Majewski &lt;lukma@denx.de&gt;
Acked-by: Andreas Dannenberg &lt;dannenberg@ti.com&gt;
</content>
</entry>
<entry>
<title>spl: mmc: Fix indentation in spl_mmc.c file</title>
<updated>2019-10-11T19:33:27Z</updated>
<author>
<name>Mans Rullgard</name>
<email>mans@mansr.com</email>
</author>
<published>2019-09-03T14:17:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9243990b17558c6498208061842b2ff4056acde0'/>
<id>urn:sha1:9243990b17558c6498208061842b2ff4056acde0</id>
<content type='text'>
This fixes a wrongly indented block of code.

Signed-off-by: Mans Rullgard &lt;mans@mansr.com&gt;
[lukma: Make the commit message more verbose]
Signed-off-by: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
</entry>
<entry>
<title>spl: add a generic function board_init_f</title>
<updated>2019-10-11T14:09:17Z</updated>
<author>
<name>Philippe Reynes</name>
<email>philippe.reynes@softathome.com</email>
</author>
<published>2019-09-19T14:18:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a9a3aadaddb4b968eb7133132a73646fc12ca39f'/>
<id>urn:sha1:a9a3aadaddb4b968eb7133132a73646fc12ca39f</id>
<content type='text'>
This commit add a generic function board_init_f that
only initialize some device (for example serial). It
avoid to define a board function only to launch the
serial configuration.

Signed-off-by: Philippe Reynes &lt;philippe.reynes@softathome.com&gt;
</content>
</entry>
<entry>
<title>spl: ymodem: Make SPL Y-Modem loader framework accessible</title>
<updated>2019-10-11T14:07:33Z</updated>
<author>
<name>Andreas Dannenberg</name>
<email>dannenberg@ti.com</email>
</author>
<published>2019-08-15T20:55:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e413033d3553402b313a4e2b1839c2d19e7cdcd3'/>
<id>urn:sha1:e413033d3553402b313a4e2b1839c2d19e7cdcd3</id>
<content type='text'>
Expose SPL's Y-Modem core loader function via the common SPL header
file so it can be re-used for purposes other than loading U-Boot itself.

Signed-off-by: Andreas Dannenberg &lt;dannenberg@ti.com&gt;
</content>
</entry>
<entry>
<title>spl: ymodem: Fix FIT loading termination handling</title>
<updated>2019-10-11T14:07:33Z</updated>
<author>
<name>Andreas Dannenberg</name>
<email>dannenberg@ti.com</email>
</author>
<published>2019-08-15T20:55:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9d6ee3e23591f4eb733153aa7776f53d9fef57f1'/>
<id>urn:sha1:9d6ee3e23591f4eb733153aa7776f53d9fef57f1</id>
<content type='text'>
During FIT reading through ymodem_read_fit() the function
xyzModem_stream_read() is being used which returns zero once the end
of a stream has been reached. This could lead to an premature exit from
ymodem_read_fit() with certain-sized FIT images reporting that zero
bytes overall were read. Such a premature exit would then result in an
-EIO failure being triggered within the spl_load_simple_fit() caller
function and ultimately lead to a boot failure.

Fix this logic by simply aborting the stream read loops and continuing
with the regular code flow which ultimately would lead to returning
the number of bytes to be read ('size') as expected by the callers of
ymodem_read_fit().

Fixes: fa715193c083 ("spl: Add an option to load a FIT containing U-Boot from UART")
Signed-off-by: Andreas Dannenberg &lt;dannenberg@ti.com&gt;
</content>
</entry>
</feed>
