i.MX6ULL Porting Log (02): Project Layout, a Serial Port Trap, and the Current Board Baseline
Goal Create a clean project workspace and capture the board’s current boot baseline through the serial console. Problem This level looked simple at first: create folders initialize Git connect the ...

Source: DEV Community
Goal Create a clean project workspace and capture the board’s current boot baseline through the serial console. Problem This level looked simple at first: create folders initialize Git connect the serial cable save the boot log But the real system was not 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 another problem: my CH340 serial adapter was detected by Linux, but the serial port disappeared almost immediately. 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 output, I wrote down the truth: the board is not in confirmed factory-default state the