Commit Graph

59 Commits

Author SHA1 Message Date
Alistair Francis
4dd427ad88 linux-mainline: Fix kernel version checks
Fix the linux-mainline kernel version checks now that we are using
5.1.1.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-05-13 11:28:11 -07:00
Alistair Francis
e3e7f75961 linux: Update to 5.1 stable
This patch does the following:
 - Update the current linux-mainline_5.1 recipe to AUTOREV from the
   stable branch
 - Use the linux-mainline_5.1 by default for the HiFive Unleashed
 - Remove the older linux-riscv_5.0 recipe
 - Rename the common include to linux-mainline-common.inc

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-05-07 11:54:29 -07:00
Alistair Francis
ef0189f2d8 wic: Update the sdcard generation
Update the SD card generation to follow a more standard sdcard boot
flow. At the moment we don't use this new boot flow, but let's at least
have it ready for future use.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-04-22 15:37:08 -07:00
Alistair Francis
b9e9d6942e linux-mainline: Use the new 32-bit defconfig in Linux 5.1
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-04-18 10:42:51 -07:00
Alistair Francis
e70dc53525 linux-mainline: Fix the 32-bit boot
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-04-16 20:46:45 -07:00
Alistair Francis
a14f6bbc93 recipes-kernel: linux-mainline: Initial commit of mainline 5.1 kernel
Add a linux-mainline kernel from 5.1-rc1. The idea is that this kernel
will autorev the 5.1 development cycle and then be updated to autorev
the 5.1 stable branch after release.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-21 06:12:54 -07:00
Alistair Francis
ab1ebdc9ba glibc: Update 32-bit glibc
We can also remove the 32-bit fix that was included in the kernel.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-21 06:12:11 -07:00
Alistair Francis
eac35fc45a recipes-kernel: Remove pci.cfg
PCIe support is now enabled by default in the RISC-V defconfig, remove
the extra .cfg file.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-07 22:37:41 -08:00
Alistair Francis
8c8e8eabc9 linux-kernel: Remove the 4.19 kernel
The 4.19 kernel doesn't work with openSBI or the new defconfig, so
remove it.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-07 22:37:41 -08:00
Alistair Francis
25a6b5055c linux-yocto: Set qemuriscv32 and qemuriscv64 as compatible
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-07 20:23:00 -08:00
Alistair Francis
d6e7e6f7db recipes-kernel: linux-riscv: Update to 5.0 release
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-04 18:21:38 -08:00
Alistair Francis
2ec848f8f3 linux-yocto-dev: Fix missing stat64 system call
The planned upstream release of 32-bit RISC-V glibc will support statx,
so this patch will not be required in the kernel.

Unfortunately the current 32-bit RISC-V glibc fork does not implement
statx. To allow newer kernels to boot into userspace let's apply this
patch that can be dropped when the glibc port is merged.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-02-12 11:45:45 -08:00
Alistair Francis
b2aa96b439 recipes-kernel: Fix defconfig for 4.19 kernel
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-01-25 17:14:15 -05:00
Alistair Francis
045793dd24 recipes-kernel: Add support for the 5.0 kernel
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-01-24 21:02:05 -05:00
Alistair Francis
f236d9f67e linux-yocto-dev: Set qemuriscv32 as compatible
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-01-24 21:02:05 -05:00
Alistair Francis
52ef436f03 recipes-kernel: Remove the 4.20 kernel
This was never really tested very well and isn't worth supporting.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-01-24 21:02:05 -05:00
Alistair Francis
610f457ae4 freedom-u540: Remove CONFIG_DRM_VGEM from defconfig
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-01-18 17:22:45 -08:00
Alistair Francis
d78aa0ea6b linux-yocto-dev: Set qemuriscv64 as compatible
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-01-18 17:22:45 -08:00
Alistair Francis
e253804993 qemuriscv64: Don't use the linux-riscv kernel
Default to the mainline 4.19 kernel for the 64-bit QEMU machine.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-01-14 10:15:52 -08:00
Alistair Francis
0eae5f1720 recipes-kernel: Remove extra components from the Freedom U540 Linux config
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-01-11 16:04:41 -08:00
Alistair Francis
b7fe5fd97b recipes-kernel: Update the Freedom U540 Linux defconfig
Update the Freedom U540 defconfig to work with:
 - AMD GPUs attached with PCIe MicroSemi Expansion board
    - Including Wayland and X11 display via HDMI
 - USB input attached with PCIe MicroSemi Expansion board

At the same time we are also swapping to use the config output of
savedefconfig instead of copying the entire .config file. This
simplifies the defconfig management.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-01-11 10:06:32 -08:00
Alistair Francis
15c060ed2e recipes-kernel: Remove the Xilinx PCIe config
To avoid conflicts with the MicroSemi PCIe root complex (the one most
commonly used) remove the Xilinx config.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-12-21 09:49:22 -08:00
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
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
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
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
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
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
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
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
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
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
sungwon.pino
e64b2ee4de Modified kernel bbrecipe commitID and Create Kenrel 4.14 bbrecipe 2018-08-26 11:28:05 -07:00
sungwon.pino
3d52a339fe Update machine kernel version 4.18-rc7 2018-08-07 14:47:49 -07:00
Khem Raj
2c4d407d35 Update to tip of riscv-all branch pre 4.18 release
Addresses issue #20

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-05 17:27:59 -07:00
Khem Raj
09732c2049 linux-riscv: Remove yocto kernel specific kernel-sample.scc
Since we do not have kmeta infrastructure for kernel
the qemu builds fail due to this file not being there and
qemu sort of forcing it.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-16 15:33:35 -07:00
Alistair Francis
11f45f75b3 recipes-kernel: Update to the 4.17 RISC-V Linux kernel
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-06-21 06:22:29 -07:00
Khem Raj
62aaadbac0 linux-riscv: Update to latest
move riscv-all to 4.17-rc2

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-05-05 00:52:57 -07:00
Moritz Fischer
c01c8aad5b machine: freedom-u540: Add support for booting from SD card
Modify freedom-u540 machine to boot off of sd card by default.
Note that there is a bug with the U540's SPI controller that
makes this painfully slow.

Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
2018-04-10 22:12:26 -07:00
Mirza Krak
30477f36f5 linux-riscv: add support for freedom-u540 machine
Signed-off-by: Mirza Krak <mirza.krak@endian.se>
2018-03-20 14:51:37 -07:00
Mirza Krak
31cbcc591d linux-riscv: add defconfig for HiFive Unleashed development board
Copied from freedom-u-sdk/711c23e49eeac6f1f5b05b6e8bf86833c733a31b

Signed-off-by: Mirza Krak <mirza.krak@endian.se>
2018-03-20 14:51:37 -07:00
Mirza Krak
293cdd2029 linux-riscv: move common parts between kernel versions in to .inc file
Reduces duplication.

Signed-off-by: Mirza Krak <mirza.krak@endian.se>
2018-03-20 14:51:37 -07:00
Mirza Krak
fe8fa317aa linux-riscv: clean-up
Cosmetic clean-up mostly based on the linux-yocto-template

Signed-off-by: Mirza Krak <mirza.krak@endian.se>
2018-03-20 14:51:37 -07:00