View Issue Details

IDProjectCategoryView StatusLast Update
0000002PicoMODpublic2009-07-22 07:43
ReporterKiepferAssigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status acknowledgedResolutionreopened 
Summary0000002: NBoot Check-Summe
DescriptionException-Vektoren des NBoot sollten beim Download über den USB-Loader überprüft werden.
Als Vorlage kann der EBoot der PicoMOD1 verwendet werden.
Additional Informationflash.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 VersionV101
Fixed Driver Version

Activities

Kiepfer

2009-02-05 12:47

developer   ~0000015

Muss auf weitere Platformen übernommen werden.

Kiepfer

2009-02-05 12:48

developer   ~0000016

NetDCU9: Implementiuenrt in EBoot V1.34