Commit Graph

20 Commits

Author SHA1 Message Date
Khem Raj
2cf991cc31 add templates for commits and issues
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-07-27 07:49:52 -07:00
Alistair Francis
d1ef5451f7 machine: Use the RISC-V 4.17 kernel
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2018-06-21 15:30:16 -07:00
Taras Kondratiuk
bbbfd9e87d machine: allow to override kernel's provider/version
It is useful to be able to override kernel's provider or version from
local.conf.

For qemuriscv64 machine move PREFERRED_* variables before qemu.inc,
because it sets PREFERRED_PROVIDER to linux-yocto.

Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
2018-04-30 18:00:57 -07:00
Taras Kondratiuk
39a3237db5 machine: remove MACHINE_ARCH override to fix package collision
Machine-specific packages (like Linux kernel) should have
machine-specific PACKAGE_ARCH that is obtained from MACHINE_ARCH. This
allows to separate their build artifacts in TMPDIR.

Currently all RISC-V machines override MACHINE_ARCH and artifacts for
machine-specific recipes collide. For example kernels of both
qemuriscv64 and freedom-u540 machines will be deployed into the same
$D directory.

Remove MACHINE_ARCH override and set tune PACKAGE_ARCH via
PACKAGE_EXTRA_ARCHS.

Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
2018-04-29 07:19:32 -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
75acee750f machine: freedom-u540: add WIC support
Signed-off-by: Mirza Krak <mirza.krak@endian.se>
2018-03-26 21:51:50 -07:00
Khem Raj
6955a6cbd8 qemuriscv64.conf: Change the baudrate to 115200
4.16+ does not boot and console hangs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-03-20 14:51:50 -07:00
Mirza Krak
c4b2101cd6 machine: initial freedom-u540 configuration
This is the machine configuration file for HiFive Unleashed
development board.

Signed-off-by: Mirza Krak <mirza.krak@endian.se>
2018-03-20 14:51:37 -07:00
Mirza Krak
1f5dbaf7d4 riscv-pk: use a variable for the BBL payload
Preperation patch to supporting something else other then qemu.

While at it removed code that was commented out.

Signed-off-by: Mirza Krak <mirza.krak@endian.se>
2018-03-20 14:51:37 -07:00
Trevor Woerner
21d7d83081 qemuriscv64: pin kernel to 4.15
The 4.16 kernel doesn't currently seem to be able to come up to a login
prompt. Set the default to 4.15 (which can) for the time-being.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-03-20 14:41:07 -07:00
Khem Raj
1024bab3e1 qemuriscv64.conf: Enable prelink
- Qemu preferred versions are now in OE-core so drop it here
- Do not strip .comment, it seems to work without it
- Drop disabling USE_VT, we need it on qemu
- Pin 4.16 as default kernel
- ext3 is not necessary so drop enforcing it into image fstypes
- Make hard assignment for SERIAL_CONSOLES

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-03-17 19:17:24 -07:00
Khem Raj
80e2da578c machine: Add machines for riscv32 baremetal
- Organize the machines a bit better
- Add baremetal machine configs for 32/64 bit
  so we can generate SDKs for zephyr and other RTOSes
- Fixup tune files to match BSP layer norms

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-03-16 14:57:23 -07:00
Khem Raj
c2fde414a4 qemuriscv64.conf: Add description
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-03-11 22:08:23 -07:00
Khem Raj
e7ea596e4b qemuriscv64: Disable prelink
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-03-10 11:06:43 -08:00
Khem Raj
6a23d8afda qemuriscv64: Define QEMUVERSION = riscv
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-03-10 10:31:25 -08:00
Khem Raj
b2775cd4c6 qemuriscv64.conf: Customize qemuboot options
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-03-09 14:01:16 -08:00
Khem Raj
1408c1525e qemuriscv64.conf: Add ttyS0 instead of ttyHTIF0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-03-09 12:08:14 -08:00
Khem Raj
3358757183 qemuriscv64.conf: Build riscv-pk always to get new bbl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-03-09 02:59:29 -08:00
Khem Raj
b8db3af843 qemuriscv64: Switch to riscv forks of qemu and gdb
Use linux-libc-headers from oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-03-08 23:07:14 -08:00
Khem Raj
ffe8d5e864 riscv: This is where it all begins...
I'll explain when you're older!

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-10-04 10:09:23 -07:00