TI Innovator[tm] Development Kit for the OMAP Platform ====================================================== Please see: http://www.omap.com Check for latest patches here: ftp://sources.mvista.com/pub/omap/ Building the kernel ------------------- 1. To build the kernel with current defaults: make ARCH=arm CROSS_COMPILE=arm-linux- innovator_config make ARCH=arm CROSS_COMPILE=arm-linux- oldconfig make ARCH=arm CROSS_COMPILE=arm-linux- dep zImage The resulting kernel image should be available in linux/arch/arm/boot/zImage. Installing a bootloader ----------------------- At this time, we're using the RidgeRun rrload firmware for Innovator which is available here: ftp://source.mvista.com/pub/omap/rrload-innovator-0301151120.tar.bz2 !!! The firmware must be built and installed into flash on the Innovator before it can be used with Linux. !!!Initial installation of rrload will require the use of a JTAG emulator, such as the Spectrum Digital XDS510PP-Plus and Code Composer Studio from Texas Instruments. ???Follow the instructions in the "Innovator Development Kit for Texas Instruments OMAP Platform Deluxe Model User's Guide" to configure the XDS510PP-Plus and Code Composer Studio for use with the Innovator. 2. To build rrload execute 'make' in the rrload root directory. The file export/rrload is an ELF image of the rrload firmware. The file export/setup is an ELF image of a small program used to do some hardware initialization prior to loading rrload. 3.¤W²î¨ìflash 0 Connect a serial cable from your development host to the serial port labeled COM1 on the Innovator. Execute a serial communication program such as minicom on your development host. Configure the serial port for 115200 baud, 8 data bits, 1 stop bit, and no parity. On the Innovator, set DIP switch #3 on and #1, #2 and #4 off. Turn on the Innovator and run Code Composer Studio.(???¤£¯àrun) 4.Execute the Innovator GEL script to configure the MMU. Load the program 'setup' and run it for a few seconds. It drops into an infinite loop after it completes the hardware initialization. Halt the processor. 5.Load the program 'rrload' and run it. You should see the rrload menu on the serial console. Choose menu option E-1 to erase the bootloader sectors in flash. Choose menu option 2-1 to program the new bootloader image in flash. Once rrload is installed on the Innovator you can use it to download and execute a Linux kernel. Writing a kernel image into flash --------------------------------- The rrload firmware requires binary images with a special three-line text header prepended to describe the load address, entry address, and size of the image. The script 'mkimage' is provided in the root directory of the rrload source tree to convert ELF image files to the rrload format. The kernel uncompressed and compressed images can be converted to rrload format as follows mkimage --LAddr 10008000 --EAddr 10008000 vmlinux vmlinux.rr mkimage --LAddr 10C08000 --EAddr 10C08000 arch/arm/boot/zImage vmlinuz.rr Choose menu option 1-1 from the rrload main menu to download a kernel to the Innovator. You can transmit the kernel image file from the development host simply by cat'ing it to the serial port. For example: cat vmlinuz.rr > /dev/ttyS0 from a shell prompt to download the compressed kernel image. If you do this while your serial communication program is holding the serial port open then you will inherit the correct baud and parity configuration. Once the kernel is downloaded you can program it into flash if you wish. First erase the flash with the E-3 option from the main menu. Then program the kernel into flash with the 2-3 option. Start the kernel with option 4 from the rrload main menu. The pre-built kernel is configured to BOOTP for an IP address and NFS-mount its root filesystem from the development host. If you don't know the MAC address of your Innovator Break out Board, it will be printed on the serial console when the Ethernet driver is initialized while the kernel is booting. Status of Innovator peripherals (updated 15/01/2003): ----------------------------------------------------- Serial Works No known problems I2C Works Uses simple bit-algo test driver/Needs rewrite LCD Works Not fully tested/Needs rewrite Audio Works Hangs during playback Touch Screen Works Interrupts not working properly Ethernet Works No known problems (other than low performance) PM Works Not tested in this release -- George G. Davis gdavis@mvista.com 15 January, 2003