Jesse Zbikowski
93f62d50a2
test partition names for cross-platform build ( #41 )
2018-03-12 17:12:19 -07:00
Wesley W. Terpstra
4caa068857
build: add support for HiFive/Unleashed disk format
2018-03-08 13:03:16 -08:00
Wesley W. Terpstra
8f91f28459
riscv-pk: stop DTS spam on boot (it's too much info now)
2018-02-08 14:07:38 -08:00
Jim Wilson
b7a361aa1f
Give build error with RISCV environment variable defined wrong.
2018-02-05 12:57:22 -08:00
Palmer Dabbelt
f51abfd862
Use linux/'s headers for the toolchain build
...
This lets me move Linux and the toolchain somewhat independently.
2018-01-05 19:22:01 -08:00
Palmer Dabbelt
61eee3bdfc
Split the Linux menuconfig and savedefconfig
2018-01-05 18:04:22 -08:00
Palmer Dabbelt
f4d32edd0f
Have buildroot generate a root file system
2018-01-05 18:04:22 -08:00
Palmer Dabbelt
fb4fbbffe2
Rename the buildroot output, so I can have two of them
2018-01-05 18:04:22 -08:00
Palmer Dabbelt
9ce68699fb
Add VirtIO net support
2018-01-05 18:04:22 -08:00
Palmer Dabbelt
86de0ac05a
Add "make qemu", which runs a QEMU-based system
...
This currently has support for a virtio disk, and the Makefiles will
create an empty one for you.
2018-01-05 18:04:22 -08:00
Jim Wilson
de64e3f2a3
Pass --enable-linux when configuring riscv-gnu-toolchain.
...
So that make commands in the riscv-gnu-toolchain build dir work right.
Otherwise, a make check or make all in work/riscv-gnu-toolchain will build a
newlib toolchain which is confusing.
2018-01-04 17:42:00 -08:00
Palmer Dabbelt
6d1a47e69e
It's --with-arch, not --with-isa
2017-11-19 12:20:53 -08:00
Palmer Dabbelt
2bd49f3e12
Allow users to set the ISA and ABI of the target machine
...
While this is an SDK for the Freedom U platform, which right now is
RV64GC only, it's also where I've been pointing people who want to build
Linux and a userspace. This patch allows users to change the ISA and
ABI of the target.
Most of the testing effort has been targeted towards RV64GC, but I think
it's good to let people try other targets (and then hopefully fix them
:)).
2017-11-15 08:08:49 -08:00
Palmer Dabbelt
c2e7c7bc56
Bump linux and riscv-gnu-toolchain
...
This now contains the latest toolchain release, along with a our Linux
port applied on top of 4.14-rc8. The toolchain is in good shape: it's
based on stable releases, with every backported patch having landed
upstraem. Linux hasn't landed upstream yet, so while there's been some
review it will get rebased (and archived).
This builds and boots on both Spike and Freedom.
2017-11-08 14:01:13 -08:00
Palmer Dabbelt
266201ede7
pk: Update to autodetect the set of enabled harts
2017-11-03 17:33:15 -07:00
Palmer Dabbelt
afe67e77ee
sim: Add a "make sim" target
...
This allows users without hardware to simulate Linux on Spike.
2017-11-03 13:44:17 -07:00
Wesley W. Terpstra
328f2947e3
build: enable FPU in linux
2017-06-22 13:20:08 -07:00
Wesley W. Terpstra
e242697e16
build: disable core 0 (E51) when booting linux
2017-04-06 10:50:35 -07:00
Wesley W. Terpstra
d45e44e832
linux: use riscv-next branch
2017-04-06 10:22:55 -07:00
Wesley W. Terpstra
21bf370071
riscv-pk: run on systems without an FPU
2017-03-31 18:29:03 -07:00
Wesley W. Terpstra
cce5a14e28
Makefile: get our version of drivers
2017-03-31 18:29:02 -07:00
Wesley W. Terpstra
1b06670086
build: linux has moved
2017-03-31 18:29:02 -07:00
Wesley W. Terpstra
5d38ed5d41
Makefile: don't waste precious initramfs space
2016-11-28 21:39:56 -08:00
Wesley W. Terpstra
4c79962487
use submodules for dependant toolchain
2016-07-08 18:28:14 -07:00
Wesley W. Terpstra
22cd89cd80
auto-build toolchain for those without one
2016-07-08 16:29:55 -07:00
Wesley W. Terpstra
ebf2ef03fb
build: use upstream kernel tarball
2016-07-07 17:36:01 -07:00
Wesley W. Terpstra
b2d540a3a7
build: also create a .hex suitable for +loadmem
2016-07-07 17:16:54 -07:00
Albert Ou
869273a2a3
Add initial build infrastructure
2016-06-17 11:38:33 -07:00