Back to articles
i.MX6ULL Porting Log 02: Project Layout, a Serial Port Trap, and the Current Board Baseline

i.MX6ULL Porting Log 02: Project Layout, a Serial Port Trap, and the Current Board Baseline

via Dev.to TutorialZhou Jiang

The Goal Build a clean project structure and capture the current board boot baseline through the serial console. The Problem At first, this level looked simple: create folders initialize Git connect the serial cable save the boot log But the real system was not that simple. This board is not in confirmed factory-default state. Its serial output already contains traces from a previous project. So I could not call this log a factory baseline. I had to treat it as a current board baseline. I also hit a second problem: my CH340 serial adapter was detected by Linux, but the serial port disappeared immediately. The Fix Step 1: Build the project layout I created a clean working structure: mkdir -p ~/imx6ull-porting/ { src,build,out,logs,docs } cd ~/imx6ull-porting git init This keeps source code, build output, final output, logs, and documents separated. Step 2: Record the board state first Before trusting the serial log, I wrote down the truth: the board is not in confirmed factory-default s

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
4 views

Related Articles