Commit graph

157 commits

Author SHA1 Message Date
2d1fe2dbe3 Bump Star64 Kernel to 5.15.107 2023-04-19 19:25:55 +08:00
1cdb6f7c82 Fix VisionFive 2 boot and Add Star64 Board
Several issues with the current visionfive 2 support:
* JH7110 Support is only in OpenSBI Master branch, (upcoming 1.3 release).  So pin OpenSBI Revision to the commit that adds JH7110 Support otherwise reset etc does not work
* There are two variants of VisionFive2 and Star64 - 4Gb and 8Gb. StarFive's u-boot reads the eeprom on board to determine what variant you have, and modifies the loaded FDT it passes to the kernel with the correct Memory. Current U-boot scripts in meta-riscv do not do this, and thus all boards end up with the default 4Gb configuration. I've updated this for Star64, but needs testing on VF2

* Some of the addresses used in uboot for kernel/initramfs or fdt were different from upstream. Aligned the addresses with upstream StarFive.

As both Star64 and VisionFive2 are based on the same SOC, i've changed the machine configuration so we have a JH7110 SOC and VisionFive2 and Star64 inherit from this. Where appropriate in the recipies, I've changed to jh7110 instead of visionfive2

Finally, as the Star64 has different kernel/u-boot configs/dts files, i've pointed those at my repos for now, and will be upstreaming (assuming Starfive accept star64 related PRs). Once upstreamed, I'll submit a new PR here.

This also lays the groundwork for the new PineTab-V from pine64 which is due to be shipped in May.

Signed-Off-By: Justin Hammond <justin@dynam.ac>
2023-04-18 15:01:40 +08:00
Andreas Cord-Landwehr
38bda00f29 linux-starfive-dev: update starfive kernel for release 2.11.5 2023-04-09 07:36:11 -07:00
Khem Raj
0662549cc9 linux-firmware-visionfive2-imggpu: Use nonarch_base_libdir instead of hardcoded /lib
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-15 15:33:21 -07:00
Andreas Cord-Landwehr
33a768b7fe linux-starfive-dev: update kernel to VisionFive2 tag 2.8.0 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
9f518257bb jpu-module: package JPU / CODAJ12 kernel module 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
dc7307c9d8 venc-module: add WAVE420l video encoder kernel module 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
078e82f929 linux-firmware-visionfive2-wave420l: package WAVE420L firmware blob 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
5af6643917 linux-firmware-visionfive2-imggpu: split IMG_GPU firmware blob
The firmware blob is architecture independent, move it to separate
package like all other firmware blobs to make rootfs creation simpler.
2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
144f8b4270 linux-firmware-vision2-wave511: package WAVE511 firmware blob 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
aa3db726c5 vdec-module: add WAVE511 / vdec kernel module for video decoding 2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
6472a479dc linux-starfive-dev: set CMA memory for visionfive2 to 256MB
Running anything with decent UI like a KDE Plasma shell requires much
more than the default 8MB. Visible effect of too small buffer is heavy
flickering of UI, accompained by allocation errors in syslog.
2023-03-06 10:19:34 -08:00
Andreas Cord-Landwehr
a7f82e4ab7 visionfive2: add initial kernel support 2023-03-06 10:19:34 -08:00
Khem Raj
b1a37d95e8 linux-mainline: Remove KERNEL_DEVICETREE
This is already set in machine conf correctly

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-05 14:47:40 -08:00
Khem Raj
d7bb4241ae linux-starfive: Delete unused patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-05 14:47:40 -08:00
Khem Raj
2cbf63999a linux-starfive: Drop recipe for 5.12
This branch does not exist anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-05 14:47:40 -08:00
Khem Raj
e7f2082f9d linux-mainline: Update to 6.2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-05 14:47:40 -08:00
Khem Raj
6348fdd2b5 linux-starfive-dev: Update LINUX_VERSION to 6.2.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-03-05 14:47:40 -08:00
Pavel Zhukov
3dd66f6ce2 linux-nezha: Rename nezha to allwinner D1
Move board specific configuration into machine conf

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
2023-02-09 16:43:45 -08:00
Pavel Zhukov
1462596d49 linux-mangopimqpro-dev: Add patch status information
Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
2023-02-09 16:43:45 -08:00
Pavel Zhukov
8d7a5ad492 mangopimqpro: Enable and fix bluetooth 2023-02-09 16:43:45 -08:00
Pavel Zhukov
931c3b7f0a linux-nezha: delete unused patch
Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
2023-02-09 16:43:45 -08:00
Khem Raj
34928ef92d rtl8723ds: Pin to mangopi-mq-pro machine
It is not intended for all kind of machines by default, other machines
can be enabled as needed and verified to work on it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-08 08:23:06 +10:00
Pavel Zhukov
f4d336cb7e conf/machine: Add mangopi-mq-pro machine
Based on Nezha D1 machine config with addjusterd DTB configuration
and added wifi module driver.
Tested with core-image-(base|weston) on MangoPi MQ Pro rev 1.3:
- HDMI output/weston and wifi are working. USB-C ethernet detected but not
  tested due to lack of HW.

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
2023-02-05 19:30:23 -08:00
Pavel Zhukov
b576fc7019 rtl8723ds-mod: Add recipe for rtl8723ds
Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
2023-02-05 19:30:23 -08:00
Trevor Woerner
067e92b602 linux-nezha-dev: point to branch with defconfig
One of the other branches of Samuel Holland's kernel tree for the nezha
includes everything the current branch includes plus a defconfig. Using this
branch will keep our defconfig inline with the author's changes.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2023-01-29 10:44:25 -08:00
Andreas Cord-Landwehr
d88ad1c1ba linux-nezha: Fix udev daemon startup 2023-01-08 08:07:38 -08:00
Andreas Cord-Landwehr
6f9e72980c linux-nezha: Allow access to /boot partition 2023-01-08 08:07:38 -08:00
Andreas Cord-Landwehr
479a55195a linux-nezha: Enable Graphics/DRM for Nezha board 2023-01-08 08:07:38 -08:00
Andreas Cord-Landwehr
39f1c2e9d0 linux-nezha: Switch kernel to smaeul:d1/all 2023-01-08 08:07:38 -08:00
Yu Chien Peter Lin
a34ab4a1df linux-ae35mp-ax45mp-dev: Bump to Linux 6.0
We rebased drivers on 5.18 and adds WDT and SMU drivers
support to this 6.0 branch, and updated the compatible
string for PLMT and PLICSW.

Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
2022-11-07 08:18:07 -08:00
Khem Raj
d5628ffd5a linux-starfive-dev: Bump to 6.0.0
Drop lld patch, lld has implemented relaxation now in clang 15.x
which is default in master meta-clang, therefore this patch is no
longer needed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-10 22:36:40 -07:00
Khem Raj
5415c909f2 linux-starfive-dev: Update srcrev and the defconfig name for beagleV
Use same branch for both starfive SOC boards

Fixes Issue #357

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-22 18:51:48 -07:00
Yu Chien Peter Lin
f9dc829597 linux: add recipe for ae350-ax45mp
Linux kernel source is based on v5.18.y and hosted on Andes Github.

Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
2022-08-15 08:56:10 -07:00
Khem Raj
209e97decb linux-firmware-beaglev-bcm43430: Remove nvram_ap6236.txt
it does not exist in repo anymore
Add symlink called brcmfmac43430-sdio.txt to brcmfmac43430-sdio.AP6212.txt

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-17 18:46:52 -04:00
Richard Purdie
d16bc5a3f2 visionfive: Add initial support for Starfive Visionfive board
This is largely based on the beaglev code nbut tweaked to work with current
starfive kernel repositories and tweak to the board.

The kernel and rootfs boot with working network and graphics. The u-boot
binary builds but is as yet untested.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-07-05 07:09:47 -04:00
Thomas Perrot
29748ea24e linux-mainline: bump to 5.18
715066a79ea9 riscv: use fallback for random_get_entropy() instead of zero
f4e9fe58d4af riscv: use fallback for random_get_entropy() instead of zero
dcd042ccae9e riscv: dts: sifive: fu540-c000: align dma node name with dtschema
265f34c25bad Merge tag 'riscv-for-linus-5.18-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux
c932edeaf6d6 riscv: dts: microchip: fix gpio1 reg property typo
b17410182b6f riscv: dts: sifive: fu540-c000: align dma node name with dtschema
26b29404d15c riscv: patch_text: Fixup last cpu should be master
497fe3bb196d Merge tag 'riscv-for-linus-5.18-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux
2d0de93ca251 Merge tag 'riscv-for-linus-5.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux
6deb9bf4580d riscv: dts: microchip: reparent mpfs clocks
2b6190c80423 riscv: dts: microchip: fix usage of fic clocks on mpfs
4e339e5e2dbf Merge tag 'riscv-for-linus-5.18-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux
8ec1442953c6 riscv: patch_text: Fixup last cpu should be master
012c722569f1 Merge tag 'kvm-riscv-fixes-5.18-2' of https://github.com/kvm-riscv/linux into HEAD
fb80e2399d64 KVM: selftests: riscv: Fix alignment of the guest_hang() function
590fe86a80c5 KVM: selftests: riscv: Set PTE A and D bits in VS-stage page table
f81f7861ee2a cpuidle: riscv: support non-SMP config
6bf639ea14dd riscv: Fixed misaligned memory access. Fixed pointer comparison.
b2c2c21a7d78 Merge tag 'kvm-riscv-fixes-5.18-1' of https://github.com/kvm-riscv/linux into HEAD
ebdef0de2dbc KVM: selftests: riscv: Fix alignment of the guest_hang() function
fac372536439 KVM: selftests: riscv: Set PTE A and D bits in VS-stage page table
559ea0f38b7e riscv module: remove (NOLOAD)
e9eb8f04560f libbpf: Fix riscv register names
b91e1db8a8fa riscv: Increase stack size under KASAN
bd0dfce1e337 riscv: Fix fill_callchain return value
eccd1ac12425 riscv: dts: canaan: Fix SPI3 bus width
1fdff407028c Merge tag 'riscv-for-linus-5.18-mw2' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux
a3dfc532b873 Merge tag 'riscv-for-linus-5.18-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux
8933e7f2e375 Documentation: riscv: remove non-existent directory from table of contents
e634ff7733ba riscv: cpu.c: don't use kernel-doc markers for comments
617487600b94 RISC-V: module: fix apply_r_riscv_rcv_branch_rela typo
8a122a66c770 RISC-V: Fix a comment typo in riscv_of_parent_hartid()
b81d591386c3 riscv: Increase stack size under KASAN
2b2b574ac587 riscv: Fix fill_callchain return value
6846d656106a riscv: dts: canaan: Fix SPI3 bus width
fdecfea09328 riscv: Rename "sp_in_global" to "current_stack_pointer"
60210a3d86dc riscv module: remove (NOLOAD)
aa5b537b0ecc Merge tag 'riscv-for-linus-5.18-mw0' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux
d414cb379ac3 riscv: mm: init: use IS_ENABLED(CONFIG_KEXEC_CORE) instead of #ifdef
23b1f18326ec Documentation: riscv: Remove the old documentation
40a4d0dfbcf0 RISC-V: Extract multi-letter extension names from "riscv, isa"
2a31c54be097 RISC-V: Minimal parser for "riscv, isa" strings
990d627f80c3 riscv: dts: Change the macro name of prci in each device node
cf5019816d87 Merge tag 'kvm-riscv-5.18-1' of https://github.com/kvm-riscv/linux into HEAD
c9d3b5bd2693 RISC-V: KVM: Add common kvm_riscv_vcpu_wfi() function
4b11d86571c4 RISC-V: KVM: Add common kvm_riscv_vcpu_sbi_system_reset() function
823f53a30eb0 RISC-V: KVM: Refine __kvm_riscv_switch_to() implementation
afec0c65d09d KVM: compat: riscv: Prevent KVM_COMPAT from being selected
9d1f0ec9f717 riscv: Fixed misaligned memory access. Fixed pointer comparison.
48e8641c2bf0 MAINTAINERS: update riscv/microchip entry
528a5b1f2556 riscv: dts: microchip: add new peripherals to icicle kit device tree
5b28df37d311 riscv: dts: microchip: update peripherals in icicle kit device tree
c5094f371008 riscv: dts: microchip: refactor icicle kit device tree
72560c6559b8 riscv: dts: microchip: add fpga fabric section to icicle kit
6546f920868e riscv: dts: microchip: use clk defines for icicle kit
125c0d0bec56 docs/zh_CN: add riscv vm-layout translation
d56201d9440d riscv: defconfig: enable hugetlbfs option
8fbdccd2b173 riscv: mm: Support kasan for sv57
011f09d12052 riscv: mm: Set sv57 on defaultly
677b9eb8810e riscv: mm: Prepare pt_ops helper functions for sv57
d10efa21a937 riscv: mm: Control p4d's folding by pgtable_l5_enabled
67ff2f262619 riscv: mm: init: mark satp_mode __ro_after_init
cf0b5b276923 libbpf: Fix accessing syscall arguments on riscv
5c101153bfd6 libbpf: Fix riscv register names

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
2022-06-06 11:17:34 -07:00
Khem Raj
96b34d0976 linux-starfive: Use https protocol on github src_uri
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-11 17:22:07 -07:00
Cezary Sobczak
74162186df linux-nezha: add patch which fix build with binutils 2.28
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
8957d43a65 linux-nezha-dev: use custom version of kernel with paches for D1 chip
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Alistair Francis
3ab3c4024d recipes-kernel: linux: Set SRCPV and PV
Set SRCPV and PV, this avoids errors when using devtool with the
linux-mainline.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2022-03-30 09:36:41 -07:00
Alistair Francis
717c2ec609 linux-mainline: Bump to 5.17
Bump the linux-mainline to the 5.17 release. This means we are also
dropping the old SiFive U540 PCIe patches as they are no longer
maintained and the board is rarley used.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2022-03-23 22:31:26 -07:00
Khem Raj
b81bc2eb72 recipes: Use SPDX naming convention for LICENSE
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-06 21:52:53 -08:00
Khem Raj
fe6fc0b271 linux-firmware-beaglev-bcm43430: Update SRC_URIs for brcm firmware
branches have moved. Adjust

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-02-28 23:56:02 -08:00
Khem Raj
2392e1f99d recipes: Convert to newer override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-04 23:14:25 -07:00
Khem Raj
5a3ff76ae5 meta-riscv: Convert to new override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-08-04 23:14:25 -07:00
Alistair Francis
3d3801aff7 linux-firmware-beaglev-bcm43430: Update the binary links
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2021-07-21 10:28:23 -07:00
Alistair Francis
e02afd1cc3 linux: freedom-u540: Remove the extra firmware requirements
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2021-07-21 10:27:49 -07:00
Khem Raj
e8e0eef916 linux-starfive-dev: Dev has now moved to 5.14 for version
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-07-14 17:58:23 -07:00
Khem Raj
a1828a51a6 linux-starfive-dev: Use renamed defconfig for beaglev
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-06-21 00:06:22 -07:00