[U-Boot-Users] How to change bootdelay?If I set bootdelay=0

phantom yang dalalilala at hellokitty.com
Fri Nov 11 20:10:01 CET 2005


----- Original Message -----
From: "phantom yang" <dalalilala at hellokitty.com>
To: "Andrew Dyer" <amdyer at gmail.com>
Subject: Re: [U-Boot-Users] How to change bootdelay?If I set bootdelay=0
Date: Sat, 12 Nov 2005 01:48:53 +0800
> 
> Could you teach me how to use TI CCS with SPECTRUM Digital XDS510 
> USB TAG to erase the specific sector?
> 

I have wrote program to erase the parameter sector:

For OMAP5912 OSK, using TI CCS with SPECTRUM Digital XDS510.

1)
Set JP3 in the 1-2 position

2)Code (Use c:\ti\boards\osk5912\examples\led as templet)
#include "stdio.h"
#include "osk5912.h"
#include "osk5912_flash.h"

/*
 *  Run erase Flash fome 0x0C020000 to 0x0C03FFFF.
 */
void main( )
{
    /* Initialize Flash */ 
    OSK5912_FLASH_init( );

    /* Erase Flash */ 
    printf( "     Erasing Flash ( please wait )\n" );
    printf( "     Erasing fome 0x0C020000 to 0x0C03FFFF\n" );
    OSK5912_FLASH_erase( OSK5912_FLASH_BASE+OSK5912_FLASH_PAGESIZE, OSK5912_FLASH_PAGESIZE );
	printf( "     Erasing Flash OK!! \n" );
}

3)Set JP3 in the 2-3 position

4)
U-Boot 1.1.1 (Aug  4 2005 - 10:41:25)

U-Boot code: 11080000 -> 11095DD4  BSS: -> 1109A5A4
RAM Configuration:
Bank #0: 10000000 32 MB
Micron StrataFlash MT28F128J3 device initialized
Flash: 32 MB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
OMAP5912 OSK #

-- 
____________________________________________________
Get your own Hello Kitty email @ www.sanriotown.com




More information about the U-Boot mailing list