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:
parent
3bba565cc5
commit
6e5dc4e367
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user