Up until now, U-boot would only support the User datagram protocol (UDP) allowing for TFTP and NFS boot, but Linaro has now added support for TCP and HTTP in U-boot in order to boot Linux from common web servers. TFTP boot from U-boot has been supported for years, as around the year 2006 I remember implementing TFTP Linux boot for a Karaoke system in order to lower the BoM cost by selecting a smaller flash device, and I also explained how to boot Linux on a TV box with TFTP back in 2014. This requires installing a TFTP server on your server, which is quite a trivial task, but HTTP servers are omnipresent, so it’s a welcome addition to U-boot. If you want to use HTTP to boot Linux, it needs to be enabled in the U-boot config:
The top and bottom options are pretty obvious, and the second […]
SPM-Main is the main unit of Sonoff Smart Stackable Power Meter using RS485 to provide up to 128 relays. Besides support for the eWelink mobile app, we were promised an HTTP API at the time of the launch in September 2021. ITEAD kept its promises and has now released the HTTP API for the SPM-Main smart power meter to allow IoT home automation users and developers to control SONOFF devices via existing home automation open-source platform or local HTTP client. It’s the same REST API used for SONOFF MINI & R3 smart switches, but it adds support for power monitoring as well. The API allows you to switch between eWelink and DIY modes as needed, and provides the following functions: Device Status Broadcast – Returns the switch status of all channels with current, voltage, power, overload status, RS485 communication status, and more Get the List of Sub-device – List of […]
Lightweight M2M (LwM2M) is a REST-based protocol from the Open Mobile Alliance (OMA) for M2M & IoT device management that defines the application layer communication protocol between an LwM2M server and an LwM2M client running on an IoT/embedded device. While LwM2M v1.0 was published in early 2017, we first covered the new protocol a year earlier as Imagination Technologies released the source code for the LwM2M stack running on MIPS Creator Ci40 development board. Since then we’ve mostly seen the LwM2M protocol supported in cellular LTE IoT modules including Quectel BC66 and u-Blox Sara-R410M, as well as the now-defunct Samsung Artik WiFi IoT modules. LwM2M v1.0 was followed by v1.0.1 and v1.0.2 for bug fixes, and v1.1, but OMA has now announced LwM2M v1.2 protocol that adds the following new features: New transports for LwM2M: MQTT and HTTP Optimizations for the bootstrapping and registration interfaces to reduce the amount of […]
Most firmware files distributed by the manufacturers are uploaded to Baidu, but I’ve found the service not to be always reliable, especially for larger files. In Windows, people are recommended to use Baidu software (BaiduYunGuanjia), but there’s not such tool in Linux, so instead I investigate for command lines tools to download files from Baidu, and this lead me to two interesting tools called Aria2, a “lightweight multi-protocol & multi-source command-line download utility. It supports HTTP/HTTPS, FTP, BitTorrent and Metalink”, and YAAW “Yet Another Aria2 Web Frontend” with allow to start and monitor download locally or remotely. But let’s start with the first tool I found: pan-baidu-download, a Python script to download files from Baidu. To install it:
openPicus has launched two new development kits for the Internet of Things with either Wi-Fi or GPRS connectivity, based on their FlyportPRO modules featuring a 16-bit Microchip PIC24 MCU, and sharing the same baseboard. These kits can be used as a Web server with firmware update over the air (FOTA) (Wi-Fi version only) among other things, and support TCP, UDP, FTP, & HTTP protocols, as well as MQTT (Message Queue Telemetry Transport), a light weight messaging protocol running on top of the TCP/IP protocol, used when a small code footprint is required and/or network bandwidth is limited. openPicus FlyportPRO Wi-Fi and GPRS modules share mostly the same specifications: MCU – Microchip PIC24FJ256GB206 16-bit MCU @ 32 MHz with 256KB Flash, 96KB RAM External Storage – 16Mbit Flash memory (for FOTA), 64Kbit EEPROM Connectivity GPRS Module – SAGEM HILONC GPRS Transceiver (quad band: 850, 900, 1800, 1900 MHz) with uFL connector for external […]
SPDY (pronounce “SPeeDY”) is a new protocol designed by Google that aims at making the web faster and eventually replace HTTP. This new protocol is not a new scheme, so it would be transparent to the user and there would not be a new spdy:// prefix and we would still be using http://. It will always be secure and use tcp port 443 instead of 80 (because of transparent proxies messing up with packets). Most of Google products such as Chrome, Android Honeycomb (They can’t say if ICS is using SPDY…) devices and Google’s servers have already using SPDY protocol for some time, and Google reports some encouraging results. The tested 300 sites from the top 1000 Alexa sites and found an average 40% page load improvement. They also reported some labs tests: *PLT stands for “Page Load Times” in the chart above. Google is not the only company using […]
Privacy & Cookies Policy
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.