要讓 u-boot 引導 Linux,需先規劃 NandFlash 分區:uboot、參數、kernel、rootfs。接著確認 u-boot 與 kernel 的機器碼一致,這裡使用 MACH_TYPE_SMDK2440,數值 1008。
bootcmd 負責從 NandFlash 讀取 kernel 並以 bootm 啟動;bootargs 則指定 root=/dev/mtdblock3、rootfstype=cramfs 等參數。Kernel 端需修改 Makefile、mach-types、時鐘、分區與 ECC 設定,並開啟 ARM EABI。最後以 mkimage 將 zImage 加上標頭,產生 uImage.img 燒寫。