Skip to content
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

RISCV32 Fixes #267

Merged
merged 5 commits into from
Feb 12, 2021
Merged

RISCV32 Fixes #267

merged 5 commits into from
Feb 12, 2021

Conversation

kraj
Copy link
Collaborator

@kraj kraj commented Feb 10, 2021

No description provided.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
These recipes have gotten fixed overtime

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Use -x jitter to fix the cpu hog

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Comment on lines -15 to +17
# EXTRA_IMAGEDEPENDS += "u-boot"
# UBOOT_MACHINE = "qemu-riscv32_smode_defconfig"
# UBOOT_ELF = "u-boot"
EXTRA_IMAGEDEPENDS += "u-boot"
UBOOT_MACHINE = "qemu-riscv32_smode_defconfig"
UBOOT_ELF = "u-boot"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woohoo!

Comment on lines +4 to +11
Subject: [PATCH] riscv32: Use double-float ABI for rv32

So it can use libgcc built with OE toolchain
Fixes
error: "can't link hard-float modules with soft-float modules"

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

Can this go upstream instead of here? Once the Linux-yocto build is working again I wanted to upstream RV32 support.

Comment on lines +1 to +2
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this go to OE-Core as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps yes but it should go along with the series to enable rv32, otherwise there will be questions as its purely rv32 patch

Copy link
Collaborator

@alistair23 alistair23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! It would be great to start sending these to OE-Core instead though

@alistair23 alistair23 merged commit 25e7762 into riscv:master Feb 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants