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
Anton Palgunov
mkimage-profiles
Commits
ccf37718
Commit
ccf37718
authored
Mar 30, 2021
by
Nikita Ermakov
Committed by
Anton Midyukov
Apr 04, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uboot: Allow to not specify an fdtdir in extlinux.conf
QEMU for riscv virt machine passes its own DTB. Overriding DTB breaks Linux loading.
parent
741d59ab
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
config.mk
features.in/uboot/config.mk
+2
-0
00-uboot-prepare
features.in/uboot/image-scripts.d/00-uboot-prepare
+2
-0
No files found.
features.in/uboot/config.mk
View file @
ccf37718
...
...
@@ -9,6 +9,7 @@ endif
ifeq (,$(filter-out riscv64,$(ARCH)))
ifeq (,$(filter-out qcow2 qcow2c,$(IMAGE_TYPE)))
UBOOT_TTY := use/tty/S0
UBOOT_NOFDTDIR := 1
else
UBOOT_TTY := use/tty/SIF0
endif
...
...
@@ -24,6 +25,7 @@ endif
@$(call try,UBOOT_TIMEOUT,50)
@$(call xport,UBOOT_BOOTARGS)
@$(call xport,UBOOT_TIMEOUT)
@$(call xport,UBOOT_NOFDTDIR)
else
use/uboot: ; @:
endif
features.in/uboot/image-scripts.d/00-uboot-prepare
View file @
ccf37718
...
...
@@ -19,3 +19,5 @@ label linux
fdtdir /boot/dtb
append root=LABEL=ROOT ro
$GLOBAL_BASE_BOOTARGS
$GLOBAL_UBOOT_BOOTARGS
$TTY
EOF
[
-z
"
${
GLOBAL_UBOOT_NOFDTDIR
:-}
"
]
||
sed
-i
-e
'/^[\t]*fdtdir \/boot\/dtb$/d'
/boot/extlinux/extlinux.conf
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