mirror of
https://git.yoctoproject.org/poky
synced 2026-02-22 17:39:39 +01:00
Integrating the following commit(s) to linux-yocto/.:
1/1 [
Author: Khem Raj
Email: raj.khem@gmail.com
Subject: qemuriscv32/qemuriscv64: Enable Goldfish RTC
Date: Fri, 16 Feb 2024 01:05:51 -0800
This is required for the qemu based riscv system to set system time
correctly. Otherwise, it falls back to defaults in /etc/timestamp which
is set at image build time and is not current.
Fixes
hwclock: can't open '/dev/misc/rtc': No such file or directory
Fri Mar 9 12:34:56 UTC 2018
hwclock: can't open '/dev/misc/rtc': No such file or directory
hwclock: can't open '/dev/misc/rtc': No such file or directory
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
(From OE-Core rev: d198cd6bca370306515d5e0e8507babf05a193eb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 lines
1.0 KiB
BlitzBasic
34 lines
1.0 KiB
BlitzBasic
KBRANCH ?= "v6.6/standard/tiny/base"
|
|
|
|
LINUX_KERNEL_TYPE = "tiny"
|
|
KCONFIG_MODE = "--allnoconfig"
|
|
|
|
require recipes-kernel/linux/linux-yocto.inc
|
|
|
|
# CVE exclusions
|
|
include recipes-kernel/linux/cve-exclusion_6.6.inc
|
|
|
|
LINUX_VERSION ?= "6.6.16"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
|
|
|
DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
|
|
DEPENDS += "openssl-native util-linux-native"
|
|
|
|
KMETA = "kernel-meta"
|
|
KCONF_BSP_AUDIT_LEVEL = "2"
|
|
|
|
SRCREV_machine ?= "fe5ec7bef162341ff0fbcef6996df5090a07aee1"
|
|
SRCREV_meta ?= "301db0019eb67dd500919a201eaf49a6690b9c55"
|
|
|
|
PV = "${LINUX_VERSION}+git"
|
|
|
|
SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https \
|
|
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.6;destsuffix=${KMETA};protocol=https"
|
|
|
|
COMPATIBLE_MACHINE = "^(qemux86|qemux86-64|qemuarm64|qemuarm|qemuarmv5)$"
|
|
|
|
# Functionality flags
|
|
KERNEL_FEATURES = ""
|
|
|
|
KERNEL_DEVICETREE:qemuarmv5 = "arm/versatile-pb.dtb"
|