Msc8156 ethernet boot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Msc8156 ethernet boot

Jump to solution
1,986 Views
Jim95
Contributor III

Hello,

I have generate a srec file using the ELF2xx and SREC2xx utility.

AndI have configurate my pc ipadress (10.0.0.1), the dhcp server and the tftpserver using the Ethernet Boot Test pdf.

But when try the boot the board, everything is ok until the first data block is sending by the tftp server, that produced a checksum error (code : 003FEFFD).

I think it's because the tftp server cut a reccord in two parts.

I am using Codewarrior 10.1.8, DHCPTurbo (dhcp server), TFTPTurbo (tftp server) and Ethereal (ethernet sniffer).

Do someone know a solution to avoid this ?

Labels (1)
Tags (2)
0 Kudos
1 Solution
798 Views
AndrewinApps
Contributor IV

Hello Jim95,

Have you ensured that your srec file is only on 1 file?

It is perfectly fine and normal to send an SREC over multiple packets, the big issue is that you must remove all carriage returns from the file. 

 

Otherwise, from the pcap capture, it appears that things are running fine up to that point, so the boot process was correctly initiated.

 

Regards,

-Andrew

View solution in original post

0 Kudos
5 Replies
799 Views
AndrewinApps
Contributor IV

Hello Jim95,

Have you ensured that your srec file is only on 1 file?

It is perfectly fine and normal to send an SREC over multiple packets, the big issue is that you must remove all carriage returns from the file. 

 

Otherwise, from the pcap capture, it appears that things are running fine up to that point, so the boot process was correctly initiated.

 

Regards,

-Andrew

0 Kudos
798 Views
Jim95
Contributor III

Hello Andrew,

 

Thank you for your response.

I removed the carriage returns, it  works well when I only use sc100-elf2xx.

But when I use sc100-elf2xx and sc100-srec2xx some reccords need to be written in the DDR1, that is not initialized, and the boot-loader stop.

 

Regards

Jimmy

0 Kudos
798 Views
AndrewinApps
Contributor IV

Hello Jimmy,

Using DDR requires running a boot patch. If you need this, please create an SR via the Freescale support page.


Regards,

-Andrew

0 Kudos
798 Views
ldg
Contributor II

Is a two-stage process like this possible?

 

1) Simple Ethernet Boot loads a small stub of DDR initialization code

2) stub initializes DDR and re-enters the boot ROM

3) boot ROM resumes Simple Ethernet Boot and loads main image into DDR

 

In theory this is simple but hinges on the re-entrancy of the boot ROM in Simple Ethernet Boot mode. If this isn't possible, what prevents it?

0 Kudos
798 Views
AndrewinApps
Contributor IV

This would require doing a DDR initialization boot patch running out of EEPROM.

Simple ethernet boot jumping back into the BootROM is not something we support.

0 Kudos