Commit graph

532 commits

Author SHA1 Message Date
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
b5de81a229 u-boot-starfive: Build outside source tree
u-boot common files set O=.. option for make which actually
sets KBUILD_SRC, which triggers a step in u-boot system called
prepare3. This step checks if make has been run inside sourcedir
and since we are setting O=${B} and B is set to S, it has run
inside S during do_configure, so do_compile fails to build e.g.

|   /mnt/b/yoe/master/build/tmp/work/visionfive-yoe-linux/u-boot-starfive/v2021.04-r0/git is not clean, please run 'make mrproper'
|   in the '/mnt/b/yoe/master/build/tmp/work/visionfive-yoe-linux/u-boot-starfive/v2021.04-r0/git' directory.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-10 22:36:40 -07:00
Khem Raj
dc77d097a8 layers: Add langdale to LAYERSERIES_COMPAT
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-29 20:31:50 -04:00
Khem Raj
c5f397f37e u-boot: Add opensbi do_deploy dep only for machines with opensbi
This is a generic bbappend and opensbi is riscv specific, so this causes
problems when this layer is includes and a build is done for non-riscv
machines e.g.

    MACHINE=qemumips bitbake -n world

will show the problem

ERROR: Nothing PROVIDES 'opensbi'
opensbi was skipped: incompatible with host mips-yoe-linux-musl (not in COMPATIBLE_HOST)
NOTE: Runtime target 'u-boot-default-env' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['u-boot-default-env', 'opensbi']
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'libubootenv', 'u-boot-default-env', 'opensbi']

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-15 07:26:38 -07:00
Matheus Castello
b19530f12d u-boot: nezha: Override the u-boot LIC_FILES_CHKSUM
The LIC_FILES_CHKSUM md5sum changed with the latest mainline u-boot
release. So manually specify the original md5sum value.

Signed-off-by: Matheus Castello <matheus@castello.eng.br>
2022-09-10 20:15:30 -07:00
Khem Raj
809ed4e642 vulkan-cts: Skip textrel QA check
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-09-09 08:25:12 -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
Khem Raj
7955f4ad47 u-boot-starfive: Update the branch name for beagleV
Fixes Issue #355

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-22 18:51:48 -07:00
Khem Raj
0ac97b8223 libnl: Ignore textrel on rv64/rv32
Fixes build QA
ERROR: libnl-1_3.7.0-r0 do_package_qa: QA Issue: libnl-ptest: ELF binary /usr/lib/libnl/ptest/check-all has relocations in .text [textrel]
ERROR: libnl-1_3.7.0-r0 do_package_qa: Fatal QA errors were found, failing task.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-22 09:52:06 +10:00
Yu Chien Peter Lin
ca49aa9b48 docs: add ae350-ax45mp document
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
2022-08-15 08:56:10 -07:00
Yu Chien Peter Lin
b23502d2e1 ae350-ax45mp.yml: add kas-container YAML for building poky distro
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
2022-08-15 08:56:10 -07:00
Yu Chien Peter Lin
4f57628de2 ae350-ax45mp-spl.wks: partitioning command for ae350-ax45mp
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
2022-08-15 08:56:10 -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
Yu Chien Peter Lin
843c4a5e93 u-boot: add and patches for ae350-ax45mp
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
2022-08-15 08:56:10 -07:00
Yu Chien Peter Lin
361b62de5a ae350-ax45mp.conf: add machine configuration for Andes AE350 ax45mp
Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com>
2022-08-15 08:56:10 -07:00
Khem Raj
03ff37072f setup.sh: Drop setting largefile in DISTRO_FEATURES
This feature is deprecated and removed

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-08-14 15:03:21 -07:00
Alistair Francis
f016e25636 u-boot: starfive_v2021.04: Override the u-boot LIC_FILES_CHKSUM
The LIC_FILES_CHKSUM md5sum changed with the latest mainline u-boot
release, but hasn't changed for the older starfive release. So manually
specify the original md5sum value.

Resolves: https://github.com/riscv/meta-riscv/issues/350
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2022-08-07 19:13:47 -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
Khem Raj
80944ee1be libstd-rs: Remove upstreamed rv32 patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-17 18:46:52 -04:00
Khem Raj
7ed34745e2 minio: Skip textrel QA error
Fixes
ERROR: QA Issue: minio: ELF binary /usr/sbin/mc has relocations in .text [textrel]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-07-13 08:41:40 -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
024b56de62 libsrsvg: Remove bbappend rv32 patch
This has been upstreamed into libc and its not needed anymore since
oe-core  has now this change

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-30 23:43:32 -07:00
Khem Raj
2498c116ef libstd-rs: Forward port rv32 patch on latest oe-core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-13 11:11:23 -07:00
Khem Raj
d32b6d44dc librsvg: Forward port rv32 patch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-07 12:51:09 -07:00
Khem Raj
b32cc82254 python3-cryptography: Forward port rv32 support to 37x
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-07 12:51:09 -07:00
Khem Raj
1d62669b65 libstd-rs: Port to rust 1.60.x
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-05 15:41:41 -07:00
Khem Raj
62fe7e5775 musl: Drop upstreamed patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-05 15:41:41 -07:00
Khem Raj
eac1fdeda3 tgt: Skip textrel check
fixes
ERROR: tgt-1.0.79+gitAUTOINC+b43dbc6711-r0 do_package_qa: QA Issue: tgt: ELF binary /usr/sbin/tgtd has relocations in .text [textrel]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-04 06:11:24 -07:00
Khem Raj
502cf0e864 librsvg: Forward port rv32 patch to 2.54
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-20 15:32:11 -07:00
Khem Raj
70e099d7ce openocd_riscv: Specify branch parameter to SRC_URI
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-18 19:52:39 -07:00
Thomas Perrot
257dc53ee9 python3-pyruvate: Move to dynamic-layer for meta-python
Currently meta-riscv does not parse unless meta-python is present.

Moreover, it does not appear that anything explicitly depends on
python3-pyruvate in the layer.

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
2022-04-14 08:07:52 -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
Khem Raj
9ca7cd3c21 riscv-spike: Update SRC_URI
point to new location
use https protcol and branch=master explicitly as its now needed with
github

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-11 17:22:07 -07:00
Khem Raj
a52b3cb960 riscv-fesvr: Use protocol and branch explicitly in SRC_URI
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-11 17:22:07 -07:00
Khem Raj
be67b6968f u-boot-starfive: Use https protocol for github SRC_URI
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-11 17:22:07 -07:00
Khem Raj
6b22d85892 openocd_riscv: Use https protocol
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-11 17:22:07 -07:00
Khem Raj
7475ce2e5b Plasma-Mobile-on-Unleashed.md: Use https protocol when using github
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-11 17:22:07 -07:00
Khem Raj
c1bc791e9f README: Convert to use https instead of git protocol on github
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-11 17:22:07 -07:00
Khem Raj
eb51109611 libcereal: Skip textrel QA check on rv32/rv64
Fixes
QA Issue: libcereal-ptest: ELF binary /usr/lib/libcereal/ptest/tests/test_unordered_multimap has relocations in .text

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-04-11 17:22:07 -07:00
Khem Raj
669dc64f10 boot0: Pin to nezha-allwinner-d1
its not interesting for other machines yet

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-31 07:59:33 -07:00
Cezary Sobczak
da702b4533 nezha.yml: add file used with kas-docker
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
812ffc4068 nezha.wks: description of SD card image for Nezha D1 dev board
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -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
Cezary Sobczak
c3966f6d9c u-boot-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
3b2a050de6 u-boot-nezha: add patch which increase the CONFIF_SYS_BOOTM_LEN
If this value is not increased, the error occurs during loading uncompressed
kernel from fitImage:
"Error: inflate() returned -5
Image too large: increase CONFIG_SYS_BOOTM_LEN"

Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
2e545ae6cc toc.cfg: add configuration file of TOC1 U-Boot image
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
863373eae4 uEnv-nezha.txt: U-Boot bootargs for Nezha board
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00
Cezary Sobczak
4238405756 u-boot-nezha: add recipe with patches for Nezha board
Signed-off-by: Cezary Sobczak <cezary.sobczak@3mdeb.com>
2022-03-30 18:54:52 -07:00