Alistair Francis
672c73f1be
riscv-pk: Remove riscv-pk as we no longer use BBL
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-07 22:37:41 -08:00
Alistair Francis
fbfab7fbaf
qemuriscv: Enable earlycon via SBI
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-07 20:23:00 -08:00
Alistair Francis
f28b3cfb9a
qemuriscv: Enable OpenSBI by default for booting
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-07 20:23:00 -08:00
Alistair Francis
3ee1f8f2d4
qemuriscv: Bump kernel versions to work with OpenSBI
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-07 20:23:00 -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
354aa21689
docs: Add information on building Plasma Mobile for RISC-V
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-04 18:24:09 -08:00
Alistair Francis
cf0877972b
wic: Bump up the boot loader partition size
...
This allows us to future proof changes in openSBI as we can just dd the
bootloader to the SD card.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-04 18:21:38 -08:00
Alistair Francis
cf24c54a36
README.md: Update to use openSBI
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-04 18:21:38 -08:00
Alistair Francis
6cbef3699d
freedom-u540: Enable OpenSBI by default for booting
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-03-04 18:21:38 -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
Khem Raj
5b35295781
mariadb: Fix build issues on risc-v
...
Fixes issue #99
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-03-03 22:07:15 -08:00
Alistair Francis
577898d7ae
opensbi: Bump to version 0.3
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-02-27 10:22:02 -08:00
Alistair Francis
841a445b60
opensbi: Fix 32-bit cross compile
...
There appears to be some strange behaviour with OE's 32-bit toolchain
which causes soft float and hard flot linker errors. The same issue is
seen when building u-boot. For now we can fix the problem by not
specifying the mabi or march when building openSBI.
We also need to backport a patch that has been submitted to ensure the
32-bit build works.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-02-24 08:17:54 -08:00
Alistair Francis
b5f422571d
opensbi: Bump to version 0.2
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-02-24 08:17:54 -08:00
Alistair Francis
14d0ed47db
baremetal-riscv: Remove BBL
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-02-24 08:17:19 -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
47b2303211
glibc: Update the 32-bit glibc fork
...
Update the glibc fork to the latest submission.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-02-05 11:04:55 -08:00
Alistair Francis
10fe1ad628
libgpg-error: Remove riscv32 backport patch
...
The meta layer now has version 1.35 so this patch is no longer needed.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-02-04 19:21:02 -08:00
Alistair Francis
7f03647622
openSBI: Initial commit
...
This adds openSBI support. openSBI aims to be the reference
implementation for the M mode firmware. We are going to use it to remove
BBL from the boot flow.
The eventual aim is to have openSBI merged into the meta layer to
support qemuriscv* machines.
Unfortunately openSBI requires a 5.0 kernel, so at the moment we aren't
going to use it.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-02-01 10:41:36 -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
1eb9df95db
Revert "qemuriscv64.conf: Pin to linux-riscv again"
...
This reverts commit 7b7e2dbc51
.
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
Khem Raj
62a2715126
Update risc-v support patch past 1.1.21 release
...
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-23 21:54:07 -05:00
Khem Raj
7b7e2dbc51
qemuriscv64.conf: Pin to linux-riscv again
...
linux-yocto hangs before it reaches console, until that is
fixed we can not switch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-20 14:12:21 -08:00
Khem Raj
242e34d573
layer.conf: Do not lock to gcc
...
clang 8.0 does have risc-v backend
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-19 14:00:23 -08: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
Khem Raj
28ddbd895b
musl: Add risc-v port
...
This will be merged soon, but lets try it out from fork
and ensure all testing is done for upstreaming
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-07 12:25:05 -08:00
Alistair Francis
ea1574a78c
wic: Increase the rootFS partition size
...
The board comes with a 8GB SD card, let's bump the rootFS size to make
it more useable.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-01-03 15:46:10 -08:00
Alistair Francis
b953b52639
README.md: Add more details for wic create
...
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-01-03 15:46:10 -08:00
Khem Raj
0f0534a0d4
gdb-cross-canadian: Add bison-native dependency
...
This is needed when building gdb from git, in OE-core gdb is built from
tarballs where this issue is not seen, so keep this fix local here
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-03 15:44:47 -08:00
Khem Raj
550fb40567
glibc-initial_%.bbappend: Drop
...
glibc-initial has been removed from oe-core in toolchain build step
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-12-26 12:54:10 -08:00
sungwon.pino
5b1e9f2fe0
gdb: Update to the latest version
...
Update to the latest version of the GDB.
Signed-off-by: pino-kim <sungwon.pino@gmail.com>
2018-12-22 12:31:32 -08:00
Alistair Francis
0e4b714f49
riscv-tools: Add support for the MicroSemi PCIe device
...
Add functionality to bbl to modify the device tree passed to Linux to
specify the MicroSemi PCIe device.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-12-21 09:49:59 -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
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