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
cee1c90b
You need to sign in or sign up before continuing.
Commit
cee1c90b
authored
Nov 05, 2023
by
Michael Shigorin
Committed by
Anton Midyukov
Mar 25, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e2k: improve 20-initrd-e2k-kms for integrated GPUs
parent
576dcbce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
20-initrd-e2k-kms
features.in/e2k/stage1/scripts.d/20-initrd-e2k-kms
+12
-4
No files found.
features.in/e2k/stage1/scripts.d/20-initrd-e2k-kms
View file @
cee1c90b
...
...
@@ -2,7 +2,15 @@
# ensure early kms so stage1 issues can at least be displayed on tty0;
# trying to preload the missing modules will result in image build failure
cat
>>
/etc/initrd.mk
<<
EOF
MODULES_PRELOAD += radeon
#MODULES_ADD += mga2 galcore vivante
EOF
{
echo
"MODULES_ADD += radeon"
[
"
$GLOBAL_ARCH
"
=
"e2kv4"
]
&&
find /lib/modules
-name
mga2.ko
>
/dev/null
&&
echo
"MODULES_ADD += mga2"
&&
echo
"MODULES_ADD += dw_hdmi_imx panel-lvds"
[
"
$GLOBAL_ARCH
"
=
"e2kv6"
]
&&
find /lib/modules
-name
mga25.ko
>
/dev/null
&&
echo
"MODULES_ADD += mga25"
&&
echo
"MODULES_ADD += pwm-bl panel-lvds lp872x i2c-dev panel-simple ti-sn65dsi86 i2c-gpio dw-mipi-dsi sii902x sil164 simple-bridge display-connector dw_hdmi dw_hdmi_cec"
}
>>
/etc/initrd.mk
:
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