KBUILD_DEFCONFIG = "bfk3_defconfig"
KERNEL_DEVICETREE = "baikal-t1/bfk3.dtb"
PREFERRED_PROVIDER_virtual/kernel = "linux-baikal"
-PREFERRED_VERSION_virtual/kernel = "5.15%"
+#PREFERRED_VERSION_virtual/kernel = "6.1%"
FILES:${PN}-baikal-env = "${WORKDIR}/${MACHINE}.bin ${WORKDIR}/${MACHINE}.env"
ENV_SIZE = "0x10000"
-UBOOT_DEF_ENV = "${MACHINE}.def-2022"
+UBOOT_DEF_ENV = "${MACHINE}.def-2023"
BOOTROM_DIR = "sdk_bt/baikal/src/bootrom"
LIC_FILES_CHKSUM = "file://Licenses/README;md5=2ca5f2c35c8cc335f0a19756634782f1"
-SRC_URI = "git://git@swgit/uboot.git;protocol=ssh;branch=baikal_mips;name=uboot \
+SRC_URI = "git://git@swgit/uboot.git;protocol=ssh;branch=baikal_mips_upstream;name=uboot \
git://git@swgit/sdk_bt.git/;protocol=ssh;destsuffix=git/sdk_bt;branch=testing;name=sdk_bt"
-SRCREV_uboot = "0769e6fc0854541fe5982e0323823250758cd2d0"
-SRCREV_sdk_bt = "e1e52862e947017ef3b5988632bac2726eb105e2"
+SRCREV_uboot = "7f42ca4b9efb14e72e782f4232d9ec60f283bf9d"
+SRCREV_sdk_bt = "d1831d2deebdca284aa056a667444d79464086b7"
S = "${WORKDIR}/git"
+++ /dev/null
-require recipes-kernel/linux/linux-baikal.inc
-require recipes-kernel/linux/linux-umulti.inc
-
-inherit kernel-uimage
-
-KERNEL_IMAGETYPE = "uImage"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
-SRC_URI = "git://git@swgit/kernel_t1_mainline.git;protocol=ssh;branch=baikal-5.15.y-sdk5.9"
-SRCREV = "849fadc2c93a6822c819397e754ab4ffe14f22b8"
-LINUX_VERSION ?= "5.15.61"
-
-DEPENDS += "openssl-native util-linux-native"
-DEPENDS += "gmp-native libmpc-native"
-
-KCONF_BSP_AUDIT_LEVEL = "1"
-
-COMPATIBLE_MACHINE = "^(bfk3)$"
-
-deltask package_qa
-
-baikal_deploy () {
- if [ ! -d ${BAIKAL_IMAGES} ]; then
- mkdir -p ${BAIKAL_IMAGES}
- fi
- for imageType in ${KERNEL_IMAGETYPES} ; do
- install -m 0644 ${B}/${KERNEL_OUTPUT_DIR}/$imageType ${BAIKAL_IMAGES}/${MACHINE}.$imageType
- done
-}
-
-baikal_deploy_vmlinux () {
- if [ ! -d ${BAIKAL_IMAGES} ]; then
- mkdir -p ${BAIKAL_IMAGES}
- fi
- cp -f ${B}/System.map ${BAIKAL_IMAGES}/${MACHINE}.System.map
- cp -f ${B}/${KERNEL_OUTPUT_DIR}/vmlinux.bin ${BAIKAL_IMAGES}/${MACHINE}.vmlinux.bin
- cp -f ${B}/${KERNEL_OUTPUT_DIR}/vmlinux.bin.gz ${BAIKAL_IMAGES}/${MACHINE}.vmlinux.bin.gz
- cat ${BAIKAL_IMAGES}/${MACHINE}.vmlinux.bin | lzma -f -9 > ${BAIKAL_IMAGES}/${MACHINE}.vmlinux.bin.lzma
-
- for dtbf in ${KERNEL_DEVICETREE}; do
- cp -f ${B}/${KERNEL_OUTPUT_DIR}/dts/$dtbf -t ${BAIKAL_IMAGES}
- done
-}
-
-do_deploy[prefuncs] += "baikal_deploy"
-do_deploy[prefuncs] += "baikal_deploy_vmlinux"
--- /dev/null
+require recipes-kernel/linux/linux-baikal.inc
+require recipes-kernel/linux/linux-umulti.inc
+
+inherit kernel-uimage
+
+KERNEL_IMAGETYPE = "uImage"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
+SRC_URI = "git://git@swgit/kernel_t1_mainline.git;protocol=ssh;branch=baikal-6.1.y-sdk6.1"
+SRCREV = "54ab2c56660f2bf0a7dd55a5b4015da3198b4c1c"
+LINUX_VERSION ?= "6.1"
+
+DEPENDS += "openssl-native util-linux-native"
+DEPENDS += "gmp-native libmpc-native"
+
+KCONF_BSP_AUDIT_LEVEL = "1"
+
+COMPATIBLE_MACHINE = "^(bfk3)$"
+
+deltask package_qa
+
+baikal_deploy () {
+ if [ ! -d ${BAIKAL_IMAGES} ]; then
+ mkdir -p ${BAIKAL_IMAGES}
+ fi
+ for imageType in ${KERNEL_IMAGETYPES} ; do
+ install -m 0644 ${B}/${KERNEL_OUTPUT_DIR}/$imageType ${BAIKAL_IMAGES}/${MACHINE}.$imageType
+ done
+}
+
+baikal_deploy_vmlinux () {
+ if [ ! -d ${BAIKAL_IMAGES} ]; then
+ mkdir -p ${BAIKAL_IMAGES}
+ fi
+ cp -f ${B}/System.map ${BAIKAL_IMAGES}/${MACHINE}.System.map
+ cp -f ${B}/${KERNEL_OUTPUT_DIR}/vmlinux.bin ${BAIKAL_IMAGES}/${MACHINE}.vmlinux.bin
+ cp -f ${B}/${KERNEL_OUTPUT_DIR}/vmlinux.bin.gz ${BAIKAL_IMAGES}/${MACHINE}.vmlinux.bin.gz
+ cat ${BAIKAL_IMAGES}/${MACHINE}.vmlinux.bin | lzma -f -9 > ${BAIKAL_IMAGES}/${MACHINE}.vmlinux.bin.lzma
+
+ for dtbf in ${KERNEL_DEVICETREE}; do
+ cp -f ${B}/${KERNEL_OUTPUT_DIR}/dts/$dtbf -t ${BAIKAL_IMAGES}
+ done
+}
+
+do_deploy[prefuncs] += "baikal_deploy"
+do_deploy[prefuncs] += "baikal_deploy_vmlinux"