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.

BOOTLOADER USING STARTERWARE FOR CUSTOM BOARD

Hi,

I am very new to STARTERWARE and we are using AM335X series processor where the booting will be done using an OTP device interfacing through XIP. In this booting sequence the contents of another NOR Flash [where our actual application code resides] will be checked for checksum value and then the application code will run. Here I am not sure that whether I will use the XIP feature of NOR Flash or shall I copy the content of NOR in my on board DDR3 and then execute the program. My hardware of custom board is not ready and we are working on it. The block diagram of our booting sequence is attached with this email / post.

Now my question is:-

In starterware I have seen a bootloader project for beagle bone black where I find a file bl_main.c and here the booting is through uSD Card. How can I modify this bootloader for my OTP which uses XIP Interface? If I dig the functions of bl_main.c, will I be able to find all the ends to modify this boot loader for my custom hardware. In some of my previous queries, one friend here told me to use gel files to modify. Now how is this gel file used to create the boot loader is not clear to me. In short I am not clear as to how I can modify this project to use in my case. Is there some document which describes boot-loader project so that all the threads of files needed to be modified for custom hardware can be referred to apart from bootloading?

We have never worked with this external boot loader thing earlier and we CANNOT USE OS / RTOS in our project. I seek your patience and help in this case more so when there is nothing on starterware as of yet for bootloading through NOR Flash / OTP for that matter using XIP interface.

Thanking you.

3782.Block Diagram of uC & External Memories.pdf