[1] MLD-5.x / Development / [unstable 5.4] building for rpi with qemu 2.8.1
 

Offline fishfingers

  • Newbie
  • *
  • Posts: 6
    • View Profile
[unstable 5.4] building for rpi with qemu 2.8.1
« on: February 05, 2019, 21:50:52 »

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....

Offline clausmuus

  • Administrator
  • Expert Member
  • ********
  • Posts: 20445
    • View Profile
    • ClausMuus.de
[unstable 5.4] building for rpi with qemu 2.8.1
« Reply #1 on: February 05, 2019, 22:33:36 »
Thank you for the suggestion. I have change the Makefile.arch.
MLD 5.5 - Raspberry PI - 7" Touch TFT - Squeeze Play
MLD 5.5 - lirc yaUsbIR - OctopusNet - XFX GeForce 9300 mit Intel E3200 - 2GB RAM - 12TB HDD - Lian Li PC-C37B - Samsung LE40A559

[1] MLD-5.x / Development / [unstable 5.4] building for rpi with qemu 2.8.1
 



Users Online Users Online

0 Members and 1 Guest are viewing this topic.