How to Build a Single Kernel Module (Driver) in Ubuntu

When I bought UNI-T UT61E digital multimeter,  I planned to to use the open source tool Sigrok to capture voltage, current or resistance data with my Ubuntu 14.04 machine. Unfortunately, it was just not working for me and I kept getting some “Invalid function byte” error messages, so I asked on Sigrok mailing list, and since it worked for others, I was in big troubles. It turned out the RS-232 to USB dongle I used:

was most likely to culprit, so I decided to buy another random USB to serial dongle on eBay, and after a few weeks I received it only to find out it had the exact same VID:PID, so I was out of luck. Finally, I gave up on Sigrok on Linux, and tested the power consumption of some Rockchip RK3288 & Amlogic S802 devices in a Windows 7 virtual machine running in my Ubuntu 14.04 […]

ARM Releases Kernel Drivers for Mali-T880 / T860 GPUs, User Space Drivers for Mali-T76x GPUs

ARM Mali GPU drivers includes both open source kernel drivers, and binary userspace drivers supporting framebuffer and/ior X11 implementation. The former is rarely an issue and is quickly released, but the latter requires porting and testing for a specific hardware platform, as well legal work, which greatly delay the releases. Mali-T880 GPU was announced at the beginning of the month together with ARM Cortex A72, and on February 17, 2015, ARM released an update to their Mali-T600 series, Mali-T700 series & Mali-T860/T880 GPU kernel device drivers with revision r5p1-00rel0 that adds supports to Mali-T860 and Mali-T880 GPU. These open source drivers are available for Android and Linux, and also support early Mali-T700 and T600 GPUs. Separately, the company has also released Mali-T76X GPU drivers for Firefly board powered by Rockchip RK3288 quad core Cortex A17 processor featuring a Mali-T764 GPU. The first release only supports the framebuffer driver, but ARM […]

Linux 3.18 Released

Linus Torvalds released Linux Kernel 3.18 last Sunday: It’s been a quiet week, and the patch from rc7 is tiny, so 3.18 is out. I’d love to say that we’ve figured out the problem that plagues 3.17 for a couple of people, but we haven’t. At the same time, there’s absolutely no point in having everybody else twiddling their thumbs when a couple of people are actively trying to bisect an older issue, so holding up the release just didn’t make sense. Especially since that would just have then held things up entirely over the holiday break. So the merge window for 3.19 is open, and DaveJ will hopefully get his bisection done (or at least narrow things down sufficiently that we have that “Ahaa” moment) over the next week. But in solidarity with Dave (and to make my life easier too 😉 let’s try to avoid introducing any _new_ […]

Qualcomm Releases Userspace Adreno 320 GPU Drivers for Ubuntu

Qualcomm Developer Network has just sent the October Newsletter by email, and they had some news specific to Ubuntu / Linux support on IFC6410 development board powered by a Snapdragon 600 processor. Firs they link to a guest blog post on Qualcomm website entitled “Video Conferencing on Linux with the Qualcomm Snapdragon 600 Processor“, where Qualcomm partner eInfochips stated: Qualcomm Technologies, Inc.’s leadership in mobile market with Linux Android support is well established. As the demand for Qualcomm Snapdragon processors, a product of Qualcomm Technologies, Inc., increase in adjacent markets, the need for non-Android Linux support becomes evident. Which is always good to read. The rest of the post blog provides a few more details about their a low-latency (50ms glass-to-glass) video conferencing solution based on OpenEmbedded build with Linaro Linux Kernel, and making use of Qt5, Gstreamer, and Sofia SIP library. Further improvements will be achieved with hardware video […]

Linux 3.17 Released

Linus Torvalds announced the release of Linux Kernel 3.17 on Sunday: So the past week was fairly calm, and so I have no qualms about releasing 3.17 on the normal schedule (as opposed to the optimistic “maybe I can release it one week early” schedule that was not to be). However, I now have travel coming up – something I hoped to avoid when I was hoping for releasing early. Which means that while 3.17 is out, I’m not going to be merging stuff very actively next week, and the week after that is LinuxCon EU… What that means is that depending on how you want to see it, the 3.18 merge window will either be three weeks, or alternatively just have a rather slow start. I don’t mind getting pull requests starting now (in fact, I have a couple already pending in my inbox), but I likely won’t start processing […]

MYIR ARM9 Linux Development Boards & Computer-on-Modules Powered by Freescale i.MX28 Processor

MYIR MYD-IMX28X development boards and MYC-IMX28X CPU modules had been announced in May 2014, but I’ve just found out about them via the company’s newsletter. The CoMs are powered by Freescale i.MX28 ARM9 processors (i.MX283 or i.MX287), feature 128 MB RAM, 256 MB Flash, and connect to a baseboard to make the development boards. Target applications include smart gateways, human-machine interfaces (HMIs), handheld devices, scanners, portable medical, experimental education as well as other industrial applications. MYC-IMX28X CoMs MYC-IMX28X computer-on-module specifications: Processor – Freescale i.MX283 or i.MX287 ARM926EJ-STM processor up to 454MHz with 128KB SRAM, 128KB ROM, 1280 bits of OCOTP ROM, 16KB/32KB I and D Cache System Memory – 128MB DDR2 SDRAM Storage – 256MB NAND flash, 128KB SPI flash Connectivity – On-board Ethernet PHY Connectors – 2x 1.27mm pitch 2 x 40-pin SMT male expansion connectors with access to Ethernet – Up to 2 Ethernet (two for i.MX287, one for i.MX283) USB […]

Linux 3.16 Released

Linus Torvalds announced the release of Linux Kernel 3.16 over the week-end: So nothing particularly exciting happened this week, and 3.16 is out there. And as usual (previous release being the exception) that means that the merge window for 3.17 is obviously open. And for the third time in a row, the timing sucks for me, as I have travel coming up the second week of the merge window. Many other core developers will be traveling too, since it’s just before the kernel summit in Chicago. So we’ll see how the next merge window goes, but I’m not going to worry about it overmuch. If I end up not having time to do all the merges, I might delay things into the week of the kernel summit, but I’ll hope to get most of the big merging done this upcoming week before any travel takes place, so maybe it won’t come […]

Amlogic GPL Source Code Release – Kernel 3.10, U-Boot, and Drivers (Wi-Fi, NAND, TVIN, Mali GPU)

Last month, I noticed Amlogic provided links to the Android SDK for S802 / M802 on their open source website, but the only way to get the source was to share your SSH public with Amlogic, so that they give you access. It did not happen, but the company has released the source for Linux 3.10.10, U-boot 2011.03, Realtek and Broadcom Wi-Fi drivers, NAND drivers, “TVIN”drivers, and kernel space GPU drivers for Mali-400 / 450 GPU. There are also some customer board files for Meson 6 only (AML8726-MX / M6) but they do not seem to match the kernel… If you want to build the kernel, including the drivers, you’ll need to download a bunch of files: wget http://openlinux.amlogic.com:8000/download/ARM/kernel/arm-src-kernel-2014-03-06-d5d0557b2b.tar.gz wget http://openlinux.amlogic.com:8000/download/ARM/wifi/rtk8192du-2014-03-06-7f70d95d29.tar.gz wget http://openlinux.amlogic.com:8000/download/ARM/wifi/rtk8192eu-2014-03-06-9766866350.tar.gz wget http://openlinux.amlogic.com:8000/download/ARM/wifi/rtk8192cu-2014-03-06-54bde7d73d.tar.gz wget http://openlinux.amlogic.com:8000/download/ARM/wifi/rtk8188eu-2014-03-06-2462231f02.tar.gz wget http://openlinux.amlogic.com:8000/download/ARM/wifi/brcmap6xxx-2014-03-06-302aca1a31.tar.gz wget http://openlinux.amlogic.com:8000/download/ARM/wifi/wifi-fw-2014-03-06-d3b2263640.tar.gz wget http://openlinux.amlogic.com:8000/download/ARM/modules/aml_tvin-2014-03-06-fb3ba6b1c8.tar.gz wget http://openlinux.amlogic.com:8000/download/ARM/modules/aml_nand-2014-03-06-39095c4296.tar.gz wget http://openlinux.amlogic.com:8000/download/ARM/customer/aml_customer-2014-03-06-76ce689191.tar.gz wget http://openlinux.amlogic.com:8000/download/ARM/gpu/gpu-2014-03-06-0425a1f681.tar.gz You’ll need to extract these tarballs in specific directories:

You […]

Exit mobile version
Memfault IoT and embedded debugging platform