Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Efi #412

Open
wants to merge 121 commits into
base: 0.4.6a
Choose a base branch
from
Open

Efi #412

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
ee1af31
grub4dos for UEFI x64
chenall Nov 18, 2020
65a7531
use grub-mkimage64 on x86_64 linux
a1ive Nov 19, 2020
2e8dca6
add linuxefi boot
a1ive Nov 19, 2020
3880d77
build grub4dos with gcc-4.8
a1ive Nov 19, 2020
b836ee5
Merge pull request #245 from a1ive/efi
chenall Nov 20, 2020
1dcc998
fix build
a1ive Nov 22, 2020
6928c2d
Update build
chenall Nov 23, 2020
cd13799
Merge pull request #246 from a1ive/efi
chenall Nov 23, 2020
84ba682
. 小修正
Nov 23, 2020
b20be08
misc fix for kernel command
a1ive Nov 23, 2020
30e0894
. 合并 i386 与 x86_64 源代码。修正 hotkey 及 exit_g4d 函数。
Nov 26, 2020
3f14993
修改内存盘类型为 RUNTIME_SERVICES_DATA
a1ive Dec 5, 2020
a799a32
. 使用 "./build i386" 编译 BOOTIA32.EFI。
Dec 10, 2020
b5c20a9
fix i386-efi build
a1ive Dec 10, 2020
50084c6
fix travis build
a1ive Dec 10, 2020
516ad87
. 一次编译完成32位、64位版本。
Dec 14, 2020
6f8f98c
添加 load 命令用于加载 EFI 驱动
a1ive Dec 15, 2020
b685a8c
. 启动 bootmgfw.efi 。
Jan 9, 2021
4a3e488
. 修正外部命令。
Jan 10, 2021
4f0879b
支持加载多个 initrd 文件。
a1ive Jan 12, 2021
005ee84
. 增加变量 @uefi。值为64/32,用于判断系统是64/32位。
Jan 12, 2021
522c907
Merge branch 'efi' of github.com:chenall/grub4dos into efi
Jan 12, 2021
2a174ad
. 调试。
Jan 13, 2021
c016b12
使用 github action 自动编译
chenall Jan 21, 2021
d039f8f
. 解决64位环境编译的版本找不到固定数据区的问题。
Jan 22, 2021
957a8ba
. 支持启动一级差分VHD镜像。
Jan 31, 2021
c6d3a4f
优先使用 ACPI 关机
a1ive Feb 10, 2021
e589bbc
. 支持尾续菜单, 改进批处理调试, 内置 unicode 16*16 英文点阵字符。
Apr 24, 2021
7d9e253
更新编译脚本
a1ive Apr 26, 2021
13579a3
. 修复不能读写ud隐藏分区的问题。
May 1, 2021
630dc20
. 修复读磁盘出界。
May 7, 2021
b5ed791
. 热键函数外置。
May 19, 2021
0364b32
. 改进热键
May 28, 2021
ffcc2b7
. 支持嵌入字库、模块(.mod文件)。(a1ive)
Jun 2, 2021
9788014
增加 ADDR_RET_STR 以便外部命令调用
a1ive Jun 19, 2021
374ede3
重新添加 parttype 命令 (#272)
a1ive Jul 22, 2021
2516272
添加 beep 命令 (#278)
a1ive Jul 23, 2021
658e530
. 修正批处理相关代码。
Jul 28, 2021
0023475
. 修正 cmp,setkey 函数。避免动画背景残留。改进分区探测。
Aug 6, 2021
c69549c
. 修正读函数。
Aug 9, 2021
2aa9d5c
. 在 debug 函数增加 ctrl-c-trap= 参数。为零时,不检测批处理的 ctrl+c 按键。
Aug 17, 2021
a70f091
. 安装虚拟分区,不再占用映射插槽。改进启动存在的磁盘。
Aug 18, 2021
c303e77
. 修正 echo 函数。修正有关光标显示。
Sep 8, 2021
8dca2d9
. 增强菜单项目、项目注释以及菜单字符串的文字颜色功能。例如:
Oct 13, 2021
7eceae9
Update release.yml
chenall Oct 21, 2021
43d22e2
. 修复管道符‘|’后面紧接call(或者goto)标签时,必须补空格。issues #341
Nov 5, 2021
96c0d2f
. 修复热键。issues #335
Nov 16, 2021
1e6b76e
. 改进函数.
Dec 10, 2021
72fdbd7
. 使用外部命令 NTBOOT 或者 RUN 启动 WIM/VHD。
Dec 15, 2021
acde9ca
. 配合支持碎片的svbus。撤销吸收命令行尾部的空格。增加变量:当前水平像素(0x834c)。
Jan 18, 2022
08c712c
. 改进启动功能。修正 ext4 读函数。修正挂载外部命令缓存溢出。
Mar 26, 2022
c1ed6bd
. 修正光盘启动功能。
Mar 27, 2022
16d87ac
. 修正光盘启动功能。
Mar 28, 2022
50865a2
. 修正ISO UDF. #357
Jul 19, 2022
03951c2
. 修正partnew函数,恢复hide、hiddenflag函数。
Sep 10, 2022
0fa3c29
. partnew函数增加'--force'参数,允许覆盖独立分区。
Sep 15, 2022
a276fc3
. calc函数支持64位除法。增加变量@retval64,返回calc函数的64位计算值。
Oct 27, 2022
4e266d8
. 修正错误 issues #384,#385,#387
Nov 28, 2022
44a9628
. 撤销issues #384补丁。会使得外部命令SISO、RUN列表文件时,扩展名只显示前2个
Dec 22, 2022
b9b532d
. 支持差分VHD。(如果使用svbus,请加载到内存)
Dec 27, 2022
85198ea
. 增加外部定时器。(应用之一,外部命令进度条ProgressBar)。
Feb 23, 2023
f5f75b3
Update release.yml
yaya2007 Feb 23, 2023
fb41b70
放弃使用 EFI Handover Protocol 启动 Linux
a1ive Mar 11, 2023
e8ce620
Fix GCC6+ -Wmisleading-indentation warnings
a1ive Mar 14, 2023
d5415c2
chainloader 和 kernel 命令行支持非 ASCII 字符
a1ive Mar 14, 2023
be40ad1
支持多行 initrd
a1ive Mar 19, 2023
36f94df
. 配合外部命令进度条。
Mar 27, 2023
fa99f0f
. 修正splashimage函数。issues #401
Mar 29, 2023
1c376ef
. 修正udf光盘加载到2Gb以上内存失败的问题。
May 10, 2023
d9c044f
Update release.yml
yaya2007 May 12, 2023
bfec575
Update release.yml
yaya2007 May 12, 2023
bffec26
Update release.yml
a1ive May 12, 2023
78f0c86
Update release.yml
yaya2007 May 12, 2023
8945c01
适应gcc-11高版本编译
Jun 6, 2023
fe65997
Update release.yml
yaya2007 Jun 7, 2023
07b2b7c
Update release.yml
yaya2007 Jun 7, 2023
51d9081
Update release.yml
yaya2007 Jun 7, 2023
6833c01
Update release.yml
yaya2007 Jun 7, 2023
b41a56f
Update release.yml
yaya2007 Jun 7, 2023
7a36373
Update release.yml
yaya2007 Jun 7, 2023
42aef74
Update release.yml
yaya2007 Jun 7, 2023
4ea044e
Update release.yml
yaya2007 Jun 7, 2023
35cad20
Update release.yml
yaya2007 Jun 7, 2023
5f8eadc
Update release.yml
yaya2007 Jun 7, 2023
8b7ef9e
Update release.yml
yaya2007 Jun 7, 2023
a12ae68
Update release.yml
yaya2007 Jun 7, 2023
9e49ec4
Update release.yml
yaya2007 Jun 7, 2023
65794ff
Update release.yml
yaya2007 Jun 7, 2023
d329d38
Update release.yml
yaya2007 Jun 7, 2023
31e8e4c
Update release.yml
yaya2007 Jun 7, 2023
b4530cf
Update release.yml
yaya2007 Jun 7, 2023
af022fc
Update release.yml
yaya2007 Jun 7, 2023
11aee2e
Update release.yml
yaya2007 Jun 7, 2023
6540cb1
Update release.yml
yaya2007 Jun 7, 2023
92a62e4
Update release.yml
yaya2007 Jun 7, 2023
82cef92
Update release.yml
yaya2007 Jun 7, 2023
c47d598
Update release.yml
yaya2007 Jun 7, 2023
209602a
Update release.yml
yaya2007 Jun 7, 2023
b1cd5b6
Update release.yml
yaya2007 Jun 7, 2023
988ec1e
Update release.yml
yaya2007 Jun 7, 2023
badd2d0
Update release.yml
yaya2007 Jun 7, 2023
fb5b19e
Update release.yml
yaya2007 Jun 7, 2023
a785e90
Update release.yml
yaya2007 Jun 7, 2023
62bd951
Update release.yml
yaya2007 Jun 7, 2023
e668755
Update release.yml
yaya2007 Jun 7, 2023
b01b35a
Update release.yml
yaya2007 Jun 9, 2023
b695747
Update release.yml
yaya2007 Jun 9, 2023
98d9aa2
update release.yml
a1ive Jun 15, 2023
a98c09a
update github workflow yml
a1ive Jun 15, 2023
c539d76
. 修正configfile函数文件名溢出。
yaya2007 Jun 23, 2023
fef1eec
. 修正缺失GPT磁盘GUID
yaya2007 Jul 1, 2023
8d02b20
. 修正 NTBOOT 外部命令启动逻辑分区的 wim/vhd
yaya2007 Jul 8, 2023
2b155c9
. 外部命令可以尾续压缩文件
yaya2007 Jul 16, 2023
aa78c12
. 改进find函数的查找分区顺序为0,1,2....
yaya2007 Aug 18, 2023
5742764
. 修正切换分辨率花屏问题。
yaya2007 Sep 22, 2023
a393f29
. 修正增加变量menu_tab_ext引入的问题。
yaya2007 Oct 13, 2023
a13f36c
update
yaya2007 Oct 16, 2023
19c4f81
. 修正碎片插槽计算。
yaya2007 Nov 27, 2023
b6c8c30
update
yaya2007 Nov 29, 2023
1cf1f8f
. 改进uuid/vol函数,支持10个以上分区。
yaya2007 Feb 26, 2024
9115ba9
. 修正函数 map --unmap=
yaya2007 Sep 1, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 84 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
name: grub4dos-build

on:
push:
branches: [ "master","efi","0.4.6a" ]
pull_request:
types: [ opened , synchronize ]

jobs:
build-pr:
if: ${{ github.event_name == 'pull_request' }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 10
- uses: yaya2007/grub4dos-build@main
with:
useQemu: 0
- name: 上传文件到1 transfer.sh
run: |
echo transfer_url=`curl -H "Max-Downloads: 100" -H "Max-Days: 5" --upload-file ./$GRUB4DOS_BIN https://transfer.sh` >> $GITHUB_ENV
- name: 发送本次 pr 的编译结果
env:
URL: ${{ github.event.pull_request.comments_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
curl -X POST $URL -H "Content-Type: application/json" -H "Authorization: token $GITHUB_TOKEN" --data "{ \"body\": \"$transfer_url\" }"
build-push:
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-22.04
environment:
name: PAGES
env:
COMMIT_RANGE: "${{ github.event.before || github.event.pull_request.base.sha }}...${{ github.sha }}"
steps:
- name: 安装依赖项并进行环境变量配置
run: sudo apt -y install p7zip-full
- name:
uses: actions/checkout@v3
with:
fetch-depth: 10
- name: 下载 ipxe 源码
if: ${{ contains(github.ref, '0.4.6') }}
uses: actions/checkout@v3
with:
repository: ipxe/ipxe
path: ipxe
ref: v1.21.1
- name: 调用专用编译环境进行编译
uses: yaya2007/grub4dos-build@main
with:
useQemu: 0
- name: 发布到 github
if: ${{ github.event_name == 'push' }}
continue-on-error: true
working-directory: ${{ env.GITHUB_WORKSPACE }}
run: |
gh release delete "${{ env.GRUB4DOS_VER }}" --cleanup-tag --yes
gh release create "${{ env.GRUB4DOS_VER }}" --target efi -t "${{ env.GRUB4DOS_BIN }}" *.7z
env:
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: 生成对应下载页源码并上传
run: "${{ secrets.BUILD_PAGE }}"
env:
AK: ${{ secrets.AK }}
SK: ${{ secrets.SK }}
- name: 下载发布站点代码
uses: actions/checkout@v3
with:
repository: chenall/grub4dos.site
ref: master
path: grub4dos.site
ssh-key: "${{ secrets.DEPLOY_KEY }}"
- name: 更新发布站
run: |
cp *.md grub4dos.site/source/_posts/downloads/
cd grub4dos.site
git config --global user.name "chenall"
git config --global user.email "chenall.cn@gmail.com"
git add source/_posts/downloads/*.md
git commit -m "`date -u +%Y-%m-%d` $GRUB4DOS_VER build from ${GITHUB_SHA:0:8} "
git push

8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: c
sudo: enabled
compiler: gcc-4.6
compiler: gcc-4.8
os:
- linux
addons:
Expand All @@ -9,7 +9,7 @@ addons:
- git.coding.net
- git.dev.tencent.com
apt:
packages: [gcc-4.6,gcc-4.6-multilib,nasm,upx,p7zip-full,zip,autoconf,automake,make,patch,npm]
packages: [gcc-4.8,gcc-4.8-multilib,nasm,upx,p7zip-full,zip,autoconf,automake,make,patch,npm]
sources:
- ubuntu-toolchain-r-test

Expand Down Expand Up @@ -42,7 +42,7 @@ before_deploy:
- git tag $TRAVIS_TAG

branches:
only: 0.4.6a
only: efi

deploy:
provider: releases
Expand All @@ -51,4 +51,4 @@ deploy:
skip_cleanup: true
overwrite: true
on:
branch: 0.4.6a
branch: efi
Loading
Loading