1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

correct file name for Octopus CI

This commit is contained in:
Ralph Metzler 2019-03-14 12:41:31 +01:00
parent 3bba565cc5
commit 6e5dc4e367

View File

@ -238,7 +238,7 @@ int main(int argc, char **argv)
printf("Octopus MAXM4\n"); printf("Octopus MAXM4\n");
break; break;
case 0x0011: case 0x0011:
fname="CIBridgeV1B_CIBridgeV1B.fpga"; fname="DVBBridgeV2B_DD01_0011.fpga";
printf("Octopus CI\n"); printf("Octopus CI\n");
break; break;
case 0x0012: case 0x0012:
@ -289,7 +289,7 @@ int main(int argc, char **argv)
printf("Using bitstream %s\n", fname); printf("Using bitstream %s\n", fname);
fsize = lseek(fh,0,SEEK_END); fsize = lseek(fh,0,SEEK_END);
if( fsize > 4000000 || fsize < SectorSize ) if( fsize > FlashSize/2 - 0x10000 || fsize < SectorSize )
{ {
close(fh); close(fh);
printf("Invalid File Size \n"); printf("Invalid File Size \n");