01-17-2013 12:07 AM
1,060 ... 3637383940 ...
tools
  1. tcrider84's Avatar
    grr cant figure out why these arent getting picked up. they are added in the new kconfig for bcmdhd

    Code:
    /home/badbrains/Downloads/cm9/android/system/kernel/lge/thunderc/arch/arm/mach-msm/lge/board-thunderc-bt.c: In function 'thunderc_bluetooth_power':
    /home/badbrains/Downloads/cm9/android/system/kernel/lge/thunderc/arch/arm/mach-msm/lge/board-thunderc-bt.c:81: error: 'CONFIG_BCMDHD_GPIO_WL_REGON' undeclared (first use in this function)
    /home/badbrains/Downloads/cm9/android/system/kernel/lge/thunderc/arch/arm/mach-msm/lge/board-thunderc-bt.c:81: error: (Each undeclared identifier is reported only once
    /home/badbrains/Downloads/cm9/android/system/kernel/lge/thunderc/arch/arm/mach-msm/lge/board-thunderc-bt.c:81: error: for each function it appears in.)
    /home/badbrains/Downloads/cm9/android/system/kernel/lge/thunderc/arch/arm/mach-msm/lge/board-thunderc-bt.c:91: error: 'CONFIG_BCMDHD_GPIO_WL_RESET' undeclared (first use in this function)
    /home/badbrains/Downloads/cm9/android/system/kernel/lge/thunderc/arch/arm/mach-msm/lge/board-thunderc-bt.c: In function 'bt_power_init':
    /home/badbrains/Downloads/cm9/android/system/kernel/lge/thunderc/arch/arm/mach-msm/lge/board-thunderc-bt.c:136: error: 'CONFIG_BCMDHD_GPIO_WL_REGON' undeclared (first use in this function)
    06-28-2012 02:34 PM
  2. tcrider84's Avatar
    i found something that might work with some modification, compiling now with my fingers crossed

    https://groups.google.com/forum/?fro...s/HlesQeGv6BYJ
    06-28-2012 05:25 PM
  3. EarthnFire78's Avatar
    So I released a tool I built for building roms on Windows, and I just now realized that I have to have two IHO repo's on my build machine. One for my presonal ROM and Recovery builds and the other for when fix happen I can compile them for the Windows build system.

    I am such a nerd
    06-28-2012 08:03 PM
  4. tcrider84's Avatar
    i just figured this out. here are the list of changes LG made to the bcm4325 drivers. they need to be applied to the bcmdhd drivers i think if we want them to work with wpa_supplicant 8. each change is noted as so in each section, sorry there's no diff that i can find.

    Code:
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, Fix the getting ISCAN/SCAN results */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-15, fixed passive/active scan */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-15, fixed passive/active scan */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-07, showing the 5.5 Mbps */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S, [yoohoo@lge.com], 2009-05-13,
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S, [yoohoo@lge.com], 2009-05-13,
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-07-09, send wl_iw_send_priv_event only if receiving regular START command */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix kernel warning by timer function */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix the getting ISCAN/SCAN results */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix kernel warning by timer function */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix the getting ISCAN/SCAN results */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-29, ignore duplicated scan */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-29, ignore duplicated scan */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-05-08, to avoid duplicated add_timer */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix the getting ISCAN/SCAN results */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix the getting ISCAN/SCAN results */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix the getting ISCAN/SCAN results */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix the getting ISCAN/SCAN results */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix the getting ISCAN/SCAN results */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-08-16, fix the getting ISCAN/SCAN results */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-05-14, support private command */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-07-09, send wl_iw_send_priv_event  */
    drivers/net/wireless/bcm4325/src/wl/sys/wl_iw.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-05-14, support private command */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_custom_gpio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-05-14, support start/stop */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_custom_gpio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-05-14, support start/stop */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_custom_gpio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-07-02, add BCM4325_GPIO_WL_REGON on /off when "DRIVER START/STOP */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_custom_gpio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-05-14, support start/stop */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_custom_gpio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-07-02, add BCM4325_GPIO_WL_REGON on /off when "DRIVER START/STOP */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_cdc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-03, configs */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_cdc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-08, roam_off */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_cdc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-03, configs */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_cdc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-08, roam_off */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd.h:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-03, configs */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_sdio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_sdio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_sdio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_sdio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_sdio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_sdio.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_common.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-03, configs */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_linux.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-03-05, for gpio set in dhd_linux */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_linux.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-03-30, change ifname to wlan%d */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_linux.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-04-03, configs */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_linux.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-10, txglom patch for msm android */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_linux.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-10, txglom patch for msm android */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_linux.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-03-05, for gpio set in dhd_linux */
    drivers/net/wireless/bcm4325/src/dhd/sys/dhd_linux.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-03-05, for gpio set in dhd_linux */
    drivers/net/wireless/bcm4325/src/include/bcmsdh.h:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
    drivers/net/wireless/bcm4325/src/include/bcmsdh_sdmmc.h:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
    drivers/net/wireless/bcm4325/src/include/bcmsdbus.h:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
    drivers/net/wireless/bcm4325/src/bcmsdio/sys/bcmsdh.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
    drivers/net/wireless/bcm4325/src/bcmsdio/sys/bcmsdh_sdmmc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
    drivers/net/wireless/bcm4325/src/bcmsdio/sys/bcmsdh_sdmmc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
    drivers/net/wireless/bcm4325/src/bcmsdio/sys/bcmsdh_sdmmc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
    drivers/net/wireless/bcm4325/src/bcmsdio/sys/bcmsdh_sdmmc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
    drivers/net/wireless/bcm4325/src/bcmsdio/sys/bcmsdh_sdmmc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
    drivers/net/wireless/bcm4325/src/bcmsdio/sys/bcmsdh_sdmmc.c:/* LGE_CHANGE_S [yoohoo@lge.com] 2009-06-09, to avoid deadlock */
    I am currently working on this first list
    06-28-2012 09:51 PM
  5. tcrider84's Avatar
    good news, I've got quattrimus to compile using the stock LG modified bcm4325 drivers and wpa_supplicant_8 including the necessary lib for wpa_supplicant_8, will be testing results shortly
    sellers86 likes this.
    06-29-2012 08:43 PM
  6. sellers86's Avatar
    How'd the build go squid

    Sent from my LG-VM670 using Tapatalk
    06-30-2012 10:38 AM
  7. tcrider84's Avatar
    it built properly but still isnt working. ;/. going to give another shot at converting the bcmdhd drivers
    06-30-2012 11:20 AM
  8. sellers86's Avatar
    it built properly but still isnt working. ;/. going to give another shot at converting the bcmdhd drivers
    I meant bigsupersquid but good to know your progress. Are you sure it's even compatible?

    Sent from my LG-VM670 using Tapatalk
    06-30-2012 01:12 PM
  9. tcrider84's Avatar
    I meant bigsupersquid but good to know your progress. Are you sure it's even compatible?

    Sent from my LG-VM670 using Tapatalk
    the bcmdhd drivers are basically the bcm4325 drivers updated and without lge's extra configs. with that being said I have no idea if adding the extra configs to bcmdhd and changing the makefile to use the 4325 firmware bins will work. Im going to try adding just the config bools without the code changes so that i dont get complaints from thunderc's bluetooth files about missing gpio configs. if it doesnt work ill start adding the lge gpio driver changes.
    06-30-2012 01:27 PM
  10. sellers86's Avatar
    the bcmdhd drivers are basically the bcm4325 drivers updated and without lge's extra configs. with that being said I have no idea if adding the extra configs to bcmdhd and changing the makefile to use the 4325 firmware bins will work. Im going to try adding just the config bools without the code changes so that i dont get complaints from thunderc's bluetooth files about missing gpio configs. if it doesnt work ill start adding the lge gpio driver changes.
    never know until you try. thanks and good luck!
    06-30-2012 03:35 PM
  11. tcrider84's Avatar
    anyone happen to have a link to the kernel sources JerryScript used in BACKside IHO 7 ? i know he was using a modified version of bobzhome's rom, it has built in wifi hotspot working, id like to see his arm config for the OV
    07-02-2012 02:28 AM
  12. sellers86's Avatar
    anyone happen to have a link to the kernel sources JerryScript used in BACKside IHO 7 ? i know he was using a modified version of bobzhome's rom, it has built in wifi hotspot working, id like to see his arm config for the OV
    All of the iho roms have that working, and I don't think he modified the kernel. It was bobzhomes 3.7 GB kernel.

    Sent from my LG-VM670 using Tapatalk
    07-02-2012 09:55 AM
  13. tcrider84's Avatar
    can someone check this? id compile right now but im at work. this might solve the hotspot issue. keep in mind the hardware/libhardware_legacy/wifi/wifi.c function names have changed so they probably need updating:


    https://github.com/JerryScript/andro...9283952905426c
    07-02-2012 11:20 AM
  14. tdm's Avatar
    can someone check this? id compile right now but im at work. this might solve the hotspot issue. keep in mind the hardware/libhardware_legacy/wifi/wifi.c function names have changed so they probably need updating:


    https://github.com/JerryScript/andro...9283952905426c
    I don't think we have omap defined.
    07-02-2012 12:00 PM
  15. tcrider84's Avatar
    I don't think we have omap defined.
    even without omap check the way the java wifi service and tracker operate, its completely different. also has anyone tried using the normal rtecdc.bin as the AP_PATH as well? it looks like from the iho code if the ap mode fails it tries to use the normal wlan/STA interface

    "There are tons of cheap Android devices on the market, but the Optimus V packs a 3.2megapixel camera, 2GB onboard memory, a 600 MHz TI OMAP 3610 processor, and 3.2-inch touchscreen. "

    so, omap should be enabled, even if we dont have any of the ifdefs for it, we can add them later

    also, it looks like in cm7 if there was no wireless ap path it fell back on the tiap_drv ap driver.. need to check if thats being compiled and if not add it. at the moment no fallback is set:

    https://github.com/CyanogenMod/andro...ad/wifi/wifi.c
    07-02-2012 12:27 PM
  16. tcrider84's Avatar
    so I've decided to suck it up and just build my own rom. atm its very heavily based off bobzhome's and tdm's roms mixed and jarbled together. it will be cm9 and strictly for the vm670. i figured im changing too many things in too many different places from too many sources including myself.. might as well pool all my resources together. and of course once everything is sorted out all my sources will be available. its just a pain in the butt atm to organize everything ive changed
    Hindolam likes this.
    07-03-2012 03:39 AM
  17. BobZhome's Avatar
    so I've decided to suck it up and just build my own rom. atm its very heavily based off bobzhome's and tdm's roms mixed and jarbled together. it will be cm9 and strictly for the vm670. i figured im changing too many things in too many different places from too many sources including myself.. might as well pool all my resources together. and of course once everything is sorted out all my sources will be available. its just a pain in the butt atm to organize everything ive changed
    You have to be careful from what branch your pulling in changes from...I saw that you pulled in changes from my Gingerbread branch, when your building ICS
    07-03-2012 11:30 AM
  18. tcrider84's Avatar
    You have to be careful from what branch your pulling in changes from...I saw that you pulled in changes from my Gingerbread branch, when your building ICS
    yeah i got it sorted last night. some of the stuff i pulled was to compare with iho to see what changes were made ;D. The most trouble I had was sorting out old cm9 ics forks with currently used ones
    07-03-2012 12:26 PM
  19. tcrider84's Avatar
    is there anything that can be done to compile faster? I'm running a quad core processor, 20gb ram and a corsair force-gt ssd drive and this thing still feels like its dragging its *** >.>. im just using
    Code:
    . build/envsetup.sh && brunch VM670
    07-03-2012 01:57 PM
  20. sellers86's Avatar
    is there anything that can be done to compile faster? I'm running a quad core processor, 20gb ram and a corsair force-gt ssd drive and this thing still feels like its dragging its *** >.>. im just using
    Code:
    . build/envsetup.sh && brunch VM670
    Use make -j5 bacon. It tells it how many parallel processes can be used, and it compiles faster for me.
    07-03-2012 02:09 PM
  21. BobZhome's Avatar
    is there anything that can be done to compile faster? I'm running a quad core processor, 20gb ram and a corsair force-gt ssd drive and this thing still feels like its dragging its *** >.>. im just using
    Code:
    . build/envsetup.sh && brunch VM670
    I'm server:
    Code:
    Motherboard:
          CPU Type                                          QuadCore Intel Core i5-2400, 3200 MHz (32 x 100)
          Motherboard Name                                  Biostar TZ77B  (2 PCI, 2 PCI-E x1, 2 PCI-E x16, 4 DDR3 DIMM, Audio, Video, Gigabit LAN)
          Motherboard Chipset                               Intel Panther Point Z77, Intel Sandy Bridge
          System Memory                                     16352 MB  (DDR3-1333 DDR3 SDRAM)
          DIMM1: G Skill F3-1333C9-8GAO                     8 GB DDR3-1333 DDR3 SDRAM  (8-8-8-22 @ 609 MHz)  (7-7-7-20 @ 533 MHz)  (6-6-6-17 @ 457 MHz)  (5-5-5-14 @ 380 MHz)
          DIMM3: G Skill F3-1333C9-8GAO                     8 GB DDR3-1333 DDR3 SDRAM  (8-8-8-22 @ 609 MHz)  (7-7-7-20 @ 533 MHz)  (6-6-6-17 @ 457 MHz)  (5-5-5-14 @ 380 MHz)
          BIOS Type                                         AMI (02/14/2012)
    takes about 45 minutes to compile ICS
    07-03-2012 02:14 PM
  22. sellers86's Avatar
    I'm server:
    Code:
    Motherboard:
          CPU Type                                          QuadCore Intel Core i5-2400, 3200 MHz (32 x 100)
          Motherboard Name                                  Biostar TZ77B  (2 PCI, 2 PCI-E x1, 2 PCI-E x16, 4 DDR3 DIMM, Audio, Video, Gigabit LAN)
          Motherboard Chipset                               Intel Panther Point Z77, Intel Sandy Bridge
          System Memory                                     16352 MB  (DDR3-1333 DDR3 SDRAM)
          DIMM1: G Skill F3-1333C9-8GAO                     8 GB DDR3-1333 DDR3 SDRAM  (8-8-8-22 @ 609 MHz)  (7-7-7-20 @ 533 MHz)  (6-6-6-17 @ 457 MHz)  (5-5-5-14 @ 380 MHz)
          DIMM3: G Skill F3-1333C9-8GAO                     8 GB DDR3-1333 DDR3 SDRAM  (8-8-8-22 @ 609 MHz)  (7-7-7-20 @ 533 MHz)  (6-6-6-17 @ 457 MHz)  (5-5-5-14 @ 380 MHz)
          BIOS Type                                         AMI (02/14/2012)
    takes about 45 minutes to compile ICS
    I have a 2.7 ghz dual core with 8gb of corsair ddr3 ram and a 500gb HD and it takes me about 1 1/2 to 2 hours to compile.

    Sent from my LG-VM670 using Tapatalk
    07-03-2012 02:28 PM
  23. tcrider84's Avatar
    i'm actually waiting on my new processor to come in >.> amd 8150 8 core, liquid cooled. mmmmmm
    07-03-2012 02:56 PM
  24. tcrider84's Avatar
    Use make -j5 bacon. It tells it how many parallel processes can be used, and it compiles faster for me.
    DUDDDDEEE. got my new processor. no joke make -j10 bacon--7-8 minute build.

    you rock(although I shouldve known to use the make -jX option)
    sellers86 likes this.
    07-04-2012 12:57 AM
  25. tdm's Avatar
    DUDDDDEEE. got my new processor. no joke make -j10 bacon--7-8 minute build.

    you rock(although I shouldve known to use the make -jX option)
    Jealous. Hey LeslieAnn.... j/k

    Now you need to stripe a couple drives together and the build will be done before you hit enter, lol.
    07-04-2012 01:04 AM
1,060 ... 3637383940 ...
LINK TO POST COPIED TO CLIPBOARD