[SOLVED]NanoPiM2A: UBoot kern cmnd line with 'fw_setenv'
Posted: Sat Jan 13, 2018 10:26 am
Hello all,
I'm trying to change the boot command line parameters on the Nanopi, in order to isolate one of the CPUs.
This is pretty straightforward on an x86 machine via the GRUB line:
GRUB_CMDLINE_LINUX_DEFAULT="isolcpus=1"
However on Arm-Uboot you have to do it with the 'fw_setenv' utility. But the setup is quite complicated, as you first have to create the config files for the utility itself. And those parameters really have to match the system -i.e. the exact location of uboot on the sd card or something like that, or bad things will happen.
My question, has anyone successfully used 'fw_setenv' with the NanoPi boards? A small clarification or example would be really appreciated. Again I just want to set the 'isolcpus' option.
Thank you very much
Note: I also tried the boot.cmd ->mkimage -> boot.src scheme. It 'worked' as in no errors were shown and the .scr file was created (under /boot) but it had no effect
I'm trying to change the boot command line parameters on the Nanopi, in order to isolate one of the CPUs.
This is pretty straightforward on an x86 machine via the GRUB line:
GRUB_CMDLINE_LINUX_DEFAULT="isolcpus=1"
However on Arm-Uboot you have to do it with the 'fw_setenv' utility. But the setup is quite complicated, as you first have to create the config files for the utility itself. And those parameters really have to match the system -i.e. the exact location of uboot on the sd card or something like that, or bad things will happen.
My question, has anyone successfully used 'fw_setenv' with the NanoPi boards? A small clarification or example would be really appreciated. Again I just want to set the 'isolcpus' option.
Thank you very much
Note: I also tried the boot.cmd ->mkimage -> boot.src scheme. It 'worked' as in no errors were shown and the .scr file was created (under /boot) but it had no effect
