Skip to content

Commit

Permalink
changes blacklist
Browse files Browse the repository at this point in the history
  • Loading branch information
Seshpenguin committed Nov 15, 2023
1 parent 2cc5334 commit 8186b1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions distro-files/initramfs/init
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ else

# remove initcall_blacklist=* from cmdline
cmdline=$(echo $cmdline | sed 's/initcall_blacklist=[^ ]*//g')
cmdline=$(echo $cmdline | sed 's/modprobe.blacklist=[^ ]*//g')

cmdline="$cmdline pl2.stage2"
kexec -l /sysroot/squishroot/opt/device-support/$deviceinfo_codename/vmlinuz* --initrd=/sysroot/squishroot/opt/device-support/$deviceinfo_codename/initramfs --append="$cmdline"
Expand Down
2 changes: 1 addition & 1 deletion src-extra/image-gen/image-gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const buildTargetStandardPMOSDeviceImage = (targetDevice: string) => {
cd work
sudo abootimg -x ../boot.img
sudo sed -i "s/bootsize.*/bootsize = 0xff0000/g" bootimg.cfg
sudo sed -i "s/cmdline.*/cmdline = console=tty0 PMOS_NO_OUTPUT_REDIRECT initcall_blacklist=remoteproc_init,geni_i2c_driver_init/g" bootimg.cfg
sudo sed -i "s/cmdline.*/cmdline = console=tty0 PMOS_NO_OUTPUT_REDIRECT initcall_blacklist=geni_i2c_driver_init modprobe.blacklist=qcom_common/g" bootimg.cfg
sudo abootimg --create boot.img -f bootimg.cfg -k zImage -r ../initramfs
sudo mv boot.img ../boot.img
popd`);
Expand Down

0 comments on commit 8186b1c

Please sign in to comment.