We are about to add commented out lines as well as comments, which can
be confusing to read. To clear it up a bit let's add doubl # lines for
real comments.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Now that the qemuriscv64 machine is in OE-Core let's update the
meta-riscv layer to use that.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Ensure that UBOOT_ENTRYPOINT is set correctly for the HiFive Unleased.
This patch also includes a small change that removes the incorrect and
unneeded arch option when using mkimage to create the boot script.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Now that GDB 8.3 has been merged into the meta layer we no longer need a
custom GDB version.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
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>
This patch does two things:
- Patches u-boot to set the server ip by default
- When u-boot has SD/MMC support we should remove this patch and
instead set enviroment variables from uEnv.txt
- Adds a tftp-boot.txt file
- This file is built into a boot.src.uimg file which should then be
copied to the TFTP directory. This file should be used by those who
are intereted in u-boot autobooting from TFTP.
- In the future a seperate boot file can be added allowing autoboot
from the SD card
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
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>
Don't hardcode the Linux version to make it easier to overwrite the
Linux provider. There is only one linux-riscv version so it is not
required.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Fix /etc/inittab issue seen when running "runqemu nographic serial":
INIT: Id "AMA0" respawning too fast: disabled for 5 minutes
Signed-off-by: Chin Huat Ang <chinhuat@gmail.com>
The baremetal machines can't be built as bitbake complains about
riscv32/riscv64 being included twice in the PACKAGE_ARCH variable. To
fix this rename the machines to be different from the architecture.
Also remove the QEMU overrides as these are no longer required.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Now that u-boot 2018.11 is supported in Yocto we no longer need custom
options for RISC-V support.
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
In a multi-BSP env u-boot may be provided by other BSP layers as well so
we need to be explicit about u-boot we need
Signed-off-by: Khem Raj <raj.khem@gmail.com>
clang is not yet supported and when meta-clang is in
layermix things start to fail.
This patch patches by assuming the dependencies
and later adding them to bad recommendations so
they are dropped from runtime deps too
might not work with with dpkg backend
Signed-off-by: Khem Raj <raj.khem@gmail.com>
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>
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>
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>
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>
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>