This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Boot stops after "Uncompressing Linux................................................................................................... done, booting the kernel."



I am attempting to boot a kernel built using the instructions on "http://processors.wiki.ti.com/index.php/Using_the_community_kernel_on_DM6446_with_the_DVSDK" on a custom dm6446 board.  The kernel boots ok on the dvsk however will not boot on our custom board.  I enabled low level debugging per "http://processors.wiki.ti.com/index.php/FAQ_for_DaVinci_Linux" however I don't see any additional output at boot time.   Below is the output from my u-boot session.  Any help debugging this issue would be appreciated.

-Brent

LCIS # printenv                                                                                                                                                                                      

bootdelay=1                                                                                                                                                                                          

baudrate=115200                                                                                                                                                                                      

nfshost=10.0.0.1                                                                                                                                                                                     

rootpath=/home/broeder/targetfs                                                                                                                                                                      

serverip=10.0.0.1                                                                                                                                                                                    

ipaddr=10.0.0.100                                                                                                                                                                                    

bootfile=uImage-LCIS                                                                                                                                                                                 

stdin=serial                                                                                                                                                                                         

stdout=serial                                                                                                                                                                                        

stderr=serial                                                                                                                                                                                        

ethaddr=00:0e:99:02:5a:c1                                                                                                                                                                            

bootargs=mem=30M console=ttyS0,115200n8 root=/dev/nfs rw nfsroot=10.0.0.1:/home/broeder/targetfs ip=dhcp                                                                                             

 

Environment size: 306/8188 bytes                                                                                                                                                                     

LCIS # tftpboot                                                                                                                                                                                      

TFTP from server 10.0.0.1; our IP address is 10.0.0.100                                                                                                                                              

Filename 'uImage-LCIS'.                                                                                                                                                                              

Load address: 0x80700000                                                                                                                                                                             

Loading: #################################################################                                                           

         #################################################################                                                                          #################################################################                                                                        #################################################################                                                                        #####################################                                                                                                                                                       

done                                                                                                                                                                                                 

Bytes transferred = 1520612 (1733e4 hex)                                                                                                                                                             

LCIS # bootm                                                                                                                                                                                         

Uncompressing Linux................................................................................................... done, booting the kernel.

  • Brent Roeder said:
    I am attempting to boot a kernel built using the instructions on "http://processors.wiki.ti.com/index.php/Using_the_community_kernel_on_DM6446_with_the_DVSDK" on a custom dm6446 board.  The kernel boots ok on the dvsk however will not boot on our custom board.

    Have you tried booting any other uImage kernels? I am curious if you can get any uImage file to boot on the custom board to narrow this down a bit further.

    Keep in mind that the kernel sources when built with the default setup like described in that wiki article are meant for use with the EVM board, if your custom board has any differences from the EVM board the kernel sources may have to be modified to work properly.

    Since it is failing so early on it would be an issue with either the early kernel initialization code, or the UART terminal not being available for some reason, usually it gets stuck here when there is a typo on the console=ttyS0,115200n8 portion of the bootargs, but you seem to have that right.

  • I'll offer the same answer I gave in another thread.  It wasn't his problem but I failed to notice that he never got the kernel uncompressed as you have.

    Look is for a machine type mismatch between u-boot and the machine type you expect to run in the kernel.  U-boot puts the machine type in a data structure that the kernel uses to decide which machine to run.  If the kernel isn't built to run that machine u-boot requests, then it hangs right there.

    John A

  • I was thinking the same as John A.

    By the way, that tidbit and others are discussed here:

    http://processors.wiki.ti.com/index.php/Kernel_-_Common_Problems_Booting_Linux

     

  • Hello,

    To get the best debug output with low level debug enabled, also drop a printascii() into printk(). I updated the wiki page with procedure to do so:

    http://processors.wiki.ti.com/index.php/FAQ_for_DaVinci_Linux#No_kernel_output_after_U-Boot_load

    Thanks

    Sekhar

  • Bernie,

    Thanks for the response.  The MontaVista kernel currently works on our board but we are moving away from MV.

    With respect to the community kernel, I expected to have some problems moving it from the eval board to our board.  I removed drivers via menu config for the peripherals that we don't have on our board.  I was hoping that by enabling low-level debugging I would see any other problems but that is not the case.

    Brent

     

  • Thanks for all of the responses.  I checked the u-boot/kernel source (but I'll check again) for machine type mismatch.  Perhaps using printascii() will provide the debug info I'm looking for at boot.

    Brent

  • Hi,

               That is very small problem dear change your console to ttyo0 instead of ttys0 in bootargs. from kernel version  2.6.35 they have changed the terminal type it seems

     

     

    Thanks and regards,

    Anand