Difference between revisions of "Kernel Reconfiguration"
m (Added fix if menuconfig flashes by) |
|||
Line 9: | Line 9: | ||
-GNOME_TERMCMDRUN = '${GNOME_TERMCMD} -x ${SHELLRCCMD}' | -GNOME_TERMCMDRUN = '${GNOME_TERMCMD} -x ${SHELLRCCMD}' | ||
+GNOME_TERMCMDRUN = '${GNOME_TERMCMD} -x ${SHELLCMDS}' | +GNOME_TERMCMDRUN = '${GNOME_TERMCMD} -x ${SHELLCMDS}' | ||
+ | </pre></code> | ||
+ | |||
+ | NOTE: If you don't have gnome-terminal installed and wish to use xterm instead, use: | ||
+ | <code><pre> | ||
+ | -GNOME_TERMCMD = 'gnome-terminal --disable-factory -t "$TERMWINDOWTITLE"' | ||
+ | -GNOME_TERMCMDRUN = '${GNOME_TERMCMD} -x ${SHELLRCCMD}' | ||
+ | +GNOME_TERMCMD = 'xterm -title "$TERMWINDOWTITLE"' | ||
+ | +GNOME_TERMCMDRUN = '${GNOME_TERMCMD} -e ${SHELLCMDS}' | ||
</pre></code> | </pre></code> | ||
Revision as of 14:47, 23 July 2008
To reconfigure the kernel with the current state of Gumstix's OE things, you will need gnome-terminal. Run this command: bitbake gumstix-kernel -c menuconfig
NOTE: You have to have ncurses and ncurses-dev installed in order for the MENUCONFIG to actually work.
NOTE: If a screen flashes infront of you and dissapears edit $OE_HOME/org.openembedded.snapshot/conf/bitbake.conf to the following
-GNOME_TERMCMDRUN = '${GNOME_TERMCMD} -x ${SHELLRCCMD}'
+GNOME_TERMCMDRUN = '${GNOME_TERMCMD} -x ${SHELLCMDS}'
NOTE: If you don't have gnome-terminal installed and wish to use xterm instead, use:
-GNOME_TERMCMD = 'gnome-terminal --disable-factory -t "$TERMWINDOWTITLE"'
-GNOME_TERMCMDRUN = '${GNOME_TERMCMD} -x ${SHELLRCCMD}'
+GNOME_TERMCMD = 'xterm -title "$TERMWINDOWTITLE"'
+GNOME_TERMCMDRUN = '${GNOME_TERMCMD} -e ${SHELLCMDS}'
The kernel config information is kept in
$OE_HOME/com.gumstix.collection/packages/linux/gumstix-kernel-2.6.XX/gumstix-custom-YYYYY/defconfig
where XX is the current default kernel version for your bitbake environment. That nugget is set in the
$OE_HOME/com.gumstix.collection/conf/machine/include/gumstix.inc file, under the PREFERRED_VERSION_gumstix-kernel
and YYYYY is usually one of connex/basix/verdex. That nugget comes from
$OE_HOME/build/conf/auto.conf
Once you've actually got the kernel setup you want, the following commands will rebuild and repackage the new kernel and create new images for you:
bitbake -c rebuild gumstix-kernel
bitbake -c rebuild task-base-gumstix
bitbake gumstix-basic-image