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
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
e5b42f45
Commit
e5b42f45
authored
Jun 30, 2020
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uboot: Use BASE_BOOTARGS
parent
222a8402
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
config.mk
features.in/uboot/config.mk
+1
-2
00-uboot-prepare
features.in/uboot/image-scripts.d/00-uboot-prepare
+4
-6
No files found.
features.in/uboot/config.mk
View file @
e5b42f45
...
...
@@ -9,5 +9,4 @@ endif
use/uboot: use/kernel/initrd-setup $(UBOOT_TTY)
@$(call add_feature)
@$(call add,THE_LISTS,singleboard-tools)
@$(call try,TTY_DEV,tty1)
@$(call xport,TTY_DEV)
@$(call add,BASE_BOOTARGS,cma=192M)
features.in/uboot/image-scripts.d/00-uboot-prepare
View file @
e5b42f45
#!/bin/sh
if
[
-n
"
$GLOBAL_TTY_RATE
"
]
;
then
TTY
=
"
$GLOBAL_TTY_DEV
"
,
"
$GLOBAL_TTY_RATE
"
else
TTY
=
"
$GLOBAL_TTY_DEV
"
fi
TTY
=
echo
$GLOBAL_BASE_BOOTARGS
|
grep
console
=
||
TTY
=
'console=tty1'
# installkernel relies on existing extlinux.conf
# with filled in `default' label
...
...
@@ -19,5 +17,5 @@ label linux
kernel /boot/vmlinuz
initrd /boot/initrd.img
fdtdir /boot/dtb
append root=LABEL=ROOT ro
cma=192M console=
$TTY
append root=LABEL=ROOT ro
$TTY
$GLOBAL_BASE_BOOTARGS
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