okay... so I got it partially resolved. The board was booting earlier as 
well, but since console was not there, I thought its not booting at all.
Error was that I forgot to make change in /etc/inittab from ttyO0 to ttyS0. 
in addition to the bootargs

So now I am able to get serial console. 

But I need to enable the bootup console logs. Can someone help how to do it 
?

I tried comparing .config of TI BSP and that of omap2plus_defconfig 
generated by vanilla kernel. 
Looks like TI BSP uses 
CONFIG_SERIAL_8250_OMAP=y
CONFIG_SERIAL_8250_OMAP_TTYO_FIXUP=y

while omap2plus_defconfig uses:

CONFIG_SERIAL_OMAP=y
CONFIG_SERIAL_OMAP_CONSOLE=y

Cheers
nagla

On Tuesday, November 24, 2015 at 7:37:21 PM UTC+5:30, gnu gnu wrote:
>
> I was using vanilla 4.1.0 kernel with minimal busybox as rootfs. I built 
> the kernel with omap2plus_defconfig and was successfully able to boot.
> Below is my setup:
> 1. UBOOT on EMMC: U-Boot 2013.10 (Nov 28 2013 - 06:36:11)
> 2. kernel image via TFTP
> 3. Rootfs over NFS
> Below were command which worked fine:
>    setenv bootargs root=/dev/nfs ip=192.168.0.100 console=ttyO0 
> nfsroot=192.168.0.1:/home/xxx/nfsroot
>    tftp 0x81000000 uImage
>    tftp 0x82000000 am335x-boneblack.dtb
>    bootm 0x81000000 - 0x82000000
>
> But since I want to have PM(s2ram) support, I was suggested to move to TI 
> BSP.
> I followed the guide by Robert here : 
> https://eewiki.net/display/linuxonarm/BeagleBone+Black
> Only exception was I did not switch my UBOOT, its remains U-Boot 2013.10.
> After build was over I copied the zImage and am335x-boneblack.dtb to 
> /var/lib/tftpboot as I was doing with Vanilla kernel case.
> But I am not going beyond "Starting kernel ..." which is printed by UBOOT.
> Am I missing something ? Can someone help me ....
>
> Bootup Logs:
>
> U-Boot SPL 2013.10 (Nov 28 2013 - 06:36:11)
> reading args
> spl: error reading image args, err - -1
> reading u-boot.img
> reading u-boot.img
>
>
>
>
> U-Boot 2013.10 (Nov 28 2013 - 06:36:11)
>
>
> I2C:   ready
> DRAM:  512 MiB
> WARNING: Caches not enabled
> MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
> Net:   cpsw, usb_ether
> Hit any key to stop autoboot:  0 
> U-Boot# 
> U-Boot# 
> U-Boot# tftp 0x82000000 zImage
> link up on port 0, speed 100, full duplex
> Using cpsw device
> TFTP from server 192.168.0.1; our IP address is 192.168.0.100
> Filename 'zImage'.
> Load address: 0x82000000
> Loading: #################################################################
>      #################################################################
>      #################################################################
>      #################################################################
>      #################################################################
>      #################################################################
>      #################################################################
>      #################################################################
>      ############################################
>      1.3 MiB/s
> done
> Bytes transferred = 8272712 (7e3b48 hex)
> U-Boot# tftp 0x88000000 am335x-boneblack.dtb
> link up on port 0, speed 100, full duplex
> Using cpsw device
> TFTP from server 192.168.0.1; our IP address is 192.168.0.100
> Filename 'am335x-boneblack.dtb'.
> Load address: 0x88000000
> Loading: #####
>      1.2 MiB/s
> done
> Bytes transferred = 59295 (e79f hex)
> U-Boot# setenv bootargs root=/dev/nfs rw ip=192.168.0.100 console=ttyO0 
> nfsroot=192.168.0.1:/home/xxx/nfsroot
> U-Boot# bootz 0x82000000 - 0x88000000
> Kernel image @ 0x82000000 [ 0x000000 - 0x7e3b48 ]
> ## Flattened Device Tree blob at 88000000
>    Booting using the fdt blob at 0x88000000
>    Using Device Tree in place at 88000000, end 8801179e
>
>
> Starting kernel ...
>
> It hangs at this point.
>
>
> I tried changing console=ttyS0 also, that too did not help.
>
> Regards
> nagla
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to