Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
toh:dragino:dragino_lps8 [2020/11/10 15:52] – [Dragino LPS8] rogerpueyotoh:dragino:lps8 [2021/07/29 10:15] – [OEM installation using the TFTP method] rogerpueyo
Line 7: Line 7:
 The [[https://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html|Dragino LPS8]] is an open source [[wp>LoRa#LoRaWAN|LoRaWAN]] gateway based on the AR9331 SoC to bridge a LoRa wireless network to an IP network via WiFi or Ethernet. It has one 10/100 Mbps RJ45 Ethernet port, one 2.4 GHz 802.11bgn radio and one USB host port. It is powered via a USB type C connector. The [[https://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html|Dragino LPS8]] is an open source [[wp>LoRa#LoRaWAN|LoRaWAN]] gateway based on the AR9331 SoC to bridge a LoRa wireless network to an IP network via WiFi or Ethernet. It has one 10/100 Mbps RJ45 Ethernet port, one 2.4 GHz 802.11bgn radio and one USB host port. It is powered via a USB type C connector.
  
-{{:media:dragino:dragino_lps8_front.jpg?200 | Dragino LPS8 front view }} {{:media:dragino:dragino_lps8_rear.jpg?200 | Dragino LPS8 rear view }} +{{:media:dragino:dragino_lps8_front.jpg?300|Dragino LPS8 front view}}
-{{:media:dragino:dragino_lps8_bottom.jpg?200 |Dragino LPS8 bottom view}} {{:media:dragino:dragino_lps8_board_front.jpg?200 |Dragino LPS8 board front view}} +
-{{:media:dragino:dragino_lps8_board_top.jpg?200 |Dragino LPS8 board top view}} {{:media:dragino:dragino_lps8_board_detail.jpg?200|Dragino LPS8 board detail view}}+
  
 ===== Supported Versions ===== ===== Supported Versions =====
- 
-<WRAP BOX> 
-FIXME 
-  - The tables below are automatically generated, **once the correct filters for Brand and Model are set.** 
-  - If the tables below show information for ''<nowiki>Dragino LPS8 </nowiki>'', everything is OK and you can delete this text and the ''<nowiki><WRAP></nowiki>'' that encloses it. 
-  - If the tables below contain "Nothing found", it means that either 
-    - the dataentry page for Dragino LPS8  is missing. Please [[meta:create_new_dataentry_page|create a new dataentry page]] first, then reload this page. The tables should then contain $something. If they do, delete this text and the ''<nowiki><WRAP></nowiki>'' that encloses it. 
-    - filters are not set correctly. Most common reason for "Nothing found": The dataentry does not contain a Version, but we are filtering here for version -> Please **edit this section and adjust the filters with the proper Brand, Model and Version.** In case the dataentry does not contain a version, delete the line ''filter  : Versions~''. Just try, it's easy. The tables should then contain $something. If they do, delete this text and the ''<nowiki><WRAP></nowiki>'' that encloses it. 
-  - If the tables still contain "Nothing found": Don't panic, calm down, take a deep breath and [[:contact|contact a wiki admin]] (tmomas) for help. 
-</WRAP> 
- 
 ---- datatable ---- ---- datatable ----
 cols    : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, Forum Search_search-forums, Device Techdata_pageid cols    : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, Forum Search_search-forums, Device Techdata_pageid
Line 29: Line 16:
 filter  : Brand=Dragino filter  : Brand=Dragino
 filter  : Model=LPS8 filter  : Model=LPS8
-filter  : Versions~ 
 ---- ----
  
----- datatable ---- 
-cols    : Unsupported Functions_unsupporteds 
-filter  : Brand=Dragino 
-filter  : Model=LPS8 
-filter  : Versions~ 
----- 
- 
-===== Experimental Versions ===== 
- 
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *  
-   The official Table of Hardware only lists current, stable versions of OpenWrt.  * 
-   Use this space to describe any on-going efforts to create a newer version       * 
-   of the firmware for this device. Provide links to firmware images,              * 
-   active threads on the forum, or other sources of information.                   * 
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 
- 
-//None at this time.// 
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
Line 57: Line 26:
 filter  : Brand=Dragino filter  : Brand=Dragino
 filter  : Model=LPS8 filter  : Model=LPS8
-filter  : Versions~ 
 ---- ----
  
Line 63: Line 31:
 ===== Installation ===== ===== Installation =====
 /* stable release */ /* stable release */
-/* uncomment once stable release is available 
 ---- datatable ---- ---- datatable ----
 cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url
Line 70: Line 37:
 filter  : Brand=Dragino filter  : Brand=Dragino
 filter  : Model=LPS8 filter  : Model=LPS8
-filter  : Versions~ 
----- 
-*/ 
- 
- 
-/* snapshot */ 
-/* delete once stable release is available */ 
----- datatable ---- 
-cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt snapshot Install URL_url, Firmware OpenWrt snapshot Upgrade URL_url, Firmware OEM Stock URL_url 
-headers : Model, Version, Current Release, Firmware OpenWrt snapshot Install, Firmware OpenWrt snapshot Upgrade, Firmware OEM Stock 
-align   : c,c,c 
-filter  : Brand=Dragino 
-filter  : Model=LPS8 
-filter  : Versions~ 
 ---- ----
  
Line 89: Line 42:
 -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]] -> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]]
  
-FIXME Please add the installation procedure here.+The device comes with an OpenWrt fork maintained by Dragino. The source code is available at [[https://github.com/dragino/openwrt_lede-18.06|GitHub]].
  
 ==== Flash Layout ==== ==== Flash Layout ====
-<WRAP BOX+These are the partitions in OpenWrt 18.06 according to /proc/mtd: 
-FIXME //[[:docs:techref:flash.layout#discovery_how_to_find_out|Find out flash layout]], then add the flash layout table here (copy, paste, modify the [[docs:techref:flash.layout#partitioning_of_the_flash|example]]).//+<code
 +dev   size   erasesize  name 
 +mtd000040000 00010000 "u-boot" 
 +mtd100fa0000 00010000 "firmware" 
 +mtd200160000 00010000 "kernel" 
 +mtd300e40000 00010000 "rootfs" 
 +mtd4: 005a0000 00010000 "rootfs_data" 
 +mtd5: 00010000 00010000 "config" 
 +mtd6: 00010000 00010000 "art" 
 +</code>
  
-Please check out the article [[docs:techref:flash.layout|Flash layout]]. It contains examples and explanations that describe how to document the flash layout. 
-</WRAP> 
  
 ==== OEM easy installation ==== ==== OEM easy installation ====
- +OEM firmware is a modified OpenWrt.
-<WRAP BOX> +
-FIXME //The instructions below are for Broadcom devices and only serve as an example.//\\ +
-**//Remove / modify them if they do not apply to this particular device!//** +
- +
-This section deals with +
-  * How you install OpenWrt from a device freshly opened +
-  * The steps required such as reset to factory defaults if the device has already been configured +
- +
-**Note:** Reset router to factory defaults if it has been previously configured. +
-  * Browse to ''<nowiki>http://192.168.1.1/Upgrade.asp</nowiki>'' +
-  * Upload .bin file to router +
-  * Wait for it to reboot +
-  * Telnet to 192.168.1.1 and set a root password, or browse to ''<nowiki>http://192.168.1.1</nowiki>'' if LuCI is installed. +
-</WRAP> +
- +
-==== OEM installation using the TFTP method ==== +
- +
-->  [[docs:guide-user:installation:generic.flashing.tftp]] +
- +
-=== Specific values needed for tftp === +
- +
-<WRAP BOX> +
- +
-FIXME Enter values for "FILL-IN" below +
- +
-^ Bootloader tftp server IPv4 address  | FILL-IN   | +
-^ Bootloader MAC address (special)     | FILL-IN   | +
-^ Firmware tftp image                  | [[:downloads|Latest OpenWrt release]] (**''NOTE:''** Name must contain //"tftp"//) | +
-^ TFTP transfer window                 | FILL-IN seconds                                | +
-^ TFTP window start                    | approximately FILL-IN seconds after power on   | +
-^ TFTP client required IP address      | FILL-IN                                        | +
- +
-</WRAP>+
  
 ===== Upgrading OpenWrt ===== ===== Upgrading OpenWrt =====
Line 238: Line 165:
 ===== Hardware ===== ===== Hardware =====
 ==== Info ==== ==== Info ====
-<WRAP BOX> 
-FIXME 
-  - This table is automatically generated, **once the correct filters for Brand and Model are set.** 
-  - If you see "Nothing." instead of a table, please **edit this section and adjust the filters with the proper Brand and Model.** Just try, it's easy. 
-  - If you still don't see a table here, or a table filled with '¿': [[toh:start|Is there already a Techdata page available]] for Dragino LPS8 ? If not: [[meta:create_new_dataentry_page|Create one]]. 
-  - If you see a table with the desired device data, everything is OK and you can delete this text and the ''<nowiki><WRAP></nowiki>'' that encloses it. 
-  - If it still doesn't work: Don't panic, calm down, take a deep breath and [[:contact|contact a wiki admin]] (tmomas) for help. 
-</WRAP> 
- 
 ---- datatemplatelist dttpllist ---- ---- datatemplatelist dttpllist ----
 template: meta:template_datatemplatelist template: meta:template_datatemplatelist
Line 252: Line 170:
 filter  : Brand=Dragino filter  : Brand=Dragino
 filter  : Model=LPS8 filter  : Model=LPS8
-filter  : Versions= 
 ---- ----
  
Line 261: Line 178:
 /* Thanks, your wiki administration - Oct. 2015 */ /* Thanks, your wiki administration - Oct. 2015 */
  
-//Front://\\ +{{:media:dragino:dragino_lps8_front.jpg?200|Dragino LPS8 front view}} 
-**Insert photo of front of the casing**+{{:media:dragino:dragino_lps8_rear.jpg?200|Dragino LPS8 rear view}} 
 +{{:media:dragino:dragino_lps8_bottom.jpg?200|Dragino LPS8 bottom view}} 
 +{{:media:dragino:dragino_lps8_board_front.jpg?200|Dragino LPS8 board front view}} 
 +{{:media:dragino:dragino_lps8_board_top.jpg?200|Dragino LPS8 board top view}} 
 +{{:media:dragino:dragino_lps8_board_detail.jpg?200|Dragino LPS8 board detail view}}
  
-//Back://\\ 
-**Insert photo of back of the casing** 
- 
-//Backside label://\\ 
-**Insert photo of backside label** 
  
 ==== Opening the case ==== ==== Opening the case ====
Line 311: Line 227:
 ==== OEM bootlog ==== ==== OEM bootlog ====
 <WRAP bootlog> <WRAP bootlog>
-<nowiki>COPY HERE THE BOOTLOG WITH THE ORIGINAL FIRMWARE</nowiki>+<nowiki>Starting kernel... 
 + 
 +Linux version 4.9.109 (root@DraginoHK) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7360-e15565a) ) #0 Fri Jun 29 16:58:53 2018 
 +bootconsole [early0] enabled 
 +CPU0 revision is: 00019374 (MIPS 24Kc) 
 +SoC: Atheros AR9330 rev 1 
 +Determined physical RAM map: 
 + memory: 04000000 @ 00000000 (usable) 
 +Initrd not found or empty - disabling initrd 
 +Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. 
 +Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes 
 +Zone ranges: 
 +  Normal   [mem 0x0000000000000000-0x0000000003ffffff] 
 +Movable zone start for each node 
 +Early memory node ranges 
 +  node   0: [mem 0x0000000000000000-0x0000000003ffffff] 
 +Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff] 
 +Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256 
 +Kernel command line:  board=DRAGINO2 console=ttyATH0,115200 mtdparts=spi0.0:256k(u-boot)ro,16000k(firmware),64k(config),64k(art)ro rootfstype=squashfs noinitrd 
 +PID hash table entries: 256 (order: -2, 1024 bytes) 
 +Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) 
 +Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) 
 +Writing ErrCtl register=00000000 
 +Readback ErrCtl register=00000000 
 +Memory: 59900K/65536K available (3150K kernel code, 169K rwdata, 796K rodata, 292K init, 209K bss, 5636K reserved, 0K cma-reserved) 
 +SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 
 +NR_IRQS:51 
 +Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz 
 +clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns 
 +sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns 
 +Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) 
 +pid_max: default: 32768 minimum: 301 
 +Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) 
 +Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) 
 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns 
 +futex hash table entries: 256 (order: -1, 3072 bytes) 
 +NET: Registered protocol family 16 
 +MIPS: machine is Dragino Dragino v2 
 +clocksource: Switched to clocksource MIPS 
 +NET: Registered protocol family 2 
 +TCP established hash table entries: 1024 (order: 0, 4096 bytes) 
 +TCP bind hash table entries: 1024 (order: 0, 4096 bytes) 
 +TCP: Hash tables configured (established 1024 bind 1024) 
 +UDP hash table entries: 256 (order: 0, 4096 bytes) 
 +UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) 
 +NET: Registered protocol family 1 
 +Crashlog allocated RAM at address 0x3f00000 
 +workingset: timestamp_bits=30 max_order=14 bucket_order=0 
 +squashfs: version 4.0 (2009/01/31) Phillip Lougher 
 +jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. 
 +io scheduler noop registered 
 +io scheduler deadline registered (default) 
 +Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled 
 +ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a AR933X UART 
 +console [ttyATH0] enabled 
 +console [ttyATH0] enabled 
 +bootconsole [early0] disabled 
 +bootconsole [early0] disabled 
 +m25p80 spi0.0: found w25q128, expected m25p80 
 +m25p80 spi0.0: w25q128 (16384 Kbytes) 
 +4 cmdlinepart partitions found on MTD device spi0.0 
 +Creating 4 MTD partitions on "spi0.0": 
 +0x000000000000-0x000000040000 : "u-boot" 
 +0x000000040000-0x000000fe0000 : "firmware" 
 +2 uimage-fw partitions found on MTD device firmware 
 +0x000000040000-0x0000001a0000 : "kernel" 
 +0x0000001a0000-0x000000fe0000 : "rootfs" 
 +mtd: device 3 (rootfs) set to be root filesystem 
 +1 squashfs-split partitions found on MTD device rootfs 
 +0x000000920000-0x000000fe0000 : "rootfs_data" 
 +0x000000fe0000-0x000000ff0000 : "config" 
 +0x000000ff0000-0x000001000000 : "art" 
 +libphy: Fixed MDIO Bus: probed 
 +libphy: ag71xx_mdio: probed 
 +ag71xx-mdio.1: Found an AR7240/AR9330 built-in switch 
 +eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII 
 +ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY] 
 +eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII 
 +NET: Registered protocol family 10 
 +NET: Registered protocol family 17 
 +8021q: 802.1Q VLAN Support v1.8 
 +VFS: Mounted root (squashfs filesystem) readonly on device 31:3. 
 +Freeing unused kernel memory: 292K 
 +This architecture does not have kernel memory protection. 
 +random: fast init done 
 +init: Console is alive 
 +init: - watchdog - 
 +kmodloader: loading kernel modules from /etc/modules-boot.d/
 +usbcore: registered new interface driver usbfs 
 +usbcore: registered new interface driver hub 
 +usbcore: registered new device driver usb 
 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver 
 +SCSI subsystem initialized 
 +ehci-platform: EHCI generic platform driver 
 +ehci-platform ehci-platform: EHCI Host Controller 
 +ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 
 +ehci-platform ehci-platform: irq 3, io mem 0x1b000000 
 +ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 
 +hub 1-0:1.0: USB hub found 
 +hub 1-0:1.0: 1 port detected 
 +watchdog: Software Watchdog: cannot register miscdev on minor=130 (err=-16). 
 +watchdog: Software Watchdog: a legacy watchdog module is probably present. 
 +softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0) 
 +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver 
 +ohci-platform: OHCI generic platform driver 
 +uhci_hcd: USB Universal Host Controller Interface driver 
 +usbcore: registered new interface driver usb-storage 
 +input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0 
 +kmodloader: done loading kernel modules from /etc/modules-boot.d/
 +init: - preinit - 
 +usb 1-1: new high-speed USB device number 2 using ehci-platform 
 +random: procd: uninitialized urandom read (4 bytes read) 
 +hub 1-1:1.0: USB hub found 
 +hub 1-1:1.0: 4 ports detected 
 +IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready 
 +Press the [f] key and hit [enter] to enter failsafe mode 
 +Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level 
 +mount_root: loading kmods from internal overlay 
 +kmodloader: loading kernel modules from //etc/modules-boot.d/
 +kmodloader: done loading kernel modules from //etc/modules-boot.d/
 +jffs2: notice: (394) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. 
 +block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab 
 +block: extroot: not configured 
 +jffs2: notice: (392) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. 
 +block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab 
 +block: extroot: not configured 
 +mount_root: switching to jffs2 overlay 
 +urandom-seed: Seeding with /etc/urandom.seed 
 +procd: - early - 
 +procd: - watchdog - 
 +procd: - watchdog - 
 +procd: - ubus - 
 +random: ubusd: uninitialized urandom read (4 bytes read) 
 +random: jshn: uninitialized urandom read (4 bytes read) 
 +random: ubusd: uninitialized urandom read (4 bytes read) 
 +Command failed: Not found 
 +procd: - init - 
 +Please press Enter to activate this console. 
 +kmodloader: loading kernel modules from /etc/modules.d/
 +ntfs: driver 2.1.32 [Flags: R/O MODULE]. 
 +loop: module loaded 
 +ip6_tables: (C) 2000-2006 Netfilter Core Team 
 +Netfilter messages via NETLINK v0.30. 
 +ip_set: protocol 6 
 +i2c /dev entries driver 
 +u32 classifier 
 +    input device check on 
 +    Actions configured 
 +Mirror/redirect action on 
 +Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180 
 +Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d 
 +ip_tables: (C) 2000-2006 Netfilter Core Team 
 +nf_conntrack version 0.5.0 (1024 buckets, 4096 max) 
 +nf_conntrack_rtsp v0.7 loading 
 +nf_nat_rtsp v0.7 loading 
 +usbcore: registered new interface driver usbserial 
 +usbcore: registered new interface driver usbserial_generic 
 +usbserial: USB Serial support registered for generic 
 +xt_time: kernel timezone is -0000 
 +usbcore: registered new interface driver ftdi_sio 
 +usbserial: USB Serial support registered for FTDI USB Serial Device 
 +PPP generic driver version 2.4.2 
 +NET: Registered protocol family 24 
 +usbcore: registered new interface driver option 
 +usbserial: USB Serial support registered for GSM modem (1-port) 
 +usbcore: registered new interface driver qcserial 
 +usbserial: USB Serial support registered for Qualcomm USB modem 
 +ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2 
 +kmodloader: done loading kernel modules from /etc/modules.d/
 +input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input1 
 +Custom GPIO-based SPI driver version 0.1 
 +br-lan: port 1(eth0) entered blocking state 
 +br-lan: port 1(eth0) entered disabled state 
 +device eth0 entered promiscuous mode 
 +IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready 
 +IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready 
 +eth1: link up (100Mbps/Full duplex) 
 +IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready 
 +Custom GPIO-based SPI driver version 0.1 
 +IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready 
 +br-lan: port 2(wlan0) entered blocking state 
 +br-lan: port 2(wlan0) entered disabled state 
 +device wlan0 entered promiscuous mode 
 +IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready 
 +br-lan: port 2(wlan0) entered blocking state 
 +br-lan: port 2(wlan0) entered forwarding state 
 +IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready 
 +Custom GPIO-based SPI driver version 0.1 
 + 
 +</nowiki>
 </WRAP>\\ </WRAP>\\
  
  • Last modified: 2024/02/12 11:13
  • by 127.0.0.1