MLD-5.x > Development

[unstable 5.4] building for rpi with qemu 2.8.1

(1/1)

fishfingers:

Hi Folks,

I have been trying to build unstable 5.4 on a qemu
version 2.8.1(Debian 1:2.8+dfsg-6+deb9u5) running a
Raspbian 9 (stretch) with a fairly new kernel 4.14.50+
borrowed from here:

https://github.com/dhruvvyas90/qemu-rpi-kernel.git.

Several days later, I couldn't seem to get the ISO/Makefile to run at all. This was
because Makefile.arch was having problems identifying the hardware since it
appears the contents of /proc/cpuinfo has changed a little.

# grep Hardware /proc/cpuinfo | sed 's/.*: //'
ARM-Versatile (Device Tree Support)

However Makefile.arch seems to expect 'ARM-Versatile PB'

Makefile.arch:
...
> hardware := $(shell grep Hardware /proc/cpuinfo | sed 's/.*: //')
> host := .....$(findstring ARM-Versatile PB,$(hardware)),rpi....

Changing this to

> host := .....$(findstring ARM-Versatile,$(hardware)),rpi....

Has started to work for me...

mfg
        Alan

PS man spricht deutsch....

clausmuus:
Thank you for the suggestion. I have change the Makefile.arch.

Navigation

[0] Message Index

Go to full version