Hi,
I use helloWorld ( NDK_2_0_0 example ) as base of my program, RMII mode.
Then, I add some code and libs from sataSample project ( rtfs_1_10_02_32 ) to my project,
add info from sataSample.tcf to my DSPBIOS script.
The rtfs is working well. All functions in "task" are fully execute.
1.First problem is when I set L2cache 256K, it work wrong.
I add this config to my tcf:
bios.GBL.C64PLUSL2CFG = "256k";
bios.GBL.C64PLUSMAR160to191 = 0x00000001;
bios.GBL.C64PLUSMAR192to223 = 0x00000001;
bios.GBL.C64PLUSMAR224to255 = 0x00000001;
bios.MEM.instance("IRAM").destroy();
When program run, it print some info:
Version : 0001.0100
NumOfCmdSlots : 32
NumOfPorts : 1
Speed : 3 Gbps
SATA:AHCI-CAP:SNCQ SSNTF SLAP SAL SCLO SAM SPM PMD SSC PSC
Block Driver Initialization Succeeded
ATA Build: Debug.
The program stoped here. And I found that the function ATA_SubmitIdentify stop the program moving.
I don't know why the L2cache affect the rtfs.
2. The 2nd problem is the rtfs affecting the network speed
When I comment rtfs code, use L2cache, the network speed can up to more than 2Mbps. It satisfy the requirements
When I don't use L2cache, use rtfs and it work well, but the network speed less than 100kbps.
I don't know the reason.
I need both NDK and RTFS in my project, so I have to solve this 2 problem.
The correlation platform are CCS4.2.4, rtfs_1_10_02_32, bios_5_41_10_36, pspdrivers_01_30_01, edma3_lld_bios5_01_11_00_03.
Please help me.
Best regards !
Frank.