On Montag, 23. Januar 2017 20:56:06 CET Frank Kunz wrote:
> Hello,
> 
> I have a problem when adding a new board to openSUSE (DE0-nano-SoC). The
> upstream u-boot for that board enables the watchdog with a 30 seconds
> timeout. That causes the board to get reset during the system partition
> resizing at first startup. To get watchdog support enabled I added the
> dw_wdt kernel module in config.sh to the dracut config. That is not
> enough, some service needs to use the driver to periodically trigger the
> watchdog (systemd, etc.). Is there a way to get that at the fist startup
> phase while the installation is completed?
> 
> https://build.opensuse.org/package/show/home:frank_kunz:branches:openSUSE:Fa
> ctory:ARM/JeOS-socfpgade0nanosoc

According to the buildlog, dw_wdt has been removed from the initial initrd:

osc rbl home:frank_kunz:branches:openSUSE:Factory:ARM JeOS-socfpgade0nanosoc 
factory armv7l | grep dw_wdt
[  400s] Deleting unwanted module: /kernel-tree/4.9.4-1-default/kernel/
drivers/watchdog/dw_wdt.ko

It might be sufficient to add the following in the Images.kiwi.in at the 
appropriate position:

#if IS_FLAVOR_socfpgade0nanosoc
                <file name="drivers/watchdog/dw_wdt.ko"/> <!-- WDT is enabled 
by u-boot 
-->
#endif

Kind regards,

Stefan
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to