How to Sandbox an arm64 GCC on aarch64 Hardware with armv7 Userspace

Arm64 GCC Armv7 Userspace

CNXSoft: Guest post by Blu about setting up arm64 toolchain on 64-bit Arm hardware running a 32-bit Arm (Armv7) rootfs. Life is short and industry progress is never fast enough in areas we care about. That’s an observation most of us are familiar with. One would think that by now most aarch64 desktops would be running arm64 environments, with multi-arch support when needed. Alas, as of late 2019, chromeOS on aarch64 is still shipping an aarch64 kernel and an armhf userspace. And despite the fine job by the good folks at chromebrew, an aarch64 chromeOS machine in dev mode ‒ an otherwise excellent road-warrior ride, is stuck with 32-bit armhf. Is that a problem, some may ask? Yes, it is ‒ aarch64 is the objectively better arm ISA outside of MCUs, from gen-purpose code to all kinds of ISA extensions, SIMD in particular. That shows in contemporary compiler support and in the difference in quality of codegen. Particularly with the …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Linaro Connect San Diego 2019 Schedule – IoT, AI, Optimizations, Compilers and More

Linaro Connect San Diego 2019

Linaro has recently released the full schedule of Linaro Connect San Diego 2019 that will take place on  September 23-27. Even if you can’t attend, it’s always interested to check out the schedule to find out what interesting work is done on Arm Linux, Zephyr OS, and so on. So I’ve created my own virtual schedule with some of the most relevant and interesting sessions of the five-day event. Monday, September 23 14:00 – 14:25 – SAN19-101 Thermal Governors: How to pick the right one by Keerthy Jagadeesh, Software Engineer, Texas Instruments With higher Gigahertz and multiple cores packed in a SoC the need for thermal management for Arm based SoCs gets more and more critical. Thermal governors that define the policy for thermal management play a pivotal role in ensuring thermal safety of the device. Choosing the right one ensures the device performs optimally with in the thermal budget. In this presentation Keerthy Jagadeesh, co-maintainer of TI BANDGAP AND …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Embedded Linux Conference & Open Source Summit 2019 Schedule

Embedded Linux Conference 2019 Schedule

In the last few years, I covered the Embedded Linux Conference and IoT Summit schedules since both were happening at the same time and in the same location. But the Linux Foundation have recently announced the Embedded Linux Conference will combine with the Open Source Summit, so the IoT Summit appears to have been phased out. The full schedule for the events taking place on August 21 – 23, 2019 at the Hilton San Diego Bayfront, USA, has also been released, so I’ll create a virtual schedule with some of the sessions most relevant to this blog. Wednesday August 21, 2019 11:30 – 12:05 – What’s New with U-Boot? by Simon Glass, Google LLC U-Boot is a widely used bootloader in embedded systems. Many users are unaware of the wide feature-set of U-Boot, particularly features added in the last few years. This talk aims to bring users (and prospective users) up to speed on the state of the art in …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Linaro Connect 2016 Bangkok Schedule – March 7-11, 2016

Linaro Connect Bangkok (BKK16) will take place on March  7 – 11, 2016, and the schedule is now available for the 5-day event with keynotes and sessions. Whether you’re going to attend or not, it’s always interesting to check the schedule to find out what’s going on in terms of ARM Linux development. The five days will focus on work by different Linaro groups, but really sessions are mixed for any given day, and I’ve created a virtual schedule for each day with available information, as Linaro has become a little more closed to the outside than when it was launched a few years ago. Monday 7 – LITE (Linaro IoT & Embedded Group) 1400 – 14:50 – Evolution of the Reference Software Platform Project The Reference Software Platform lead project was introduced in Linaro Connect San Francisco 2015, and since then it evolved and matured with the completion of the first tree big milestones (the 15.10, 15.12 and 16.03 …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

STM32F746G-DISCO is a $49 Cortex-M7 Board with a 4.3″ LCD Display, Arduino Headers

We’ve already seen Atmel started shipping its SAM V71 Xplained Board based on its latest Cortex M7 a few days ago, but Atmel is not the company which recently introduced a Cortex M7 development kit, as ST Micro also launched an STM32F7 Cortex M7 development kit with Arduino headers and 4.3″ LCD at the end of June. The “Discovery Kit with STM32F746NG MCU” (STM32F746G-DISCO) comes with the following specifications: MCU – STMicro STM32F746NGH6 Cortex M7 MCU with 1 MB Flash, 340 KB RAM, in BGA216 package Memory – 128-Mbit (16 MB) SDRAM (64 Mbits accessible) Storage – 16 MB Quad-SPI Flash memory, and micro SD slot Display – 4.3″ 480×272 color LCD-TFT with capacitive touch screen Camera – Camera connector Connectivity – Ethernet connector compliant with IEEE-802.3-2002 USB USB OTG HS with Micro-AB connectors,  USB OTG FS with Micro-AB connectors USB functions: virtual COM port, mass storage, debug port Audio – SAI audio codec, line IN and OUT jacks, stereo …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

How to Program STMicro STM8S $1 Board in Linux

In January, I discovered there was such thing as a one dollar development board based on STMicro STM8S103F3P6 8-bit MCU with 1KB SRAM, 8KB flash, and 640 bytes EEPROM, some GPIOs as well as I2C, UART, SPI, ADC, and PWM signals. Links to documentation and source code were provided, but development tools were only Windows based. However, one of my reader informed me SDCC (Small Devices C Compiler) supported STM8, and development in Linux should be feasible. So I decided to buy the board on eBay for $1.62, as well as an ST_link V2 programmer for STM8 / STM32 for $4.52 in order to flash the firmware. The board came pretty quickly, i.e. within 2 to 3 weeks. But due to a lost package, the programmer took nearly 3 months to reach me, as the seller had to re-send after I failed to receive it within 2 months. It comes with 4 wires that need to be connected to RST/NRST, …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Linaro 15.03 Release with Linux 4.0 and Android 5.1

Linaro has just announced their 15.03 release with Linux 4.0-rc4 (baseline), Linux 3.10.72 and 3.14.36 (LSK), and Android 5.1. The organization has worked on hardware platforms from members namely Qualcomm, ARM, HiSilicon, Samsung, and STMicro, including the recently announced 96Boards boards, and other ARMv8 platforms. Highlights of the release: Linux Linaro 4.0-rc4-2015.03 updated linaro-android topic added a few build/boot fixes for Arndale (llct-misc-fixes topic) GATOR topic: version 5.20.1 updated integration-linaro-vexpress64 topic by ARM LT (FVP Base and Foundation models, and Juno support) updated topic from Qualcomm LT (ifc6410 board support) simple EEPROM framework (via Qualcomm LT’s topic) updated topic from HiSilicon LT (Hi36xx, HiP04, and X5HD2 families support) rebased “ILP32 patch set v3” onto 4.0-rc2 Linaro builds of AOSP 15.03 updated all the baselines to AOSP 5.1 added commit based trigger feature to CI builds Linaro OpenEmbedded 2015.03 integrated Linaro GCC 4.9-2015.03 dismantled meta-aarch64 layer created meta-ilp32 layer cleaned out meta-bigendian layer synced overlayed recipes with upstream added full wget …

Support CNX Software – Donate via PayPal or become a Patron on Patreon

Linaro 15.02 Release with Linux 3.19 and Android 5.0

Linaro 15.02 has just been released with Linux 3.19 (baseline), Linux 3.10.68 and 3.14.34 (LSK), Android 5.0.2, and Ubuntu Linaro Utopic. Listed changes for Linux Linaro are exactly the same as last month, except they’ve used Linux 3.9 release. Power management tools have been added to their AOSP build, and some work has been done for Android 5.0 on the new Hikey board. Here are the highlights of this release: Linux Linaro 3.19-2015.02 GATOR topic: version 5.20.1 updated integration-linaro-vexpress64 topic by ARM LT (FVP Base and Foundation models, and Juno support) updated topic from Qualcomm LT (ifc6410 board support) updated topic from HiSilicon LT (Hi36xx, HiP04, and X5HD2 families support) updated LLVM topic (the community llvmlinux-latest branch) included ILP32 patch set v3 rebased onto 3.19. Initial tests using syscalls LTP tests done. When using ILP32 userland, a few tests have to be skipped (msgctl07, msgrcv0[1-7], msgsnd01) to avoid the stalls, and to make the testing to complete. No stalls with …

Support CNX Software – Donate via PayPal or become a Patron on Patreon