Hi Alex, with mainline I am referring to Linus tree.
I suggest you just clone the latest mainline (Linus tree) and set the def config with something like :
make imx_v6_v7_defconfig
I further modified the config file with menuconfig to make sure it only generates the image for the board I am interested in (there is no harm generating multi-image, it just takes longer).
While building the image you will have to provide the load address, e.g :
make -j 4 ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- LOADADDR=10008000 uImage
Also you will have to generate the device tree for your board, e.g :
make -j 4 ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- imx6q-sabresd.dtb
When you are in the u-boot command line you can then boot your kernel with something like :
tftp 0x10800000 uImage.sabre.v3; tftp 0x12000000 imx6.ramdisk; tftp 0x13000000 imx6q-sabresd.dtb; bootm 0x10800000 0x12000000 0x13000000
I am also using the mainline u-boot (not FSL's u-boot) so if you like you can compile and use that too. You will also have to provide the root file system. But I think you already have one from FSL files, this should work fine.
Hope this helps
Sinan Akman