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

Issue with ARM #116

Open
hemalbavisi opened this issue Feb 7, 2018 · 1 comment
Open

Issue with ARM #116

hemalbavisi opened this issue Feb 7, 2018 · 1 comment

Comments

@hemalbavisi
Copy link

I am a newbie with rumprun, I would like to build rumprun on arm controller. I am using linaro compiler "Compiler Version"
arm-linux-gnueabihf-gcc (Ubuntu/Linaro 4.8.4-2ubuntu1~14.04.1) 4.8.4

I did few manual changes e.g. /platform/hw/Makefile , I changed the Machine settings as follows:

ifeq (${MACHINE},evbearmhf-el)
supported:= true
ARCHDIR= arm/integrator
endif

After that I used following command to build rumprun kernel
CC=arm-linux-gnueabihf-gcc ./build-rr.sh hw

Build process started and after a while I got following error which I couldn't solve it. It would be great if you can help me in this regard.
mkdir -p /home/avin/rumprun/./obj-evbearmhf-el-hw/platform/arch/arm/integrator
/home/avin/rumprun/obj-evbearmhf-el-hw/rumptools/bin/arm--netbsdelf-eabihf-gcc -Iinclude -I../../include -I/home/avin/rumprun/./obj-evbearmhf-el-hw/include -nostdinc -I/home/avin/rumprun/./obj-evbearmhf-el-hw/dest.stage/include -Iarch/arm -std=gnu99 -O2 -g -fno-stack-protector -ffreestanding -Wall -Wimplicit -Wmissing-prototypes -Wstrict-prototypes -Werror -U_FORTIFY_SOURCE -c intr.c -o /home/avin/rumprun/./obj-evbearmhf-el-hw/platform/intr.o
In file included from intr.c:26:0:
include/hw/kernel.h:1:27: fatal error: hw/machine/md.h: No such file or directory
#include <hw/machine/md.h>

@kent-mcleod
Copy link
Contributor

What happens when you rename the folder platform/hw/include/arch/earm to platform/hw/include/arch/arm?

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

No branches or pull requests

2 participants