There should be three things I need to build: rootfs, kernel, and uboot.
I downloaded kernel from here: linux-2.6-imx.git - Freescale i.MX Linux Tree, and uboot from here: uboot-imx.git - Freescale i.MX u-boot Tree. But I couldn't find where to download rootfs. Could somebody help?
With the cross-compiler installed previously, I built kernel by doing this under the root folder:
sudo apt-get install lzop (need to install zlop)
make uImage LOADADDR=0x70008000 (need to specify load address to avoid build error)
The output file uImage was put under ./arch/arm/boot.
I then tried to build uboot. The first three steps are the same as above. But at step 4, I couldn't find a config file in the whole uboot tree. Can somebody tell me how to build?
I used this as reference: Linux booting on IMX6 SABRESDB. I tried to follow Ed's notes, but when building uboot, I also couldn't find the config file.
Thanks a lot.