new module list generation function for Initramfs (#3447)
* new module list generation function for Initramfs * fix Co-authored-by: Igor Pečovnik <igorpecovnik@users.noreply.github.com>
This commit is contained in:
parent
7d69cfeb6e
commit
e7267c3fee
50
config/modules/jetson-nano-current
Normal file
50
config/modules/jetson-nano-current
Normal file
@ -0,0 +1,50 @@
|
||||
tls
|
||||
fuse
|
||||
binfmt_misc
|
||||
sch_fq_codel
|
||||
zram
|
||||
joydev
|
||||
rfkill
|
||||
l2tp_ppp
|
||||
l2tp_netlink
|
||||
l2tp_core
|
||||
ip6_udp_tunnel
|
||||
udp_tunnel
|
||||
pppox
|
||||
ppp_generic
|
||||
slhc
|
||||
xfrm_user
|
||||
xfrm_algo
|
||||
uas
|
||||
snd_soc_tegra210_dmic
|
||||
snd_soc_tegra210_admaif
|
||||
tegra_video
|
||||
snd_soc_tegra210_i2s
|
||||
snd_soc_tegra_pcm
|
||||
v4l2_dv_timings
|
||||
videobuf2_dma_contig
|
||||
videobuf2_memops
|
||||
snd_soc_tegra210_ahub
|
||||
videobuf2_v4l2
|
||||
videobuf2_common
|
||||
tegra210_adma
|
||||
videodev
|
||||
mc
|
||||
tegra_drm
|
||||
snd_soc_tegra_audio_graph_card
|
||||
crct10dif_ce
|
||||
snd_soc_audio_graph_card
|
||||
snd_soc_simple_card_utils
|
||||
snd_hda_codec_hdmi
|
||||
tegra_aconnect
|
||||
pwm_fan
|
||||
tegra_xudc
|
||||
spi_tegra210_quad
|
||||
snd_hda_tegra
|
||||
snd_hda_codec
|
||||
snd_hwdep
|
||||
snd_hda_core
|
||||
r8169
|
||||
at24
|
||||
realtek
|
||||
host1x
|
||||
53
config/modules/jetson-nano-edge
Normal file
53
config/modules/jetson-nano-edge
Normal file
@ -0,0 +1,53 @@
|
||||
xfrm_user
|
||||
xfrm_algo
|
||||
l2tp_ppp
|
||||
l2tp_netlink
|
||||
l2tp_core
|
||||
ip6_udp_tunnel
|
||||
udp_tunnel
|
||||
pppox
|
||||
ppp_generic
|
||||
slhc
|
||||
rfkill
|
||||
tegra_video
|
||||
joydev
|
||||
videobuf2_dma_contig
|
||||
v4l2_dv_timings
|
||||
videobuf2_memops
|
||||
videobuf2_v4l2
|
||||
videobuf2_common
|
||||
videodev
|
||||
tegra_drm
|
||||
snd_hda_codec_hdmi
|
||||
mc
|
||||
snd_hda_tegra
|
||||
snd_soc_tegra210_mixer
|
||||
snd_soc_tegra210_admaif
|
||||
snd_soc_tegra210_adx
|
||||
snd_soc_tegra210_amx
|
||||
snd_soc_tegra210_dmic
|
||||
snd_soc_tegra210_i2s
|
||||
snd_soc_tegra210_sfc
|
||||
snd_soc_tegra210_mvc
|
||||
snd_soc_tegra_pcm
|
||||
snd_hda_codec
|
||||
snd_soc_tegra_audio_graph_card
|
||||
crct10dif_ce
|
||||
snd_soc_audio_graph_card
|
||||
tegra_xudc
|
||||
at24
|
||||
snd_hda_core
|
||||
snd_soc_simple_card_utils
|
||||
tegra210_adma
|
||||
host1x
|
||||
pwm_fan
|
||||
snd_soc_tegra210_ahub
|
||||
snd_hwdep
|
||||
zram
|
||||
sch_fq_codel
|
||||
binfmt_misc
|
||||
fuse
|
||||
uas
|
||||
spi_tegra210_quad
|
||||
tegra_aconnect
|
||||
r8169
|
||||
18
config/modules/jetson-nano-legacy
Normal file
18
config/modules/jetson-nano-legacy
Normal file
@ -0,0 +1,18 @@
|
||||
l2tp_ppp
|
||||
l2tp_netlink
|
||||
l2tp_core
|
||||
pppox
|
||||
ppp_generic
|
||||
slhc
|
||||
cpufreq_interactive
|
||||
cpufreq_conservative
|
||||
cpufreq_powersave
|
||||
cpufreq_userspace
|
||||
cpufreq_ondemand
|
||||
zram
|
||||
sch_fq_codel
|
||||
binfmt_misc
|
||||
ip_tables
|
||||
x_tables
|
||||
ipv6
|
||||
spidev
|
||||
@ -28,6 +28,7 @@ case $BRANCH in
|
||||
KERNELPATCHDIR='media-'$BRANCH
|
||||
LINUXFAMILY=media
|
||||
LINUXCONFIG='linux-media-'$BRANCH
|
||||
MODULES_INITRD="jetson-nano-current"
|
||||
;;
|
||||
|
||||
edge)
|
||||
@ -36,6 +37,7 @@ case $BRANCH in
|
||||
KERNELPATCHDIR='media-'$BRANCH
|
||||
LINUXFAMILY=media
|
||||
LINUXCONFIG='linux-media-'$BRANCH
|
||||
MODULES_INITRD="jetson-nano-edge"
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
@ -705,6 +705,12 @@ install_distribution_specific()
|
||||
|
||||
esac
|
||||
|
||||
# use list modules INITRAMFS
|
||||
if [ -f "${SRC}"/config/modules/"${MODULES_INITRD}" ]; then
|
||||
display_alert "Use file list modules INITRAMFS" "${MODULES_INITRD}"
|
||||
sed -i "s/^MODULES=.*/MODULES=list/" "${SDCARD}"/etc/initramfs-tools/initramfs.conf
|
||||
cat "${SRC}"/config/modules/"${MODULES_INITRD}" >> "${SDCARD}"/etc/initramfs-tools/modules
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user