OpenWrt Forum Archive

Topic: ramips:Huawei Echolife HG532 ADSL Wireless Router

The content of this topic has been archived on 10 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Anyone fancy giving a hand?

Working:
Ethernet ports. All seem to be lan.
Leds.
Buttons.
Usb. Well plugging in a device is announced, I havent tested data transfers yet.
Wifi, not fully tested but is emitting a good signal


Not working:

ADSL. Can ping the tc chip at 192.168.2.1 but i need to use extroot to get some additional tools such as nmap to see if i can figure this thing out.

U-Boot 1.1.3 (Jul  7 2012 - 20:00:17)                                                                               

Board: Ralink APSoC DRAM:  16 MB
relocate_code Pointer at: 80fb0000

 Set info->start[0]=BF000000
flash_protect ON: from 0xBF000000 to 0xBF01D423
flash_protect ON: from 0xBF030000 to 0xBF030FFF
============================================ 
Ralink UBoot Version: 3.3
-------------------------------------------- 
ASIC 3052_MP2 (Port5<->RvMII)
DRAM component: 128 Mbits SDR
DRAM bus: 16 bit
Total memory: 16 MBytes
Flash component: NOR Flash
Date:Jul  7 2012  Time:20:00:17
============================================ 
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384 

 ##### The CPU freq = 384 MHZ #### 

SDRAM bus set to 16 bit 
 SDRAM size =16 Mbytes

Please choose the operation: 
   1: Load system code to SDRAM via TFTP. 
   2: Load system code then write to Flash via TFTP. 
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   9: Load Boot Loader code then write to Flash via TFTP. 
 0 
   
3: System Boot system code via Flash.
## Booting image at bf050000 ...
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2012-07-09   0:00:11 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    835166 Bytes = 815.6 kB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 16

Starting kernel ...

[    0.000000] Linux version 3.3.8 (ant@C2Q) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #5 Mon Jul 9 00:59:06 BST 2012
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] Ralink RT3052 id:1 rev:3 running at 384.00 MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 01000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00001000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00001000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
[    0.000000] Kernel command line:  board=HG532 console=ttyS1,57600 mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),2880k(rootfs),3776k@0x50000(firmware) rootfstype=sq2
[    0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[    0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00046b2d
[    0.000000] Readback ErrCtl register=00046b2d
[    0.000000] Memory: 13720k/16384k available (1914k kernel code, 2664k reserved, 317k data, 172k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.010000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    0.090000] pid_max: default: 32768 minimum: 301
[    0.100000] Mount-cache hash table entries: 512
[    0.110000] NET: Registered protocol family 16
[    0.120000] MIPS: machine is Hauwei Echolife HG532
[    0.130000] gpiochip_add: registered GPIOs 0 to 23 on device: RT305X-GPIO0
[    0.140000] gpiochip_add: registered GPIOs 24 to 39 on device: RT305X-GPIO1
[    0.150000] gpiochip_add: registered GPIOs 40 to 51 on device: RT305X-GPIO2
[    0.180000] bio: create slab <bio-0> at 0
[    0.190000] Switching to clocksource MIPS
[    0.200000] NET: Registered protocol family 2
[    0.210000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.230000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.240000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.250000] TCP: Hash tables configured (established 512 bind 512)
[    0.270000] TCP reno registered
[    0.270000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.280000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.300000] NET: Registered protocol family 1
[    0.340000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.360000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.380000] msgmni has been set to 26
[    0.390000] io scheduler noop registered
[    0.390000] io scheduler deadline registered (default)
[    0.410000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.420000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[    0.430000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.450000] physmap platform flash device: 00800000 at bf000000
[    0.460000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022a7
[    0.480000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.490000]   Amd/Fujitsu Extended Query version 1.1.
[    0.510000] physmap-flash.0: Swapping erase regions for top-boot CFI table.
[    0.520000] number of CFI chips: 1
[    0.530000] 6 cmdlinepart partitions found on MTD device physmap-flash.0
[    0.540000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.550000] 0x000000000000-0x000000030000 : "u-boot"
[    0.560000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.580000] 0x000000040000-0x000000050000 : "factory"
[    0.590000] 0x000000050000-0x000000130000 : "kernel"
[    0.610000] 0x000000130000-0x000000400000 : "rootfs"
[    0.620000] mtd: partition "rootfs" set to be root filesystem
[    0.630000] mtd: partition "rootfs_data" created automatically, ofs=2F0000, len=110000 
[    0.650000] 0x0000002f0000-0x000000400000 : "rootfs_data"
[    0.660000] 0x000000050000-0x000000400000 : "firmware"
[    0.690000] TCP cubic registered
[    0.700000] NET: Registered protocol family 17
[    0.710000] 8021q: 802.1Q VLAN Support v1.8
[    0.720000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.740000] Freeing unused kernel memory: 172k freed
[    2.430000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[    2.510000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    5.970000] JFFS2 notice: (357) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 5 of xref (0 dead, 2 orphan) found.
switching to jffs2
- init -

Please press Enter to activate this console. [    6.890000] Compat-wireless backport release: compat-wireless-2012-06-14
[    6.910000] Backport based on wireless-testing.git master-2012-06-14
[    6.920000] compat.git: wireless-testing.git
[    6.960000] cfg80211: Calling CRDA to update world regulatory domain
[    6.980000] cfg80211: World regulatory domain updated:
[    6.990000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    7.000000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    7.020000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    7.040000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    7.050000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    7.070000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    7.570000] usbcore: registered new interface driver usbfs
[    7.580000] usbcore: registered new interface driver hub
[    7.590000] usbcore: registered new device driver usb
[    7.910000] phy0 -> rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT305X.eeprom'.
[    8.070000] phy0 -> rt2x00_set_chip: Info - Chipset detected - rt: 2872, rf: 0002, rev: 0200.
[    8.220000] Error: Driver 'gpio-keys-polled' is already registered, aborting...
[    8.370000] PPP generic driver version 2.4.2
[    8.560000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    8.730000] NET: Registered protocol family 24
[    8.760000] nf_conntrack version 0.5.0 (217 buckets, 868 max)
[    9.090000] dwc_otg: version 2.72a 24-JUN-2008
[    9.100000] dwc_otg: Core Release: 2.66a
[    9.310000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
[    9.320000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
[    9.330000] dwc_otg: Using DMA mode
[    9.340000] dwc_otg: Device using Buffer DMA mode
[    9.350000] dwc_otg dwc_otg.0: DWC OTG Controller
[    9.360000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
[    9.370000] dwc_otg dwc_otg.0: irq 26, io mem 0x101c0000
[    9.380000] dwc_otg: Init: Port Power? op_state=1
[    9.390000] dwc_otg: Init: Power Port (0)
[    9.400000] hub 1-0:1.0: USB hub found
[    9.410000] hub 1-0:1.0: 1 port detected
[    9.800000] usb 1-1: new high-speed USB device number 2 using dwc_otg
[   13.100000] device eth0.1 entered promiscuous mode
[   13.110000] device eth0 entered promiscuous mode
[   13.130000] br-lan: port 1(eth0.1) entered forwarding state
[   13.140000] br-lan: port 1(eth0.1) entered forwarding state
[   15.140000] br-lan: port 1(eth0.1) entered forwarding state
[   16.150000] ramips-wdt: timeout value 60 must be 0 < timeout < 33
[   16.970000] phy0 -> rt2800_is_305x_soc: Notice - Unknown RF chipset on rt305x
[   17.060000] phy0 -> rt2800_is_305x_soc: Notice - Unknown RF chipset on rt305x
[   17.070000] phy0 -> rt2800_is_305x_soc: Notice - Unknown RF chipset on rt305x
[   17.080000] phy0 -> rt2800_is_305x_soc: Notice - Unknown RF chipset on rt305x
[   17.100000] phy0 -> rt2800_is_305x_soc: Notice - Unknown RF chipset on rt305x
[   17.110000] phy0 -> rt2800_is_305x_soc: Notice - Unknown RF chipset on rt305x
[   17.130000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[   17.150000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[   17.170000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[   17.190000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
[   17.240000] device wlan0 entered promiscuous mode
[   17.250000] phy0 -> rt2800_is_305x_soc: Notice - Unknown RF chipset on rt305x
[   17.290000] phy0 -> rt2800_is_305x_soc: Notice - Unknown RF chipset on rt305x
[   17.300000] phy0 -> rt2800_is_305x_soc: Notice - Unknown RF chipset on rt305x
[   17.310000] phy0 -> rt2800_is_305x_soc: Notice - Unknown RF chipset on rt305x
[   17.330000] phy0 -> rt2800_is_305x_soc: Notice - Unknown RF chipset on rt305x
[   17.340000] phy0 -> rt2800_is_305x_soc: Notice - Unknown RF chipset on rt305x
[   17.360000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 102.
[   17.380000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 4, CWmax: 5, Aifs: 2, TXop: 188.
[   17.400000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 3, TXop: 0.
[   17.420000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 7, TXop: 0.
[   17.830000] br-lan: port 2(wlan0) entered forwarding state
[   17.840000] br-lan: port 2(wlan0) entered forwarding state
[   17.860000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 1, TXop: 47.
[   17.920000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 1, TXop: 94.
[   17.960000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 4, CWmax: 6, Aifs: 3, TXop: 0.
[   18.030000] phy0 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
[   19.840000] br-lan: port 2(wlan0) entered forwarding state



BusyBox v1.19.4 (2012-07-09 00:47:01 BST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 ATTITUDE ADJUSTMENT (Bleeding Edge, r32649)
 -----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
 -----------------------------------------------------
root@OpenWrt:/#  cat /proc/cpuinfo
system type             : Ralink RT3052 id:1 rev:3
machine                 : Hauwei Echolife HG532
processor               : 0
cpu model               : MIPS 24KEc V4.12
BogoMIPS                : 255.59
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
ASEs implemented        : mips16 dsp
shadow register sets    : 1
kscratch registers      : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

(Last edited by routednbooted on 10 Jul 2012, 11:10)

Cheers serge, ill read.

Using trunk, patch for progress so far:

Index: target/linux/ramips/files/arch/mips/ralink/rt305x/Kconfig
===================================================================
--- target/linux/ramips/files/arch/mips/ralink/rt305x/Kconfig    (revision 32650)
+++ target/linux/ramips/files/arch/mips/ralink/rt305x/Kconfig    (working copy)
@@ -154,6 +154,11 @@
     select RALINK_DEV_GPIO_BUTTONS
     select RALINK_DEV_GPIO_LEDS
 
+config RT305X_MACH_HG532
+    bool "Huawei Echolife HG532 B1.01"
+    select RALINK_DEV_GPIO_BUTTONS
+    select RALINK_DEV_GPIO_LEDS
+
 endmenu
 
 endif
Index: target/linux/ramips/files/arch/mips/ralink/rt305x/Makefile
===================================================================
--- target/linux/ramips/files/arch/mips/ralink/rt305x/Makefile    (revision 32650)
+++ target/linux/ramips/files/arch/mips/ralink/rt305x/Makefile    (working copy)
@@ -42,3 +42,4 @@
 obj-$(CONFIG_RT305X_MACH_WL351)        += mach-wl351.o
 obj-$(CONFIG_RT305X_MACH_WR6202)    += mach-wr6202.o
 obj-$(CONFIG_RT305X_MACH_XDX_RN502J)    += mach-xdx-rn502j.o
+obj-$(CONFIG_RT305X_MACH_HG532)    += mach-hg532.o
Index: target/linux/ramips/files/arch/mips/ralink/rt305x/mach-hg532.c
===================================================================
--- target/linux/ramips/files/arch/mips/ralink/rt305x/mach-hg532.c    (revision 0)
+++ target/linux/ramips/files/arch/mips/ralink/rt305x/mach-hg532.c    (revision 0)
@@ -0,0 +1,107 @@
+/*
+ *  Hauwei EcholifeHG532 board support
+ *  This program is free software; you can redistribute it and/or modify it
+ *  under the terms of the GNU General Public License version 2 as published
+ *  by the Free Software Foundation.
+ */
+
+#include <linux/init.h>
+#include <linux/platform_device.h>
+
+#include <asm/mach-ralink/machine.h>
+#include <asm/mach-ralink/dev-gpio-buttons.h>
+#include <asm/mach-ralink/dev-gpio-leds.h>
+#include <asm/mach-ralink/rt305x.h>
+#include <asm/mach-ralink/rt305x_regs.h>
+
+#include "devices.h"
+
+#define HG532_GPIO_LED_POWER_GREEN    8
+#define HG532_GPIO_LED_POWER_RED    11
+#define HG532_GPIO_LED_INTERNET_GREEN    14
+#define HG532_GPIO_LED_INTERNET_RED    13
+#define HG532_GPIO_LED_USB        9
+
+#define HG532_GPIO_BUTTON_WPS    0
+#define HG532_GPIO_BUTTON_WLAN    10
+#define HG532_GPIO_BUTTON_RESET     4
+
+#define HG532_KEYS_POLL_INTERVAL    20
+#define HG532_KEYS_DEBOUNCE_INTERVAL (3 * HG532_KEYS_POLL_INTERVAL)
+
+static struct gpio_led hg532_leds_gpio[] __initdata = {
+    {
+        .name        = "hg532:power:green",
+        .gpio        = HG532_GPIO_LED_POWER_GREEN,
+        .active_low    = 1,
+    }, {
+        .name        = "hg532:power:red",
+        .gpio        = HG532_GPIO_LED_POWER_RED,
+        .active_low    = 1,
+    }, {
+        .name        = "hg532:internet:green",
+        .gpio        = HG532_GPIO_LED_INTERNET_GREEN,
+        .active_low    = 1,
+    }, {
+        .name        = "hg532:internet:red",
+        .gpio        = HG532_GPIO_LED_INTERNET_RED,
+        .active_low    = 1,
+    }, {
+        .name        = "hg532:usb",
+        .gpio        = HG532_GPIO_LED_USB,
+        .active_low    = 1,
+    }
+};
+
+static struct gpio_keys_button hg532_gpio_buttons[] __initdata = {
+    {
+        .desc        = "wps",
+        .type        = EV_KEY,
+        .code        = BTN_1,
+        .debounce_interval = HG532_KEYS_DEBOUNCE_INTERVAL,
+        .gpio        = HG532_GPIO_BUTTON_WPS,
+        .active_low    = 1,
+    }, {
+        .desc        = "wlan",
+        .type        = EV_KEY,
+        .code        = KEY_WLAN,
+        .debounce_interval = HG532_KEYS_DEBOUNCE_INTERVAL,
+        .gpio        = HG532_GPIO_BUTTON_WLAN,
+        .active_low    = 1,
+    }, {
+        .desc        = "reset",
+        .type        = EV_KEY,
+        .code        = BTN_2,
+        .debounce_interval = HG532_KEYS_DEBOUNCE_INTERVAL,
+        .gpio        = HG532_GPIO_RESET,
+        .active_low    = 1,
+    }
+
+};
+#define HG532_GPIO_MODE \
+    ((RT305X_GPIO_MODE_GPIO << RT305X_GPIO_MODE_UART0_SHIFT) | \
+     RT305X_GPIO_MODE_I2C | RT305X_GPIO_MODE_SPI)
+//RT305X_GPIO_MODE_GPIO | RT305X_GPIO_MODE_I2C | RT305X_GPIO_MODE_SPI | RT305X_GPIO_MODE_UART1 | RT305X_GPIO_MODE_MDIO
+
+static void __init hg532_init(void)
+{
+    rt305x_gpio_init(HG532_GPIO_MODE);
+
+    rt305x_register_flash(0);
+
+    ramips_register_gpio_leds(-1, ARRAY_SIZE(hg532_leds_gpio),
+                  hg532_leds_gpio);
+
+    ramips_register_gpio_buttons(-1, HG532_KEYS_POLL_INTERVAL,
+                     ARRAY_SIZE(hg532_gpio_buttons),
+                     hg532_gpio_buttons);
+
+    rt305x_esw_data.vlan_config = RT305X_ESW_VLAN_CONFIG_WLLLL;
+    rt305x_register_ethernet();
+    rt305x_register_wifi();
+    rt305x_register_wdt();
+    rt305x_register_usb();
+}
+
+MIPS_MACHINE(RAMIPS_MACH_HG532, "HG532", "Hauwei Echolife HG532",
+         hg532_init); 
Index: target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h
===================================================================
--- target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h    (revision 32650)
+++ target/linux/ramips/files/arch/mips/include/asm/mach-ralink/machine.h    (working copy)
@@ -57,6 +57,7 @@
     RAMIPS_MACH_WR6202,        /* Accton WR6202 */
     RAMIPS_MACH_XDXRN502J,          /* unknown XDX-RN502J */
     RAMIPS_MACH_UR_336UN,        /* UPVEL ROUTER */
+    RAMIPS_MACH_HG532,        /* Huawei Echolife HG532 */
 
     /* RT3662 based machines */
     RAMIPS_MACH_RT_N56U,        /* Asus RT-N56U */
Index: target/linux/ramips/image/Makefile
===================================================================
--- target/linux/ramips/image/Makefile    (revision 32650)
+++ target/linux/ramips/image/Makefile    (working copy)
@@ -442,6 +442,10 @@
     $(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_4M,xdxrn502j,XDXRN502J,ttyS1,57600,phys)
 endef
 
+define Image/Build/Profile/HG532
+    $(call Image/Build/Template/$(fs_squash)/$(1),GENERIC_4M,hg532,HG532,ttyS1,57600,phys)
+endef
+
 ifeq ($(CONFIG_RALINK_RT305X),y)
 define Image/Build/Profile/Default
     $(call Image/Build/Profile/ALL0256N,$(1))
@@ -474,6 +478,7 @@
     $(call Image/Build/Profile/WR5123GN,$(1))
     $(call Image/Build/Profile/WR6202,$(1))
     $(call Image/Build/Profile/XDXRN502J,$(1))
+    $(call Image/Build/Profile/HG532,$(1))
 endef
 endif
 
Index: target/linux/ramips/rt305x/config-3.3
===================================================================
--- target/linux/ramips/rt305x/config-3.3    (revision 32650)
+++ target/linux/ramips/rt305x/config-3.3    (working copy)
@@ -21,6 +21,7 @@
 CONFIG_CPU_SUPPORTS_HIGHMEM=y
 CONFIG_CSRC_R4K=y
 CONFIG_CSRC_R4K_LIB=y
+CONFIG_DEBUG_GPIO=y
 CONFIG_DECOMPRESS_LZMA=y
 CONFIG_DMA_NONCOHERENT=y
 # CONFIG_DWC_OTG is not set
@@ -60,7 +61,8 @@
 CONFIG_INITRAMFS_SOURCE=""
 CONFIG_IRQ_CPU=y
 CONFIG_IRQ_FORCED_THREADING=y
-CONFIG_M25PXX_USE_FAST_READ=y
+# CONFIG_ISDN is not set
+CONFIG_LEDS_GPIO=y
 CONFIG_MDIO_BOARDINFO=y
 # CONFIG_MII is not set
 CONFIG_MIPS=y
@@ -70,13 +72,21 @@
 CONFIG_MIPS_RALINK=y
 # CONFIG_MTD_CFI_INTELEXT is not set
 CONFIG_MTD_CMDLINE_PARTS=y
-CONFIG_MTD_M25P80=y
 CONFIG_MTD_PHYSMAP=y
 CONFIG_NEED_DMA_MAP_STATE=y
 CONFIG_NEED_PER_CPU_KM=y
 CONFIG_NET_RAMIPS=y
 # CONFIG_NET_RAMIPS_DEBUG is not set
 # CONFIG_NET_RAMIPS_DEBUG_FS is not set
+# CONFIG_NET_VENDOR_BROADCOM is not set
+# CONFIG_NET_VENDOR_CHELSIO is not set
+# CONFIG_NET_VENDOR_INTEL is not set
+# CONFIG_NET_VENDOR_MARVELL is not set
+# CONFIG_NET_VENDOR_MICREL is not set
+# CONFIG_NET_VENDOR_NATSEMI is not set
+# CONFIG_NET_VENDOR_SEEQ is not set
+# CONFIG_NET_VENDOR_SMSC is not set
+# CONFIG_NET_VENDOR_STMICRO is not set
 CONFIG_PAGEFLAGS_EXTENDED=y
 CONFIG_PERF_USE_VMALLOC=y
 CONFIG_PHYLIB=y
@@ -86,7 +96,7 @@
 # CONFIG_RALINK_RT288X is not set
 CONFIG_RALINK_RT305X=y
 # CONFIG_RALINK_RT3883 is not set
-CONFIG_RAMIPS_WDT=y
+CONFIG_REALTEK_PHY=y
 CONFIG_RT305X_MACH_ALL0256N=y
 CONFIG_RT305X_MACH_ARGUS_ATP52B=y
 CONFIG_RT305X_MACH_BC2=y
@@ -95,6 +105,7 @@
 CONFIG_RT305X_MACH_F5D8235_V2=y
 CONFIG_RT305X_MACH_FONERA20N=y
 CONFIG_RT305X_MACH_FREESTATION5=y
+CONFIG_RT305X_MACH_HG532=y
 CONFIG_RT305X_MACH_HW550_3G=y
 CONFIG_RT305X_MACH_MOFI3500_3GN=y
 CONFIG_RT305X_MACH_NBG_419N=y
@@ -124,9 +135,8 @@
 # CONFIG_SLAB is not set
 CONFIG_SLUB=y
 CONFIG_SOC_RT305X=y
-CONFIG_SPI=y
-CONFIG_SPI_MASTER=y
-CONFIG_SPI_RAMIPS=y
+# CONFIG_STAGING is not set
+CONFIG_SWCONFIG=y
 CONFIG_SYS_HAS_CPU_MIPS32_R1=y
 CONFIG_SYS_HAS_CPU_MIPS32_R2=y
 CONFIG_SYS_HAS_EARLY_PRINTK=y
@@ -137,5 +147,7 @@
 # CONFIG_USB_ARCH_HAS_OHCI is not set
 # CONFIG_USB_ARCH_HAS_XHCI is not set
 CONFIG_USB_SUPPORT=y
+# CONFIG_WATCHDOG is not set
+# CONFIG_WLAN is not set
 CONFIG_XZ_DEC=y
 CONFIG_ZONE_DMA_FLAG=0
Index: target/linux/ramips/base-files/lib/ramips.sh
===================================================================
--- target/linux/ramips/base-files/lib/ramips.sh    (revision 32650)
+++ target/linux/ramips/base-files/lib/ramips.sh    (working copy)
@@ -164,6 +164,9 @@
     *"XDX RN502J")
         name="xdxrn502j"
         ;;
+    *"HG532")
+        name="hg532"
+        ;;
     *)
         name="generic"
         ;;
Index: target/linux/ramips/base-files/lib/upgrade/platform.sh
===================================================================
--- target/linux/ramips/base-files/lib/upgrade/platform.sh    (revision 32650)
+++ target/linux/ramips/base-files/lib/upgrade/platform.sh    (working copy)
@@ -43,7 +43,8 @@
     wli-tx4-ag300n | \
     whr-g300n |\
     ur-336un |\
-    wr512-3gn)
+    wr512-3gn|\
+    hg532)
         [ "$magic" != "2705" ] && {
             echo "Invalid image type."
             return 1
Index: target/linux/ramips/base-files/lib/preinit/06_set_iface_mac
===================================================================
--- target/linux/ramips/base-files/lib/preinit/06_set_iface_mac    (revision 32650)
+++ target/linux/ramips/base-files/lib/preinit/06_set_iface_mac    (working copy)
@@ -14,7 +14,8 @@
     nw718 |\
     psr-680w |\
     rt-n56u |\
-    sl-r7205)
+    sl-r7205|\
+    hg532)
         mac=$(ramips_get_mac_binary factory 4)
         mac=$(maccalc or "$mac" "02:00:00:00:00:00")
         ifconfig eth0 hw ether $mac 2>/dev/null
Index: target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom
===================================================================
--- target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom    (revision 32650)
+++ target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom    (working copy)
@@ -84,6 +84,9 @@
     wl341v3)
         rt2x00_eeprom_extract "board-nvram" 64880 272
         ;;
+    hg532)    
+        rt2x00_eeprom_extract "firmware" 0 272
+        ;;
 
     *)
         rt2x00_eeprom_die "board $board is not supported yet"
Index: target/linux/ramips/base-files/etc/uci-defaults/network
===================================================================
--- target/linux/ramips/base-files/etc/uci-defaults/network    (revision 32650)
+++ target/linux/ramips/base-files/etc/uci-defaults/network    (working copy)
@@ -27,7 +27,8 @@
     psr-680w | \
     sl-r7205 | \
     w502u | \
-    wr6202)
+    wr6202 |\
+    hg532)
         ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
         ;;
 
@@ -97,7 +98,8 @@
     psr-680w | \
     rt-n15 | \
     sl-r7205 | \
-    wl-351)
+    wl-351 |\
+    hg532)
         lan_mac=$(ramips_get_mac_binary factory 4)
         wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)
         ;;

(Last edited by routednbooted on 10 Jul 2012, 11:16)

Wifi is now working. Perhaps i should have mentioned that this is from a bricked state, It does not have the uboot that come with the device. I used the uart to upload a new image file. I dont know how the factory web updater would react to the openwrt image. Probably just a case of changing the image tag.

When i connect to the tc adsl .....[FIXED] was held in reset by a gpio.

(Last edited by routednbooted on 10 Jul 2012, 11:11)

Everything but adsl is working now. Anybody come across a setup like this before? Or know something about the trendchip software/firmware?

A BIG favour to ask owners of this HG532 device,

Can someone make a dump of a factory flash via jtag?

I have modified the broadcom debrick tool to work with the RT3052 SoC and i have jtag pinout for the HG523.

message me and ill send the jtag tool directly

Pinout:
look at the component side of the board leds top, eth ports bottom.
Theres 3 columns of pins on the connector, you cant miss it, from left to right,

Column 1 RT3052 uart:   Column 2 RT3052 jtag:   Column 3 TC3162 uart
tx (from chip)          tck                     rx (to chip)
gnd                     tdo                     n/c
vcc                     tms                     vcc
n/c                     n/c (trst?)             gnd
rx (to chip)            tdi                     tx (from chip)

RT3052 uart speed is 57600, TC3162 is 115200

the connector on the right side of the board looks like its for flashing the tc's spi flash.

I could really do with a standard dump so i can figure out the proper nvram and wlan firmware partitions.

Thanks

I have a HD532 from talktalk that is not in use. If you could give me the image you are using then I could have a play and see what happens.

If you also tell me more about the jtag I may be able to do it for you.

hi

is there any news with this port? I have an unused HG532c but I have no JTAG cable, sorry  sad

routednbooted wrote:

Everything but adsl is working now. Anybody come across a setup like this before? Or know something about the trendchip software/firmware?

would you mind upload your patch somewhere so others can test it? cheers

@cheche

i already compile trunk fir this router using routednbooted patch,,but i cant access bootloader using serial..i can see only logs but cant send any interrupt or commands during boot up..have you installopenwrt on your router??

im trying to install my compiled(using patch by rootednbooted) imagevia tftp .but having Bad header Checksum error..

 erase sector  = 17
sect = 17,s_last = 48,erase poll = 1006747

 erase sector  = 18
*sect = 18,s_last = 48,erase poll = 1014208

 erase sector  = 19
sect = 19,s_last = 48,erase poll = 1075733

 erase sector  = 20
*sect = 20,s_last = 48,erase poll = 1008256

 erase sector  = 21
sect = 21,s_last = 48,erase poll = 1005267

 erase sector  = 22
*sect = 22,s_last = 48,erase poll = 1025758

 erase sector  = 23
sect = 23,s_last = 48,erase poll = 1001506

 erase sector  = 24
*sect = 24,s_last = 48,erase poll = 995622

 erase sector  = 25
sect = 25,s_last = 48,erase poll = 1009889

 erase sector  = 26
*sect = 26,s_last = 48,erase poll = 1029221

 erase sector  = 27
sect = 27,s_last = 48,erase poll = 1019521

 erase sector  = 28
*sect = 28,s_last = 48,erase poll = 1004042

 erase sector  = 29
sect = 29,s_last = 48,erase poll = 992763

 erase sector  = 30
*sect = 30,s_last = 48,erase poll = 988905

 erase sector  = 31
sect = 31,s_last = 48,erase poll = 1019180

 erase sector  = 32
*sect = 32,s_last = 48,erase poll = 1011297

 erase sector  = 33
sect = 33,s_last = 48,erase poll = 989322

 erase sector  = 34
*sect = 34,s_last = 48,erase poll = 1011410

 erase sector  = 35
sect = 35,s_last = 48,erase poll = 1007688

 erase sector  = 36
*sect = 36,s_last = 48,erase poll = 1048564

 erase sector  = 37
sect = 37,s_last = 48,erase poll = 988977

 erase sector  = 38
*sect = 38,s_last = 48,erase poll = 988882

 erase sector  = 39
sect = 39,s_last = 48,erase poll = 1007575

 erase sector  = 40
*sect = 40,s_last = 48,erase poll = 1018711

 erase sector  = 41
sect = 41,s_last = 48,erase poll = 993923

 erase sector  = 42
*sect = 42,s_last = 48,erase poll = 1064935

 erase sector  = 43
sect = 43,s_last = 48,erase poll = 1071109

 erase sector  = 44
*sect = 44,s_last = 48,erase poll = 1020236

 erase sector  = 45
sect = 45,s_last = 48,erase poll = 1030095

 erase sector  = 46
*sect = 46,s_last = 48,erase poll = 1116857

 erase sector  = 47
sect = 47,s_last = 48,erase poll = 1021245

 erase sector  = 48
*sect = 48,s_last = 48,erase poll = 1006105
 done
Erased 47 sectors
update default: main system...

 Copy linux image[3014660 byte] to Flash[0xBF020000]....
Copy to Flash...
 Copy 3014660 byte to Flash...
 addr = 0xBF074090 ,cnt=2670452
 addr = 0xBF0C8122 ,cnt=2326242
 addr = 0xBF11C1B4 ,cnt=1982032
 addr = 0xBF170246 ,cnt=1637822
 addr = 0xBF1C42D8 ,cnt=1293612
 addr = 0xBF21836A ,cnt=949402
 addr = 0xBF26C3FC ,cnt=605192
 addr = 0xBF2C048E ,cnt=260982 done
## Booting image at bf020000 ...
Bad Header Checksum


U-Boot 1.1.3 (Jan  5 2010 - 23:01:25)

Board: Ralink APSoC DRAM:  16 MB
relocate_code Pointer at: 80fb0000
config usb..

 The Flash Mfr ID = C2, Dev ID = 22A7

Flash Chip ID: 000022a7, size: 400000

flash_protect ON: from 0xBF000000 to 0xBF01C8CF
protect on 0
protect on 1
*** Warning - bad CRC, using default environment

============================================
Ralink UBoot Version: 3.3
--------------------------------------------
ASIC 3052_MP2 (Port5<->None)
DRAM component: 128 Mbits
DRAM bus: 32 bit
Total memory: 32 MBytes
Flash component: NOR Flash
Date:Jan  5 2010  Time:23:01:25
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

 ##### The CPU freq = 384 MHZ ####

SDRAM bus set to 16 bit
 SDRAM size =16 Mbytes

 eth_register
Eth0 (10/100-M)
 enetvar=ethaddr,Eth addr:00:AA:BB:CC:DD:10
 00:AA:BB:CC:DD:10:

 eth_current->name = Eth0 (10/100-M)


 netboot_common, argc= 2
 *************buf = 0x80fcca80
 **********NexTxPacket = 80fe3b40

 NetTxPacket = 0x80FE3B40

 NetRxPackets[0] = 0x80FE4140

 NetRxPackets[1] = 0x80FE4740

 NetRxPackets[2] = 0x80FE4D40

 NetRxPackets[3] = 0x80FE5340

 NetRxPackets[4] = 0x80FE5940

 NetRxPackets[5] = 0x80FE5F40

 NetRxPackets[6] = 0x80FE6540

 NetRxPackets[7] = 0x80FE6B40

 NetRxPackets[8] = 0x80FE7140

 NetRxPackets[9] = 0x80FE7740

 NetRxPackets[10] = 0x80FE7D40

 NetRxPackets[11] = 0x80FE8340

 NetRxPackets[12] = 0x80FE8940

 NetRxPackets[13] = 0x80FE8F40

 NetRxPackets[14] = 0x80FE9540

 NetRxPackets[15] = 0x80FE9B40

 NetRxPackets[16] = 0x80FEA140

 NetRxPackets[17] = 0x80FEA740

 NetRxPackets[18] = 0x80FEAD40

 NetRxPackets[19] = 0x80FEB340

 KSEG1ADDR(NetTxPacket) = 0xA0FE3B40

 NetLoop,call eth_halt !

 NetLoop,call eth_init !
Trying Eth0 (10/100-M)

 Waitting for RX_DMA_BUSY status Start... done

 Header Payload scatter function is Disable !!

 ETH_STATE_ACTIVE!!

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   9: Load Boot Loader code then write to Flash via TFTP.

## Booting image at bf020000 ...
Bad Header Checksum

after make distclean and recompile again my hg532 boot with my trunk build..but stock at kernel panic..hope someone could give me a hint

 NetLoop,call eth_init ! 
Trying Eth0 (10/100-M)

 Waitting for RX_DMA_BUSY status Start... done

 Header Payload scatter function is Disable !! 

 ETH_STATE_ACTIVE!! 

Please choose the operation: 
   1: Load system code to SDRAM via TFTP. 
   2: Load system code then write to Flash via TFTP. 
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   9: Load Boot Loader code then write to Flash via TFTP. 

## Booting image at bf020000 ...
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    833487 Bytes = 814 kB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
  IH_COMP_LZMA Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 16

Starting kernel ...

[    0.000000] Linux version 3.3.8 (arkin@Arkin) (gcc version 4.6.4 20121106 (prerelease) (Linaro GCC 4.6-2012.11) ) #1 Wed Dec 5 19:38:18 AST 2012
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] Ralink RT3052 id:1 rev:3 running at 384.00 MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 01000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00001000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00001000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
[    0.000000] Kernel command line:  board=HG532 console=ttyS1,57600 mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(ke2
[    0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
[    0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=0006e000
[    0.000000] Readback ErrCtl register=0006e000
[    0.000000] Memory: 13600k/16384k available (1910k kernel code, 2784k reserved, 311k data, 172k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.010000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    0.090000] pid_max: default: 32768 minimum: 301
[    0.100000] Mount-cache hash table entries: 512
[    0.110000] NET: Registered protocol family 16
[    0.120000] MIPS: machine is Hauwei Echolife HG532
[    0.130000] gpiochip_add: registered GPIOs 0 to 23 on device: RT305X-GPIO0
[    0.140000] gpiochip_add: registered GPIOs 24 to 39 on device: RT305X-GPIO1
[    0.150000] gpiochip_add: registered GPIOs 40 to 51 on device: RT305X-GPIO2
[    0.180000] bio: create slab <bio-0> at 0
[    0.190000] Switching to clocksource MIPS
[    0.200000] NET: Registered protocol family 2
[    0.210000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.230000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.240000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.250000] TCP: Hash tables configured (established 512 bind 512)
[    0.270000] TCP reno registered
[    0.270000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.280000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.300000] NET: Registered protocol family 1
[    0.340000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.360000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.380000] msgmni has been set to 26
[    0.390000] io scheduler noop registered
[    0.390000] io scheduler deadline registered (default)
[    0.400000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.420000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[    0.430000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.450000] physmap platform flash device: 00800000 at bf000000
[    0.460000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022a7
[    0.480000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.490000]   Amd/Fujitsu Extended Query version 1.1.
[    0.500000] physmap-flash.0: Swapping erase regions for top-boot CFI table.
[    0.520000] number of CFI chips: 1
[    0.520000] 6 cmdlinepart partitions found on MTD device physmap-flash.0
[    0.540000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.550000] 0x000000000000-0x000000030000 : "u-boot"
[    0.560000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.580000] 0x000000040000-0x000000050000 : "factory"
[    0.590000] 0x000000050000-0x000000130000 : "kernel"
[    0.610000] 0x000000130000-0x000000400000 : "rootfs"
[    0.620000] mtd: partition "rootfs" set to be root filesystem
[    0.630000] split_squashfs: no squashfs found in "physmap-flash.0"
[    0.640000] 0x000000050000-0x000000400000 : "firmware"
[    0.670000] TCP cubic registered
[    0.680000] NET: Registered protocol family 17
[    0.680000] 8021q: 802.1Q VLAN Support v1.8
[    0.700000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x6850 instead
[    0.710000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0x96b6 instead
[    0.730000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x7bb6 instead
[    0.750000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0x1fdb instead
[    0.770000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x7c91 instead
[    0.790000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x23a3 instead
[    0.800000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000018: 0x5937 instead
[    0.820000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000001c: 0xac7c instead
[    0.840000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000020: 0xbaf1 instead
[    0.860000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000024: 0xc270 instead
[    0.870000] Further such events for this erase block will not be printed
[    0.900000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010000: 0xc6a2 instead
[    0.920000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010004: 0xf760 instead
[    0.940000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010008: 0x222c instead
[    0.960000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001000c: 0x69e7 instead
[    0.970000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010010: 0x379b instead
[    0.990000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010014: 0x16e2 instead
[    1.010000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010018: 0x58df instead
[    1.030000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0001001c: 0x2819 instead
[    1.050000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010020: 0x19a5 instead
[    1.060000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00010024: 0x80a6 instead
[    1.080000] Further such events for this erase block will not be printed
[    1.110000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020000: 0x2216 instead
[    1.130000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020004: 0xa85f instead
[    1.140000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020008: 0x42e6 instead
[    1.160000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002000c: 0xc0b1 instead
[    1.180000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020010: 0x99df instead
[    1.200000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020014: 0x3315 instead
[    1.220000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020018: 0x7dc2 instead
[    1.230000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0002001c: 0x1ce7 instead
[    1.250000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020020: 0xd300 instead
[    1.270000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00020024: 0x18c7 instead
[    1.290000] Further such events for this erase block will not be printed
[    1.310000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030000: 0xa1e5 instead
[    1.330000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030004: 0x5aea instead
[    1.350000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030008: 0xcc10 instead
[    1.370000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003000c: 0xc879 instead
[    1.390000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030010: 0x099a instead
[    1.400000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030014: 0xd736 instead
[    1.420000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030018: 0xfa09 instead
[    1.440000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0003001c: 0xbd1a instead
[    1.460000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030020: 0x8a25 instead
[    1.480000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00030024: 0x3dda instead
[    1.490000] Further such events for this erase block will not be printed
[    1.520000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040000: 0xbed2 instead
[    1.540000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040004: 0x2e09 instead
[    1.560000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040008: 0x9bc7 instead
[    1.570000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004000c: 0x9f40 instead
[    1.590000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040010: 0xcfc6 instead
[    1.610000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040014: 0x37c5 instead
[    1.630000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040018: 0x8e4a instead
[    1.650000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0004001c: 0x55bb instead
[    1.660000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040020: 0x91a6 instead
[    1.680000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00040024: 0xf962 instead
[    1.700000] Further such events for this erase block will not be printed
[    1.730000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050000: 0xa513 instead
[    1.740000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050004: 0x22fb instead
[    1.760000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050008: 0x24a6 instead
[    1.780000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0005000c: 0x9496 instead
[    1.800000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050010: 0xf641 instead
[    1.820000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050014: 0x625b instead
[    1.830000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050018: 0x8025 instead
[    1.850000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0005001c: 0x5288 instead
[    1.870000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050020: 0xd6be instead
[    1.890000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00050024: 0x7c12 instead
[    1.910000] Further such events for this erase block will not be printed
[    1.930000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060000: 0x88d0 instead
[    1.950000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060004: 0xe12b instead
[    1.970000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060008: 0x3786 instead
[    1.990000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006000c: 0xfd7a instead
[    2.000000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060010: 0xb086 instead
[    2.020000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060014: 0xe806 instead
[    2.040000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060018: 0xed29 instead
[    2.060000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0006001c: 0x9f83 instead
[    2.080000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060020: 0xb5a0 instead
[    2.090000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00060024: 0xf827 instead
[    2.110000] Further such events for this erase block will not be printed
[    2.130000] Old JFFS2 bitmask found at 0x0006b60c
[    2.140000] You cannot use older JFFS2 filesystems with newer kernels
[    2.160000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070000: 0xd9e5 instead
[    2.180000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070004: 0xf700 instead
[    2.200000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070008: 0x6aac instead
[    2.210000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007000c: 0x0117 instead
[    2.230000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070010: 0x2fa5 instead
[    2.250000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070014: 0xc824 instead
[    2.270000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070018: 0xb1be instead
[    2.290000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0007001c: 0xb859 instead
[    2.300000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070020: 0x8b02 instead
[    2.320000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00070024: 0xd855 instead
[    2.340000] Further such events for this erase block will not be printed
[    2.370000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080000: 0x2da4 instead
[    2.380000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080004: 0x8080 instead
[    2.400000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080008: 0x2bc4 instead
[    2.420000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008000c: 0xa098 instead
[    2.440000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080010: 0x91fd instead
[    2.460000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080014: 0xe3d4 instead
[    2.470000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080018: 0x4995 instead
[    2.490000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0008001c: 0xa393 instead
[    2.510000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080020: 0xc6cd instead
[    2.530000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00080024: 0x694c instead
[    2.550000] Further such events for this erase block will not be printed
[    2.570000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090000: 0x20cc instead
[    2.590000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090004: 0xcaa6 instead
[    2.610000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090008: 0x8f78 instead
[    2.630000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0009000c: 0x82f7 instead
[    2.640000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090010: 0x35f3 instead
[    2.660000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090014: 0x93e1 instead
[    2.680000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090018: 0x47d6 instead
[    2.700000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0009001c: 0x0c18 instead
[    2.720000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090020: 0x586f instead
[    2.730000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00090024: 0x4bb0 instead
[    2.750000] Further such events for this erase block will not be printed
[    2.780000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0000: 0x6bf6 instead
[    2.800000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0004: 0x3b21 instead
[    2.820000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0008: 0x3028 instead
[    2.830000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a000c: 0x3467 instead
[    2.850000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0010: 0xc75b instead
[    2.870000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0014: 0x2eca instead
[    2.890000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0018: 0x2134 instead
[    2.900000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a001c: 0xa77c instead
[    2.920000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0020: 0x4155 instead
[    2.940000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000a0024: 0x4f67 instead
[    2.960000] Further such events for this erase block will not be printed
[    2.970000] Old JFFS2 bitmask found at 0x000a1390
[    2.980000] You cannot use older JFFS2 filesystems with newer kernels
[    3.000000] Old JFFS2 bitmask found at 0x000ab364
[    3.010000] You cannot use older JFFS2 filesystems with newer kernels
[    3.030000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0000: 0xace4 instead
[    3.050000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0004: 0xd648 instead
[    3.070000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0008: 0xa04e instead
[    3.080000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b000c: 0xb427 instead
[    3.100000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0010: 0x31cc instead
[    3.120000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0014: 0x2b33 instead
[    3.140000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0018: 0x2a3d instead
[    3.160000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b001c: 0xb6cb instead
[    3.170000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0020: 0xe2c1 instead
[    3.190000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000b0024: 0x3100 instead
[    3.210000] Further such events for this erase block will not be printed
[    3.240000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0000: 0x08ec instead
[    3.250000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0004: 0x2ff3 instead
[    3.270000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0008: 0xef5c instead
[    3.290000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c000c: 0xbbe9 instead
[    3.310000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0010: 0x693d instead
[    3.330000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0014: 0x7eda instead
[    3.340000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0018: 0x95d3 instead
[    3.360000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c001c: 0x7a6d instead
[    3.380000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0020: 0x1671 instead
[    3.400000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000c0024: 0xb41d instead
[    3.420000] Further such events for this erase block will not be printed
[    3.430000] Old JFFS2 bitmask found at 0x000c4030
[    3.440000] You cannot use older JFFS2 filesystems with newer kernels
[    3.460000] Old JFFS2 bitmask found at 0x000cd3b8
[    3.470000] You cannot use older JFFS2 filesystems with newer kernels
[    3.490000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0000: 0x0dc4 instead
[    3.510000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0004: 0x6e07 instead
[    3.520000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0008: 0x096b instead
[    3.540000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d000c: 0x8f09 instead
[    3.560000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0010: 0x3375 instead
[    3.580000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0014: 0xfcf5 instead
[    3.590000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0018: 0xf2e1 instead
[    3.610000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d001c: 0x9f82 instead
[    3.630000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0020: 0x0505 instead
[    3.650000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000d0024: 0x69da instead
[    3.670000] Further such events for this erase block will not be printed
[    3.690000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0000: 0x469e instead
[    3.710000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0004: 0x41f7 instead
[    3.730000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0008: 0xe86a instead
[    3.750000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e000c: 0x45cd instead
[    3.770000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0010: 0x84d4 instead
[    3.780000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0014: 0x0839 instead
[    3.800000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0018: 0x2bca instead
[    3.820000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e001c: 0x51b5 instead
[    3.840000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0020: 0xf453 instead
[    3.850000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000e0024: 0xff77 instead
[    3.870000] Further such events for this erase block will not be printed
[    3.900000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0000: 0x51a8 instead
[    3.920000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0004: 0xac09 instead
[    3.940000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0008: 0xd7a0 instead
[    3.950000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f000c: 0xa351 instead
[    3.970000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0010: 0x1100 instead
[    3.990000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0014: 0xacea instead
[    4.010000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0018: 0xb4d3 instead
[    4.020000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f001c: 0x0d61 instead
[    4.040000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0020: 0x8d08 instead
[    4.060000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x000f0024: 0xdb07 instead
[    4.080000] Further such events for this erase block will not be printed
[    4.100000] Old JFFS2 bitmask found at 0x000f4da0
[    4.110000] You cannot use older JFFS2 filesystems with newer kernels
[    4.130000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100000: 0x19cd instead
[    4.150000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100004: 0xf162 instead
[    4.160000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100008: 0xcf57 instead
[    4.180000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010000c: 0xe6ea instead
[    4.200000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100010: 0x7381 instead
[    4.220000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100014: 0x6398 instead
[    4.240000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100018: 0x9f3e instead
[    4.250000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0010001c: 0x1ff5 instead
[    4.270000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100020: 0xd4a2 instead
[    4.290000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00100024: 0x6757 instead
[    4.310000] Further such events for this erase block will not be printed
[    4.330000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110000: 0xf156 instead
[    4.350000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110004: 0x715f instead
[    4.370000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110008: 0xdfd8 instead
[    4.390000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0011000c: 0xb238 instead
[    4.410000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110010: 0x02a2 instead
[    4.420000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110014: 0x56e6 instead
[    4.440000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110018: 0x5180 instead
[    4.460000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0011001c: 0x7647 instead
[    4.480000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110020: 0x2c04 instead
[    4.500000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00110024: 0xb413 instead
[    4.510000] Further such events for this erase block will not be printed
[    4.540000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120000: 0x1d0b instead
[    4.560000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120004: 0x9dde instead
[    4.580000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120008: 0x3252 instead
[    4.590000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0012000c: 0x5ddf instead
[    4.610000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120010: 0xe5ea instead
[    4.630000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120014: 0xaf14 instead
[    4.650000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120018: 0xedd9 instead
[    4.670000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0012001c: 0xb755 instead
[    4.680000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120020: 0x99cc instead
[    4.700000] jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00120024: 0x861d instead
[    4.720000] Further such events for this erase block will not be printed
[    4.740000] Empty flash at 0x0012bc14 ends at 0x0012c000
[    4.760000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x130000
[    4.770000] Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[    4.790000] empty_blocks 26, bad_blocks 0, c->nr_blocks 45
[    4.800000] VFS: Cannot open root device "(null)" or unknown-block(31,4)
[    4.810000] Please append a correct "root=" boot option; here are the available partitions:
[    4.830000] 1f00             192 mtdblock0  (driver?)
[    4.840000] 1f01              64 mtdblock1  (driver?)
[    4.850000] 1f02              64 mtdblock2  (driver?)
[    4.860000] 1f03             896 mtdblock3  (driver?)
[    4.870000] 1f04            2880 mtdblock4  (driver?)
[    4.880000] 1f05            3776 mtdblock5  (driver?)
[    4.890000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,4)

[    0.630000] split_squashfs: no squashfs found in "physmap-flash.0" ---> problem for this?

(Last edited by jefbuan on 6 Dec 2012, 08:58)

Can anyone upload the "working" image that are you using? Thanks
Or a howto guide to compile as you have that image

Does anyone have any info about adding RAM to this device? the wiki has a heading for it but no info, it really needs an update.

Thanks

Hi there!

Does anyone that posted got open wrt running in the HG532? I'm not interested into getting de ADSL part running, just want to run a wifi repeater.

Thanks!

Hello there,

I'm new in openwrt, so sorry in advance for asking basic things.

I have an  HG532c, and I would like to do something useful with it. I have found on openwrt, and there is no official version working for this router. Will any of the working images that people say in this post be available soon?

I also have found, as commented before, the open source for HG532C:
http://consumer.huawei.com/en/support/d … ord=HG532c

Anyone have any idea or instructions on how to compile and send to the router?

Thanks in advance,

please some body update this i need i do't want to spent any money on the router

Hi I'm also looking for information on compiling firmware for the HG532c router anybody that can give some directions? The source seams to be available, I assume the source from Huawei is all that is needed? any help would be appreciated.

Anymore progress with this

The discussion might have continued from here.