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.

AM1808 hangs at booting the kernel

Other Parts Discussed in Thread: AM1808

Hi,

I was using EVM from logic PD for AM1808. I was using NFS with this board for booting the Linux. Everything is working fine. 

Logic PD EVM basically has 2 boards

1- SOM board where AM1808 and basic SPI MEM and DDR is located along with Power management.

2-A user interface board here UART drivers, Ethernet and graphical display and other peripherals are located.

I have bought 2 SOM boards from Logic PD and designed my own UI PCB which had the same UART and ethernet as that of UI board of logic PD. Also i have added some other peripherals which were required by me.

After mounting the SOM board on my designed circuit it got connected and i was able to download UBL and u-boot to SPI FLASH of the SOM board.

Here i changed the environment to NFS as that of the EVM from Logic PD. Now when my board boots it detects the kernel Image on NFS but stops at point where my console shows

Uncompressing Linux... done, booting the kernel.

Now i tried putting the same SOM board to Logic PD EVM here it works fine.

Do anybody have a solution.

Sanket

  • Hi Sanket,

    Sanket Karlekar said:
    Uncompressing Linux... done, booting the kernel

    We need to get more logs enabled to find out what is going on. Can you please get the low level debug on? See here: http://processors.wiki.ti.com/index.php/FAQ_for_DaVinci_Linux#No_output_after_uncompressing_kernel

    Thanks,

    Sekhar

  • Hi sekhar,

    I tried enabling kernel low level debug. But still i face the same problem.

    Then i tried changing my environment variables for serial console. Previously it was ttyS2,115200n8

    Here are the variables...this was recommended on the webpage link.

    autoload=no
    baudrate=115200
    bootargs=console=uart,io,0xe1020000,115200n8 rw noinitrd mem=64M root=/dev/nfs nfsroot=130.0.125.144:/home/arm/targetNFS,nolock,rsize=1024,wsize=1024\
     ip=130.0.3.165:130.0.125.144:130.0.125.144:255.255.0.0:sanket::off
    bootcmd=tftp;bootm
    bootdelay=3
    bootfile=uImage
    ethact=DaVinci-EMAC
    ethaddr=00:08:ee:05:de:0a
    gatewayip=130.0.125.144
    ipaddr=130.0.3.165
    netmask=255.255.0.0
    serverip=130.0.125.144
    stderr=serial
    stdin=serial
    stdout=serial
    ver=U-Boot 2010.12 (Apr 21 2011 - 18:57:49)


    still my serial console hangs at the same place.

    I am using kernel version 3.21.00.04 i received with the PSP.

    Just to highlight one more point the SOM board which i am using right now, if i remove it from my custom board and place it on the EVM it starts working.

    could be the case that while booting, kernel is looking for some peripherals which i am sure my custom board does not have such SD/MMC card.

    Sanket

  • Hi Sanket,

    You mean you enabled low level debug, but did not get a single extra print on the console?

    That means the low level debug port setup for your board is wrong. Please make sure the function __arch_decomp_setup() in arch/arm/mach-davinci/include/mach/uncompress.h is ported correctly for your board. This function uses the mach-id to determine the low level debug port to use.

    Thanks,

    Sekhar

  • Hi sekhar,

    Can you tell exactly what are the required configurations for _arch_decomp_setup()

    I have given you my boot environment variables.

    Sanket