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