Changeset 45708


Ignore:
Timestamp:
2015-05-21T21:31:54+02:00 (3 years ago)
Author:
jogo
Message:

brcm63xx: Add Huawei HG655b support

This patch adds support for the Huawei HG655b.

Nothing much special in this router, it's just another BCM6368 with
a Ralink RT3062 wifi chip and the calibration data embedded in the
main flash chip at offset 0x7c0000. There is also configuration data
used by the OEM firmware before the cal_data partition, this area is
protected by the board_data partition in this patch.

Signed-off-by: Daniel Gonzalez <dgcbueu@…>
Signed-off-by: Jonas Gorski <jogo@…>

Location:
trunk/target/linux/brcm63xx
Files:
2 added
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm63xx/base-files/etc/diag.sh

    r44985 r45708  
    9090                status_led="HW520:green:net" 
    9191                ;; 
     92        hg655b) 
     93                status_led="HW65x:green:power" 
     94                ;; 
    9295        p870hw-51a_v2) 
    9396                status_led="P870HW-51a:green:power" 
  • trunk/target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom

    r44836 r45708  
    3535                rt2x00_eeprom_extract "cal_data" 130560 512 
    3636                ;; 
     37        hg655b) 
     38                rt2x00_eeprom_extract "cal_data" 0 512 
     39                ;; 
    3740        *) 
    3841                rt2x00_eeprom_die "board $board is not supported yet" 
  • trunk/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds

    r44985 r45708  
    3535        ucidef_set_led_usbdev "usb" "USB" "HW556:red:hspa" "1-2" 
    3636        ;; 
     37hg655b) 
     38        ucidef_set_led_usbdev "usb" "USB" "HW65x:green:usb" "1-2" 
     39        ;; 
    3740homehub2a) 
    3841        ucidef_set_led_netdev "lan" "LAN" "HOMEHUB2A:blue:broadband" "eth0.1" 
  • trunk/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network

    r44985 r45708  
    9393fast2504n |\ 
    9494fast2704v2 |\ 
     95hg655b |\ 
    9596p870hw-51a_v2 |\ 
    9697vr-3025un |\ 
  • trunk/target/linux/brcm63xx/base-files/lib/brcm63xx.sh

    r45557 r45708  
    156156        "Huawei EchoLife HG556a (version C)") 
    157157                board_name="hg556a_c" 
     158                ;; 
     159        "Huawei HG655b") 
     160                board_name="hg655b" 
    158161                ;; 
    159162        "Inteno VG50") 
  • trunk/target/linux/brcm63xx/image/Makefile

    r45557 r45708  
    361361$(eval $(call ImageDTB,CFEDTB,HG556a_AB,HG556a_B,hg556a-b,HW556,6358,--rsa-signature "EchoLife_HG556a" --image-offset 0x20000 --block-size 0x20000 --tag-version 8)) 
    362362$(eval $(call ImageDTB,CFEDTB,HG556a_C,HG556a_C,hg556a-c,HW556,6358,--rsa-signature "EchoLife_HG556a" --image-offset 0x20000 --block-size 0x20000 --tag-version 8)) 
     363# Huawei HG655b 
     364$(eval $(call ImageDTB,CFEDTB,HG655b,HG655b,hg655b,HW65x,6368,--image-offset 0x20000 --tag-version 7 --pad 4)) 
    363365# Inteno VG50 
    364366$(eval $(call ImageDTB,Dummy,VG50,vg50,vg50,VW6339GU,63268)) 
  • trunk/target/linux/brcm63xx/profiles/huawei.mk

    r42247 r45708  
    4444endef 
    4545$(eval $(call Profile,HG556a_C)) 
     46 
     47define Profile/HG655b 
     48  NAME:=Huawei HG655b 
     49  PACKAGES:=kmod-rt2800-pci wpad-mini \ 
     50        kmod-usb2 kmod-usb-ohci kmod-ledtrig-usbdev 
     51endef 
     52define Profile/HG655b/Description 
     53  Package set optimized for Huawei HG655b, HG655d. 
     54endef 
     55$(eval $(call Profile,HG655b)) 
Note: See TracChangeset for help on using the changeset viewer.