Human Readable Decoding of /proc/cpuinfo for Arm Processors

One of the most common way to get CPU information is to check the content of /proc/cpuinfo. For example, this is the output I get from running the command on NanoPi NEO (Allwinner H3) board:

Many fields are self-explanatory, but what about CPU implementer and CPU part numbers? Those are values stored in Arm’s CPUID Base Register, and 0x41 looks up to Arm implementer, while 0xc07 refers to Cortex A7. But I had to look it up to find out. One solution would be to decode those values in the kernel, but the developers won’t do that probably because it may break user-space programs that rely on hexadecimal values. So instead, Riku Voipio decided to write and submit a patch for lscpu program found in util-linux package. The patch has been merged so the new ID mapping feature should be supported in util-linux 2.32 and greater. In the meantime, […]

Arm’s Project Trillium Combines Machine Learning and Object Detection Processors with Neural Network Software

We’ve already seen Neural Processing Units (NPU) added to Arm processors such as Huawei Kirin 970 or Rockchip RK3399Pro in order to handle the tasks required by machine learning & artificial intelligence in a faster or more power efficient way. Arm has now announced their Project Trillium offering two A.I. processors, with one ML (Machine Learning) processor and one OD (Object Detection) processor, as well as open source Arm NN (Neural Network) software to leverage the ML processor, as well as Arm CPUs and GPUs. Arm ML processor key features and performance: Fixed function engine for the best performance & efficiency for current solutions Programmable layer engine for futureproofing the design Tuned for advance geometry implementations. On-board memory to reduce external memory traffic. Performance / Efficiency – 4.6 TOP/s with an efficiency of 3 TOPs/W for mobile devices and smart IP cameras Scalable design usable for lower requirements IoT (20 […]

Linux 4.15 Release – Main Changes, Arm and MIPS Architectures

Linus Torvald has released Linux 4.15 last Sunday: After a release cycle that was unusual in so many (bad) ways, this last week was really pleasant. Quiet and small, and no last-minute panics, just small fixes for various issues. I never got a feeling that I’d need to extend things by yet another week, and 4.15 looks fine to me. Half the changes in the last week were misc driver stuff (gpu, input, networking) with the other half being a mix of networking, core kernel and arch updates (mainly x86). But all of it is tiny. So at least we had one good week. This obviously was not a pleasant release cycle, with the whole meltdown/spectre thing coming in in the middle of the cycle and not really gelling with our normal release cycle. The extra two weeks were obviously mainly due to that whole timing issue. Also, it is […]

Mainline Linux on Amlogic S905/S905X/S912 SoCs – 2018 Status Update

BayLibre is working on mainline Linux for Amlogic SoC, and in February of last year, Neil Armstrong gave a presentation entitled “Mainline Linux on AmLogic SoCs” at the Embedded Linux Conference 2017. Neil has recently (actually yesterday) given another presentation about the status of mainline Linux on Amlogic processor at linux.conf.au 2018, so we have some updated information now. He goes through the whole history of upstreaming Linux for Amlogic SoCs, but I’ll provided summary of the new features, and if you have time you can watch the video (25 minutes) embed below, or the slides. Early last year, Linux 4.10 already supported general I/Os, USB host (for S905), Gigabit Ethernet, eMMC/SD/SDIO, PSCI for SMP, and SCPI for DVFS for Amlogic processor, and BayLibre was said to be working on HDMI display support, Mali (as external module), audio input/output, and high-speed eMMC modes. Based on the slide above, with Linux […]

FOSDEM 2018 Open Source Developers Meeting Schedule

FOSDEM (Free and Open Source Software Developers’ European Meeting) occurs every year on the first week-end of February, where developers meet for two days discussing about open source software projects. FOSDEM 2018 will take place on February 3-4 this year with  652 speakers, 684 events, and 57 tracks, an increase over  last year 608 speakers, 653 events, and 54 tracks. There will be 8 main tracks namely: Community, History, Miscellaneous, Performance, Python, Security and Encryption, Space, and Global Diversity CFP Day. There will also be 33 developer rooms, and since the full schedule is now available, I’ll make a virtual schedule mostly based on sessions from the Embedded, mobile, and automotive, Hardware Enablement, and Internet of Things devrooms. Saturday 3, 2018 09:50 – 10:15 – Turning On the Lights with Home Assistant and MQTT by Leon Anavi In this presentation you will learn the exact steps for using MQTT JSON […]

$1 RDA5981 WiFi IoT Arm Cortex-M4 SoC is Designed for Smart Home Devices, Smart Speakers

RDA Microelectronics processors are found in a few cheap smart and not-so-smart phones, as well as the even cheaper Orange Pi i96 board. But the company does not only design cellular chips, but their portfolio also includes solutions for the Internet of Things and TV & radio tuners. RDA5981 is a WiFi IoT chip specifically designed for smart home & audio application, such as smart speakers, and it’s found in devices running Baidu DuerOS, the Chinese equivalent of Amazon Alexa or Google Assistant. The company explains it can be widely used in televisions, set-top boxes, smart appliances, wireless monitors, and other products. RDA5981 A/B/C processor specifications: CPU – Arm Cortex-M4 @ up to 160 MHz with integrated MPU and mbed uvisor System Memory  – Up to 448 KB SRAM for network stack and application, external PSRAM interface Storage – Up to 32Mbit SPI flash Connectivity WiFi 2.4 Ghz 802.11b/g/n WiFi […]

Companies Address Concerns related to Speculative Execution Exploits: Meltdown and Spectre

Yesterday, news surfaced about a “bug” in Intel processors that could be fixed at the operating system level at the cost of a decrease in performance for some tasks, from a typical, and barely noticeable 5% hit, to a more consequent 30% hit for some specific tasks, and as we discussed yesterday I/O intensive tasks are the most impacted by the changes. While Intel (and Arm) are impacted, AMD claims not to be, and the issue was reported by major news outlets and likely impacting the stock price of the companies with Intel stock losing 3.39%, and AMD stock gaining 5.19%, so obviously every company felt the need to answer, starting with Intel’s response to security research findings: Recent reports that these exploits are caused by a “bug” or a “flaw” and are unique to Intel products are incorrect. Based on the analysis to date, many types of computing devices […]

Year 2017 in Review, Top 10 Posts, and Some Fun Stats

2017 is coming to an end, and as I do every year, I’ll take a look back at the year that was on CNX Software. The pace of development boards launches has not slowed down this year, and we get an even wider range from the low-end with Orange Pi or NanoPi boards, to much more powerful ARM boards, and some new entrants like Libre Computer. The same is true for TV boxes, most of which now support 4K HDR, ranging from ultra cheap models selling for less than $20 to higher end Android TV boxes, while mini PCs were dominated by Intel Apollo Lake models, although some Cherry Trail products were also launched. Processor-wise, Amlogic launched more Amlogic S905X derivatives with S905W/S905D/S905Z, which are popular in the TV box market. Rockchip’s most interesting processor this year was RK3328 quad core Cortex A53 processor designed for 4K HDR Android TV […]