From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7325025390560280576 X-Received: by 2002:a05:6830:12ca:b0:6dc:71b6:a193 with SMTP id a10-20020a05683012ca00b006dc71b6a193mr254102otq.37.1705490376817; Wed, 17 Jan 2024 03:19:36 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6871:330b:b0:206:e548:e34b with SMTP id nf11-20020a056871330b00b00206e548e34bls2639814oac.1.-pod-prod-08-us; Wed, 17 Jan 2024 03:19:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IE5V4bfFLSxuTBHWrKz23nZ+PFAXlVkjbsQxVilYuShMAfmKX8OmC4cQXJmF/h+kyiiiKfc X-Received: by 2002:a05:6870:898f:b0:205:fd47:cd97 with SMTP id f15-20020a056870898f00b00205fd47cd97mr9381350oaq.35.1705490376086; Wed, 17 Jan 2024 03:19:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705490376; cv=none; d=google.com; s=arc-20160816; b=lhwC9lUnJ106WRbJ1sw5HpC7RsxPuK6vjiR/mq0bih4mhVPj78AHFXXLeJduoSoFRt xDgX4gSxy26CWXElxEX2Ud0+3og7oP3mg5rxV3a/vSEHJyq3jTNT0Sa5lfeKTSvXX4NK 7Onrohd8dTNc+9WZaHezESWwRoKTG1WPJ0kWiXU5vvfyndukcN2eKeRAEoW3avSbEUy9 J6gXIF2Sre9GYu+Dou1BftHic0kcrVECjCda2XJ7NFJr97Eduge7PUQFmgyBX/2lOWJf efb8pP/YPD64MYU/kIHTsrJJ3mYM9hBqaONYP9J/nzv0BjhBRiH09+ZK0W8wMZ4gvqwH FDGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:message-id:date :subject:cc:to:from:dkim-signature; bh=kgDsHVgLZgA5lzQyoY4JLZuhphyIhwZK+Q4H60h2gvQ=; fh=xxo2rOAPT4f31TY31yIWVuVlno6QMa2Pdllc3KKolm0=; b=E71T395lp5KZjD37f6wrs1Tg4rWCTwalRfNeLB+wsK42VMe/6NRGnPkaW27tnXkaRF w+bSCh2nQ5mggEjsB9c4+ozBSakvmlwSflbIOA3gF6x6ADoPbz8ApPeXfHxoFXfrJR/L 3m93aCs5xY5gcj0tiW+l6p4e7SaCkIkLlxAhhkFVLBLNJCaTD2Gqo2/kSnyLcFq8GSuu 2a8mNRnkaiSSnbfguyqOG0EWBc1dSAj45KkQj96vEYe6aOmslP+BUF3k+PY5HrLJNevz GL1g1mjjtyaEIz+WODRhkAmSXrTFBdGS2RGeIA++PlHbs0QgxqSLv7qK+SuLTp2qC5ii 48Eg== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=gQgRoOPN; spf=pass (google.com: domain of fm-294854-20240117111934f68509fa3544421542-iloyfe@rts-flowmailer.siemens.com designates 185.136.64.228 as permitted sender) smtp.mailfrom=fm-294854-20240117111934f68509fa3544421542-IloyFe@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Return-Path: Received: from mta-64-228.siemens.flowmailer.net (mta-64-228.siemens.flowmailer.net. [185.136.64.228]) by gmr-mx.google.com with ESMTPS id fu16-20020a0568705d9000b00204853d91eesi2010320oab.4.2024.01.17.03.19.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Jan 2024 03:19:35 -0800 (PST) Received-SPF: pass (google.com: domain of fm-294854-20240117111934f68509fa3544421542-iloyfe@rts-flowmailer.siemens.com designates 185.136.64.228 as permitted sender) client-ip=185.136.64.228; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=gQgRoOPN; spf=pass (google.com: domain of fm-294854-20240117111934f68509fa3544421542-iloyfe@rts-flowmailer.siemens.com designates 185.136.64.228 as permitted sender) smtp.mailfrom=fm-294854-20240117111934f68509fa3544421542-IloyFe@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: by mta-64-228.siemens.flowmailer.net with ESMTPSA id 20240117111934f68509fa3544421542 for ; Wed, 17 Jan 2024 12:19:34 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=jan.kiszka@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc; bh=kgDsHVgLZgA5lzQyoY4JLZuhphyIhwZK+Q4H60h2gvQ=; b=gQgRoOPNjwn5mf4crfWfA1mvdwotQdNUhfSFTrMWzYMC/4J7i8Zhz2ILslTvtQCIkwhzOo kI0MX2aY5ghbVbdWeJoyJZwuAeqlxoNaeN4rGUsVgYIJcqudHsPzBP99SkI0F9mgvPISPkVA xaBelGEcyr4+uPUf7f+ncYdP9ujy8=; From: Jan Kiszka To: isar-users Cc: Felix Moessbauer Subject: [PATCH v3 0/8] Fix and update VisionFive 2 Date: Wed, 17 Jan 2024 12:19:25 +0100 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-294854:519-21489:flowmailer X-TUID: /ZtTjIjgQRLq Debian has fixed riscv64 cross-building in sid, and we can now use the chance to fix and update VisionFive 2. We can't go fully upstream with that board yet as it would otherwise lack USB and PCIe support. But there is a working for-upstream kernel branch on top of 6.6 that we can use. In contrast, firmware is fully upstream now. Changes in v3: - go back to downstream kernel - drop linux-mainline update - update u-boot to 2024.01 - update to opensbi 1.4 Changes in v2: - drop no longer need cross-build workaround - update to kernel 6.6.10 Jan Jan Kiszka (8): crossvars: Account for PACKAGE_ARCH = "${BUILD_ARCH}" meta-isar: jh7110-u-boot-spl-tool: Use BPN instead of PN meta-isar: starfive-visionfive2: Use kernel DTB meta-isar: jh7110-u-boot-spl-tool: Rework meta-isar: starfive-visionfive2: Switch to upstream U-Boot opensbi-starfive-visionfive2: Update to 1.4 release meta-isar: starfive-visionfive2: Drop obsolete recipes linux-starfive: Update to 6.6 upstream queue .../conf/machine/starfive-visionfive2.conf | 13 ++---- .../jh7110-u-boot-spl-image/files/install | 1 - .../jh7110-u-boot-spl-image/files/rules | 10 ----- .../jh7110-u-boot-spl-image_0.1.bb | 32 --------------- ...l_0.1.bb => jh7110-u-boot-spl-tool_0.2.bb} | 2 +- .../opensbi/files/starfive-visionfive2-rules | 12 ++++++ .../files/starfive-visionfive2-rules.tmpl | 17 -------- ...ensbi-starfive-visionfive2_1.2+20230310.bb | 33 --------------- .../opensbi-starfive-visionfive2_1.4.bb | 25 +++++++++++ .../files/starfive-visionfive2-rules.tmpl | 35 ++++++++++++++++ ...-starfive-visionfive2_2021.10+VF2-3.0.4.bb | 31 -------------- .../u-boot-starfive-visionfive2_2024.01.bb | 29 +++++++++++++ .../files/rules.tmpl | 12 ------ .../files/visionfive2-u-boot-firmware.install | 1 - .../visionfive2-uboot-fit-image.its.tmpl | 41 ------------------- .../visionfive2-u-boot-firmware.bb | 38 ----------------- ...sure-GP-relative-addressing-is-not-u.patch | 32 +++++++++++++++ .../linux/files/starfive2_extra.cfg | 6 ++- .../linux/linux-starfive_5.15-visionfive2.bb | 19 --------- .../linux/linux-starfive_6.6-visionfive2.bb | 21 ++++++++++ .../canned-wks/starfive-visionfive2.wks.in | 6 +-- meta/classes/crossvars.bbclass | 2 +- 22 files changed, 167 insertions(+), 251 deletions(-) delete mode 100644 meta-isar/recipes-bsp/jh7110-u-boot-spl-image/files/install delete mode 100644 meta-isar/recipes-bsp/jh7110-u-boot-spl-image/files/rules delete mode 100644 meta-isar/recipes-bsp/jh7110-u-boot-spl-image/jh7110-u-boot-spl-image_0.1.bb rename meta-isar/recipes-bsp/jh7110-u-boot-spl-tool/{jh7110-u-boot-spl-tool_0.1.bb => jh7110-u-boot-spl-tool_0.2.bb} (85%) create mode 100644 meta-isar/recipes-bsp/opensbi/files/starfive-visionfive2-rules delete mode 100644 meta-isar/recipes-bsp/opensbi/files/starfive-visionfive2-rules.tmpl delete mode 100644 meta-isar/recipes-bsp/opensbi/opensbi-starfive-visionfive2_1.2+20230310.bb create mode 100644 meta-isar/recipes-bsp/opensbi/opensbi-starfive-visionfive2_1.4.bb create mode 100755 meta-isar/recipes-bsp/u-boot/files/starfive-visionfive2-rules.tmpl delete mode 100644 meta-isar/recipes-bsp/u-boot/u-boot-starfive-visionfive2_2021.10+VF2-3.0.4.bb create mode 100644 meta-isar/recipes-bsp/u-boot/u-boot-starfive-visionfive2_2024.01.bb delete mode 100644 meta-isar/recipes-bsp/visionfive2-u-boot-firmware/files/rules.tmpl delete mode 100644 meta-isar/recipes-bsp/visionfive2-u-boot-firmware/files/visionfive2-u-boot-firmware.install delete mode 100644 meta-isar/recipes-bsp/visionfive2-u-boot-firmware/files/visionfive2-uboot-fit-image.its.tmpl delete mode 100644 meta-isar/recipes-bsp/visionfive2-u-boot-firmware/visionfive2-u-boot-firmware.bb create mode 100644 meta-isar/recipes-kernel/linux/files/0001-riscv-efistub-Ensure-GP-relative-addressing-is-not-u.patch delete mode 100644 meta-isar/recipes-kernel/linux/linux-starfive_5.15-visionfive2.bb create mode 100644 meta-isar/recipes-kernel/linux/linux-starfive_6.6-visionfive2.bb -- 2.35.3