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.

EBOOT loading from NAND flash fails, need help !!

Other Parts Discussed in Thread: AM1808, OMAPL138

 

 Hi,

I have had problems booting our custom board using AM1808. A brief description of the problem is given below.

        

We are using our custom made board using an AM1808. We have built a customized bootloader with the required pin multiplexing for our board. While booting using the bootloader we have faced the following issues.

·        The EBOOTNAND.nbo along with the UBL_NAND.bin, are loaded into the NAND flash and we tried to boot for the NAND flash using the “Boot switches”. The “Platform_init” goes through , the “FMD_init” also goes through fine .

·        We expect the boot configuration setting to begin, but unfortunately the EBOOT loading stops here and we don’t have an option of going into the menu.

·        We have made changes to the NAND flash config so that device ID check doesn’t stop the EBOOT. Our nand flash also has 2048 blocks instead of the 4096 the Logic PD one has. (the corresponding settings have also been changed)

·        The serial (UART) output is shown below.

************************************************////******************************************************************

                                                               Microsoft Windows CE Bootloader Common Library Version 1.4 Built Nov 19 2010 16:26:50

INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb

Microsoft Windows CE EBOOT 1.0 for OMAPL138 OMAPL138/AM18X EVM. Built Nov 19 2010 at 16:28:48

BSP version 1.3.0, SOC version 1.3.0

   CODE : 0xC7F60000 -> 0xC7FA0000

   DATA : 0xC7FA0000 -> 0xC7FE0000

  STACK : 0xC7FE0000 -> 0xC8000000

Enabled OAL Log Zones :  ERROR, WARN, INFO,

Platform Init done

System ready!

Preparing for download...

Predownload...

WARN: Invalid boot configuration found (using defaults)

INFO: No MAC Address specified, reading from device

INFO: MAC address: 00:00:00:00:00:00

Valid BSP_ARGS data found

WARN: Unable to get hardware entropy

 

It stops here !!!

***************************************************************////////////////******************************************

Queries:-

1.      Is this a software related issue or a hardware one.If so can I know how to solve it .

2.      Can the exact instruction flow in the Boot loader be explained so that it is easy to debug. The “main.c “ in the EBOOTNAND subproject has only the functional definitions of the OEMPlatform_init and other initialization functions.

3.      I have read that the “startup.s” determines the instruction flow and initialization while loading the secondary boot loader?? Can I know where can I find the documentation regarding the instruction flow (getting that from the assembly code in Startup.s is a time consuming effort, and I don’t have any knowledge about the instruction set being used.)

 

 Thanks and Regards

Siddharth.