Code Monkey home page Code Monkey logo

dakanji / refindplusudk Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 38.0 54.52 MB

RefindPlus UEFI Development Kit

License: BSD 2-Clause "Simplified" License

C 77.18% HTML 0.29% Roff 0.02% CSS 0.01% Lua 0.01% Makefile 0.16% C++ 0.89% Shell 0.09% Python 16.75% Batchfile 0.05% VBScript 0.01% PLSQL 0.02% DIGITAL Command Language 0.01% Assembly 2.95% NASL 0.01% GAP 0.43% Rich Text Format 1.14% Perl 0.01% SWIG 0.01% GDB 0.01%
refindplus-boot-manager udk2018 uefi-development tianocore-edk2

refindplusudk's People

Contributors

dakanji avatar joevt avatar startergo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

refindplusudk's Issues

Avoid RepoUpdater "SelfUpdate" Feedback Loop

Is your feature request related to a problem? Please describe.
RepoUpdater.sh may update itself with new commit SHA values while running and this may result in a crash

Describe the solution you'd like
Move commit SHA value out of RepoUpdater.sh and load these before the container file is updated

Describe alternatives you've considered
RepoUpdater.sh could be run from outside the repository but this complicates usage.

Additional context
Not experienced yet and not mentioned as an issue in #6 but seems more likely to be an issue.

Error in Repoupdater.sh

/Users/MBP113/Documents/RefindPlus/edk2/000-BuildScript/RepoUpdater.sh
Syncing RefindPlus
Already on 'GOPFix'
Your branch is up to date with 'origin/GOPFix'.
fatal: ambiguous argument '': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

Runtime Error ... Exiting

Failure to Build on Some GCC Versions

RefindPlus Version

Pre-Release Code Build

Device Type

Apple Mac

Problem Description

First error is "Unknown switch -G" After changing EDIT_BRANCH="-GOPFix" to EDIT_BRANCH="GOPFix" I get this error:

/Applications/Xcode.app/Contents/Developer/usr/bin/make -C BrotliCompress
gcc  -c -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -c -g  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/  -O2 tools/bro.c -o tools/bro.o
gcc  -c -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -c -g  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/  -O2 common/dictionary.c -o common/dictionary.o
gcc  -c -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -c -g  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/  -O2 dec/bit_reader.c -o dec/bit_reader.o
gcc  -c -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -c -g  -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . -I ../Include/X64/  -O2 dec/decode.c -o dec/decode.o
dec/decode.c:2023:13: error: variable 'bytes_copied' set but not used [-Werror,-Wunused-but-set-variable]
        int bytes_copied = s->meta_block_remaining_len;
            ^
1 error generated.
make[1]: *** [dec/decode.o] Error 1
make: *** [BrotliCompress] Error 2

Runtime Error ... Exiting

Problem Point

Other

Affected Items

Other Item

Debug Log

No debug log.

Additional Context

No additional context.

Variable Uninitialized Error While Building

I'm following the instructions on building on MacOS and came across an error. I'm pretty sure this is user error, not a bug, so I'm posting here rather than issues (please let me know if this is improper, I'm not familiar with the proper etiquette).

I've made it to "Build Required BaseTools C Tool Binaries" and when running
make -C BaseTools/Source/C
I get this error
error: variable 'StringIndex2' is uninitialized when used here [-Werror,-Wuninitialized]

I've poked around a bit online and found posts about a similar issue but I'm not quite sure how to implement it to this build. The full output is in the attached screenshot, there's a couple things that line up that I wouldn't be able to get proper here.

Screen Shot 2021-04-04 at 6 17 28 AM

Originally posted by @bcskillings in https://github.com/dakanji/RefindPlus/discussions/43

RepoUpdater Script not Correctly Syncing with Upstream

Running the script from within its folder yields this:

Repo Updater
## RepoUpdater ##
-----------------

Syncing Refind-UDK
Already on 'rudk'
Your branch is up to date with 'origin/rudk'.
HEAD is now at 56c1ccd8 Update gitignore
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/startergo/Refind-UDK.git
 + 029b4582...56c1ccd8 HEAD -> rudk (forced update)
From https://github.com/dakanji/Refind-UDK
 * branch              rudk       -> FETCH_HEAD
Updating 56c1ccd8..029b4582
Fast-forward
 000-BuildScript/RepoUpdater.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/startergo/Refind-UDK.git
   56c1ccd8..029b4582  rudk -> rudk
Everything up-to-date

Synced Refind-UDK


Syncing RefindPlus
Already on 'GOPFix'
Your branch is up to date with 'origin/GOPFix'.
HEAD is now at 60644bd Update for v0.12.0.AN Release
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/startergo/RefindPlus.git
 + 9054d73...60644bd HEAD -> GOPFix (forced update)
remote: Enumerating objects: 8, done.
remote: Counting objects: 100% (8/8), done.
remote: Total 8 (delta 7), reused 8 (delta 7), pack-reused 0
Unpacking objects: 100% (8/8), done.
From https://github.com/dakanji/RefindPlus
 * branch            GOPFix     -> FETCH_HEAD
   9691685..9054d73  GOPFix     -> upstream/GOPFix
Updating 60644bd..9054d73
Fast-forward
 EfiLib/BdsConnect.c                          |   8 ++---
 MainRP/driver_support.c                      | 146 +++++++++++++++++++++++++++--------------------------------------------------
 MainRP/driver_support.h                      |   1 -
 MainRP/lib.c                                 |   4 +--
 MainRP/main.c                                | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
 MainRP/menu.c                                |   6 ++--
 MainRP/scan.c                                |  36 +++++++++----------
 MainRP/screen.c                              | 100 ++++++++++++++++++++++++++++-------------------------
 MainRP/screen.h                              |   2 +-
 NEWS.txt                                     |   7 ++++
 README.md                                    |   8 +++--
 config.conf-sample                           | 123 ++++++++++++++++++++++++++++++++++++-----------------------------
 filesystems/RamDiskDxe/RamDiskFileExplorer.c |   2 +-
 filesystems/RamDiskDxe/RamDiskImpl.h         |   2 +-
 include/version.h                            |   2 +-
 libeg/screen.c                               |  85 ++++++++-------------------------------------
 mountesp                                     |   2 +-
 refind-install                               |   4 +--
 18 files changed, 383 insertions(+), 328 deletions(-)
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/startergo/RefindPlus.git
   60644bd..9054d73  GOPFix -> GOPFix
Everything up-to-date

Synced RefindPlus

-----------------
## RepoUpdater ##


g5@Big-Sur ~ % /Users/g5/Documents/RefindPlus/edk2/000-BuildScript/RepoUpdater.sh 

## RepoUpdater ##
-----------------

Syncing Refind-UDK
Already on 'rudk'
Your branch is up to date with 'origin/rudk'.
HEAD is now at 56c1ccd8 Update gitignore
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/startergo/Refind-UDK.git
 + 029b4582...56c1ccd8 HEAD -> rudk (forced update)
From https://github.com/dakanji/Refind-UDK
 * branch              rudk       -> FETCH_HEAD
Updating 56c1ccd8..029b4582
Fast-forward
 000-BuildScript/RepoUpdater.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/startergo/Refind-UDK.git
   56c1ccd8..029b4582  rudk -> rudk
Everything up-to-date

Synced Refind-UDK


Syncing RefindPlus
Already on 'GOPFix'
Your branch is up to date with 'origin/GOPFix'.
HEAD is now at 60644bd Update for v0.12.0.AN Release
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/startergo/RefindPlus.git
 + 9054d73...60644bd HEAD -> GOPFix (forced update)
From https://github.com/dakanji/RefindPlus
 * branch            GOPFix     -> FETCH_HEAD
Updating 60644bd..9054d73
Fast-forward
 EfiLib/BdsConnect.c                          |   8 ++---
 MainRP/driver_support.c                      | 146 +++++++++++++++++++++++++++--------------------------------------------------
 MainRP/driver_support.h                      |   1 -
 MainRP/lib.c                                 |   4 +--
 MainRP/main.c                                | 173 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------
 MainRP/menu.c                                |   6 ++--
 MainRP/scan.c                                |  36 +++++++++----------
 MainRP/screen.c                              | 100 ++++++++++++++++++++++++++++-------------------------
 MainRP/screen.h                              |   2 +-
 NEWS.txt                                     |   7 ++++
 README.md                                    |   8 +++--
 config.conf-sample                           | 123 ++++++++++++++++++++++++++++++++++++-----------------------------
 filesystems/RamDiskDxe/RamDiskFileExplorer.c |   2 +-
 filesystems/RamDiskDxe/RamDiskImpl.h         |   2 +-
 include/version.h                            |   2 +-
 libeg/screen.c                               |  85 ++++++++-------------------------------------
 mountesp                                     |   2 +-
 refind-install                               |   4 +--
 18 files changed, 383 insertions(+), 328 deletions(-)
Total 0 (delta 0), reused 0 (delta 0)
To https://github.com/startergo/RefindPlus.git
   60644bd..9054d73  GOPFix -> GOPFix
Everything up-to-date

Synced RefindPlus

-----------------
## RepoUpdater ##

Both git repositories are even with the remote branches

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.