Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
61442dfb
Commit
61442dfb
authored
Jan 21, 2020
by
Dmitriy Terekhin
Committed by
Anton Midyukov
May 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aarch64-dbm: added 98-dbm-startup-nsh
The tar2fs script writes the contents of the /boot/efi directory to a disk image partition for EFI. Place the scripts executed by EFI Shell in /boot/efi
parent
12ab3f41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
98-dbm-startup-nsh
features.in/aarch64-dbm/image-scripts.d/98-dbm-startup-nsh
+20
-0
No files found.
features.in/aarch64-dbm/image-scripts.d/98-dbm-startup-nsh
0 → 100755
View file @
61442dfb
#!/bin/sh
# The tar2fs script writes the contents of the /boot/efi directory
# to a disk image partition for EFI.
# Place the scripts executed by EFI Shell in /boot/efi
mkdir
-p
/boot/efi
# Script startup.nsh to boot with GRUB2 by default
cat
>
/boot/efi/startup.nsh
<<
EOF
\EFI\BOOT\BOOTAA64.EFI
EOF
# The efidrvext.nsh script can be run manually from the EFI Shell
# to boot using the ext2, ext3, ext4 driver for EFI
cat
>
/boot/efi/efidrvext.nsh
<<
EOF
load fs0:\efi\drivers\ext2_aa64.efi
map -r
FS1:\boot\vmlinuz root=/dev/sda2 ro console=ttyS0,115200 video=HDMI-A-1:D fbcon=map:0 initrd=/boot/initrd.img dtb=/boot/dtb/bm-bfkm.dtb
EOF
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