User Tools

Site Tools


toh:t-com:spw504v

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
toh:t-com:spw504v [2014/02/16 19:02]
toh:t-com:spw504v [2014/08/30 13:28] (current)
jannispinter updated OpenWrt bootlog
Line 3: Line 3:
 The device is manufactured by Arcadyan. The device is manufactured by Arcadyan.
  
-\\ 
-{{page>​meta:​infobox:​construction&​noheader&​nofooter&​noeditbtn}} \\ 
- 
-| {{:​meta:​icons:​tango:​48px-emblem-progress.svg.png?​nolink}} | This device is **not supported** yet.| 
 ===== Supported Versions ===== ===== Supported Versions =====
 ^ Version/​Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ ^ Version/​Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
-| Typ A  |  -  | - |  ​ | - |+| Typ A  |  -  | - |  ​**not supported yet**  | - |
  
 OEM source code is not available. OEM source code is not available.
Line 15: Line 11:
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
 ^ SoC ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^ ^ SoC ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^
-Lantic ​Danube @333MHz ​| 64 MiB | 8 MiB | 4 x 1| Yes | Yes | ? |+Lantiq Xway Danube @333Mhz Dual Core | 64 MiB | 8 MiB | 4 x 1| Yes | Yes | ? |
 \\ \\
 User manual (in German): [[https://​www.telekom.de/​dlp/​eki/​downloads/​Speedport/​Speedport%20W%20504V%20Typ%20A/​Bedienungsanleitung_Speedport_W504V.pdf|Bedienungsanleitung]] \\ User manual (in German): [[https://​www.telekom.de/​dlp/​eki/​downloads/​Speedport/​Speedport%20W%20504V%20Typ%20A/​Bedienungsanleitung_Speedport_W504V.pdf|Bedienungsanleitung]] \\
 +Forum: [[https://​forum.openwrt.org/​viewtopic.php?​id=40043]] \\
 +
 +===== State of the OpenWrt port =====
 +^ ^            Status ​                                                ^ Comment ​         ^
 +| WLAN       | <​HTML><​font size="​6";​ color="​green">​✔</​font></​HTML> ​ | |
 +| DSL        | <​HTML><​font size="​6";​ color="​green">​✔</​font></​HTML> ​  | DSL modem is detected, firmware loaded. Not tested yet, but it should work for Annex B |
 +| Switch ​    | <​HTML><​font size="​6";​ color="​green">​✔</​font></​HTML> ​  | |
 +| Bootloader | <​HTML><​font size="​6";​ color="​orange">​WIP</​font></​HTML>​| I have no clue how the encryption of the firmware image works, see [[toh:​t-com:​spw504v#​Bootloader|Bootloader]],​ please help! :-) |
 +| LED        | <​HTML><​font size="​6";​ color="​green">​✔</​font></​HTML> ​  | |
 +| USB        | <​HTML><​font size="​6";​ color="​green">​✔</​font></​HTML>​| ​ |
 +| Telephony ​ | <​HTML><​font size="​6";​ color="​red">​✘</​font></​HTML>​ | Not tested yet |
 +| DECT       | <​HTML><​font size="​6";​ color="​red">​✘</​font></​HTML>​ | Not tested yet |
 +I've derived basic support for this device. You can flash a squashfs image via serial console and boot it with u-boot (in memory). However, I'm unable to create an image that can be booted by the brn-boot bootloader. I found some information on the web, that might help someone (with some C skills) to encrypt the squashfs image in order to boot OpenWrt with brn-boot. See [[toh:​t-com:​spw504v#​Bootloader|Bootloader]]. \\
 +You could also flash u-boot into the boot partition, but this might brick your device and you lose the ability to go back to the stock firmware!
 +
  
 ===== Installation ===== ===== Installation =====
Line 38: Line 49:
 </​code>​ </​code>​
 |{{:​meta:​icons:​tango:​48px-dialog-warning.svg.png?​nolink}}| Please note that area/​partition "[5] Flash Image" is the complete flash, so do **never** try to erase or reflash this area. Also don't mess with areas 0, 1 and 4 as you might brick your device.| |{{:​meta:​icons:​tango:​48px-dialog-warning.svg.png?​nolink}}| Please note that area/​partition "[5] Flash Image" is the complete flash, so do **never** try to erase or reflash this area. Also don't mess with areas 0, 1 and 4 as you might brick your device.|
 +
 +====Proposed flash layout for OpenWrt====
 +^ Speedport W 504V Typ A Flash Layout (Proposal) ^^^^^^^^^^
 +^ Layer0 | **//[5] Flash Image//** |||||||||
 +^ Size | 8192KiB (64KiB block size) |||||||||
 +^ Address | 0xB0000000 |||||||||
 +^ Layer1 (brn-boot) <​HTML><​td style="​background:#​ffc0c0;​font-style:​italic;​font-weight:​bold;">​[0] Boot</​td></​HTML>​ | **//[1] Configuration//​** | **//[2] Image 0//** <​HTML><​td style="​font-style:​italic;​font-weight:​bold;"​ colspan="​2">​[3] Image 1</​td><​td style="​background:#​ffc0c0;​font-style:​italic;​font-weight:​bold;">​[4] Boot Params</​td></​HTML>​ |
 +^ Size <​HTML><​td style="​background:#​ffc0c0;">​192KiB</​td></​HTML>​ | 256KiB | 3840KiB <​HTML><​td colspan="​2">​3840KiB</​td><​td style="​background:#​ffc0c0;">​64KiB</​td></​HTML>​ |
 +^ Address <​HTML><​td style="​background:#​ffc0c0;">​0xB0000000</​td></​HTML>​ | 0xB0030000 | 0xB0070000 <​HTML><​td colspan="​2">​0xB0430000</​td><​td style="​background:#​ffc0c0;">​0xB07F0000</​td></​HTML>​ |
 +^ Layer2 (OpenWrt) <​HTML><​td style="​background:#​ffc0c0;​font-style:​italic;​font-weight:​bold;">​brn-boot</​td><​td style="​background:#​c0ffc0;​font-style:​italic;​font-weight:​bold;"​ colspan="​2">​rootfs-data</​td><​td style="​background:#​c0c0ff;​font-style:​italic;​font-weight:​bold;">​kernel</​td><​td style="​background:#​ffffc0;​font-style:​italic;​font-weight:​bold;">​rootfs</​td><​td style="​background:#​ffc0c0;​font-style:​italic;​font-weight:​bold;">​art</​td></​HTML>​ |
 +^ Size <​HTML><​td style="​background:#​ffc0c0;">​128KiB</​td><​td style="​background:#​c0ffc0;"​ colspan="​2">​4096KiB</​td><​td style="​background:#​c0c0ff;">​1280KiB</​td><​td style="​background:#​ffffc0;">​2560KiB</​td><​td style="​background:#​ffc0c0;">​64KiB</​td></​HTML>​ |
 +^ Address <​HTML><​td style="​background:#​ffc0c0;">​0xB0000000</​td><​td style="​background:#​c0ffc0;"​ colspan="​2">​0xB0030000</​td><​td style="​background:#​c0c0ff;">​0xB0430000</​td><​td style="​background:#​ffffc0;">​0xB0570000</​td><​td style="​background:#​ffc0c0;">​0xB07F0000</​td></​HTML>​ |
 +^ Device <​HTML><​td style="​background:#​ffc0c0;">​mtd0</​td><​td style="​background:#​c0ffc0;"​ colspan="​2">​mtd1</​td><​td style="​background:#​c0c0ff;">​mtd2</​td><​td style="​background:#​ffffc0;">​mtd3</​td><​td style="​background:#​ffc0c0;">​mtd4</​td></​HTML>​ |
 +^ mountpoint <​HTML><​td style="​background:#​ffc0c0;​font-style:​italic;">​none</​td><​td style="​background:#​c0ffc0;"​ colspan="​2">/​overlay,​ /</​td><​td style="​background:#​c0c0ff;​font-style:​italic;">​none</​td><​td style="​background:#​ffffc0;">/​rom,​ /</​td><​td style="​background:#​ffc0c0;​font-style:​italic;">​none</​td></​HTML>​ |
 +^ filesystem <​HTML><​td style="​background:#​ffc0c0;​font-style:​italic;">​none</​td><​td style="​background:#​c0ffc0;"​ colspan="​2"><​a href="​doc/​techref/​filesystems#​jffs2">​JFFS2</​a></​td><​td style="​background:#​c0c0ff;​font-style:​italic;">​none</​td><​td style="​background:#​ffffc0;"><​a href="​doc/​techref/​filesystems#​squashfs">​SquashFS</​a></​td><​td style="​background:#​ffc0c0;​font-style:​italic;">​none</​td></​HTML>​ |
  
 ==== Flash custom firmware ==== ==== Flash custom firmware ====
Line 43: Line 69:
 Start your [[#​serial|serial terminal]], press the space bar 3 times (as soon as the device is powered on) to access the bootloader. The access password are **the first 4 digits** of your "​Gerätepasswort"​ (device password). Press return to see help menu. Press "​!"​ to access the hidden administrator mode with extended ​ Start your [[#​serial|serial terminal]], press the space bar 3 times (as soon as the device is powered on) to access the bootloader. The access password are **the first 4 digits** of your "​Gerätepasswort"​ (device password). Press return to see help menu. Press "​!"​ to access the hidden administrator mode with extended ​
 options. Press "​k"​ to run the minikernel, which will run a webserver on 192.168.2.1:​80 with recovery options. \\ options. Press "​k"​ to run the minikernel, which will run a webserver on 192.168.2.1:​80 with recovery options. \\
 +
 +==== Bootloader ====
 +The device uses [[http://​wiki.openwrt.org/​doc/​techref/​bootloader/​brnboot|brnboot]] as bootloader. With more recent versions of brnboot, Arcadyan got more imaginative with their obfuscation/​encryption algorhytms. ​
 +
 +In a flash dump of the bootloader I found two encryption keys: \\
 +0x1FBDC - 0x1FBDF: **E3AEF33F** \\
 +0x1FC00 - 0x1FC09: The null termianted ASCII String "​**BRNDTW504**"​ \\
 +
 +I tried the method described in the wiki article for [[http://​wiki.openwrt.org/​toh/​arcadyan/​arv7506#​create.firmware.image.for.brnboot|ARV7506]]. I was now able to flash the image via the bootloader'​s recovery webinterface (signature BRNDTW504 seems to be correct).
 +However, the bootloader didn't boot the encrypted image. :-(
 +
 +In the german ip-phone-forum I found some information about the encryption methods used in the Speedport W722V. I think this might be the correct method for this device, too. In [[http://​www.ip-phone-forum.de/​showthread.php?​t=211537|this thread]], it is described how to decrypt the firmware and a C program (for Windows :-( ) is provided.
  
  
Line 98: Line 136:
 |1| Vcc 3.3V | |1| Vcc 3.3V |
  
-{{https://​io.pinterjann.is/​public/​openwrt/​spw700v/​pictures/​speedport_w504v_serial_pinout.jpg}}+{{https://​io.pinterjann.is/​public/​openwrt/​spw504v/​pictures/​speedport_w504v_serial_pinout.jpg?400}}
  
 115200 baud, 8N1 115200 baud, 8N1
Line 107: Line 145:
 ===== Enable UART ===== ===== Enable UART =====
 I'm unable to find R80 but located R65 near the CPU! I'm unable to find R80 but located R65 near the CPU!
 +
 +===== Patch =====
 +This patch can be seen as a draft to add support for this device. It is not finished yet.
 +<​HTML>​
 +<code diff>
 +<p style="​padding:​ 10px;​border:​1px solid grey;​height:​600px;​font:​10px/​14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​
 +diff --git a/​target/​linux/​lantiq/​base-files/​etc/​uci-defaults/​01_leds b/​target/​linux/​lantiq/​base-files/​etc/​uci-defaults/​01_leds
 +index 70a14d9..7c122db 100644
 +--- a/​target/​linux/​lantiq/​base-files/​etc/​uci-defaults/​01_leds
 ++++ b/​target/​linux/​lantiq/​base-files/​etc/​uci-defaults/​01_leds
 +@@ -30,6 +30,13 @@ BTHOMEHUBV2B)
 + ​ ucidef_set_led_netdev "​internet"​ "​internet"​ "​soc:​blue:​broadband"​ "​nas0"​
 + ​ ucidef_set_led_usbdev "​usb"​ "​usb"​ "​soc:​blue:​phone"​ "​1-1"​
 +  ;;
 ++ARV8539PW22)
 ++ ucidef_set_led_default "​power"​ "​power"​ "​soc:​green:​power"​ "​1"​
 ++#​ ucidef_set_led_default "​power"​ "​power"​ "​soc:​red:​power"​ "​0"​
 ++ ucidef_set_led_wlan "​wifi"​ "​wifi"​ "​soc:​green:​wireless"​ "​phy0tpt"​
 ++ ucidef_set_led_netdev "​dsl"​ "​dsl"​ "​soc:​green:​dsl"​ "​nas0"​
 ++ ucidef_set_led_netdev "​online"​ "​online"​ "​soc:​green:​online"​ "​pppoe-wan"​
 ++ ;;
 + *)
 +  ;;
 + esac
 +diff --git a/​target/​linux/​lantiq/​base-files/​etc/​uci-defaults/​02_network b/​target/​linux/​lantiq/​base-files/​etc/​uci-defaults/​02_network
 +index 02f4f6a..9995af8 100644
 +--- a/​target/​linux/​lantiq/​base-files/​etc/​uci-defaults/​02_network
 ++++ b/​target/​linux/​lantiq/​base-files/​etc/​uci-defaults/​02_network
 +@@ -93,7 +93,7 @@ ACMP252|GIGASX76X)
 +  ;;
 + 
 + # ar8316
 +-ARV4519PW|ARV7510PW22|ARV7518PW|ARV752DPW22)
 ++ARV4519PW|ARV7510PW22|ARV7518PW|ARV752DPW22|ARV8539PW22)
 + ​ ucidef_set_interface_lan "​eth0.1"​
 + ​ ucidef_add_switch "​switch0"​ "​1"​ "​1"​
 + ​ ucidef_add_switch_vlan "​switch0"​ "​1"​ "0t 2 3 4 5"
 +diff --git a/​target/​linux/​lantiq/​image/​Makefile b/​target/​linux/​lantiq/​image/​Makefile
 +index f8d46fb..f44a0f1 100644
 +--- a/​target/​linux/​lantiq/​image/​Makefile
 ++++ b/​target/​linux/​lantiq/​image/​Makefile
 +@@ -310,6 +310,9 @@ Image/​Build/​Profile/​ARV752DPW=$(call Image/​Build/​$(1),​$(1),​ARV752DPW)
 + ​Image/​BuildKernel/​Profile/​ARV752DPW22=$(call Image/​BuildKernel/​Template,​ARV752DPW22)
 + ​Image/​Build/​Profile/​ARV752DPW22=$(call Image/​Build/​$(1),​$(1),​ARV752DPW22)
 + 
 ++Image/​BuildKernel/​Profile/​ARV8539PW22=$(call Image/​BuildKernel/​Template,​ARV8539PW22)
 ++Image/​Build/​Profile/​ARV8539PW22=$(call Image/​Build/​$(1),​$(1),​ARV8539PW22,​BRNDTW504,​0xE3AEF33F,​memsize=64)
 ++
 + ​Image/​BuildKernel/​Profile/​GIGASX76X=$(call Image/​BuildKernel/​Template,​GIGASX76X)
 + ​Image/​Build/​Profile/​GIGASX76X=$(call Image/​Build/​$(1),​$(1),​GIGASX76X)
 + 
 +diff --git a/​target/​linux/​lantiq/​xway/​profiles/​arv.mk b/​target/​linux/​lantiq/​xway/​profiles/​arv.mk
 +index 30cc778..b1c720b 100644
 +--- a/​target/​linux/​lantiq/​xway/​profiles/​arv.mk
 ++++ b/​target/​linux/​lantiq/​xway/​profiles/​arv.mk
 +@@ -18,6 +18,18 @@ endef
 + 
 + ​$(eval $(call Profile,​ARV7525PW))
 + 
 ++define Profile/​ARV8539PW22
 ++  NAME:​=Speedport W504V Typ A - ARV8539PW22
 ++  PACKAGES:​=kmod-ltq-hcd-danube \
 ++ kmod-ltq-adsl-danube-mei kmod-ltq-adsl-danube \
 ++ kmod-ltq-adsl-danube-fw-b kmod-ltq-atm-danube \
 ++ ltq-adsl-app ppp-mod-pppoa \
 ++ kmod-ath9k wpad-mini \
 ++ swconfig
 ++endef
 ++
 ++$(eval $(call Profile,​ARV8539PW22))
 ++
 + ​define Profile/​ARV4518PWR01
 +   ​NAME:​=ARV4518PWR01
 +   ​PACKAGES:​=kmod-ltq-hcd-danube kmod-ledtrig-usbdev \
 +diff --git a/​target/​linux/​lantiq/​dts/​ARV8539PW22.dts b/​target/​linux/​lantiq/​dts/​ARV8539PW22.dts
 +new file mode 100644
 +index 0000000..4206937
 +--- /dev/null
 ++++ b/​target/​linux/​lantiq/​dts/​ARV8539PW22.dts
 +@@ -0,0 +1,160 @@
 ++/dts-v1/;
 ++
 ++/include/ "​danube.dtsi"​
 ++
 ++/ {
 ++ model = "​ARV8539PW22 - Speedport W 504V Typ A";
 ++
 ++ memory@0 {
 ++ reg = <0x0 0x4000000>;​
 ++ };
 ++
 ++ sram@1F000000 {
 ++ vmmc@107000 {
 ++ status = "​okay";​
 ++ gpios = <&​gpio 31 0>;
 ++ };
 ++ };
 ++
 ++ fpi@10000000 {
 ++ localbus@0 {
 ++ nor-boot@0 {
 ++ compatible = "​lantiq,​nor";​
 ++ bank-width = <2>;
 ++ reg = <0 0x0 0x800000>;​
 ++ #​address-cells = <1>;
 ++ #​size-cells = <1>;
 ++
 ++ partition@0 {
 ++ label = "​brnboot";​
 ++ reg = <0x00000 0x30000>;​ /​* 192 KiB */
 ++ read-only;​
 ++ };
 ++
 ++ partition@30000 {
 ++ label = "​rootfs_data";​
 ++ reg = <0x30000 0x400000>;​ /​* 4 MiB */
 ++ };
 ++
 ++ partition@430000 {
 ++ label = "​firmware";​
 ++ reg = <​0x430000 0x3C0000>;​ /​* 3840 KiB */
 ++ };
 ++
 ++ partition@7F0000 {
 ++ label = "​art";​
 ++ reg = <​0x7F0000 0x10000>;​ /​* 64 KiB*/
 ++ read-only;​
 ++ };
 ++ };
 ++
 ++ mac_addr {
 ++ compatible = "​lantiq,​eth-mac";​
 ++ reg = <0 0x7f0016 0x6>;
 ++ mac-increment = <2>;
 ++ };
 ++
 ++ ath9k_eep {
 ++ compatible = "​ath9k,​eeprom";​
 ++ reg = <0 0x7f0400 0x1000
 ++ 0 0x7f0016 0x6>;
 ++ ath,​mac-increment = <1>;
 ++ ath,​pci-slot = <14>;
 ++ ath,​eep-endian;​
 ++ ath,​arv-ath9k-fix;​
 ++ };
 ++ };
 ++
 ++ gpio: pinmux@E100B10 {
 ++ pinctrl-names = "​default";​
 ++ pinctrl-0 = <&​state_default>;​
 ++
 ++ state_default:​ pinmux {
 ++
 ++ pci_in {
 ++ lantiq,​groups = "​req1";​
 ++ lantiq,​function = "​pci";​
 ++ lantiq,​open-drain = <1>;
 ++ lantiq,​pull = <2>;
 ++ lantiq,​output = <0>;
 ++ };
 ++ pci_out {
 ++ lantiq,​groups = "​gnt1";​
 ++ lantiq,​function = "​pci";​
 ++ lantiq,​output = <1>;
 ++ };
 ++ pci_rst {
 ++ lantiq,​pins = "​io21";​
 ++ lantiq,​pull = <2>;
 ++ lantiq,​output = <1>;
 ++ };
 ++ relay {
 ++ lantiq,​pins = "​io31";​
 ++ lantiq,​output = <1>;
 ++ };
 ++ };
 ++ };
 ++
 ++ etop@E180000 {
 ++ phy-mode = "​mii";​
 ++ };
 ++
 ++ pci@E105400 {
 ++ status = "​okay";​
 ++ gpio-reset = <&​gpio 21 0>;
 ++ };
 ++
 ++ ifxhcd@E101000 {
 ++ status = "​okay";​
 ++ gpios = <&​gpio 14 0>;
 ++ lantiq,​portmask = <​0x3>;​
 ++ };
 ++
 ++ };
 ++
 ++ gpio-keys-polled {
 ++ compatible = "​gpio-keys-polled";​
 ++ #​address-cells = <1>;
 ++ #​size-cells = <0>;
 ++ poll-interval = <​100>;​
 ++
 ++ wireless {
 ++ label = "​wireless";​
 ++ gpios = <&​gpio 29 1>;
 ++ linux,​code = <​0x211>;​
 ++ };
 ++ reset {
 ++ label = "​reset";​
 ++ gpios = <&​gpio 30 1>;
 ++ linux,​code = <​0x198>;​
 ++ };
 ++ };
 ++
 ++ gpio-leds {
 ++ compatible = "​gpio-leds";​
 ++
 ++ power-green {
 ++ label = "​power";​
 ++ gpios = <&​gpio 24 1>;
 ++ };
 ++ power-red {
 ++ label = "​soc:​red:​power";​
 ++ gpios = <&​gpio 4 1>;
 ++ };
 ++
 ++ dsl-green {
 ++ label = "​soc:​green:​dsl";​
 ++ gpios = <&​gpio 5 1>;
 ++ };
 ++
 ++ online-green {
 ++ label = "​soc:​green:​online";​
 ++ gpios = <&​gpio 6 1>;
 ++ };
 ++
 ++ wireless-green {
 ++ label = "​soc:​green:​wireless";​
 ++ gpios = <&​gpio 8 1>;
 ++ };
 ++
 ++ phone-green {
 ++ label = "​soc:​green:​phone";​
 ++ gpios = <&​gpio 9 1>;
 ++ };
 ++
 ++ };
 ++};
 +</​code>​
 +</p>
 +</​HTML>​
 +
 +
  
 ===== Bootlogs ===== ===== Bootlogs =====
 +==== OpenWrt bootlog ====
 +<​HTML>​
 +<p style="​padding:​ 10px;​border:​1px solid grey;​height:​600px;​font:​10px/​14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​
 +<​code>​
 +[    0.000000] Linux version 3.10.49 (openwrt@5d70dc216165) (gcc version 4.8.3 (OpenWrt/​Linaro GCC 4.8-2014.04 r42162) ) #3 Sat Aug 30 11:06:55 UTC 2014
 +[    0.000000] SoC: Danube rev 1.5
 +[    0.000000] bootconsole [early0] enabled
 +[    0.000000] CPU revision is: 00019641 (MIPS 24KEc)
 +[    0.000000] MIPS: machine is ARV8539PW22 - Speedport W 504V Typ A
 +[    0.000000] Determined physical RAM map:
 +[    0.000000] ​ memory: 04000000 @ 00000000 (usable)
 +[    0.000000] Initrd not found or empty - disabling initrd
 +[    0.000000] Zone ranges:
 +[    0.000000] ​  ​Normal ​  [mem 0x00000000-0x03ffffff]
 +[    0.000000] Movable zone start for each node
 +[    0.000000] Early memory node ranges
 +[    0.000000] ​  ​node ​  0: [mem 0x00000000-0x03ffffff]
 +[    0.000000] On node 0 totalpages: 16384
 +[    0.000000] free_area_init_node:​ node 0, pgdat 803969d0, node_mem_map 810029c0
 +[    0.000000] ​  ​Normal zone: 128 pages used for memmap
 +[    0.000000] ​  ​Normal zone: 0 pages reserved
 +[    0.000000] ​  ​Normal zone: 16384 pages, LIFO batch:3
 +[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 32 bytes.
 +[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
 +[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
 +[    0.000000] pcpu-alloc: [0] 0 
 +[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
 +[    0.000000] Kernel command line: console=ttyLTQ0,​115200 init=/​etc/​preinit
 +[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
 +[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
 +[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
 +[    0.000000] Writing ErrCtl register=00074d28
 +[    0.000000] Readback ErrCtl register=00074d28
 +[    0.000000] Memory: 60752k/​65536k available (3017k kernel code, 4784k reserved, 761k data, 180k init, 0k highmem)
 +[    0.000000] NR_IRQS:256
 +[    0.000000] CPU Clock: 333MHz
 +[    0.036000] Calibrating delay loop... 221.18 BogoMIPS (lpj=442368)
 +[    0.036000] pid_max: default: 32768 minimum: 301
 +[    0.040000] Mount-cache hash table entries: 512
 +[    0.048000] pinctrl core: initialized pinctrl subsystem
 +[    0.052000] NET: Registered protocol family 16
 +[    0.072000] pinctrl-xway 1e100b10.pinmux:​ Init done
 +[    0.076000] dma-xway 1e104100.dma:​ Init done - hw rev: 3, ports: 5, channels: 20
 +[    0.088000] PCI host bridge /​fpi@10000000/​pci@E105400 ranges:
 +[    0.092000] ​ MEM 0x0000000018000000..0x0000000019ffffff
 +[    0.096000] ​  IO 0x000000001ae00000..0x000000001affffff
 +[    0.100000] ath9k,​eeprom 107f0400.ath9k_eep:​ endian check enabled.
 +[    0.104000] ath9k,​eeprom 107f0400.ath9k_eep:​ pci slot: 14
 +[    0.108000] ath9k,​eeprom 107f0400.ath9k_eep:​ loaded ath9k eeprom
 +[    0.132000] bio: create slab <​bio-0>​ at 0
 +[    0.140000] usbcore: registered new interface driver usbfs
 +[    0.144000] usbcore: registered new interface driver hub
 +[    0.148000] usbcore: registered new device driver usb
 +[    0.152000] PCI host bridge to bus 0000:00
 +[    0.156000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
 +[    0.160000] pci_bus 0000:00: root bus resource [io  0x1ae00000-0x1affffff]
 +[    0.164000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
 +[    0.168000] pci 0000:​00:​0e.0:​ [168c:ff1d] type 00 class 0x020000
 +[    0.168000] pci 0000:​00:​0e.0:​ fixup device configuration
 +[    0.172000] pci 0000:​00:​0e.0:​ fixup info: [168c:0029] revision 01 class 0x028000
 +[    0.176000] pci 0000:​00:​0e.0:​ reg 10: [mem 0x00000000-0x0000ffff]
 +[    0.176000] pci 0000:​00:​0e.0:​ PME# supported from D0 D3hot
 +[    0.176000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
 +[    0.176000] pci 0000:​00:​0e.0:​ BAR 0: assigned [mem 0x18000000-0x1800ffff]
 +[    0.180000] pci 0000:​00:​0e.0:​ SLOT:14 PIN:1 IRQ:30
 +[    0.184000] Switching to clocksource MIPS
 +[    0.192000] NET: Registered protocol family 2
 +[    0.200000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
 +[    0.208000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
 +[    0.212000] TCP: Hash tables configured (established 512 bind 512)
 +[    0.220000] TCP: reno registered
 +[    0.224000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 +[    0.228000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 +[    0.236000] NET: Registered protocol family 1
 +[    0.240000] PCI: CLS 0 bytes, default 32
 +[    0.240000] gptu: totally 6 16-bit timers/​counters
 +[    0.244000] gptu: misc_register on minor 63
 +[    0.248000] gptu: succeeded to request irq 126
 +[    0.256000] gptu: succeeded to request irq 127
 +[    0.260000] gptu: succeeded to request irq 128
 +[    0.264000] gptu: succeeded to request irq 129
 +[    0.268000] gptu: succeeded to request irq 130
 +[    0.272000] gptu: succeeded to request irq 131
 +[    0.284000] lantiq,vmmc 1f103000.vmmc:​ requested GPIO 255
 +[    0.288000] lantiq,vmmc 1f103000.vmmc:​ reserved 1MB at 0x03900000
 +[    0.304000] squashfs: version 4.0 (2009/​01/​31) Phillip Lougher
 +[    0.308000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 +[    0.320000] msgmni has been set to 118
 +[    0.324000] io scheduler noop registered
 +[    0.328000] io scheduler deadline registered (default)
 +[    0.336000] 1e100c00.serial:​ ttyLTQ0 at MMIO 0x1e100c00 (irq = 112) is a lantiq,asc
 +[    0.344000] console [ttyLTQ0] enabled, bootconsole disabled
 +[    0.360000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
 +[    0.368000] Amd/Fujitsu Extended Query Table at 0x0040
 +[    0.372000] ​  ​Amd/​Fujitsu Extended Query version 1.1.
 +[    0.376000] number of CFI chips: 1
 +[    0.380000] 4 ofpart partitions found on MTD device ltq_nor
 +[    0.384000] Creating 4 MTD partitions on "​ltq_nor":​
 +[    0.388000] 0x000000000000-0x000000030000 : "​brnboot"​
 +[    0.396000] 0x000000030000-0x000000430000 : "​rootfs_data"​
 +[    0.404000] 0x000000430000-0x0000007f0000 : "​firmware"​
 +[    0.416000] 2 uimage-fw partitions found on MTD device firmware
 +[    0.420000] 0x000000430000-0x00000057f5a7 : "​kernel"​
 +[    0.428000] mtd: partition "​kernel"​ must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
 +[    0.440000] 0x00000057f5a7-0x0000007f0000 : "​rootfs"​
 +[    0.444000] mtd: partition "​rootfs"​ must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
 +[    0.460000] mtd: device 4 (rootfs) set to be root filesystem
 +[    0.464000] mtd: partition "​rootfs_data"​ created automatically,​ ofs=0x7b0000,​ len=0x40000
 +[    0.472000] 0x0000007b0000-0x0000007f0000 : "​rootfs_data"​
 +[    0.528000] 0x0000007f0000-0x000000800000 : "​art"​
 +[    0.568000] switch0: Atheros AR8216 rev. 1 switch registered on 1e180000.etop-ff
 +[    0.608000] libphy: ltq_mii: probed
 +[    0.704000] eth0: attached PHY [Atheros AR8216/​AR8236/​AR8316] (phy_addr=1e180000.etop-ff:​00,​ irq=-1)
 +[    0.716000] wdt 1f8803f0.watchdog:​ Init done
 +[    0.720000] leds-gpio gpio-leds.5:​ pins are not configured from the driver
 +[    0.732000] TCP: cubic registered
 +[    0.732000] NET: Registered protocol family 17
 +[    0.740000] 8021q: 802.1Q VLAN Support v1.8
 +[    0.748000] UBIFS error (pid 1): ubifs_mount:​ cannot open "​ubi0:​rootfs",​ error -19
 +[    0.768000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
 +[    0.776000] Freeing unused kernel memory: 180K (803b3000 - 803e0000)
 +[    5.776000] IFXUSB: ifxusb_hcd: version 3.2 B110801
 +[    6.284000] IFXUSB: USB core #0 soft-reset
 +[    6.488000] IFXUSB: USB core #0 soft-reset
 +[    6.492000] ifxusb_hcd ifxusb_hcd: IFX USB Controller
 +[    6.496000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 1
 +[    6.504000] ifxusb_hcd ifxusb_hcd: irq 62, io mem 0xbe101000
 +[    6.508000] IFXUSB: Mode Mismatch Interrupt: currently in Host mode
 +[    6.516000] IFXUSB: Mode Mismatch Interrupt: currently in Host mode
 +[    6.520000] IFXUSB: Init: Power Port (0)
 +[    6.528000] hub 1-0:1.0: USB hub found
 +[    6.528000] hub 1-0:1.0: 1 port detected
 +[    6.532000] ifxusb_hcd ifxusb_hcd: requested GPIO 238
 +[   ​12.312000] NET: Registered protocol family 10
 +[   ​12.324000] NET: Registered protocol family 8
 +[   ​12.328000] NET: Registered protocol family 20
 +[   ​12.340000] PPP generic driver version 2.4.2
 +[   ​12.360000] nf_conntrack version 0.5.0 (952 buckets, 3808 max)
 +[   ​12.372000] ip6_tables: (C) 2000-2006 Netfilter Core Team
 +[   ​12.392000] IFX MEI Version 5.00.00
 +[   ​12.408000] Infineon CPE API Driver version: DSL CPE API V3.24.4.4
 +[   ​12.420000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
 +[   ​12.428000] Backport generated by backports.git backports-20140320-37-g5c33da0
 +[   ​12.440000] ip_tables: (C) 2000-2006 Netfilter Core Team
 +[   ​12.460000] ATM1.0.26 ​   ATM (A1) firmware version 0.17
 +[   ​12.464000] ifxmips_atm:​ ATM init succeed
 +[   ​12.472000] Infineon Technologies DEU driver version 2.0.0 
 +[   ​12.476000] Danube Chip ver. 1.4 detected. ​
 +[   ​12.492000] IFX DEU DES initialized (multiblock).
 +[   ​12.500000] IFX DEU AES initialized (multiblock).
 +[   ​12.504000] IFX DEU SHA1 initialized.
 +[   ​12.512000] IFX DEU MD5 initialized.
 +[   ​12.544000] NET: Registered protocol family 24
 +[   ​12.592000] xt_time: kernel timezone is -0000
 +[   ​12.684000] cfg80211: Calling CRDA to update world regulatory domain
 +[   ​12.688000] cfg80211: World regulatory domain updated:
 +[   ​12.692000] cfg80211: ​ DFS Master region: unset
 +[   ​12.696000] cfg80211: ​  ​(start_freq - end_freq @ bandwidth), (max_antenna_gain,​ max_eirp), (dfs_cac_time)
 +[   ​12.704000] cfg80211: ​  ​(2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
 +[   ​12.712000] cfg80211: ​  ​(2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
 +[   ​12.720000] cfg80211: ​  ​(2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
 +[   ​12.728000] cfg80211: ​  ​(5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
 +[   ​12.736000] cfg80211: ​  ​(5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
 +[   ​12.744000] cfg80211: ​  ​(5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
 +[   ​12.752000] cfg80211: ​  ​(5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
 +[   ​12.760000] cfg80211: ​  ​(57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
 +[   ​12.880000] PCI: Enabling device 0000:​00:​0e.0 (0000 -> 0002)
 +[   ​12.892000] ath: phy0: eeprom contains invalid mac address: ff:​ff:​ff:​ff:​ff:​ff
 +[   ​12.896000] ath: phy0: random mac address will be used: 4e:​c1:​de:​3f:​7a:​89
 +[   ​12.904000] ath: EEPROM regdomain: 0x0
 +[   ​12.904000] ath: EEPROM indicates default country code should be used
 +[   ​12.904000] ath: doing EEPROM country->​regdmn map search
 +[   ​12.904000] ath: country maps to regdmn code: 0x3a
 +[   ​12.904000] ath: Country alpha2 being used: US
 +[   ​12.904000] ath: Regpair used: 0x3a
 +[   ​12.928000] ieee80211 phy0: Selected rate control algorithm '​minstrel_ht'​
 +[   ​12.992000] cfg80211: Calling CRDA for country: US
 +[   ​13.004000] cfg80211: Regulatory domain changed to country: US
 +[   ​13.008000] cfg80211: ​ DFS Master region: FCC
 +[   ​13.012000] cfg80211: ​  ​(start_freq - end_freq @ bandwidth), (max_antenna_gain,​ max_eirp), (dfs_cac_time)
 +[   ​13.020000] cfg80211: ​  ​(2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
 +[   ​13.028000] cfg80211: ​  ​(5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
 +[   ​13.036000] cfg80211: ​  ​(5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
 +[   ​13.044000] cfg80211: ​  ​(5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
 +[   ​13.052000] cfg80211: ​  ​(57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
 +[   ​13.060000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb8000000,​ irq=30
 +[   ​25.204000] device eth0.1 entered promiscuous mode
 +[   ​25.208000] device eth0 entered promiscuous mode
 +[   ​25.220000] br-lan: port 1(eth0.1) entered forwarding state
 +[   ​25.224000] br-lan: port 1(eth0.1) entered forwarding state
 +[   ​27.228000] br-lan: port 1(eth0.1) entered forwarding state
 +[   ​29.248000] jffs2: notice: (994) jffs2_build_xattr_subsystem:​ complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
 +</​code>​
 +</p>
 +</​HTML>​
 +
 ==== OEM bootlog ==== ==== OEM bootlog ====
 <​HTML>​ <​HTML>​
toh/t-com/spw504v.1392573762.txt.bz2 · Last modified: 2014/02/16 19:02 (external edit)