Commit Graph

164 Commits

Author SHA1 Message Date
Alistair Francis
5c317c06f6 recipes-kernel: Update the 4.20 kernel
Add the 4.20 kernel. This involves editing some of the required
Freedom-U540 patches as they conflict with the 4.20 tree, but we want to
keep them for the 4.19 tree.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-12-21 09:49:22 -08:00
Alistair Francis
a8c49055e7 recipes-kernel: Remove 4.18 kernel
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-12-21 09:49:22 -08:00
Alistair Francis
9c2038912a machine: qemuriscv: Don't set TCLIBC
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-12-17 09:48:19 -08:00
Alistair Francis
8fe85e46f4 machine: freedom-u540: Don't set TCLIBC
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-12-17 09:48:19 -08:00
sungwon.pino
7a3af75462 qemu : Usermode fails with invalid instruction error (for riscv32)
- backport for riscv32 arch
- Usermode fails with invalid instruction error (for riscv32)

Signed-off-by: pino-kim <sungwon.pino@gmail.com>
2018-12-13 09:38:57 -08:00
Alistair Francis
9287b7c9a9 glibc: Update the glibc fork to the latest submitted patch series
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-12-12 17:51:18 -08:00
Alistair Francis
9139839bb7 libgpg-error: Update patch upstream status
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-12-12 17:50:47 -08:00
Alistair Francis
90224fdbd3 linux: freedom-u540: Improve the defconfig
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-12-10 16:39:31 -08:00
Alistair Francis
7b8c06236f linux: freedom-u540: Add the HiFive Unleashed drivers
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-12-10 16:39:31 -08:00
Khem Raj
7a0d9f2e64 perf: Delete bbappend
These changes are in OE-Core now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-10 09:49:12 -08:00
Alistair Francis
0742b61e65 linux: Add the 4.20-rc5 RISC-V kernel
In preperation for the 4.20 kernel release (and to help test) add the
4.20 kernel but don't set it as the default yet.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-12-07 15:47:31 -08:00
Alistair Francis
15e827879d machine: Rename the baremetal machines
The baremetal machines can't be built as bitbake complains about
riscv32/riscv64 being included twice in the PACKAGE_ARCH variable. To
fix this rename the machines to be different from the architecture.

Also remove the QEMU overrides as these are no longer required.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-12-07 14:46:16 -08:00
Alistair Francis
c24fd8ca21 riscv-pk: Bump to the latest version
Bump to the latest bbl version, this fixes the warnings printed by QEMU
on boot.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-12-07 14:45:32 -08:00
Alistair Francis
9fa432afcf libgpg-error: Add support for RISC-V 32-bit
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-12-03 11:37:55 -08:00
pino-kim
a4ac20cf34 Update to the latest 4.19 kernel
Signed-off-by: pino-kim <sungwon.pino@gmail.com>
2018-11-30 08:37:37 -08:00
Alistair Francis
51ebe0bf47 qemuriscv32: Add support for a 32-bit machine
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-11-29 18:57:44 -08:00
Alistair Francis
e28bad99e9 recipes-kernel: Add support for 32-bit builds
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-11-29 18:57:44 -08:00
Alistair Francis
58ec67a3db glibc: Add support for the RISC-V 32-bit fork
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-11-29 18:57:44 -08:00
Alistair Francis
1b9c91908b u-boot: Remove RISC-V specific version
Now that u-boot 2018.11 is supported in Yocto we no longer need custom
options for RISC-V support.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-11-29 13:41:33 -08:00
Alistair Francis
efc5633d05 recipes-kernel: Update the freedom-u540 defconfig
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-11-27 17:18:19 -08:00
Alistair Francis
0237fef85b libffi: Add libffi 3.3-rc0
libffi 3.3-rc0 has much better RISC-V suppor then our single patch. Use
the RC release instead of a single patch.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-11-27 17:17:46 -08:00
Alistair Francis
08026cad60 gdb: Update to mainline GDB
The mainline master GDB is very good now and even includes support for
debugging RISC-V Linux applications. Use the master branch until the
next GDB release is cut with all of this new support.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-11-27 09:23:46 -08:00
Alistair Francis
b9a3bd79a0 recipes-kernel: Enable PCIe support by default
Enable PCIe support for all relevent boards by default.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-11-26 22:40:27 -08:00
Khem Raj
4f4e1753d4 qemuriscv64.conf: Do not define hvc0 serial console
This fixes double prints on qemu console

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-14 21:15:20 -08:00
Khem Raj
004923fe1e linux-riscv: Do not enable earlyprintk explicitly
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-14 21:15:20 -08:00
Khem Raj
aea3a88793 riscv-pk: Upgrade to latest
Drop --with-arch supressing patch its properly conditionalized now

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-11-14 21:15:20 -08:00
pino-kim
a561914f3d riscv-fesvr : Update to the latest version
Update to the latest version of the RISC-V Front-end Server

Signed-off-by: pino-kim <sungwon.pino@gmail.com>
2018-11-13 06:50:21 -08:00
sungwon.pino
d6be7444f5 riscv-spike : Update to the latest version
Update to the latest version of the RISC-V Spike ISA Simulator.

Signed-off-by: pino-kim <sungwon.pino@gmail.com>
2018-11-13 06:50:21 -08:00
Alistair Francis
c84c026c94 machines: Use the 4.19 kernel by default
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-11-05 18:57:51 -07:00
Alistair Francis
0ea55df970 recipes-kernel: Add the 4.19 kernel
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-11-05 18:57:51 -07:00
Alistair Francis
30eb9be70c riscv-pk: Update to the latest version
Update to the latest version of the RISC-V Proxy Kernel. This means we
are running an updated bbl.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-11-05 13:14:09 -07:00
Khem Raj
42308e5d34 qemuriscv64: Express u-boot bootloader choice
In a multi-BSP env u-boot may be provided by other BSP layers as well so
we need to be explicit about u-boot we need

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-27 05:13:46 +01:00
Alistair Francis
ea2c8ae8f4 u-boot: Use mainline u-boot
Now that QEMU RISC-V virt machine support is in master u-boot use the
mainline u-boot instead of a fork.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-10-08 14:10:37 -07:00
Alistair Francis
08b56cfe69 recipes-kernel: Upgrade to the latest 4.18 kernel
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-10-08 10:58:24 -07:00
Alistair Francis
2f79768d7a recipes-kernel: Swap to the maintained RISC-V branch
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-10-08 10:58:24 -07:00
sungwon.pino
670fc2ef6d recipes-kernel: Update kernel SUMMARY and DESCRIPTION
And add SUMMAARY, DESCRIPTION field to provide imformation of
kernel bbfile.

Signed-off-by: pino-kim <sungwon.pino@gmail.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-10-08 10:58:24 -07:00
Alistair Francis
11ad414441 recipes-kernel: Remove outdated 4.14 and 4.15 kernels
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-10-08 10:58:24 -07:00
Khem Raj
3de0744bbd u-boot: Be mindful of other BSPs when it comes to u-boot overrides
We are sort of hijacking OE-Core recipe here, so lets be careful and
make it such that it only happens for risv64, which makes a multi-BSP
scenario work again.

This repo seems to be rebasing :( so add rebaseable=1 so bitbake knows
about it

update to latest rev as of today

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-28 11:57:00 -07:00
Khem Raj
e5215d85c9 layer.conf: Add thud to compatible layer series
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-26 18:29:57 -07:00
sungwon.pino
eeffb318ad Add systemd for distro init manager (derived from #34 comment)
distro append systemd for a init_manager

Signed-off-by: pino-kim <sungwon.pino@gmail.com>
2018-09-25 15:16:08 -07:00
Alistair Francis
b6bab303c5 qemuriscv64: Add support for building u-boot
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-09-25 11:39:18 -07:00
Alistair Francis
5a43350492 recipes-bsp/u-boot: Use a u-boot fork for RISC-V
Use fork of u-boot that allows us to boot u-boot on the QEMU RISC-V virt
machine.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-09-25 11:39:18 -07:00
Khem Raj
c439bc57b5 setup.sh: Check for dash as default shell and change it to bash if possible
could fix #26

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-24 08:46:29 -07:00
Khem Raj
cb2be0259e setup.sh: Fix typo in defining USER_CLASSES
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-22 08:34:19 -07:00
Khem Raj
0add9dafa5 setup.sh: Enable additional distro policies
These policies enabled essential features like package management
and ssh server in images, additionally remove static libs and use
uninative

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-22 07:27:03 -07:00
Khem Raj
9d71c72b43 qemuriscv64.conf,freedom-u540.conf: Pin default libc to glibc
musl is not yet supported
Additionally sync with qemu invocation definitions from OE-Core qemus

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-22 07:27:03 -07:00
Khem Raj
4bc2cb3584 linux-riscv: Enable virtio cryptodev
This helps with OpenSSL 1.x calling getrandom() API
not hanging on openssh key generation

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-22 07:27:03 -07:00
Khem Raj
3048b41652 prelink: Remove bbappends and patches
They have landed upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-07 08:44:10 -07:00
Khem Raj
51b766a7b3 Document building a full featured image with SDK
This can be used for on device building

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-09-05 13:30:25 -07:00
Khem Raj
f2ec7afd1f gdb: keep empty gdbserver
gdbserver is still not available but we can keep the empty
package so we can build complex SDKs from OE

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-29 19:03:01 -07:00