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.

"Starting the kernel and resetting..." is appearing continuously and the target is not booting up

Other Parts Discussed in Thread: OMAPL138

When target is restarted, it is not booting up and on console we could see the kernel restarting continuously as shown in the below log. Tried reflashing the SOM after this problem but even after reflashing also the problem appears again.


 NAND:  128 MiB
MMC:   davinci: 0
SF: Detected W25Q64 with page size 256, total 8 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
Net:   Ethernet PHY: GENERIC @ 0x00
DaVinci-EMAC
Hit any key to stop autoboot:  3 2 1 0

NAND read: device 0 offset 0x20000, size 0x1b0b44
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
 1772356 bytes read: OK
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1772292 Bytes = 1.7 MiB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

resetting ...
NAND:  128 MiB
MMC:   davinci: 0
SF: Detected W25Q64 with page size 256, total 8 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
Net:   Ethernet PHY: GENERIC @ 0x00
DaVinci-EMAC
Hit any key to stop autoboot:  3 2 1 0

NAND read: device 0 offset 0x20000, size 0x1b0b44
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
 1772356 bytes read: OK
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1772292 Bytes = 1.7 MiB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

resetting ...
NAND:  128 MiB
MMC:   davinci: 0
SF: Detected W25Q64 with page size 256, total 8 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
Net:   Ethernet PHY: GENERIC @ 0x00
DaVinci-EMAC
Hit any key to stop autoboot:  3 2 1 0

NAND read: device 0 offset 0x20000, size 0x1b0b44
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
 1772356 bytes read: OK
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1772292 Bytes = 1.7 MiB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

resetting ...
NAND:  128 MiB
MMC:   davinci: 0
SF: Detected W25Q64 with page size 256, total 8 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
Net:   Ethernet PHY: GENERIC @ 0x00
DaVinci-EMAC
Hit any key to stop autoboot:  3 2 1 0

NAND read: device 0 offset 0x20000, size 0x1b0b44
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
 1772356 bytes read: OK
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1772292 Bytes = 1.7 MiB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

resetting ...
NAND:  128 MiB
MMC:   davinci: 0
SF: Detected W25Q64 with page size 256, total 8 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
Net:   Ethernet PHY: GENERIC @ 0x00
DaVinci-EMAC
Hit any key to stop autoboot:  3 2 1 0

NAND read: device 0 offset 0x20000, size 0x1b0b44
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
 1772356 bytes read: OK
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1772292 Bytes = 1.7 MiB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

resetting ...
NAND:  128 MiB
MMC:   davinci: 0
SF: Detected W25Q64 with page size 256, total 8 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
Net:   Ethernet PHY: GENERIC @ 0x00
DaVinci-EMAC
Hit any key to stop autoboot:  3 2 1 0

NAND read: device 0 offset 0x20000, size 0x1b0b44
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
 1772356 bytes read: OK
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1772292 Bytes = 1.7 MiB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

resetting ...
NAND:  128 MiB
MMC:   davinci: 0
SF: Detected W25Q64 with page size 256, total 8 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
Net:   Ethernet PHY: GENERIC @ 0x00
DaVinci-EMAC
Hit any key to stop autoboot:  3 2 1 0

NAND read: device 0 offset 0x20000, size 0x1b0b44
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
 1772356 bytes read: OK
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1772292 Bytes = 1.7 MiB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

resetting ...
NAND:  128 MiB
MMC:   davinci: 0
SF: Detected W25Q64 with page size 256, total 8 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
Net:   Ethernet PHY: GENERIC @ 0x00
DaVinci-EMAC
Hit any key to stop autoboot:  3 2 1 0

NAND read: device 0 offset 0x20000, size 0x1b0b44
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
 1772356 bytes read: OK
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1772292 Bytes = 1.7 MiB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

resetting ...
NAND:  128 MiB
MMC:   davinci: 0
SF: Detected W25Q64 with page size 256, total 8 MiB
In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
DDR Clock : 150000000 Hz
Net:   Ethernet PHY: GENERIC @ 0x00
DaVinci-EMAC
Hit any key to stop autoboot:  3 2 1 0

NAND read: device 0 offset 0x20000, size 0x1b0b44
Bad block table found at page 65472, version 0x01
Bad block table found at page 65408, version 0x01
 1772356 bytes read: OK
## Booting kernel from Legacy Image at c0700000 ...
   Image Name:   Linux-2.6.37
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1772292 Bytes = 1.7 MiB
   Load Address: c0008000
   Entry Point:  c0008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

resetting ...

Thanks,

Mounika

  • Is this behavior from your custom board or EVM ?
    If custom board, what is your reference board and SDK details please.
    What is the processor name ?
    Have you booted the linux earlier on this board ?
    Able to boot the kernel successfully atleast one time ?
  • Yes it is custom board , we already booted linux many times successfully.
    Linux version - 2.6.37
    we are using u-boot-2010.12-psp03.21.00.04.sdk
    OMAPL138 processor


    thanks,
    Mounika
  • Thanks.
    Are you doing reset (board) manually or it get resetted automatically ?
    Please make sure that you are using the proper kernel (old kernel which is booted earlier)
    Are you getting this behavior in all the custom board ?
    If no, what did you change on this particular board ?
    Any HW changes has been made ?
    SW change on kernel ?
    etc., etc.,
    Please let us know the history for this board to understand better.
  • Yes, we are doing the reset manually.
    we are using the old kernel which is booted earlier.
    we have been observing this problem with different boards.
    After reflashing some times problem is not observed but after restarting the board 4-5 times again problem is occurring.
    We have not made any hardware or kernel software changes.


    Thanks,
    Mounika
  • Please refer to this link.
    developer.ridgerun.com/.../Common_Problems_-_Linux_kernel_doesnt_boot

    I hope the kernel is get corrupted.

    Please make sure that you board doesn't have any HW issues.

    Try to debug the linux kernel with emulator.

    http://elinux.org/Debugging_The_Linux_Kernel_Using_Gdb

  • Hi Titus,

    Actually we also thought for some time that  is there any hardware problem but when we flash the problematic SOM the problem is not occurring for some time and we are able to continue our work with that SOM.

    Can you please tell us in which scenario the kernel will throw the "resetting..." message continuously.

    Starting kernel ...

    resetting ...
    NAND:  128 MiB
    MMC:   davinci: 0
    SF: Detected W25Q64 with page size 256, total 8 MiB
    In:    serial
    Out:   serial
    Err:   serial
    ARM Clock : 300000000 Hz
    DDR Clock : 150000000 Hz
    Net:   Ethernet PHY: GENERIC @ 0x00
    DaVinci-EMAC
    Hit any key to stop autoboot:  3 2 1 0

    NAND read: device 0 offset 0x20000, size 0x1b0b44
    Bad block table found at page 65472, version 0x01
    Bad block table found at page 65408, version 0x01
     1772356 bytes read: OK
    ## Booting kernel from Legacy Image at c0700000 ...
       Image Name:   Linux-2.6.37
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1772292 Bytes = 1.7 MiB
       Load Address: c0008000
       Entry Point:  c0008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    resetting ...
    NAND:  128 MiB
    MMC:   davinci: 0
    SF: Detected W25Q64 with page size 256, total 8 MiB
    In:    serial
    Out:   serial
    Err:   serial
    ARM Clock : 300000000 Hz
    DDR Clock : 150000000 Hz
    Net:   Ethernet PHY: GENERIC @ 0x00
    DaVinci-EMAC
    Hit any key to stop autoboot:  3 2 1 0


    Thanks,

    Mounika

  • Dear Mounika,
    Sorry for the delayed response on this.
    Are you getting this message "resetting ..." in console ?
    It could give some clue about the issue.
    I've not seen this message in any of the linux kernel version.

    Are you getting this problem if any changes in temperature or environmental ?

    I think, your SW team might have added this printk in your linux kernel (which you may not aware).
    Please check with your SW team.
    Also you can do grep search in your kernel.

    Ex:
    cd linux-kernel
    grep -rF "resetting ..." ./*
    OR
    grep -rF "resetting" ./*

    Please let us know if you got anything.