Giter VIP home page Giter VIP logo

Comments (5)

xgandiaga avatar xgandiaga commented on August 17, 2024

I've followed the instructions in build_qemu.md but once i execute the WORK_FOLDER_PATH=pwd/src ./build_scripts/build-qemu.sh --deb64 --no-strip command i end up with the following output. I've seen other issues with similar docker problems that suggest running an update/upgrade in the container but it's not like i can open a shell in the container since it starts up executing that build script right away. Is there a solution?

Trying to fix it from my part too.
The image used to build QEMU within the docker container is a debian 8/Jessie.
Debian repos for Jessie do not exist at debian.net. Thus the error.
The easy fix would be to change the build environment within ...../build_scripts/build-qemu.sh
That probably means creating a debian based docker image that has the requirements for building QEMU gnuarmeclipse

OPTION B is to build it in your machine by installing all dependencies listed in https://wiki.qemu.org/Hosts/Linux#Building_QEMU_for_Linux

from p2im.

xgandiaga avatar xgandiaga commented on August 17, 2024

Quick comment on OPTION B

Building manually only works if you can set it up so "gnuarmeclipse" can be a target when executing

./configure --target-list=gnuarmeclipse --python=PATHTOPYTHON2.x

Else the build crashes on vl.c

#if defined(CONFIG_GNU_ARM_ECLIPSE)
    const char *mcu_device = NULL;
    (....)
#endif 

Because the proper target is not selected.

So probably fixing OPTION A is preferable.

The docker containers in OPTION A are deprecated and the original dev is working on QEMU xPack.
So, we are left with the following choices:

OPTION A
Create a new environment/docker container that is a clone of those used by Ionescu.
With an added fix.
Employing archive.debian.org as a source so apt update does not crash.

OPTION B
Probably discarded

OPTION C
Try to find a way of building P2IM's QEMU through xPack

from p2im.

Tyro533 avatar Tyro533 commented on August 17, 2024

I see. Thank you for the pointers! If you manage to fix it, could you let me know? I'm of course going to try to do it myself but my docker/linux knowledge is limited so it might take a while

from p2im.

xgandiaga avatar xgandiaga commented on August 17, 2024

I see. Thank you for the pointers! If you manage to fix it, could you let me know? I'm of course going to try to do it myself but my docker/linux knowledge is limited so it might take a while

Got the fixes up in my github account
https://github.com/xgandiaga/DRIVERS/tree/main

I made the build scripts point to new docker images I created in my dockerhub account.
Those point to archive.debian.org instead of deb.debian.org
Thus the apt updates don't crash
And the build goes through

(I'll fix the Licensing issues when I can. I kinda conjured up a fix from thin air quickly without looking to the licenses)

from p2im.

alejoseb avatar alejoseb commented on August 17, 2024

Hi @xgandiaga and @valuta1995, please consider submitting a pull request with the solution to the issue.

from p2im.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.