compulab-yokneam / meta-bsp-imx8mp

13 stars 13 forks source link

Adding kernel command-line parameters #21

Closed samey3 closed 9 months ago

samey3 commented 1 year ago

Hello, I've been trying to add some kernel command-line parameters in order to enable IO polling for NVMes (nvme.poll_queues=1), however I have had no luck with this. This is on ucm-imx8m-plus-r2.0 branch.

What I've tried:

'APPEND' seems like the standard way to do this, but it seems like these changes are not taking affect during the build. It appears that perhaps a script is reverting any changes I made to the uboot fields?

I have been digging into this kernel and compulab's uboot to try and figure out what is going on, but can't seem to get it to work. Is there an alternative recommended way to achieve setting custom kernel command-line parameters?

Thanks for any help!

vraevsky commented 9 months ago

Please follow the instructions: Stop in U-boot and issue: setenv boot_opt nvme.poll_queues=1; saveenv; run bsp_bootcmd