Mirza Krak
30477f36f5
linux-riscv: add support for freedom-u540 machine
...
Signed-off-by: Mirza Krak <mirza.krak@endian.se >
2018-03-20 14:51:37 -07:00
Mirza Krak
28a63337d4
riscv-pk: depend on virtual/kernel instead of a task on that
...
This fixes a circular dep when used together with INITRAMFS_IMAGE_BUNDLE
Signed-off-by: Mirza Krak <mirza.krak@endian.se >
2018-03-20 14:51:37 -07:00
Mirza Krak
cd96e42069
riscv-pk: add support for HiFive Unleashed board
...
Signed-off-by: Mirza Krak <mirza.krak@endian.se >
2018-03-20 14:51:37 -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
31cbcc591d
linux-riscv: add defconfig for HiFive Unleashed development board
...
Copied from freedom-u-sdk/711c23e49eeac6f1f5b05b6e8bf86833c733a31b
Signed-off-by: Mirza Krak <mirza.krak@endian.se >
2018-03-20 14:51:37 -07:00
Mirza Krak
0bc4aac11d
images: add ramdisk image suitable for usage with the HiFive Unleashed
...
The "default" boot mode at the moment is to bundle a ramdisk image in
the kernel and mount root in a ramfs.
This image is suitable to bundle with the kernel but it has minimal
features and basicly just boots.
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
Mirza Krak
293cdd2029
linux-riscv: move common parts between kernel versions in to .inc file
...
Reduces duplication.
Signed-off-by: Mirza Krak <mirza.krak@endian.se >
2018-03-20 14:51:37 -07:00
Mirza Krak
fe8fa317aa
linux-riscv: clean-up
...
Cosmetic clean-up mostly based on the linux-yocto-template
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
be1cd58519
gdb-riscv: Switch to using upstream master + OE patches
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-17 20:23:36 -07:00
Khem Raj
9dfec0496f
qemu_riscv.bb: Only build for risc-v when doing target builds
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-17 19:33:28 -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
4702abe1d4
riscv-qemu: Switch to master branch
...
qemu is now upstream so start using master branch
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-17 19:16:20 -07:00
Khem Raj
aba18fdc33
prelink: Fix segfaults in prelink-rtld
...
prelink-rtld was segfaulting because prelink looks for
libs in lib64 folder for 64-bit machines, however on riscv
the directories are simply /lib and /usr/lib
Secondly define the ldso name for riscv
backport another patch to fix DT_NEEDED processing
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-17 19:14:19 -07:00
Khem Raj
9ffc522446
linux-riscv: Add earlyprintk.cfg for qemu
...
- early printk is must for qemu to work
- Remove dead code
- Update to tip of respective branches
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-17 19:11:59 -07:00
Khem Raj
dfc6f46d96
README.md: Monitor master branch in travis
2018-03-17 18:27:00 -07:00
Khem Raj
e41a7ba4a4
Correct typo in github url in travis shield
2018-03-16 19:01:57 -07:00
Khem Raj
bb86c39270
travis: Use mkdir -p so we can reuse the existing directories
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-16 18:32:49 -07:00
Khem Raj
993fd422a1
travis: Enable repo init color prompt
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-16 18:30:29 -07:00
Khem Raj
e503d131b1
travis.yml: Do not use multi-line commands
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-16 18:27:19 -07:00
Khem Raj
55879039a4
Add travis shield
2018-03-16 18:24:23 -07:00
Khem Raj
f2af47cad0
Add travis CI configuration
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-16 18:18:11 -07:00
Khem Raj
a6cec434af
Add license logo
2018-03-16 17:52:50 -07:00
Khem Raj
d8d012b8ae
Update build instructions
2018-03-16 17:46:11 -07:00
Khem Raj
b9717f0341
Add setup scripts
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-16 17:16:53 -07:00
Khem Raj
943dedf192
linux-riscv: Add recipe for 4.16 upcoming release
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-16 16:56:05 -07:00
Khem Raj
1741996b09
linux-riscv: Drop riscv64 baremetal from compatible machine
...
baremetal does not run linux kernel
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-16 16:55:27 -07:00
Taras Kondratiuk
16a13a6328
linux-riscv: use in-tree defconfig
...
It is easier to update kernel version if in-tree defconfig is used.
Signed-off-by: Taras Kondratiuk <takondra@cisco.com >
2018-03-16 15:11:01 -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
b993d03686
init-ifupdown: Add interfaces file for qemuriscv64
...
This is needed for kernel passed IP config to work
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-10 23:59:34 -08:00
Khem Raj
27a5e1ebca
qemu_riscv: Use riscv-all branch and drop upstreamed patches
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-10 22:49:22 -08:00
Khem Raj
56a0ee8c59
prelink: Add risc-v support
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-10 15:23:08 -08:00
Khem Raj
6372f14546
libatomic-ops: Fix host contamination [host-user-contaminated] QA warning
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-10 11:10:41 -08:00
Khem Raj
c359e72fd0
libatomic-ops: Switch to using master
...
RISC-V support is not in a release yet
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-10 11:07:05 -08: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
5b3d178967
README.md: Fix typo
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-09 18:24:30 -08:00
Mirza Krak
f2149e9405
libgpg-erro: add riscv support
...
Backported patch from upstream
Signed-off-by: Mirza Krak <mirza.krak@endian.se >
2018-03-09 18:22:01 -08:00
Khem Raj
60d589c75e
README.md: Add info on running the image in qemu
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-09 14:14:53 -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
e3c8bac3d9
Linux: Drop unused files
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-09 12:15:01 -08:00
Khem Raj
e29112279d
linux-kernel: Update the defconfig for 4.15 release
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-09 12:08:48 -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
d964c6450f
riscv-tools: Delete dead code
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-09 08:49:45 -08:00
Khem Raj
7ddf71a820
riscv-pk.bb: Add do_compile to depends for do_deploy
...
eases out doing bitbake -cdeploy riscv-pk
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-09 08:49:01 -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
1921565bbf
linux-riscv: cleanup
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-09 02:58:52 -08:00
Khem Raj
1f1b15110c
riscv-tools: Upgrade to latest
...
Signed-off-by: Khem Raj <raj.khem@gmail.com >
2018-03-09 02:39:16 -08:00