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.

Booting Sequence in OMAP3530 from Mistral Solutions

Other Parts Discussed in Thread: OMAP3530

Hi All,

I am trying to understand the booting flow in OMAP3530. When i switch on the board U boot Prompt comes up on the Hyperterminal.

Where is the PC pointed just after the switch on.? Is it 0x0 ?

Execution begins with X-loader. Where is x-loader residing?  Can you brief me the booting procedure till the point from where the  u-boot comes up. ?

When u boot is executed does it  automatically run all its diagnostic test (ITBOK) or do we need  to run it separately  once u-boot prompts come up?

 

Please help

Jack

  • The OMAP3530 contains a boot ROM starting at location 0x00000000.  When powered on, the PC register jumps there.  The boot ROM then looks at the sys_boot pins to determine boot order.  For NAND booting, the x-loader is located at offset 0 in NAND.  Actually the first two words in NAND are the length of the x-loader and the address in internal RAM to load it.  The boot ROM then reads the x-loader from NAND into internal RAM and jumps to that.  The x-loader configures the clocks and SDRAM and then reads u-boot from NAND into SDRAM.  After u-boot is in SDRAM, the x-loader jumps to u-boot and u-boot starts to run.

    I have not run ITBOK in a while, but I believe it is a separate image and not the same as u-boot.

    Steve K.

  • Thanks Steve.

     

    Your reply is excellent. It is very clear now.

    Thanks once again for the support

     

    jack

  • Hi ,

    How do i change the boot order? How do i change the sys boot pins? i sit managed through a hardware or software ?

     

    Thanks

    Rahanesh

  • jack said:
    How do i change the boot order?

    The order of the ROM boot loader is determined through the boot pins, actual kernel booting (TVTP/NFS/Flash/SDCard/etc.) is all configured in U-Boot environment variables.

    jack said:
    How do i change the sys boot pins?

    SW4 on the underside of the EVM controls the boot pins for the OMAP3, you can use this to control how the ROM boot loader acts. The switch functions are given in section 3.2.17 of the hardware user's guide from Mistral's download site.

    jack said:
    i sit managed through a hardware or software ?

    The ROM boot loader is managed through hardware (sys boot pins), the subsequent boot sequences are handled through software (U-Boot environment variables).