Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
grub
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
grub
Commits
1c97656a
Commit
1c97656a
authored
Dec 27, 2025
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for reComputer J2012
parent
65c6ce5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
Makefile
Makefile
+32
-0
No files found.
Makefile
View file @
1c97656a
recomputer-j2012
:
grub.efiarm64
aws
:
grub.bios
aws
:
grub.bios
kvm64
:
grub.bios
kvm64
:
grub.bios
phenom
:
grub.bios
phenom
:
grub.bios
...
@@ -90,6 +91,22 @@ grub.efi: grub-config
...
@@ -90,6 +91,22 @@ grub.efi: grub-config
umount /dev/
$(DISK)
1
umount /dev/
$(DISK)
1
rm
-rf
grub-2.06
rm
-rf
grub-2.06
grub.efiarm64
:
grub-config-arm
tar
xf grub-2.06.tar.xz
cd
grub-2.06
&&
./configure
--prefix
=
/usr
--sbindir
=
/sbin
--sysconfdir
=
/etc
--with-platform
=
efi
--disable-werror
$(MAKE)
-C
grub-2.06
$(MAKE)
-C
grub-2.06
install
rm
/etc/bash_completion.d/grub
mkdir
-p
/boot/efi
mkfs
-t
vfat
-n
EFIBOOT /dev/
$(DISK)
1
sed
-i
"/
\/
dev
\/
root/a
\/
dev
\/
disk
\/
by-label
\/
EFIBOOT
\/
boot/efi vfat defaults,sync,auto 0 0"
/etc/fstab
mount /dev/
$(DISK)
1 /boot/efi
mkdir
-p
/boot/efi/EFI/BOOT
grub-mkimage
-p
/efi/boot
-o
/boot/efi/EFI/BOOT/bootaa64.efi
-O
arm64-efi part_gpt fat ext2 normal linux efi_gop
test
loadenv reboot hashsum
echo
halt gcry_sha256
@
echo
"
$$
GRUB_CONFIG_ARM"
>
/boot/efi/EFI/BOOT/grub.cfg
umount /dev/
$(DISK)
1
rm
-rf
grub-2.06
grub-config
:
grub-config
:
define
GRUB_CONFIG
define
GRUB_CONFIG
# Begin /boot/grub/grub.cfg
# Begin /boot/grub/grub.cfg
...
@@ -103,3 +120,18 @@ linux /boot/zImage console=tty1 root=/dev/disk/by-label/CLFS rootfstype=ext4 roo
...
@@ -103,3 +120,18 @@ linux /boot/zImage console=tty1 root=/dev/disk/by-label/CLFS rootfstype=ext4 roo
boot
boot
endef
endef
export
GRUB_CONFIG
export
GRUB_CONFIG
grub-config-arm
:
define
GRUB_CONFIG_ARM
# Begin /boot/grub/grub.cfg
set
default
=
0
set
timeout
=
5
insmod
ext2
set
root
=(
hd1,2
)
linux
/boot/Image
console
=
tty1
root
=
/dev/disk/by-label/CLFS
rootfstype
=
ext4
rootflags
=
discard rw rootwait quiet
loglevel
=
3 systemd.show_status
=
1 net.ifnames
=
0
devicetree
/boot/machine.dtb
boot
endef
export
GRUB_CONFIG_ARM
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment