Change kernel cmdline by edit /etc/default/grub failed

jetpack : 4.4.1 model: jetson nano developer kit

  1. i install grub2 at first. and copy /usr/share/grub/default/grub to /etc/default/grub.
  2. i edit /etc/default/grub: change GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash pci=nomsi pcie_aspm=off”
  3. i run cmd sudo update-grub.
  4. reboot.
    but /proc/cmdline don’t changed. and i run dmesg | grep Kernel , the Kernel command line don’t changed.

GRUB is for a desktop PC architecture. No such thing on ARM embedded systems since they use a different bootloader (GRUB requires a system with a BIOS, embedded does not have a BIOS).

There is actually more to the story, but what you are interested in is the “APPEND” key/value pair in “/boot/extlinux/extlinux.conf”. Adding “quiet splash pci=nomsi pcie_aspm=off” there would immediately cause the arguments to be passed to the kernel. There will actually be some inherited command line arguments as well, and those start in the device tree for earlier boot stages (prior to reaching the U-Boot bootloader), but you won’t need to mess with the device tree for those changes. If you were wanting to change behavior prior to the bootloader running, then you would need to deal with the device tree as well.

thanks for your reply, it’s work.