WIKI

Embedded Linux Kernel debugging using GDB and JTAG programmator

In previous posts we learned way to debug user layer application, u-boot bootloader on target hardware. Now it is time to get Linux Kernel debuggable. Here described steps to make Linux Kernel debugging on remote target hardware (IMX6ULL CPU) using JLink debugger via JTAG interface. Preparation After getting source code…

read more

U-boot initialization sequence

After getting u-boot fully debuggable it is finally time to use such powerful tool and deep dive in U-boot to learn how it is working. Looking ahead here is diagram providing U-boot initialization sequence starting from first step in reset function and finishing with cli_loop checking for input command typed…

read more

U-boot debugging. part 2.

In previous chapter we got U-boot debuggable. Partially debuggable as we turned out. The thing we missed is relocation. The workaround provided in that document is simple enough but not might be comfortable. Here suggested workaround adopted to NetSoM to get fully functional u-boot debugging procedure. Command line mode debugging…

read more

How to debug u-boot

In previous two chapters: 1 and 2 we used Eclipse IDE to debug Embedded Linux user layer application. In that post we will use Eclipse as IDE to debug U-boot using usb debugger J-Link connected to target hardware using JTAG interface. Hardware setup First we have to setup hardware: connect…

read more

Embedded linux development and remote debugging using Eclipse IDE

In previous post we explained ways to speed up embedded linux development process. By reducing source code compilation time (10x) and time to deliver changed code to target hardware we increased speed of development. 2-3 minutes to compile and deliver changes instead of 30-40 minutes gave us way not only…

read more

Embedded linux. Speed up development process.

Speed up embedded linux development process Each software developer who decides to start with Embedded linux development, coming either from high-level programming languages, or from bare metal development for microcontrollers in C/C++, is inevitably surprised by the extreme unfriendliness of embedded linux. A text pad and console utilities instead of…

read more

OpenWrt 32mb flash size. migration from 16 Mb. Development story.

Here described steps to migrate NetSoM from 16 Mb to 32 Mb flash IC. OpenWrt 32mb flash size migration story. The thing looked simple at first glance became to kernel patching. Few weeks ago we added Amazon voice SDK and Tensorflow-lite to our development process roadmap. After making first steps…

read more

Alexa development kit

After getting SampleApp running the next steps to bring NetSoM development board to fully functional Alexa development kit was adding voice controllers. Looks simple at first glance. Just make few changes in source code as explained in manual above: add definition to enable controller you are going to use: CMAKE_OPTIONS=-DCMAKE_BUILD_TYPE=DEBUG…

read more

imx6 gpio configuration and control web interface.

Here described step of development imx6 gpio configuration and control web interface using OpenWrt driven IMX6ULL SoM. As a result following web interface will be implemented: MR that implements this functionaly may be found here. If you don’t have time to read article and just want to get such UI…

read more