Create the bitbake local.conf:
cp /oe/openembedded/conf/local.conf.sample /oe/build/conf/local.conf
Modify /oe/build/conf/local.conf.
Sample local.conf for OK6410 using mini6410, and the diff file for reference.
Modify /oe/openembedded/conf/machine/mini6410.conf for the NAND flash is different:
... MKUBIFS_ARGS = "-m 2048 -e 258048 -c 4096" UBINIZE_ARGS = "-m 2048 -p 256KiB -s 2048" ... # Output files KERNEL_IMAGETYPE = "uImage" IMAGE_FSTYPES = "tar ubi" ...
The kernel version to be used is 2.6.28-6. The default kernel .config is placed in:
/oe/openembedded/recipes/linux/linux-2.6.28/mini6410/defconfig .
Replace it with this one for OK6410. A patch file for reference of the changes.