mirror of
https://github.com/samueldr/wip-pinebook-pro.git
synced 2024-11-05 18:49:41 +01:00
Add modules for stage-1 display init
This commit is contained in:
parent
6c1d69fef3
commit
6b9e96f638
1 changed files with 33 additions and 0 deletions
|
@ -17,6 +17,39 @@ in
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_pinebookpro;
|
boot.kernelPackages = pkgs.linuxPackages_pinebookpro;
|
||||||
|
|
||||||
|
# This list of modules is not entirely minified, but represents
|
||||||
|
# a set of modules that is required for the display to work in stage-1.
|
||||||
|
# Further minification can be done, but requires trial-and-error mainly.
|
||||||
|
boot.initrd.kernelModules = [
|
||||||
|
# Rockchip modules
|
||||||
|
"rockchip_rga"
|
||||||
|
"rockchip_saradc"
|
||||||
|
"rockchip_thermal"
|
||||||
|
"rockchipdrm"
|
||||||
|
|
||||||
|
# GPU/Display modules
|
||||||
|
"analogix_dp"
|
||||||
|
"cec"
|
||||||
|
"drm"
|
||||||
|
"drm_kms_helper"
|
||||||
|
"dw_hdmi"
|
||||||
|
"dw_mipi_dsi"
|
||||||
|
"gpu_sched"
|
||||||
|
"panel_simple"
|
||||||
|
"panfrost"
|
||||||
|
"pwm_bl"
|
||||||
|
|
||||||
|
# USB / Type-C related modules
|
||||||
|
"fusb302"
|
||||||
|
"tcpm"
|
||||||
|
"typec"
|
||||||
|
|
||||||
|
# Misc. modules
|
||||||
|
"cw2015_battery"
|
||||||
|
"gpio_charger"
|
||||||
|
"rtc_rk808"
|
||||||
|
];
|
||||||
|
|
||||||
sdImage = {
|
sdImage = {
|
||||||
manipulateImageCommands = ''
|
manipulateImageCommands = ''
|
||||||
(PS4=" $ "; set -x
|
(PS4=" $ "; set -x
|
||||||
|
|
Loading…
Reference in a new issue