Reputation: 1287
U-boot passes kernel command-line parameters. In my requirement I want to edit these parameters in the kernel source tree and don't want to change U-boot code. I am using 2.6.35 kernel.
So please guide me which part of the kernel source I have to check for this.
Upvotes: 2
Views: 7798
Reputation: 2382
You can change if from kernel config:-
+CONFIG_CMDLINE="foo=1"
+CONFIG_CMDLINE_EXTEND=y
Check runtime:-
$cat /proc/cmdline
Upvotes: 0
Reputation: 10947
Follow this procedure:
make menuconfig
bootargs
to be ignoredUpvotes: 5