<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/common, branch v2019.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>board_r: move initr_watchdog to be called after initr_serial</title>
<updated>2019-07-07T21:38:17+00:00</updated>
<author>
<name>Weijie Gao</name>
<email>weijie.gao@mediatek.com</email>
</author>
<published>2019-05-16T09:19:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=84b2416b6a0531a9ad46a4e445e558f183c50171'/>
<id>84b2416b6a0531a9ad46a4e445e558f183c50171</id>
<content type='text'>
The initr_watchdog is currently placed before initr_serial. The
initr_watchdog calls printf and printf finally calls ops-&gt;putc of a serial
driver.

However, gd-&gt;cur_serial_dev points to a udevice allocated in board_f. The
gd-&gt;cur_serial_dev-&gt;driver-&gt;ops-&gt;putc points the the code region before
relocation.

Some serial drivers call WATCHDOG_RESET() in ops-&gt;putc. When DM is enabled
for watchdog, watchdog_reset() is called. watchdog_reset() calls get_timer
to get current timer.

On some platforms the timer driver is also a DM driver. initr_watchdog is
placed right after initr_dm, which means the timer driver hasn't been
initialized. So dm_timer_init() is called. To create a new udevice, calloc
is called.

However start from ops-&gt;putc, u-boot execution flow is redirected into the
memory region before relocation (board_f). In board_f, dlmalloc hasn't
been initialized. The call to calloc will fail, and this will cause DM to
print out an error message, and it will call printf again, causing
recursive error outputs.

This patch places initr_watchdog after initr_serial to solve this issue.

Cc: Stefan Roese &lt;sr@denx.de&gt;
Reviewed-by: Ryder Lee &lt;ryder.lee@mediatek.com&gt;
Signed-off-by: Weijie Gao &lt;weijie.gao@mediatek.com&gt;
Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
Tested-by: Frank Wunderlich &lt;frank-w@public-files.de&gt;
Tested-by: Suniel Mahesh &lt;sunil.m@techveda.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The initr_watchdog is currently placed before initr_serial. The
initr_watchdog calls printf and printf finally calls ops-&gt;putc of a serial
driver.

However, gd-&gt;cur_serial_dev points to a udevice allocated in board_f. The
gd-&gt;cur_serial_dev-&gt;driver-&gt;ops-&gt;putc points the the code region before
relocation.

Some serial drivers call WATCHDOG_RESET() in ops-&gt;putc. When DM is enabled
for watchdog, watchdog_reset() is called. watchdog_reset() calls get_timer
to get current timer.

On some platforms the timer driver is also a DM driver. initr_watchdog is
placed right after initr_dm, which means the timer driver hasn't been
initialized. So dm_timer_init() is called. To create a new udevice, calloc
is called.

However start from ops-&gt;putc, u-boot execution flow is redirected into the
memory region before relocation (board_f). In board_f, dlmalloc hasn't
been initialized. The call to calloc will fail, and this will cause DM to
print out an error message, and it will call printf again, causing
recursive error outputs.

This patch places initr_watchdog after initr_serial to solve this issue.

Cc: Stefan Roese &lt;sr@denx.de&gt;
Reviewed-by: Ryder Lee &lt;ryder.lee@mediatek.com&gt;
Signed-off-by: Weijie Gao &lt;weijie.gao@mediatek.com&gt;
Reviewed-by: Stefan Roese &lt;sr@denx.de&gt;
Tested-by: Frank Wunderlich &lt;frank-w@public-files.de&gt;
Tested-by: Suniel Mahesh &lt;sunil.m@techveda.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spl: atf: Fix uninitialized pointer to bl31_image_info</title>
<updated>2019-07-02T02:30:02+00:00</updated>
<author>
<name>Frieder Schrempf</name>
<email>frieder.schrempf@kontron.de</email>
</author>
<published>2019-06-27T07:03:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a239b82dad03ad942aaf5fbbda672e882968488c'/>
<id>a239b82dad03ad942aaf5fbbda672e882968488c</id>
<content type='text'>
The pointer to struct atf_image_info in
bl31_params_mem.bl31_params.bl31_image_info is not initialized before
being dereferenced. This can cause U-Boot to crash right before jumping
to the BL31 ATF binary.

Signed-off-by: Frieder Schrempf &lt;frieder.schrempf@kontron.de&gt;
Fixes: bcc1726a7bdd ("spl: add support to booting with ATF")
Reviewed-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The pointer to struct atf_image_info in
bl31_params_mem.bl31_params.bl31_image_info is not initialized before
being dereferenced. This can cause U-Boot to crash right before jumping
to the BL31 ATF binary.

Signed-off-by: Frieder Schrempf &lt;frieder.schrempf@kontron.de&gt;
Fixes: bcc1726a7bdd ("spl: add support to booting with ATF")
Reviewed-by: Kever Yang &lt;kever.yang@rock-chips.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge tag 'u-boot-imx-20190628' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx</title>
<updated>2019-06-28T12:00:22+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2019-06-28T12:00:22+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0352e878d2b80b2575e02310e891e936251b3992'/>
<id>0352e878d2b80b2575e02310e891e936251b3992</id>
<content type='text'>
Fixes for 2019.07

- menlo board
- allow SDB on Sabre
- HAB for mx6sl
- apalis board
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes for 2019.07

- menlo board
- allow SDB on Sabre
- HAB for mx6sl
- apalis board
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: gadget: f_sdp: Allow SPL to load and boot FIT via SDP</title>
<updated>2019-06-27T11:50:28+00:00</updated>
<author>
<name>Frieder Schrempf</name>
<email>frieder.schrempf@kontron.de</email>
</author>
<published>2019-06-04T19:56:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=2c72ead7387404eba16c556d2f204c52c36c27f9'/>
<id>2c72ead7387404eba16c556d2f204c52c36c27f9</id>
<content type='text'>
Add support for loading u-boot FIT images over the USB SDP protocol in
the SPL

Signed-off-by: Frieder Schrempf &lt;frieder.schrempf@kontron.de&gt;
[Various build fixes]
Signed-off-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Tested-by: Fabio Estevam &lt;festevam@gmail.com&gt;
Tested-by: Lukasz Majewski &lt;lukma@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add support for loading u-boot FIT images over the USB SDP protocol in
the SPL

Signed-off-by: Frieder Schrempf &lt;frieder.schrempf@kontron.de&gt;
[Various build fixes]
Signed-off-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
Tested-by: Fabio Estevam &lt;festevam@gmail.com&gt;
Tested-by: Lukasz Majewski &lt;lukma@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rsa: reject images with unknown padding</title>
<updated>2019-06-21T14:07:11+00:00</updated>
<author>
<name>Patrick Doyle</name>
<email>wpdster@gmail.com</email>
</author>
<published>2019-06-14T17:43:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=19495dd9b6f5f4e893b56b0c73e14b2e671c3780'/>
<id>19495dd9b6f5f4e893b56b0c73e14b2e671c3780</id>
<content type='text'>
Previously we would store NULL in info-&gt;padding and jump to an illegal
instruction if an unknown value for "padding" was specified in the
device tree.

Signed-off-by: Patrick Doyle &lt;pdoyle@irobot.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously we would store NULL in info-&gt;padding and jump to an illegal
instruction if an unknown value for "padding" was specified in the
device tree.

Signed-off-by: Patrick Doyle &lt;pdoyle@irobot.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://git.denx.de/u-boot-usb</title>
<updated>2019-06-17T15:27:21+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2019-06-17T15:27:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c3e8aa1a9ed5f6db7345b23a2f8f136e987ebd4d'/>
<id>c3e8aa1a9ed5f6db7345b23a2f8f136e987ebd4d</id>
<content type='text'>
- Assorted gadget fixes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Assorted gadget fixes
</pre>
</div>
</content>
</entry>
<entry>
<title>configs: Migrate the various SPL_BOOT_xxx choices for PowerPC</title>
<updated>2019-06-14T20:10:49+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2019-06-01T18:20:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=db4080d56dec857a90367e2d5e4fa0ad0d2a37c3'/>
<id>db4080d56dec857a90367e2d5e4fa0ad0d2a37c3</id>
<content type='text'>
The non-CONFIG_SPL_FRAMEWORK SPL used on some PowerPC platforms have a
choice between CONFIG_SPL_NAND_BOOT, CONFIG_SPL_MMC_BOOT and
CONFIG_SPL_SPI_BOOT.  Migrate this to Kconfig

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The non-CONFIG_SPL_FRAMEWORK SPL used on some PowerPC platforms have a
choice between CONFIG_SPL_NAND_BOOT, CONFIG_SPL_MMC_BOOT and
CONFIG_SPL_SPI_BOOT.  Migrate this to Kconfig

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common: Fix a typo abnove -&gt; above</title>
<updated>2019-06-14T20:10:48+00:00</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2019-06-12T12:35:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=69264f499305bb40d1a3eda6428b96651bfc05db'/>
<id>69264f499305bb40d1a3eda6428b96651bfc05db</id>
<content type='text'>
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: gadget: error out if g_dnl registration fails</title>
<updated>2019-06-14T10:39:50+00:00</updated>
<author>
<name>Sjoerd Simons</name>
<email>sjoerd.simons@collabora.co.uk</email>
</author>
<published>2019-06-04T19:01:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=25ee924649f94b42fba8ef615b5eb39db19044cd'/>
<id>25ee924649f94b42fba8ef615b5eb39db19044cd</id>
<content type='text'>
If g_dnl_register fails return an error rather then stubornly
continuing onwards.

Signed-off-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If g_dnl_register fails return an error rather then stubornly
continuing onwards.

Signed-off-by: Sjoerd Simons &lt;sjoerd.simons@collabora.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>spl: dfu: Fix printed variable name</title>
<updated>2019-06-14T10:39:50+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marex@denx.de</email>
</author>
<published>2019-05-25T20:50:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=634931fea542fc59cf7537b6c2c163942a6ccd15'/>
<id>634931fea542fc59cf7537b6c2c163942a6ccd15</id>
<content type='text'>
The SPL DFU uses dfu_alt_info_N variable name to determine the DFU
configuration, where N is the name of the media (e.g. ram). It does
not use the plain dfu_alt_info. Print the name of the missing env
variable in case of a failure instead of printing dfu_alt_info,
which is just the name of the parameter passed to spl_dfu_cmd().

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Tom Rini &lt;trini@konsulko.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The SPL DFU uses dfu_alt_info_N variable name to determine the DFU
configuration, where N is the name of the media (e.g. ram). It does
not use the plain dfu_alt_info. Print the name of the missing env
variable in case of a failure instead of printing dfu_alt_info,
which is just the name of the parameter passed to spl_dfu_cmd().

Signed-off-by: Marek Vasut &lt;marex@denx.de&gt;
Cc: Tom Rini &lt;trini@konsulko.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
