omapfl-1.0
所属分类:Linux/Unix编程
开发工具:C/C++
文件大小:31KB
下载次数:4
上传日期:2013-07-26 18:24:50
上 传 者:
zhongvv
说明: OMAP Flash Loader
This replacement can program the Spectrum Digital OMAP5912OSK evaluation
boards. It can also program version D boards, that the original program can t.
Also, this program is for Linux (and perhaps other Unixes), not for M$-windows.
And, the better of all, it is GPL, with all its sources, not a binary program.
This program has been developed using reverse engineering on the protocol
communication between the original program and the internal boot. I have not
totally understood that protocol, but it works.
文件列表:
omapfl-1.0\2nd\amd.c (1236, 2005-08-13)
omapfl-1.0\2nd\arm.ld (415, 2005-08-10)
omapfl-1.0\2nd\cif.c (3735, 2005-08-13)
omapfl-1.0\2nd\config.h (972, 2005-08-13)
omapfl-1.0\2nd\flash.h (1580, 2005-08-13)
omapfl-1.0\2nd\main.c (3506, 2005-08-13)
omapfl-1.0\2nd\Makefile (634, 2005-08-12)
omapfl-1.0\2nd\serial.h (1137, 2005-08-13)
omapfl-1.0\2nd\start.S (8720, 2005-08-13)
omapfl-1.0\2nd\types.h (1045, 2005-08-13)
omapfl-1.0\2nd\usb.c (6697, 2005-08-13)
omapfl-1.0\2nd\usb.h (1087, 2005-08-13)
omapfl-1.0\2nd.bin (4052, 2005-08-13)
omapfl-1.0\COPYING (17992, 2005-08-13)
omapfl-1.0\main.c (6829, 2005-08-13)
omapfl-1.0\Makefile (290, 2005-08-13)
omapfl-1.0\test\arm.ld (449, 2005-08-11)
omapfl-1.0\test\main.c (1652, 2005-08-13)
omapfl-1.0\test\Makefile (313, 2005-08-10)
omapfl-1.0\test\serial.h (1058, 2005-08-13)
omapfl-1.0\test\start.S (8674, 2005-08-13)
omapfl-1.0\2nd (0, 2013-07-26)
omapfl-1.0\test (0, 2013-07-26)
omapfl-1.0 (0, 2013-07-26)
OMAP Flash Loader
This is a replacement for the FlashRecoveryUtility program from Tim Rikkers
(http://tree.celinuxforum.org/CelfPubWiki/FlashRecoveryUtility).
This replacement can program the Spectrum Digital OMAP5912OSK evaluation
boards. It can also program version D boards, that the original program can't.
Also, this program is for Linux (and perhaps other Unixes), not for M$-windows.
And, the better of all, it is GPL, with all its sources, not a binary program.
This program has been developed using reverse engineering on the protocol
communication between the original program and the internal boot. I have not
totally understood that protocol, but it works.
To compile this program you only need a gcc compiler and the libusb
(http://sourceforge.net/projects/libusb/) instaled at your system.
To use it, connect the board with your computer usin USB (yes, the board
has a type A connector, as your computer, you need to do a A-A direct cable)
Power the board, set JP3 to pins 1-2, connect USB cable and executes the
program pasing it two arguments. First argument is the sencond stage loader
(the included 2nd.bin file) and second one is the program you want to load
at flash (example: u-boot-1.1.1). If it doesn't work, press the reset button
of the board (do not press the reset of your computer, please :-).
The file "2nd.bin" is my second stage boot loader. The main program (omaplf)
send it to the OMAP processor, where it is executed by the internal boot
loader. Then it send the second binary to my OMAP program to be flashed.
I only have probed my program in a Spectrum Digital OMAP5912OSK rev C and in
one rev D. If you want use it with a diferent OMAP processor or with a
diferent flash memory, perhaps you will need to change my program.
I don't know the diferences between the diferent OMAP, you will need to
identify them if the program doesn't work. To use diferent flash chips
you can update the file "2nd/cif.c" if your chip is CIF (Intel) compatible,
or you will have to implement the file "2nd/amd.c" to use AMD compatible
chips (copy the structure of the cif.c file).
In my board the flash memory is attached to CS3, using address 0C00:0000,
if it is diferent for you, change the file "2nd/config.h".
I have added the compiled file "2nd.bin", if you need to recompile the
second boot loader, you will need a cross compiler, if the name is diferent
of mine (arm-elf-gcc), change file "2nd/Makefile". If your local gcc compiler
is not called "gcc", change "Makefile", also if your include files for libusb
isn't located at /usr/include (add -L/.... to INCLUDES= line at Makefile).
If you need more help about this program can mail me:
"lrec at helios dot homeip dot net"
Please, don't mail me about the TI OMAP line of processor, I hate them.
Best regards and enjoy it,
Luis Recuerda,
Acknowledges:
To Tim Rikers for the original FlashRecoveryUtility program.
To Texas Instruments: thank you for DO NOT answer any question about the
internal ROM boot loader, and, thank you for the WORST documentacion about
a CPU or microprocessor I have ever seen.
近期下载者:
相关文件:
收藏者: