Giter Site home page Giter Site logo

edk2-sm7150's Introduction

edk2-sm7150's People

Contributors

sunflower2333 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

edk2-sm7150's Issues

redmiK20.img

As we can see, its possible. But when i tried to make it works, i have the same error 4000.
May be develover can post the .img for any devices?
My clone-repository is not work well.

Kernel build error

Hi, thanks for the port provided, but I'm having problems building the kernel. Error in "build" file, line 14 (or 13, I don't remember XD) on path ../edk2/BaseTools/BinWrappers/PosixLike/build.
Before that I downloaded and installed everything I needed, and also used different instructions that I could find in "edk2-porting", but to no avail, maybe I'm just stupid XD.
PS: there were attempts to build the kernel on different OS: Android, Debian, including Ubuntu. Kernel assembly for Snapdragon 845 was successful.

Could you please help me or describe your build method and what conditions are required for this.
(Translated from Russian to English, so don't scold for mistakes :))

Learn more about the problem:
Loading previous configuration from /home/arowhite/workspaceedk2/edk2-sm7150/../edk2/Conf/BuildEnv.sh
Using EDK2 in-source Basetools
WORKSPACE: / home / arowhite / workspaceedk2 / edk2-sm7150 /
EDK_TOOLS_PATH: /home/arowhite/workspaceedk2/edk2-sm7150/../edk2/BaseTools
CONF_PATH: /home/arowhite/workspaceedk2/edk2-sm7150/../edk2/Conf
/home/arowhite/workspaceedk2/edk2-sm7150/../edk2/BaseTools/BinWrappers/PosixLike/build: line 14: exec: python: not found

F11.dsc(...): error 4000: Instance of library class [RegisterFilterLib] is not found

Loading previous configuration from /home/codenaive/Desktop/EDK/edk2-sm7150/sm7150N/../edk2/Conf/BuildEnv.sh
Using EDK2 in-source Basetools
WORKSPACE: /home/codenaive/Desktop/EDK/edk2-sm7150/sm7150N/
EDK_TOOLS_PATH: /home/codenaive/Desktop/EDK/edk2-sm7150/sm7150N/../edk2/BaseTools
CONF_PATH: /home/codenaive/Desktop/EDK/edk2-sm7150/sm7150N/../edk2/Conf
Build environment: Linux-5.11.0-36-generic-x86_64-with-glibc2.29
Build start time: 22:31:37, Oct.15 2021

WORKSPACE = /home/codenaive/Desktop/EDK/edk2-sm7150/sm7150N
PACKAGES_PATH = /home/codenaive/Desktop/EDK/edk2-sm7150/edk2:/home/codenaive/Desktop/EDK/edk2-sm7150/edk2-platforms:/home/codenaive/Desktop/EDK/edk2-sm7150/sm7150N
EDK_TOOLS_PATH = /home/codenaive/Desktop/EDK/edk2-sm7150/sm7150N/../edk2/BaseTools
CONF_PATH = /home/codenaive/Desktop/EDK/edk2-sm7150/edk2/Conf
PYTHON_COMMAND = python2.7

Processing meta-data
.Architecture(s) = AARCH64
Build target = DEBUG
Toolchain = GCC5

Active Platform = /home/codenaive/Desktop/EDK/edk2-sm7150/sm7150N/F11/F11.dsc
................

build.py...
/home/codenaive/Desktop/EDK/edk2-sm7150/sm7150N/F11/F11.dsc(...): error 4000: Instance of library class [RegisterFilterLib] is not found
in [/home/codenaive/Desktop/EDK/edk2-sm7150/edk2/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf] [AARCH64]
consumed by module [/home/codenaive/Desktop/EDK/edk2-sm7150/edk2/ArmPlatformPkg/PrePi/PeiUniCore.inf]

  • Failed -
    Build end time: 22:31:54, Oct.15 2021
    Build total time: 00:00:18

Build error

bash build.sh
EDK2 Path: /root/edk2-sm7150/edk2
EDK2_PLATFORMS Path: /root/edk2-sm7150/edk2-platforms
Loading previous configuration from /root/edk2-sm7150/edk2/Conf/BuildEnv.sh
Using EDK2 in-source Basetools
WORKSPACE: /root/edk2-sm7150
EDK_TOOLS_PATH: /root/edk2-sm7150/edk2/BaseTools
CONF_PATH: /root/edk2-sm7150/edk2/Conf
/usr/bin/ld: cannot find -lgcc_s
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/8/libgcc.a:(.data+0x0): multiple definition of _binary__usr_lib_gcc_aarch64_linux_gnu_8_libgcc_a_start'; /usr/lib/gcc/aarch64-linux-gnu/8/libgcc.a:(.data+0x0): first defined here /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/8/libgcc.a:(.data+0x2a038): multiple definition of _binary__usr_lib_gcc_aarch64_linux_gnu_8_libgcc_a_end'; /usr/lib/gcc/aarch64-linux-gnu/8/libgcc.a:(.data+0x2a038): first defined here
/usr/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status

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.