[U-Boot] [PATCH 2/2] watchdog: omap_wdt: Disable DM watchdog support in SPL

Tom Rini trini at konsulko.com
Wed Jul 17 17:28:21 UTC 2019


On Fri, Jul 12, 2019 at 02:53:47PM +0530, sunil.m at techveda.org wrote:

> From: Suniel Mahesh <suniel.spartan at gmail.com>
> 
> This patch disables DM watchdog support for SPL builds and uses
> the legacy omap watchdog on TI AM335x chipsets.
> 
> The following build error is reported if DM watchdog support was enabled in SPL:
> 
>   CC      spl/drivers/usb/gadget/rndis.o
>   LD      spl/drivers/usb/gadget/built-in.o
>   LD      spl/drivers/usb/musb-new/built-in.o
>   LD      spl/drivers/built-in.o
>   LD      spl/u-boot-spl
> arm-linux-ld.bfd: u-boot-spl section .u_boot_list will not fit in region .sram
> arm-linux-ld.bfd: region .sram overflowed by 440 bytes
> make[1]: *** [spl/u-boot-spl] Error 1
> make: *** [spl/u-boot-spl] Error 2
> 
> Tested on BeagleboneBlack board.
> 
> Signed-off-by: Suniel Mahesh <sunil.m at techveda.org>

My concern here is that if we don't configure the watchdog we could now
end up in the case where the WDT trips while we're doing a slow boot
such as UART.  As was mentioned elsewhere we might need to switch to
using platdata so this still fits?  And we will need the whole of
"omap2" to build after this is applied, thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190717/8c94b2be/attachment.sig>


More information about the U-Boot mailing list