Not all platforms have an RTC, and rather than trying to force one into each, it's much easier to just set a fixed time. This is necessary because WireGuard's latest handshakes parameter is returned in wallclock time, and if the system time isn't set, and the system is really fast, then this returns 0, which trips the test. Turning this on requires setting CONFIG_COMPAT_32BIT_TIME=y, as musl doesn't support settimeofday without it. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
12 lines
321 B
Text
12 lines
321 B
Text
CONFIG_CPU_MIPS32_R2=y
|
|
CONFIG_MIPS_MALTA=y
|
|
CONFIG_MIPS_CPS=y
|
|
CONFIG_MIPS_FP_SUPPORT=y
|
|
CONFIG_POWER_RESET=y
|
|
CONFIG_POWER_RESET_SYSCON=y
|
|
CONFIG_SERIAL_8250=y
|
|
CONFIG_SERIAL_8250_CONSOLE=y
|
|
CONFIG_COMPAT_32BIT_TIME=y
|
|
CONFIG_CMDLINE_BOOL=y
|
|
CONFIG_CMDLINE="console=ttyS0 wg.success=ttyS1 panic_on_warn=1"
|
|
CONFIG_FRAME_WARN=1024
|