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 Process on KeyStone2

I am trying to understand the boot process of my platform and looking into the boot longs of it. It's ARM based(KeyStone 2) system with Linux booting on it.Below is the some part of boot log which I would like to understand

ams"

[    2.537981] 0x000000060000-0x0000000u0000 : "boot_loader"

[    2.544373] 0x0000000e0000-0x000000320000 : "boot_loader"

[    2.550773] 0x000000160000-0x000000340000 : "DTB"


Now the first line suggests that Platfrom does not have NAND/NOR based flash devices but it has SPI serial flash device??

1.Is pboot_loader is Primary boot loader,Can I say boot loader is written on to Flash??

From these boot logs can I say that my platform booted from SPI flash not from SDRAM,NAND or Nor?? At later stage any of these images go and resides into RAM ??

  • Hi, Amit,

    The logs don't look familiar. Could you elaborate what MCSDK release are you using and how did you boot up and get the logs? I look at the boot logs from my EVM console, I get the following. It has 3 partitions on NAND and 2 on NOR. Yours has 14 partitions. Is this a custom board?

    [    1.396148] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xac (Micron MT29F4G08ABBDAHC), page size: 2048, OOB size: 64
    [    1.408475] Bad block table found at page 262080, version 0x01
    [    1.417453] Bad block table found at page 262016, version 0x01
    [    1.425020] 3 ofpart partitions found on MTD device 30000000.nand
    [    1.431109] Creating 3 MTD partitions on "30000000.nand":
    [    1.436507] 0x000000000000-0x000000100000 : "u-boot"
    [    1.442721] 0x000000100000-0x000000180000 : "params"
    [    1.448815] 0x000000180000-0x000008000000 : "ubifs"
    [    1.454867] davinci_nand 30000000.nand: controller rev. 2.5
    [    1.461705] spi_davinci 21000400.spi: master is unqueued, this is deprecated
    [    1.469216] m25p80 spi32766.0: n25q128 (16384 Kbytes)
    [    1.474265] 2 ofpart partitions found on MTD device spi32766.0
    [    1.480097] Creating 2 MTD partitions on "spi32766.0":
    [    1.485220] 0x000000000000-0x000000080000 : "u-boot-spl"
    [    1.491697] 0x000000080000-0x000001000000 : "test"
    [    1.497646] spi_davinci 21000400.spi: Controller at 0xe083e400
    [    1.546342] davinci_mdio 2090300.mdio: davinci mdio revision 1.5

     

     

  • Thanks Rax for your response

    Though I am not sure which MCSDK release it is.how can I check it??

    [    1.480097] Creating 2 MTD partitions on "spi32766.0":
    [    1.485220] 0x000000000000-0x000000080000 : "u-boot-spl"
    [    1.491697] 0x000000080000-0x000001000000 : "test"
    [    1.497646] spi_davinci 21000400.spi: Controller at 0xe083e400
    [    1.546342] davinci_mdio 2090300.mdio: davinci mdio revision 1.5

    Above is your boot logs ans Why you say its NOR flash??

    Isn't it the SPI flash subsystem which is differernt from NOR and NAND Flash technology??

    [    1.436507] 0x000000000000-0x000000100000 : "u-boot"

    Is it the U-BOOT image placed at address 0x000000??

  • Hi, Amit,

    If it is a custom board, you may not use the images from Keystone 2 MCSDK release, and from the boot logs, it does not show it is.

    TI EVM support NAND on EMIF bus and NOR on SPI bus. You can take a look at the Keystone 2 schematics for details at http://www.advantech.com/Support/TI-EVM/EVMK2HX.aspx

    For MTD partition, due to its open source nature, there are a lot of details info on internet. Here is one I found should be informative. http://free-electrons.com/blog/managing-flash-storage-with-linux/

    Rex

  • Thanks Rex for these helpful links.

    So my assumption that this custom board has third type of flash device technology (spi serial flah) other than NAND/NOR is wrong?

  • Hi, Amit,

    Not sure what the custom board has. You may want to check with your hardware peers.

    Rex

  • Ok Rex.

    Thanks for your resonse .

    Creating 2 MTD partitions on "spi32766.0":
    [    1.485220] 0x000000000000-0x000000080000 : "u-boot-spl"
    [    1.491697] 0x000000080000-0x000001000000 : "test"
    [    1.497646] spi_davinci 21000400.spi: Controller at 0xe083e400
    [    1.546342] davinci_mdio 2090300.mdio: davinci mdio revision 1.5

    The logs you took from your evm,Here These two paritions are on NOR flash??

    Thanks 

    Amit



  • Correct!

    Rex