New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freedom U540 / HiFive Unleashed development board support #3

Merged
merged 9 commits into from Mar 20, 2018

Conversation

Projects
None yet
2 participants
@mirzak
Contributor

mirzak commented Mar 20, 2018

Rebase of https://github.com/kraj/meta-riscv/pull/3 to new location and updated changes.

Note that I have only build tested the freedom-u540 machine, and verified that I did not break the qemu.

linux-riscv: clean-up
Cosmetic clean-up mostly based on the linux-yocto-template

Signed-off-by: Mirza Krak <mirza.krak@endian.se>
@mirzak

This comment has been minimized.

Contributor

mirzak commented Mar 20, 2018

Ooh, noticed some minors to fix. Will push soon again

mirzak added some commits Mar 20, 2018

linux-riscv: move common parts between kernel versions in to .inc file
Reduces duplication.

Signed-off-by: Mirza Krak <mirza.krak@endian.se>
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>
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>
linux-riscv: add defconfig for HiFive Unleashed development board
Copied from freedom-u-sdk/711c23e49eeac6f1f5b05b6e8bf86833c733a31b

Signed-off-by: Mirza Krak <mirza.krak@endian.se>
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>
riscv-pk: add support for HiFive Unleashed board
Signed-off-by: Mirza Krak <mirza.krak@endian.se>
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>
linux-riscv: add support for freedom-u540 machine
Signed-off-by: Mirza Krak <mirza.krak@endian.se>

@mirzak mirzak force-pushed the mirzak:freedom-u540 branch from 971756d to 3462dfd Mar 20, 2018

@kraj

this should be proposed for kernel as well.

@mirzak

This comment has been minimized.

Contributor

mirzak commented Mar 20, 2018

Did a new force-push right now, sorry for the last minute inconvenience

@kraj kraj merged commit 30477f3 into riscv:master Mar 20, 2018

1 check was pending

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
@kraj

This comment has been minimized.

Collaborator

kraj commented Mar 20, 2018

I merged it please check again and see if I got it all. Thank you

@mirzak

This comment has been minimized.

Contributor

mirzak commented Mar 20, 2018

You are fast :).

You got my latest changes so all is good

@mirzak mirzak deleted the mirzak:freedom-u540 branch Mar 20, 2018

@kraj

This comment has been minimized.

Collaborator

kraj commented Mar 20, 2018

no worries, all good qemu is booting fine, once I have board I will start testing your stuff more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment