Commit Graph

68 Commits

Author SHA1 Message Date
Alistair Francis
9fd71929aa linux-yocto_4.19: Remove qemuriscv64 compatibile
No one is testing the 4.19 kernel and it probably doesn't work with the
latest OpenSBI work so let's just remove it from meta-riscv.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-09-02 12:59:55 -07:00
Alistair Francis
296eb2c68b linux-yocto: Update the compatibility
Now that we are using the newer glibc port and 5.2 kernel headers remove
the qemuricv32 compatible machine from the 5.0 kernel and add it to the
5.2 kernel.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-09-02 12:59:55 -07:00
Alistair Francis
f41e9accae linux: Update to the 5.2 kernel headers
OE-Core has upgraded to the 5.2 kernel headers. This means that all RV32
software now requires a 64-bit time_t. Update the glibc fork to an
implementation that works in a 64-bit time_t. At the same time we can
revert the linux kernel patch.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-09-02 12:59:55 -07:00
Alistair Francis
1b9f96753d linux: freedom-u540: Enable FuseFS support
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-07-25 00:56:17 -07:00
Alistair Francis
5d40902f03 linux: freedom-u540: Enable support for an INITRD
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-07-17 15:59:58 -07:00
Alistair Francis
b39d2fce6b linux: freedom-u540: Don't force command line arguments
Allow u-boot to overwrite the command line arguments if the user wants
to.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-07-17 15:59:58 -07:00
Alistair Francis
246f51d9b0 linux-mainline: Update to the 5.2 kernel release
Update to the 5.2 kernel release. This includes a large number of
upstream patches for the Unleashed. Due to the large defconfig changes
let's drop the 5.1 support when we upgrade.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-07-10 09:37:34 -07:00
Alistair Francis
a453e36434 linux: Remove unused 32bit.cfg kernel config
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-07-08 09:11:00 -07:00
Alistair Francis
b85df8e861 linux-yocto_5.0: Don't specify qemuriscv64 as compatible
qemuriscv64 is already marked as compatible in OE-Core linux-yocto_5.0,
so let's remove the duplicate.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-06-24 19:15:08 -07:00
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