GPL Source for Huawei S7 Ideos Wifi Broadcom BCM4329, Android 2.1

Discussion in 'Huawei Ideos S7 Development' started by xaueious, Feb 15, 2011.

  1. xaueious

    xaueious Administrator Staff Member

    Joined:
    Jul 9, 2010
    Messages:
    3,483
    Likes Received:
    435
    Trophy Points:
    222
    Location:
    Canada
    Tablet / Device:
    Asus Transformer TF300, Huwaei Ideos S7-104, HSG X5A, (Past APAD IMX515, APAD RK2808, RK2818 RT7)
  2. SikYou

    SikYou Member

    Joined:
    Dec 25, 2010
    Messages:
    180
    Likes Received:
    17
    Trophy Points:
    87
    Location:
    Detroit
    Tablet / Device:
    S7
    Funny how this pops up just a day or 2 after you call them out on not being GPL compliant.

    Sent from my S7
     
  3. Balcora

    Balcora Member

    Joined:
    Feb 6, 2011
    Messages:
    59
    Likes Received:
    15
    Trophy Points:
    72
    Location:
    Australia
    Tablet / Device:
    Huawei S7 (Telstra T-Touch Branded, with modded OS)
    I know right, but I'm not fussed lulz should be a good read, in other news I broke some more of the bootloader, will post the details in the detailed info thread

    Sent from my S7
     
  4. xaueious

    xaueious Administrator Staff Member

    Joined:
    Jul 9, 2010
    Messages:
    3,483
    Likes Received:
    435
    Trophy Points:
    222
    Location:
    Canada
    Tablet / Device:
    Asus Transformer TF300, Huwaei Ideos S7-104, HSG X5A, (Past APAD IMX515, APAD RK2808, RK2818 RT7)
    Took a quick look and compared to AOSP, and this is just the Eclair release of the BCM4329 driver, version 4.218.161.0

    My Singapore firmware actually uses 4.218.205.0.

    modinfo on my dhd.ko
    I don't even see it http://android.git.kernel.org/?p=platform/hardware/broadcom/wlan.git;a=shortlog

    Feeling that this doesn't actually matter...
     
  5. xaueious

    xaueious Administrator Staff Member

    Joined:
    Jul 9, 2010
    Messages:
    3,483
    Likes Received:
    435
    Trophy Points:
    222
    Location:
    Canada
    Tablet / Device:
    Asus Transformer TF300, Huwaei Ideos S7-104, HSG X5A, (Past APAD IMX515, APAD RK2808, RK2818 RT7)
    Basically I got as far as building a module dhd.ko, but I don't know what to do with the stack/back trace after it loads a whole bunch of stuff.

    Can we request Huawei for a Makefile, or do we do this by trial and error? Also, is it okay for us to request the sources distributed for the ones associated with our firmware?
     
  6. Balcora

    Balcora Member

    Joined:
    Feb 6, 2011
    Messages:
    59
    Likes Received:
    15
    Trophy Points:
    72
    Location:
    Australia
    Tablet / Device:
    Huawei S7 (Telstra T-Touch Branded, with modded OS)
    We could create our own; but as for the module being the old one; we can email them regarding breach of GPL for not releasing up to date source.

    Some companies seem to believe that "releasing source" means they can just release the pre-alpha code and that negates their GPL dues.
    But no, its GPL and specifically with the kernel, its supposed to be decent availability of the active release code, they don't necissarily have to give experimental code, but once it is released as a compiled module for use... i.e. in the S7, it needs to be made available.
     
  7. xaueious

    xaueious Administrator Staff Member

    Joined:
    Jul 9, 2010
    Messages:
    3,483
    Likes Received:
    435
    Trophy Points:
    222
    Location:
    Canada
    Tablet / Device:
    Asus Transformer TF300, Huwaei Ideos S7-104, HSG X5A, (Past APAD IMX515, APAD RK2808, RK2818 RT7)
    I managed to compile dhd.ko from copying the BCM4329 off cm-kernel and tweaking the Makefile, but I get a stack/back trace which I do not know how to deal with.

    Emailing Huawei first...
     
  8. rictec

    rictec Member

    Joined:
    Jan 30, 2011
    Messages:
    127
    Likes Received:
    24
    Trophy Points:
    87
    anyone tryed download and compile the broadcom wifi driver that was put online ?

    rictec
     
  9. jerliu

    jerliu Member

    Joined:
    Feb 21, 2011
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    60
    What is the broadcom driver for?
     
  10. l_n

    l_n Senior Member

    Joined:
    Dec 28, 2010
    Messages:
    788
    Likes Received:
    99
    Trophy Points:
    102
    Location:
    TN, USA
    Tablet / Device:
    Mid7015
    It's a wifi chipset.
     
  11. xaueious

    xaueious Administrator Staff Member

    Joined:
    Jul 9, 2010
    Messages:
    3,483
    Likes Received:
    435
    Trophy Points:
    222
    Location:
    Canada
    Tablet / Device:
    Asus Transformer TF300, Huwaei Ideos S7-104, HSG X5A, (Past APAD IMX515, APAD RK2808, RK2818 RT7)
    They got use this now: S7_Broadcom_BCM4329_4.218.205. 0_Open_Source
    IDEOS S7 - Huawei Device Co., Ltd..

    Still probably cannot get it to compile. I asked pershoot and he told me to look at the GPIO stuff, which I do not really know how to start with.

    Will download and inspect anyways.

    This source code was not on AOSP, so maybe this has what we need.
     
  12. xaueious

    xaueious Administrator Staff Member

    Joined:
    Jul 9, 2010
    Messages:
    3,483
    Likes Received:
    435
    Trophy Points:
    222
    Location:
    Canada
    Tablet / Device:
    Asus Transformer TF300, Huwaei Ideos S7-104, HSG X5A, (Past APAD IMX515, APAD RK2808, RK2818 RT7)
    I got dhd.ko compiled and working with netfilter/iptables, but wifi tether freezes the S7 immediately. Droidwall is confirmed to work though, so at least we have that much working.

    Anyways we can do more with the kernel now...

    Do not have working git, but for now I just used https://github.com/cleaton/liquid-chocolate/tree/master/drivers/net/wireless/bcm4329 and replaced it with Huawei's files

    I also coded in the nvram and firmware paths.
     
    • Like Like x 2
  13. pvella

    pvella Senior Member

    Joined:
    Dec 20, 2010
    Messages:
    392
    Likes Received:
    38
    Trophy Points:
    102
    Location:
    Melbourne
    Tablet / Device:
    Huawei S7
    Sounds like we are getting closer. Great work.
     
  14. xaueious

    xaueious Administrator Staff Member

    Joined:
    Jul 9, 2010
    Messages:
    3,483
    Likes Received:
    435
    Trophy Points:
    222
    Location:
    Canada
    Tablet / Device:
    Asus Transformer TF300, Huwaei Ideos S7-104, HSG X5A, (Past APAD IMX515, APAD RK2808, RK2818 RT7)
    I want someone to clean this up. Just because this works, does not mean this is without bugs. This was a lot of copy pasting and not a whole lot of thinking.

    Drop this into the kernel source tree at:
    Code:
    /drivers/net/wireless/bcm4329
    Download Multiupload

    modify
    Code:
    /drivers/net/wireless/Kconfig
    and add:
    Code:
    source "drivers/net/wireless/bcm4329/Kconfig"
    modify
    Code:
    /drivers/net/wireless/Makefile
    
    and add:
    Code:
    obj-$(CONFIG_BCM4329)  += bcm4329/
    then do a: make oldconfig, and build for BCM4329


    Credits:
    roggin's modifications to Liquid from Qualcomm Liquid Chocolate (git https://github.com/cleaton) to port BCM4329
    Kconfig from cm-kernel, modification to dhd_common.c under dhd_common_int (hardcode firmware and nvram path):
    Code:
    #ifdef CONFIG_BCM4329_FW_PATH
    	strncpy(fw_path, CONFIG_BCM4329_FW_PATH, MOD_PARAM_PATHLEN-1);
    #else
    	fw_path[0] = '\0';
    #endif
    #ifdef CONFIG_BCM4329_NVRAM_PATH
    	strncpy(nv_path, CONFIG_BCM4329_NVRAM_PATH, MOD_PARAM_PATHLEN-1);
    #else
    	nv_path[0] = '\0';
    #endif

    Proof of concept
    boot.img and dhd.ko with netfilter/iptables support: http://www.multiupload.com/SMGZPIH6U0
     
    • Like Like x 2
  15. SikYou

    SikYou Member

    Joined:
    Dec 25, 2010
    Messages:
    180
    Likes Received:
    17
    Trophy Points:
    87
    Location:
    Detroit
    Tablet / Device:
    S7
    I don't know a whole lot about droidwall or iptables but great work!

    Sent from my S7
     

Share This Page

Search tags for this page

baixar bcm4329 android

,

bcm 4329 app download

,

bcm4329 for android download

,

bcm4329 open source code

,

huawei ideos x2 source gpl