{"action":"created","issue":{"url":"https://api.github.com/repos/lede-project/source/issues/229","repository_url":"https://api.github.com/repos/lede-project/source","labels_url":"https://api.github.com/repos/lede-project/source/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/lede-project/source/issues/229/comments","events_url":"https://api.github.com/repos/lede-project/source/issues/229/events","html_url":"https://github.com/lede-project/source/pull/229","id":169205378,"number":229,"title":"Add support for TEW-714TRU","user":{"login":"mb300sd","id":1869901,"avatar_url":"https://avatars.githubusercontent.com/u/1869901?v=3","gravatar_id":"","url":"https://api.github.com/users/mb300sd","html_url":"https://github.com/mb300sd","followers_url":"https://api.github.com/users/mb300sd/followers","following_url":"https://api.github.com/users/mb300sd/following{/other_user}","gists_url":"https://api.github.com/users/mb300sd/gists{/gist_id}","starred_url":"https://api.github.com/users/mb300sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mb300sd/subscriptions","organizations_url":"https://api.github.com/users/mb300sd/orgs","repos_url":"https://api.github.com/users/mb300sd/repos","events_url":"https://api.github.com/users/mb300sd/events{/privacy}","received_events_url":"https://api.github.com/users/mb300sd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-08-03T18:50:46Z","updated_at":"2016-08-04T04:53:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lede-project/source/pulls/229","html_url":"https://github.com/lede-project/source/pull/229","diff_url":"https://github.com/lede-project/source/pull/229.diff","patch_url":"https://github.com/lede-project/source/pull/229.patch"},"body":"![Image](https://www.trendnet.com/images/products/diagram/di_TEW-714TRU_1.jpg)\r\n![Image](https://i.imgur.com/xaLNg7J.jpg)\r\n![Image](https://i.imgur.com/0XMsY8L.jpg)\r\n![Image](https://i.imgur.com/PADCgxT.jpg)\r\n![Image](https://i.imgur.com/i9n7TGv.jpg)\r\n\r\n# Factory MTD\r\n```\r\nCreating 7 MTD partitions on \"raspi\":\r\n0x00000000-0x00800000 : \"ALL\"\r\n0x00000000-0x00030000 : \"Bootloader\"\r\n0x00030000-0x00040000 : \"Config\"\r\n0x00040000-0x00050000 : \"Factory\"\r\n0x00050000-0x001a555c : \"Kernel\"\r\nmtd: partition \"Kernel\" doesn't end on an erase block -- force read-only\r\n0x001a555c-0x01000000 : \"RootFS\"\r\nmtd: partition \"RootFS\" extends beyond the end of device \"raspi\" -- size truncated to 0x65aaa4\r\nmtd: partition \"RootFS\" doesn't start on an erase block boundary -- force read-only\r\n0x00050000-0x01000000 : \"Kernel_RootFS\"\r\n```\r\n\r\n# GPIOs\r\n```\r\n[gpio0 ]\twps\r\n[gpio9 ]\tred led\r\n[gpio10] \treset\r\n[gpio11:gpio12]\tswitch, 11=router, 01=repeater, 10 = wisp\r\n[gpio13]\tgreen led\r\n\t\r\nunknown:\r\ngpio7\r\ngpio8\r\ngpio11\r\ngpio14\r\ngpio17\r\ngpio18\r\ngpio19 \r\ngpio20\r\ngpio21\r\n```\r\n\r\n\r\n# Boot log:\r\n```\r\nU-Boot 1.1.3 (Apr 20 2015 - 13:25:55)\r\n\r\nBoard: RT5350F-OLinuXino DRAM:  32 MB\r\nrelocate_code Pointer at: 81fb4000\r\nspi_wait_nsec: 42\r\nspi device id: c2 20 17 c2 20 (2017c220)\r\nfind flash: MX25L6405D\r\nraspi_read: from:30000 len:1000\r\n.raspi_read: from:30000 len:1000\r\n.=============================================================\r\nRT5350F-OLinuXino UBoot Version: 4.0.0.0\r\n--------------------------------------------------------------\r\nASIC 5350_MP (Port5<->None)\r\nDRAM_CONF_FROM: Boot-Strapping\r\nDRAM_TYPE: SDRAM\r\nDRAM_SIZE: 256 Mbits\r\nDRAM_WIDTH: 16 bits\r\nDRAM_TOTAL_WIDTH: 16 bits\r\nTOTAL_MEMORY_SIZE: 32 MBytes\r\nFlash component: SPI Flash\r\nDate:Apr 20 2015  Time:13:25:55\r\n============================================\r\nicache: sets:256, ways:4, linesz:32 ,total:32768\r\ndcache: sets:128, ways:4, linesz:32 ,total:16384\r\n\r\n ##### The CPU freq = 360 MHZ ####\r\n estimate memory size =32 Mbytes\r\n\r\nPlease choose the operation:\r\n   1: Load system code to SDRAM via TFTP.\r\n   2: Load system code then write to Flash via TFTP.\r\n   3: Boot system code via Flash (default).\r\n   4: Entr boot command line interface.\r\n   7: Load Boot Loader code then write to Flash via Serial.\r\n   9: Load Boot Loader code then write to Flash via TFTP.\r\n\r\nYou choosed 1\r\n\r\n 0\r\nraspi_read: from:40028 len:6\r\n.\r\n\r\n1: System Load Linux to SDRAM via TFTP.\r\n Please Input new ones /or Ctrl-C to discard\r\n        Input device IP (192.168.1.1) ==:192.168.1.1\r\n        Input server IP (192.168.1.2) ==:192.168.1.2\r\n        Input Linux Kernel filename (build.bin) ==:lede-ramips-rt305x-tew-714tru-initramfs-uImage.bin\r\n\r\n netboot_common, argc= 3\r\n\r\n NetTxPacket = 0x81FE64C0\r\n\r\n KSEG1ADDR(NetTxPacket) = 0xA1FE64C0\r\n\r\n NetLoop,call eth_halt !\r\n\r\n NetLoop,call eth_init !\r\nTrying Eth0 (10/100-M)\r\n\r\n Waitting for RX_DMA_BUSY status Start... done\r\n\r\n\r\n Header Payload scatter function is Disable !!\r\n\r\n ETH_STATE_ACTIVE!!\r\nUsing Eth0 (10/100-M) device\r\nTFTP from server 192.168.1.2; our IP address is 192.168.1.1\r\nFilename 'lede-ramips-rt305x-tew-714tru-initramfs-uImage.bin'.\r\n\r\n TIMEOUT_COUNT=10,Load address: 0x80800000\r\nLoading: checksum bad\r\nchecksum bad\r\nchecksum bad\r\nchecksum bad\r\nGot ARP REPLY, set server/gtwy eth addr (00:0a:cd:23:5a:e8)\r\nGot it\r\n#################################################################\r\n         ###################checksum bad\r\n##############################################\r\n         #########checksum bad\r\n########################################################\r\n         ##############################################################checksum bad\r\n###\r\n         #################################################################\r\n         #################################################################\r\n         #################################################################\r\n         #################################################################\r\n         #################################################################\r\n         #######################\r\ndone\r\nBytes transferred = 3111429 (2f7a05 hex)\r\nNetBootFileXferSize= 002f7a05\r\nraspi_read: from:30000 len:10000\r\n.Erasing SPI Flash...\r\nraspi_erase: offs:30000 len:10000\r\n.\r\nWriting to SPI Flash...\r\nraspi_write: to:30000 len:10000\r\n.\r\ndone\r\nAutomatic boot of image at addr 0x80800000 ...\r\n## Booting image at 80800000 ...\r\n   Image Name:   Linux Kernel Image\r\n   Created:      2016-08-03  18:03:37 UTC\r\n   Image Type:   MIPS Linux Kernel Image (lzma compressed)\r\n   Data Size:    3111365 Bytes =  3 MB\r\n   Load Address: 80000000\r\n   Entry Point:  80000000\r\n   Verifying Checksum ... OK\r\n   Uncompressing Kernel Image ... OK\r\nNo initrd\r\n## Transferring control to Linux (at address 80000000) ...\r\n## Giving linux memsize in MB, 32\r\n\r\nStarting kernel ...\r\n\r\n[    0.000000] Linux version 4.4.15 (root@debian) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1227) ) #8 Wed Aug 3 18:06:24 UTC 2016\r\n[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3\r\n[    0.000000] bootconsole [early0] enabled\r\n[    0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)\r\n[    0.000000] MIPS: machine is TRENDnet TEW714TRU\r\n[    0.000000] Determined physical RAM map:\r\n[    0.000000]  memory: 02000000 @ 00000000 (usable)\r\n[    0.000000] Initrd not found or empty - disabling initrd\r\n[    0.000000] Zone ranges:\r\n[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]\r\n[    0.000000] Movable zone start for each node\r\n[    0.000000] Early memory node ranges\r\n[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]\r\n[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]\r\n[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.\r\n[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes\r\n[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128\r\n[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2\r\n[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)\r\n[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)\r\n[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)\r\n[    0.000000] Writing ErrCtl register=0000b2db\r\n[    0.000000] Readback ErrCtl register=0000b2db\r\n[    0.000000] Memory: 26636K/32768K available (2750K kernel code, 130K rwdata, 652K rodata, 2028K init, 191K bss, 6132K reserved, 0K cma-reserved)\r\n[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1\r\n[    0.000000] NR_IRQS:256\r\n[    0.000000] CPU Clock: 360MHz\r\n[    0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns\r\n[    0.000000] systick: running - mult: 214748, shift: 32\r\n[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 10618113593 ns\r\n[    0.000016] sched_clock: 32 bits at 180MHz, resolution 5ns, wraps every 11930464253ns\r\n[    0.015665] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)\r\n[    0.090873] pid_max: default: 32768 minimum: 301\r\n[    0.100281] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)\r\n[    0.113353] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)\r\n[    0.136546] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns\r\n[    0.156408] pinctrl core: initialized pinctrl subsystem\r\n[    0.168134] NET: Registered protocol family 16\r\n[    0.183722] rt2880-pinmux pinctrl: invalid group \"rgmii\" for function \"gpio\"\r\n[    0.197721] rt2880-pinmux pinctrl: invalid group \"mdio\" for function \"gpio\"\r\n[    0.247089] rt2880_gpio 10000600.gpio: registering 22 gpios\r\n[    0.258208] rt2880_gpio 10000600.gpio: registering 22 irq handlers\r\n[    0.273394] clocksource: Switched to clocksource MIPS\r\n[    0.286160] NET: Registered protocol family 2\r\n[    0.296552] TCP established hash table entries: 1024 (order: 0, 4096 bytes)\r\n[    0.310446] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)\r\n[    0.323026] TCP: Hash tables configured (established 1024 bind 1024)\r\n[    0.335888] UDP hash table entries: 256 (order: 0, 4096 bytes)\r\n[    0.347515] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)\r\n[    0.360548] NET: Registered protocol family 1\r\n[    4.464217] rt-timer 10000100.timer: maximum frequency is 3662Hz\r\n[    4.478110] futex hash table entries: 256 (order: -1, 3072 bytes)\r\n[    4.490418] Crashlog allocated RAM at address 0x1f00000\r\n[    4.537208] squashfs: version 4.0 (2009/01/31) Phillip Lougher\r\n[    4.548847] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.\r\n[    4.575103] io scheduler noop registered\r\n[    4.582789] io scheduler deadline registered (default)\r\n[    4.593708] ralink-usb-phy usbphy: invalid resource\r\n[    4.605012] gpio-export gpio_export: 2 gpio(s) exported\r\n[    4.616034] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled\r\n[    4.631046] console [ttyS0] disabled\r\n[    4.638228] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103\r\n[    4.657951] console [ttyS0] enabled\r\n[    4.657951] console [ttyS0] enabled\r\n[    4.671727] bootconsole [early0] disabled\r\n[    4.671727] bootconsole [early0] disabled\r\n[    4.698818] spi spi0.0: force spi mode3\r\n[    4.707506] m25p80 spi0.0: mx25l6405d (8192 Kbytes)\r\n[    4.717419] 4 ofpart partitions found on MTD device spi0.0\r\n[    4.728406] Creating 4 MTD partitions on \"spi0.0\":\r\n[    4.738021] 0x000000000000-0x000000030000 : \"u-boot\"\r\n[    4.751714] 0x000000030000-0x000000040000 : \"u-boot-env\"\r\n[    4.766510] 0x000000040000-0x000000050000 : \"factory\"\r\n[    4.780671] 0x000000050000-0x000000800000 : \"firmware\"\r\n[    4.840897] rt3050-esw 10110000.esw: link changed 0x00\r\n[    4.854547] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5\r\n[    4.872294] rt2880_wdt 10000120.watchdog: Initialized\r\n[    4.885537] NET: Registered protocol family 10\r\n[    4.903004] NET: Registered protocol family 17\r\n[    4.912254] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.\r\n[    4.937564] 8021q: 802.1Q VLAN Support v1.8\r\n[    4.971641] Freeing unused kernel memory: 2028K (80375000 - 80570000)\r\n[    5.010745] init: Console is alive\r\n[    5.018243] init: - watchdog -\r\n[    5.079757] usbcore: registered new interface driver usbfs\r\n[    5.091138] usbcore: registered new interface driver hub\r\n[    5.102120] usbcore: registered new device driver usb\r\n[    5.143994] init: - preinit -\r\n[    5.347770] rt3050-esw 10110000.esw: link changed 0x00\r\nPress the [f] key and hit [enter] to enter failsafe mode\r\nPress the [1], [2], [3] or [4] key and hit [enter] to select the debug level\r\n[    6.938289] rt3050-esw 10110000.esw: link changed 0x01\r\n[    8.688823] procd: - early -\r\n[    8.695009] procd: - watchdog -\r\n[    9.297625] procd: - ubus -\r\n[    9.354285] random: ubusd urandom read with 15 bits of entropy available\r\n[    9.372273] procd: - init -\r\nPlease press Enter to activate this console.\r\n[    9.682520] ip6_tables: (C) 2000-2006 Netfilter Core Team\r\n[    9.722455] Loading modules backported from Linux version wt-2016-06-20-0-gbc17424\r\n[    9.737710] Backport generated by backports.git backports-20160216-7-g5735958\r\n[    9.760137] ip_tables: (C) 2000-2006 Netfilter Core Team\r\n[    9.791199] nf_conntrack version 0.5.0 (447 buckets, 1788 max)\r\n[    9.876266] xt_time: kernel timezone is -0000\r\n[    9.994487] PPP generic driver version 2.4.2\r\n[   10.008966] NET: Registered protocol family 24\r\n[   10.069810] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected\r\n[   10.085447] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350 detected\r\n[   15.121796] rt3050-esw 10110000.esw: link changed 0x00\r\n[   16.744375] rt3050-esw 10110000.esw: link changed 0x01\r\n[   21.933913] device eth0.1 entered promiscuous mode\r\n[   21.943645] device eth0 entered promiscuous mode\r\n[   22.026457] br-lan: port 1(eth0.1) entered forwarding state\r\n[   22.037805] br-lan: port 1(eth0.1) entered forwarding state\r\n[   22.160540] br-lan: port 2(eth0) entered forwarding state\r\n[   22.171530] br-lan: port 2(eth0) entered forwarding state\r\n[   24.033535] br-lan: port 1(eth0.1) entered forwarding state\r\n[   24.163532] br-lan: port 2(eth0) entered forwarding state\r\n\r\n\r\n\r\nBusyBox v1.24.2 () built-in shell (ash)\r\n\r\n     _________\r\n    /        /\\      _    ___ ___  ___\r\n   /  LE    /  \\    | |  | __|   \\| __|\r\n  /    DE  /    \\   | |__| _|| |) | _|\r\n /________/  LE  \\  |____|___|___/|___|                      lede-project.org\r\n \\        \\   DE /\r\n  \\    LE  \\    /  -----------------------------------------------------------\r\n   \\  DE    \\  /    Reboot (HEAD, r1228)\r\n    \\________\\/    -----------------------------------------------------------\r\n\r\nroot@lede:/# ifconfig\r\nbr-lan    Link encap:Ethernet  HWaddr 00:14:D1:FD:66:1B\r\n          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0\r\n          inet6 addr: fd8b:eb69:bebe::1/60 Scope:Global\r\n          inet6 addr: fe80::214:d1ff:fefd:661b/64 Scope:Link\r\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\r\n          RX packets:165 errors:0 dropped:0 overruns:0 frame:0\r\n          TX packets:55 errors:0 dropped:0 overruns:0 carrier:0\r\n          collisions:0 txqueuelen:1000\r\n          RX bytes:19577 (19.1 KiB)  TX bytes:6931 (6.7 KiB)\r\n\r\neth0      Link encap:Ethernet  HWaddr 00:14:D1:FD:66:1B\r\n          inet6 addr: fe80::214:d1ff:fefd:661b/64 Scope:Link\r\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\r\n          RX packets:387 errors:0 dropped:8 overruns:0 frame:0\r\n          TX packets:247 errors:0 dropped:0 overruns:0 carrier:0\r\n          collisions:0 txqueuelen:1000\r\n          RX bytes:43969 (42.9 KiB)  TX bytes:34720 (33.9 KiB)\r\n          Interrupt:5\r\n\r\neth0.1    Link encap:Ethernet  HWaddr 00:14:D1:FD:66:1B\r\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\r\n          RX packets:0 errors:0 dropped:0 overruns:0 frame:0\r\n          TX packets:153 errors:0 dropped:0 overruns:0 carrier:0\r\n          collisions:0 txqueuelen:1000\r\n          RX bytes:0 (0.0 B)  TX bytes:20974 (20.4 KiB)\r\n\r\neth0.2    Link encap:Ethernet  HWaddr 00:14:D1:FD:66:1C\r\n          inet6 addr: fe80::214:d1ff:fefd:661c/64 Scope:Link\r\n          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1\r\n          RX packets:0 errors:0 dropped:0 overruns:0 frame:0\r\n          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0\r\n          collisions:0 txqueuelen:1000\r\n          RX bytes:0 (0.0 B)  TX bytes:3636 (3.5 KiB)\r\n\r\nlo        Link encap:Local Loopback\r\n          inet addr:127.0.0.1  Mask:255.0.0.0\r\n          inet6 addr: ::1/128 Scope:Host\r\n          UP LOOPBACK RUNNING  MTU:65536  Metric:1\r\n          RX packets:28 errors:0 dropped:0 overruns:0 frame:0\r\n          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0\r\n          collisions:0 txqueuelen:1\r\n          RX bytes:1988 (1.9 KiB)  TX bytes:1988 (1.9 KiB)\r\n\r\nroot@lede:/#\r\n```"},"comment":{"url":"https://api.github.com/repos/lede-project/source/issues/comments/237452278","html_url":"https://github.com/lede-project/source/pull/229#issuecomment-237452278","issue_url":"https://api.github.com/repos/lede-project/source/issues/229","id":237452278,"user":{"login":"obsy","id":695356,"avatar_url":"https://avatars.githubusercontent.com/u/695356?v=3","gravatar_id":"","url":"https://api.github.com/users/obsy","html_url":"https://github.com/obsy","followers_url":"https://api.github.com/users/obsy/followers","following_url":"https://api.github.com/users/obsy/following{/other_user}","gists_url":"https://api.github.com/users/obsy/gists{/gist_id}","starred_url":"https://api.github.com/users/obsy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obsy/subscriptions","organizations_url":"https://api.github.com/users/obsy/orgs","repos_url":"https://api.github.com/users/obsy/repos","events_url":"https://api.github.com/users/obsy/events{/privacy}","received_events_url":"https://api.github.com/users/obsy/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T04:53:35Z","updated_at":"2016-08-04T04:53:35Z","body":"target/linux/ramips/rt3883/profiles/trendnet.mk no longer exists."}}
{"actor":{"display_login":"obsy"}}