This is what I doing...
U-Boot 2014.04 (Sep 21 2017 - 11:25:07)
I2C: ready
DRAM: 512 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0
U-Boot#
U-Boot# fatls mmc 0:1
76868 mlo
329548 u-boot.img
4964640 uimage
26024 am335x-boneblack.dtb
system volume information/
4 file(s), 1 dir(s)
U-Boot# fatload mmc 0:1 0x80600000 uImage
reading uImage
4964640 bytes read in 1714 ms (2.8 MiB/s)
U-Boot# fatload mmc 0:1 0x80500000 am335x-boneblack.dtb
reading am335x-boneblack.dtb
26024 bytes read in 19 ms (1.3 MiB/s)
U-Boot# setenv bootargs 'console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw'
U-Boot# print bootargs
bootargs=console=ttyO2,115200n8 root=/dev/mmcblk0p2 rw
U-Boot# bootm 0x80600000 - 0x80500000
## Booting kernel from Legacy Image at 80600000 ...
Image Name: Linux-3.12.1-bbb
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4964576 Bytes = 4.7 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 80500000
Booting using the fdt blob at 0x80500000
Loading Kernel Image ... OK
Using Device Tree in place at 80500000, end 805095a7
Starting kernel ...
This is how I built the images-
Using linux-3.12-bone-black kernel.
make -j 4 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs
make -j 4 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage LOADADDR=0x80008000
make -j 4 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules_install \
INSTALL_MOD_PATH=/mnt/rootfs
make -j 4 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- \
uImage-dtb.am335x-boneblack LOADADDR=0x80008000
SD card has two partitions, first fat and another ext2. First contains - MLO,u-boot.img,uImage,am335x-boneblack.dtb
second contains rootfs.
Not getting where I am doing wrong, please help...
Thank You.