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
d30083a8
Commit
d30083a8
authored
Mar 10, 2021
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uboot: Define timeout variable
It is possible to set a timeout for automatic bootloading via a variable.
parent
ef342e77
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
config.mk
features.in/uboot/config.mk
+2
-0
00-uboot-prepare
features.in/uboot/image-scripts.d/00-uboot-prepare
+1
-1
No files found.
features.in/uboot/config.mk
View file @
d30083a8
...
@@ -17,7 +17,9 @@ use/uboot: use/kernel/initrd-setup $(UBOOT_TTY)
...
@@ -17,7 +17,9 @@ use/uboot: use/kernel/initrd-setup $(UBOOT_TTY)
ifeq (,$(filter-out riscv64,$(ARCH)))
ifeq (,$(filter-out riscv64,$(ARCH)))
@$(call add,UBOOT_BOOTARGS,earlyprintk debug no_alt_virt_keyboard)
@$(call add,UBOOT_BOOTARGS,earlyprintk debug no_alt_virt_keyboard)
endif
endif
@$(call try,UBOOT_TIMEOUT,50)
@$(call xport,UBOOT_BOOTARGS)
@$(call xport,UBOOT_BOOTARGS)
@$(call xport,UBOOT_TIMEOUT)
else
else
use/uboot: ; @:
use/uboot: ; @:
endif
endif
features.in/uboot/image-scripts.d/00-uboot-prepare
View file @
d30083a8
...
@@ -11,7 +11,7 @@ cat > /boot/extlinux/extlinux.conf << EOF
...
@@ -11,7 +11,7 @@ cat > /boot/extlinux/extlinux.conf << EOF
menu title ALTLinux Boot Options
menu title ALTLinux Boot Options
default linux
default linux
timeout
70
timeout
$GLOBAL_UBOOT_TIMEOUT
label linux
label linux
kernel /boot/vmlinuz
kernel /boot/vmlinuz
...
...
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