QEMU branch: 70D readdir problem

Issue #2131 invalid
nikfreak created an issue

Got stuck bringing 70D on qemu branch up:

*** FIO_FindFirstEx('A:/ML', 175eb0)
[FIO wrapper] opendir(cfcard/ML) error
*** FIO_FindFirstEx('B:/ML', 175eb0)
[FIO wrapper] opendir(sdcard/ML)
[FIO wrapper] readdir() => SCRIPTS size=4096 mode=10 time=543673ad
*** FIO_FindClose(0)
[FIO wrapper] closedir()

This readdir makes me headaches. I renamed scripts folder, then qemu would show

*** FIO_FindFirstEx('A:/ML', 175eb0)
[FIO wrapper] opendir(cfcard/ML) error
*** FIO_FindFirstEx('B:/ML', 175eb0)
[FIO wrapper] opendir(sdcard/ML)
[FIO wrapper] readdir() => SETTINGS size=4096 mode=10 time=543673ad
*** FIO_FindClose(0)
[FIO wrapper] closedir()

ok then I delete settings folder and qemu qould show me:

*** FIO_FindFirstEx('A:/ML', 175eb0)
[FIO wrapper] opendir(cfcard/ML) error
*** FIO_FindFirstEx('B:/ML', 175eb0)
[FIO wrapper] opendir(sdcard/ML)
[FIO wrapper] readdir() => README size=4096 mode=10 time=543673ad
*** FIO_FindClose(0)
[FIO wrapper] closedir()

Readme is not a folder! it's the file in ML directory. Any idea what could be wrong? I several times compared all FIO stubs for 70D. They are definitely correct. I checked all of 'em and found same values as nanomad did in 70d-support branch.

Comments (8)

  1. nikfreak reporter

    No I am on Linux. Have no problems with 6D qemu. Just trying to get 70D running. Maybe some bug in newest arm bare metal GCC published some days ago?

  2. Alex

    Are you running this on a Raspberry Pi or on a tablet with ARM processor?

    (otherwise I can't see the connection between this bug and the arm compiler)

  3. nikfreak reporter

    No same Virtual machine that is running correctly the 6D qemu. It's definitely not the new GCC version.Tried now. Maybe I should start from scratch with this 70d port to identify the problem. I just have no idea what it could be.

  4. nikfreak reporter

    Could it be that a wrong RESTARTSTART value is causing this error? Trying to identify this value for 70D since yesterday. QEMU seems to react like crazy once I guess-change this value. &D just boots up fine in same dir.

  5. nikfreak reporter

    I am stuck here:

    [GPIO] at [0xFF147E80] [0x00000001] <- [0xC022F480]
    [GPIO] at [0xFF147E80] [0x00000001] <- [0xC022F480]
         0:     0.000 [STARTUP] 
    K325 ICU Firmware Version 1.1.1 ( 8.1.2 )
         2:     3.000 [PROPAD] PROPAD_CreateFROMPropertyHandle DRAMAddr 0x41744000
         3:     4.000 [PROPAD] SerialFlash Packages!! 0x7
         4:     5.000 [PROPAD] ERROR Not Exist Valid ComboPackages!! 0x10000
         5:     6.000 [PROPAD] SerialFlash Packages!! 0x7
         7:     8.000 [SEQ ERROR] NotifyComplete (Cur = 0, 0x0, Flag = 0x20000000)
    *** FIO_FindFirstEx('A:/ML', 175eb0)
    [FIO wrapper] opendir(cfcard/ML) error
    *** FIO_FindFirstEx('B:/ML', 175eb0)
    [FIO wrapper] opendir(sdcard/ML)
    [FIO wrapper] readdir() => SCRIPTS size=4096 mode=10 time=54371522
    *** FIO_FindClose(0)
    [FIO wrapper] closedir()
    
    !
    

    156e3cm.png See attached picture: AEED4. That's much higher value here on 70D than any camera before. maybe I am also wrong but would I need to adjust some code parts to reflect the higher value and if so: what and where exactly? Hijacking just seems to fail.

  6. Log in to comment