Changeset 29326


Ignore:
Timestamp:
2011-11-24T21:09:38+01:00 (6 years ago)
Author:
juhosg
Message:

ar71xx: fix wndr3800 machine name

This fixes the machine name in /proc/cpuinfo and luci status page machine name.

Signed-off-by: Petri Rosenström <petri.rosenstrom@…>

Location:
trunk/target/linux/ar71xx
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/base-files/lib/ar71xx.sh

    r28975 r29326  
    170170                name="wndr3700v2" 
    171171                ;; 
     172        *WNDR3800) 
     173                name="wndr3800" 
     174                ;; 
    172175        *WNR2000) 
    173176                name="wnr2000" 
  • trunk/target/linux/ar71xx/base-files/lib/upgrade/platform.sh

    r28812 r29326  
    134134                return 0 
    135135                ;; 
    136         wndr3700v2) 
     136        wndr3700v2|wndr3800) 
    137137                [ "$magic_long" != "33373031" ] && { 
    138138                        echo "Invalid image type." 
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wndr3700.c

    r27754 r29326  
    289289MIPS_MACHINE(AR71XX_MACH_WNDR3700V2, "WNDR3700v2", "NETGEAR WNDR3700v2", 
    290290             wndr3700v2_setup); 
     291MIPS_MACHINE(AR71XX_MACH_WNDR3800, "WNDR3800", "NETGEAR WNDR3800", 
     292             wndr3700v2_setup); 
  • trunk/target/linux/ar71xx/files/arch/mips/ar71xx/machtype.h

    r28805 r29326  
    7171        AR71XX_MACH_WNDR3700,   /* NETGEAR WNDR3700 */ 
    7272        AR71XX_MACH_WNDR3700V2, /* NETGEAR WNDR3700v2 */ 
     73        AR71XX_MACH_WNDR3800,   /* NETGEAR WNDR3800 */ 
    7374        AR71XX_MACH_WNR2000,    /* NETGEAR WNR2000 */ 
    7475        AR71XX_MACH_WP543,      /* Compex WP543 */ 
  • trunk/target/linux/ar71xx/image/Makefile

    r29325 r29326  
    690690wndr3700v2_cmdline=board=WNDR3700v2 console=ttyS0,115200 
    691691wndr3700v2_mtdlayout=mtdparts=spi0.0:320k(u-boot)ro,128k(u-boot-env)ro,1024k(kernel),14848k(rootfs),64k(art)ro,15872k@0x70000(firmware) 
     692wndr3800_cmdline=board=WNDR3800 console=ttyS0,115200 
    692693define Image/Build/Profile/WNDR3700 
    693694        $(call Image/Build/Template/$(fs_64k)/$(1),Netgear,wndr3700,$(wndr3700_cmdline),wndr3700_mtdlayout,3700,WNDR3700,"" NA,) 
    694695        $(call Image/Build/Template/$(fs_64k)/$(1),Netgear,wndr3700v2,$(wndr3700v2_cmdline),wndr3700v2_mtdlayout,3701,WNDR3700v2,"",-H 29763654+16+64) 
    695         $(call Image/Build/Template/$(fs_64k)/$(1),Netgear,wndr3800,$(wndr3700v2_cmdline),wndr3700v2_mtdlayout,3701,WNDR3800,"",-H 29763654+16+128) 
     696        $(call Image/Build/Template/$(fs_64k)/$(1),Netgear,wndr3800,$(wndr3800_cmdline),wndr3700v2_mtdlayout,3701,WNDR3800,"",-H 29763654+16+128) 
    696697endef 
    697698 
Note: See TracChangeset for help on using the changeset viewer.