View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000002 | PicoMOD | public | 2008-11-25 13:57 | 2009-07-22 07:43 | |
Reporter | Assigned To | ||||
Priority | normal | Severity | feature | Reproducibility | have not tried |
Status | acknowledged | Resolution | reopened | ||
Summary | 0000002: NBoot Check-Summe | ||||
Description | Exception-Vektoren des NBoot sollten beim Download über den USB-Loader überprüft werden. Als Vorlage kann der EBoot der PicoMOD1 verwendet werden. | ||||
Additional Information | flash.c : OEMWriteFlash() /* To make sure that we are download a valid nboot we will look for the first 5 exception vectors (B -> 0xEA... and LDR -> 0xE5...) */ BOOL bValidNBoot = TRUE; DWORD* pdwNBootImg = (DWORD*)IMAGE_BOOT_S_CACHE_CA_START; INT i = 0; while ( (i < 5) && bValidNBoot) { OALMSG(OAL_FLASH, (L"ARM-EV %d = 0x%08X\r\n", i, *pdwNBootImg)); if ( (((*pdwNBootImg) & 0xFF000000) != 0xEA000000) && (((*pdwNBootImg) & 0xFF000000) != 0xE5000000) ) { /* Invalid vector! */ bValidNBoot = FALSE; } pdwNBootImg++; i++; } if (bValidNBoot) rc = WriteStepStone( (void*)(IMAGE_BOOT_S_CACHE_CA_START), dwLength); else RETAILMSG(1, (L"Invalid NBoot signature (0x%08X) - Update aborted!\r\n", *((DWORD*)IMAGE_BOOT_S_CACHE_CA_START))); | ||||
Forum Link | |||||
Found Driver Version | V101 | ||||
Fixed Driver Version | |||||