Forked from https://github.com/edk2-porting/edk2-sm7150
- USB (need extra power supply)
- UFS
Forked from https://github.com/edk2-porting/edk2-sm7150
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.
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
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]
Could you give me some hints how to build/port for Xiaomi Redmi Note 10 Pro (SM7150) ?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.