mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

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>
13 lines
347 B
Text
13 lines
347 B
Text
CONFIG_MMU=y
|
|
CONFIG_ARCH_MULTI_V7=y
|
|
CONFIG_ARCH_VIRT=y
|
|
CONFIG_THUMB2_KERNEL=n
|
|
CONFIG_SERIAL_AMBA_PL011=y
|
|
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
|
|
CONFIG_VIRTIO_MENU=y
|
|
CONFIG_VIRTIO_MMIO=y
|
|
CONFIG_VIRTIO_CONSOLE=y
|
|
CONFIG_COMPAT_32BIT_TIME=y
|
|
CONFIG_CMDLINE_BOOL=y
|
|
CONFIG_CMDLINE="console=ttyAMA0 wg.success=vport0p1 panic_on_warn=1"
|
|
CONFIG_FRAME_WARN=1024
|