[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to add kernel boot command line args?



On Fri, 10 Feb 2017 14:06:20 -0800, Martin Michlmayr wrote:

>> I don't know about that specific board, but in general, you can edit
>> /etc/default/flash-kernel and add the command line parameters there,
>> then run flash-kernel and reboot.
>
>That won't work with the QNAP devices which don't use the u-boot
>scripts.

I just found /usr/share/doc/u-boot-tools/examples/*.config, and copying the
appropriate config file to /etc/fw_env.config seems to make fw_printenv and
fw_setenv work.  Is this the recommended approach for QNAP devices?  Is
there a better way?


Reply to: