Commit Graph

78 Commits

Author SHA1 Message Date
Khem Raj
7cfde1e32f linux-yocto-5.10: Remove 2GB physical memory rv32 patch
this is not applied to linux-yocto upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-19 08:19:39 -08:00
Khem Raj
a1bb4d1a47 linux-yocto: Fix 5.10.12+ build issue on rv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-02-05 09:33:42 -08:00
Khem Raj
38cbe72085 perf: Fix build on rv32
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-18 11:26:40 -08:00
sungwon.pino
e7c5476aed linux-yocto : Support kernel 5.8 for riscv32
Kernel 5.8 already on stable state in linux-yocto
To support both kernel 5.8 and 5.4 for riscv32
renamed bbappend file

Signed-off-by: sungwon.pino <sungwon.pino@gmail.com>
2020-08-26 15:22:04 -07:00
Alistair Francis
b4ec1d4780 linux: Update bbappends for qemuriscv32
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2020-02-03 19:51:05 -08:00
Alistair Francis
73c4369c76 linux-mainline: freedom-u540: Enable communicating with serial devices
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-12-03 19:36:57 -08:00
Alistair Francis
cacdf0a2d4 linux-mainline: Upgrade to the 5.4 kernel
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-12-03 12:17:56 -08:00
Alistair Francis
270c8cb7c1 linux-mainline: Move some configs into the include file
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-09-16 10:40:26 -07:00
Alistair Francis
fd7b332336 linux: Use the defconfig for freedom-u540
Let's now use the defconfig for the HiFive Unleashed. We can still apply
any extra configs ontop with a config patch.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-09-16 10:40:26 -07:00
Alistair Francis
df313e796d recipes-kernel: Update to the 5.3 kernel
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-09-16 10:40:26 -07:00
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