Hi,
I am using AM335x_sk. I tried taking the source from Linux-Next(http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git) and received linux kernel version 3.7.0-rc8 kernel as the latest source. I compiled it using arm-arago-linux-gnueabi- provided along with the ti-sdk-am335x-evm and as per the instructions at http://processors.wiki.ti.com/index.php/AMSDK_Linux_User%27s_Guide.
I have partitioned my micro-sd card using the utility create-sdcard.sh provided along with the ti-sdk-am335x-evm for two partitions.
I used the prebuilt u-boot.img and MLO provided in ti-sdk-am335x-evm, but am unable to boot the kernel. It hangs at "starting kernel...." and no further messages are displayed.
For this I tried changing the console device from ttyo0 to ttyo1 and ttyo2 in bootargs. I confirmed that the Machine id is same as in mach-types in kernel.
I tried using the following bootargs
setenv bootargs console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootwait rootfstype=ext3
The log is as follows
Welcome to minicom 2.4
OPTIONS: I18n
Compiled on Jun 3 2010, 13:48:00.
Port /dev/ttyUSB1
Press CTRL-A Z for help on special keys
0
U-Boot# AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
syntax error
U-Boot# print
autoload=yes
baudrate=115200
bootargs_defaults=setenv bootargs console=${console} ${optargs}
bootcmd=if mmc rescan; then echo SD/MMC found on device ${mmc_dev};if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run mmc_load_u;
bootdelay=3
bootenv=uEnv.txt
bootfile=uImage
console=ttyO0,115200n8
ethact=cpsw
ethaddr=d4:94:a1:87:3a:12
importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
ip_method=none
kloadaddr=0x80007fc0
loadaddr=0x82000000
loadbootenv=fatload mmc ${mmc_dev} ${loadaddr} ${bootenv}
mmc_args=run bootargs_defaults;setenv bootargs ${bootargs} root=${mmc_root} rootfstype=${mmc_root_fs_type} ip=${ip_method}
mmc_boot=run mmc_args; run mmc_load_uimage; bootm ${kloadaddr}
mmc_dev=0
mmc_load_uimage=fatload mmc ${mmc_dev} ${kloadaddr} ${bootfile}
mmc_root=/dev/mmcblk0p2 rw
mmc_root_fs_type=ext3 rootwait
nand_args=run bootargs_defaults;setenv bootargs ${bootargs} root=${nand_root} noinitrd rootfstype=${nand_root_fs_type} ip=${ip_method}
nand_boot=echo Booting from nand ...; run nand_args; nandecc hw 2; nand read.i ${kloadaddr} ${nand_src_addr} ${nand_img_siz}; bootm ${kloadaddr}
nand_img_siz=0x500000
nand_root=ubi0:rootfs rw ubi.mtd=7,2048
nand_root_fs_type=ubifs rootwait=1
nand_src_addr=0x280000
net_args=run bootargs_defaults;setenv bootargs ${bootargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp
net_boot=echo Booting from network ...; setenv autoload no; dhcp; tftp ${kloadaddr} ${bootfile}; run net_args; bootm ${kloadaddr}
nfsopts=nolock
nor_args=run bootargs_defaults;setenv bootargs ${bootargs} root={nor_root} rootfstype=${nor_root_fs_type} ip=${ip_method}
nor_boot=echo Booting from NOR ...; run nor_args; cp.b ${0x08080000} ${kloadaddr} ${nor_img_siz}; bootm ${kloadaddr}
nor_img_siz=0x280000
nor_root=/dev/mtdblock3 rw
nor_root_fs_type=jffs2
nor_src_addr=0x08080000
rootpath=/export/rootfs
script_addr=0x81900000
spi_args=run bootargs_defaults;setenv bootargs ${bootargs} root=${spi_root} rootfstype=${spi_root_fs_type} ip=${ip_method}
spi_boot=echo Booting from spi ...; run spi_args; sf probe ${spi_bus_no}:0; sf read ${kloadaddr} ${spi_src_addr} ${spi_img_siz}; bootm ${kloadaddr}
spi_bus_no=0
spi_img_siz=0x380000
spi_root=/dev/mtdblock4 rw
spi_root_fs_type=jffs2
spi_src_addr=0x62000
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
stderr=serial
stdin=serial
stdout=serial
Environment size: 2663/8188 bytes
U-Boot# mmc rescan 0
U-Boot# fatload mmc 0 80000000 am335x-evmsk.dtb
reading am335x-evmsk.dtb
10105 bytes read
U-Boot# fatload mmc 0 81000000 uImage
reading uImage
3728736 bytes read
U-Boot# fatload mmc 0 82000000 base-rootfs-am335x-evm.tar.gz
reading base-rootfs-am335x-evm.tar.gz
10879145 bytes read
U-Boot# setenv bootargs console=ttyO0,115200n8 mem=256M root=/dev/ram rw initrd=0x82000000,16MB ramdisk_size=65536 earlyprintk=serial
U-Boot# bootm 81000000 - 80000000
## Booting kernel from Legacy Image at 81000000 ...
Image Name: Linux-3.7.0-rc8
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3728672 Bytes = 3.6 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Can anyone please tell me what can be the problem and how can I resolve it?