Questions about MCP750 samples

Eric Valette valette at crf.canon.fr
Thu Jul 27 07:39:47 UTC 2000


Hoang Ngo wrote:
> 
> Hello -
> 
> Can someone explain why the <INSTALLATION_POINT>/mcp750/bin/hello.exe
> and the <INSTALLTION_POINT>/mcp750/samples/hello.exe are not the same?
> 
> The ELF formatted file samples/hello.exe has the entry at 0x3000
> (_rtems_entry_point)
> and the first instruction is 0x7c7f1b78, but the bin/hello.exe has the first
> instruction as
> a branch 0x48000400.

Because <INSTALLATION_POINT>/mcp750/bin/hello.exe contain a Prep
compliant boot loader (if you do `file' command on it you will see x86
boot sector) that loads samples/hello.exe in memory at the right place.

PPCBUG locates program at random place on motorola platform...

-- 
   __                 
  /  `                   	Eric Valette - Canon CRF
 /--   __  o _.          	Canon Development Europe Team Leader
(___, / (_(_(__         	Rue de la touche lambert
				35517 Cesson-Sevigne  Cedex
				FRANCE
Tel: +33 (0)2 99 87 68 91	Fax: +33 (0)2 99 84 11 30
E-mail: valette at crf.canon.fr	http://www.crf.canon.fr



More information about the users mailing list