U-Boot Release 1.1.3 patch – for ConnectCore XP modules (XScale PXA270 processor)

mostly used with LxNETES 3.2 and WinCE5.x

 

 

 

Last Updated: 01/24/08         Fix Count: 1

 

 
Title
U-Boot 1.1.3 patch
 
Case:  internal
 
Date Fixed: 01/24/08
 
Description
A crashing application writing accidently via a NULL-Pointer to the flash, can overwrite U-Boot. 
Symptom: module does not boot anymore, no U-Boot prompt.
 

Release Notes:

To improve the situation you can make use of the hardware locking feature of the flash chip (MT28F128): 
To protect the U-Boot sector in flash from being overwritten by accident, please add the following U-Boot environment variables. 
 
On the U-Boot 1.1.3 console of CCXP enter: 
 
setenv hwpu mw.l 00000000 00600060\;mw.l 00000000 00010001\;sleep 1\;mw.l 00000000 ffffffff 
setenv hwua mw.l 00000000 00600060\;mw.l 00000000 00d000d0\;sleep 1\;mw.l 00000000 ffffffff 
setenv update_uboot_tftp run gtu pou hwua cfu wfu hwpu 
setenv update_uboot_usb run guu pou hwua cfu wfu hwpu 
saveenv 
run hwpu
 
The macro "hwpu" will enable hardware protection for the U-Boot sector. 
The macro "hwua" will unprotect the complete flash. Whenever you run update_uboot_tftp,
or run update_uboot_usb the complete flash will be unprotected, updated and the U-Boot sector will be protected shortly after.
 
On modules in the field or going to field, you should at least enable the protection once by issuing "run hwpu". 
(no need to do firmware update in field, just add the environment variables and execute "run hwpu" once).
 
This should minimize your failures of non-booting modules due to accidentally over-writing U-Boot dramatically. 

 

 

Files:

None

 

Special Instructions

None

 

Dependencies

U-Boot V1.1.3