Here is a step by step to create a simple Linux distrubution for the Micro using buildroot on Linux.
- Create a directory in your home directory ie mkdir micro; cd micro; mkdir bld
- The idea is to have buildroot in one directory and your build directory bld as another directory, This keeps things clean and able to know what is what.
- Use git to retrieve buildroot git clone git://git.buildroot.net/buildroot
- Now there should be two directories under micro; bld and build
- cd into bld
- make -C ../buildroot/ O=$PWD olimex_imx233_olinuxino_defconfig
- The above step creates the proper make files to start the compile process of tools (compilers, tools, Linux, rootfs)
- Once this completes do a make
- This will take some time to complete. Once this a image directory is created with a sdcard image ready to program.
- There is directions to program a SD card image in the buildroot/board/olimex/imx233_olinuxino/readme.txt Buildroot creates a boot-able Linux image.
In the next post how to create a u-boot image for the Micro...
No comments:
Post a Comment