From: Brian J. <bri...@ya...> - 2008-03-26 19:08:08
|
Hi All, So the quest continues... I have the verdex-xm4 with robostix and netwifimicroSD. I have a 2GB microSD card inserted in the microSD slot. My gumstix is now booting and I can ssh in through eth0. I am trying to build a custom image by setting up a parallel user.collection directory. I now have the following configuration file at user.collection/conf/machines/gumstix-custom-verdex.conf and a new recipe file: user.collection/packages/images/gumstix-zeletron-image.bb Here is my config file in user.collection/conf/machine/.... ----------------------------------------- # # Use this file as a starting point for your custom gumstix configuration # Edit it to reflect your hardware setup and then save it a parallel location in user.collection MACHINE_FEATURES += "verdex" MACHINE_FEATURES += "iwmmxt" require conf/machine/include/gumstix.inc require conf/machine/include/tune-xscale.inc # # Your flash size = Total flash (in MB) - 1 (for linux kernel partition) ROOT_FLASH_SIZE = "15" #ROOT_FLASH_SIZE = "31" # # Enable use of virtual terminal for LCD on tty1 if USE_VT = "1" #USE_VT = "0" USE_VT = "1" SYSVINIT_ENABLED_GETTYS = "1" # # Uncomment features that your board set supports MACHINE_FEATURES += "usbhost" #MACHINE_FEATURES += "usbgadget" MACHINE_FEATURES += "i2c" #MACHINE_FEATURES += "spi" MACHINE_FEATURES += "serial" #MACHINE_FEATURES += "bluetooth" #MACHINE_FEATURES += "sound" # if you enable robostix you will need to disable both "lcd" and "touchscreen" features MACHINE_FEATURES += "robostix" #MACHINE_FEATURES += "lcd" #MACHINE_FEATURES += "rgb16" #MACHINE_FEATURES += "rgb18" #MACHINE_FEATURES += "touchscreen" #MACHINE_FEATURES += "keyboard" MACHINE_FEATURES += "pcmcia" MACHINE_FEATURES += "mmc" MACHINE_FEATURES += "wifi" MACHINE_FEATURES += "ethernet" MACHINE_FEATURES += "ext2" MACHINE_FEATURES += "fat" # enable one of the following if you want to target build for uimage/rootfs on mmc/microSD or CF #MACHINE_FEATURES += "mmcroot" #MACHINE_FEATURES += "cfroot" # # note: selection of MACHINE_FEATURES above will automatically include necessary kernel modules # for those features via task-base-gumstix. Include below any extra kernel modules that you want installed #MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "kernel-module-xxxxxxx" # # Uncomment or add kernel modules that should be autoloaded module_autoload_proc_gpio = 'proc_gpio' module_autoload_pcmcia = ${@base_contains('MACHINE_FEATURES', 'pcmcia', 'pcmcia', '',d)} module_autoload_pxa2xx_cs = ${@base_contains('MACHINE_FEATURES', 'pcmcia', 'pxa2xx_cs', '',d)} module_autoload_pxamci = ${@base_contains('MACHINE_FEATURES', 'mmc', 'pxamci', '',d)} module_autoload_mmc_block = ${@base_contains('MACHINE_FEATURES', 'mmc', 'mmc_block', '',d)} module_autoload_ethernet = ${@base_contains('MACHINE_FEATURES', 'ethernet', 'ethernet', '',d)} module_autoload_ohci-hcd = ${@base_contains('MACHINE_FEATURES', 'usbhost', 'ohci-hcd', '',d)} module_autoload_gumstix_gadget = ${@base_contains('MACHINE_FEATURES', 'usbgadget', 'gumstix_gadget', '',d)} #module_autoload_g_file_storage = ${@base_contains('MACHINE_FEATURES', 'usbgadget', 'g_file_storage', '',d)} module_autoload_g_ether = ${@base_contains('MACHINE_FEATURES', 'usbgadget', 'g_ether', '',d)} #module_autoload_g_serial = ${@base_contains('MACHINE_FEATURES', 'usbgadget', 'g_serial', '',d)} module_autoload_tsc2003 = ${@base_contains('MACHINE_FEATURES', 'touchscreen','tsc2003', '',d)} module_autoload_evdev = ${@base_contains('MACHINE_FEATURES', 'touchscreen','evdev', '',d)} ---------------------------------------- I have commented out everything I don't need such as bluetooth and touchscreen. And here is my recipe in user.collection/packages/images/.... ----------------------------------------- require ${GUMSTIXTOP}/com.gumstix.collection/packages/images/gumstix-basic-image.bb PR="r0" IMAGE_INSTALL += " \ cron \ ntp \ ntpdate \ boa \ motd \ www-content \ mtd-utils \ " ----------------------------------------- I am trying to rebuild the file system and kernel so that they use my new config file in the user.collection directory. I've tried executing 'bitbake -c rebuild gumstix-kernel' and 'bitbake gumstix-zeletron-image'. Each time I follow the reflashing instructions in the getting started documents and reboot gumstix. Every time I reboot it seems to be checking for touchscreen and bluetooth, etc, each of which has been commented out of the conf file. Why? This leads me to believe that bitbake is not overriding the original conf file. What am I doing wrong? Do I need to explicitly tell it to use my new conf file when rebuilding the kernel? Do I need to edit a bitbake configuration file to first check user.collection or something? Any help would be greatly appreciated. Thanks, Brian Joly ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ |