Go to previous topic
Go to next topic
Last Post 01 Nov 2004 09:18 AM by  mikee@logicpd.com
Bootloader without JTAG jumper
 1 Replies
Author Messages
support@eternitytechnologies.com
New Member
New Member
Posts:


--
31 Oct 2004 10:03 PM
    We are trying to get a version of U-Boot on the Logic board with LogicLoader 1.4, is it even possible to do this or can't you get a new boot loader working without a JTAG jumper?
    mikee@logicpd.com
    New Member
    New Member
    Posts:


    --
    01 Nov 2004 09:18 AM
    devraj,

    This should reside completely within the realm of the possible

    The LogicLoader can load ELF, S-record, and raw binary files into both SDRAM, or Flash. I assume that you are using the GNU tools to develop your U-BOOT port. The default is to generate an ELF file, so no trouble there. I would highly suggest adjusting your linker script such that your U-BOOT program is linked to run in SDRAM until you have it debugged. That way, you don't erase the LogicLoader with a program that doesn't work yet and wind up needing a JTAG debugger.

    Look in the LogicLoader User's manual for the section on loading programs. Briefly, you will do something like:

      LOSH> load elf
      LOSH> burn (if your program is going into flash memory)
      LOSH> exec


    There is an addendum in the back of the LogicLoader User's Manual which describes the memory map of LoLo. You will want to reference this so that you don't crush the LogicLoader while debugging your U-BOOT port.

    Best of luck and keep us posted on your progress.

    --mikee


    ---