Etiquette, expectations, entitlement...
@autoexec_bin | #magiclantern | Discord | Reddit | Server issues
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: a1ex on August 20, 2018, 09:53:25 PM
Hopefully done; I could finally compile the installer and other minimal examples!
cd minimal/hello-world
make MODEL=1300D clean
make MODEL=1300D install_qemu CONFIG_QEMU=y
Quote from: a1ex on January 28, 2019, 12:56:47 PMAlex, you have not succeeded to find solution for patching arbitrary functions?
I'll try, but the solution is not straightforward.
....
Now, the hard part - clean up the code and commit it
Still need to find a general solution for patching arbitrary functions in Canon code (i.e. to implement long jump support in the patch manager).
QuoteBusy ... please wait. That's when I use RAW video, with 10bit or 12bit.
QuoteAllocating 122MiB backup. And then, after 2 seconds, I get
QuoteFrame skippedand stops with
QuoteBusy ... please wait. That's at 10bit and 12bit.
QuoteI got prop_diag working as a stand alone app and was able to parse ROM1.BIN but am stuck trying to figure out how to parse the RAM4.BIN, especially, "...around the known address..." As Sergeant Schultz would say, "I know nothing!"Starting from https://www.magiclantern.fm/forum/index.php?topic=12177.msg117735#msg117735 I tried to unblock RAM4.BIN. The problem is I do not know what offset to use.
QuoteCouldn't just add a 4000D directory because it is not supported yetIt's work... I add a 4000D directory and run it... it's work
[boot] copy_and_restart 0xc80000 (13107200)
[BOOT] changing init_task from 0xfe1296c8 (-32336184) to 0xc804b0 (13108400)
[BOOT] autoexec.bin loaded at C80000 - CFCE40.
[BOOT] calling local pre_init_task C803E4...
[BOOT] changing AllocMem end address: D00000 -> C80000.
0xfe0c1b74: e3a0160d mov r1, #13631488 ; 0xd00000
0xfe0c1b78: e3a0082d mov r0, #2949120 ; 0x2d0000
0xfe0c1b74: e3a018c8 mov r1, #13107200 ; 0xc80000
0xfe0c1b78: e3a0082d mov r0, #2949120 ; 0x2d0000
[BOOT] calling pre_init_task C80CA8...
[BOOT] installing task dispatch hook at 0x35924 (219428)
[BOOT] reserved 524288 bytes for ML (used 511552)
ICache: 8192b, idx=7e0 tag=fffff800 word=1c seg=c0000000
Jump range error: cf37a0 -> fe2993b8
Patch error at fe2993b4 (jump out of range)
Jump range error: cf37a0 -> fe10fa74
Patch error at fe10fa70 (jump out of range)
[BOOT] starting init_task 14B70C...
K404 READY
< Error Exception >
TYPE : undefined
ISR : FALSE
TASK ID : 00020002
TASK Name : init
R 0 : 00000000
R 1 : 00000001
R 2 : fe123d6c
R 3 : 00000001
R 4 : 00031e44
R 5 : 00000000
R 6 : 00c804b0
R 7 : 19980218
R 8 : 19980218
R 9 : 19980218
R10 : 19980218
R11 : 19980218
R12 : 0014bb40
R13 : 0014b6d8
R14 : fe123c98
PC : fccc1a34
CPSR : 80000093
[****] Starting task fe2bafd0(0) PowerMgr
Quote from: Walter Schulz on January 26, 2019, 07:10:37 PMI use Canon 18-55mm STM.
Thanks for testing!
Which lens was mounted?
Unpatch error at fe2993b4 (NOT_PATCHED)
Unpatch error at fe10fa70 (NOT_PATCHED)
Unpatch error at fe11f394 (NOT_PATCHED)
[NotifyBox] dm-0000.log: saved 0 bytes.
ASSERT: 0
at SystemIF::KerSem.c:354, PropMgr:337c
lv:0 mode:0
PropMgr stack: 151240 [151360-150360]
0xUNKNOWN @ 41fc:151350
0xUNKNOWN @ fe2c2170:151328
0xFE2BE970 @ fe10bc8c:151310
0xUNKNOWN @ fe2be9a0:151300
0xUNKNOWN @ fe2bea28:1512e0
0xUNKNOWN @ fe294cf4:1512a8
0xUNKNOWN @ c9cbb8:151280
0x00003CBC @ 3378:151278
0x00C80378 @ c80804:151240
Magic Lantern version : Nightly.2019Jan25.1300D110
Mercurial changeset : 296fdfb5f8d0+ (io_trace_full)
Built on 2019-01-25 16:23:14 UTC by root@cristi.
Free Memory : 260K + 898K
./run_canon_fw.sh 1300D,firmware="boot=1" -d tasks
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x374
00C803AC: MCR p15,3,Rd,cr15,cr1,0: IcacheTag <- 0xFE0C1B70
00C803B0: MCR p15,3,Rd,cr15,cr3,0: IcacheVal <- 0xE3A018C8
Cache patch: [FE0C1B74] <- E3A018C8 (was E3A0160D)
Task switch to idle:fe0c08d0 at [idle:197c:197c]
Task switch to init:5cc at [init:1d84:1d84]
Task switch to idle:fe0c08d0 at [idle:197c:197c]
Task switch to init:5cc at [init:1d84:1d84]
Task switch to idle:fe0c08d0 at [idle:197c:197c]
Task switch to init:5cc at [init:1d84:1d84]
Task switch to idle:fe0c08d0 at [idle:197c:197c]
Task switch to init:5cc at [init:1d84:1d84]
Task switch to idle:fe0c08d0 at [idle:197c:197c]
Task switch to init:5cc at [init:1d84:1d84]
Task switch to idle:fe0c08d0 at [idle:197c:197c]
Task switch to init:5cc at [init:1d84:1d84]
Task switch to idle:fe0c08d0 at [idle:197c:197c]
Task switch to init:5cc at [init:1d84:1d84]
....
00C80430: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x320
Lockdown read 2
00C80434: MRC p15,3,Rd,cr15,cr2,0: DcacheTag -> 0x0
00C803BC: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x320
00C803C0: MCR p15,3,Rd,cr15,cr2,0: DcacheTag <- 0xFE0C3B30
00C803C4: MCR p15,3,Rd,cr15,cr4,0: DcacheVal <- 0xFE1296C8
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x324
00C803C0: MCR p15,3,Rd,cr15,cr2,0: DcacheTag <- 0xFE0C3B30
00C803C4: MCR p15,3,Rd,cr15,cr4,0: DcacheVal <- 0xE12FFF1E
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x328
00C803C0: MCR p15,3,Rd,cr15,cr2,0: DcacheTag <- 0xFE0C3B30
00C803C4: MCR p15,3,Rd,cr15,cr4,0: DcacheVal <- 0xE92D400E
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x32C
00C803C0: MCR p15,3,Rd,cr15,cr2,0: DcacheTag <- 0xFE0C3B30
00C803C4: MCR p15,3,Rd,cr15,cr4,0: DcacheVal <- 0xE59F0254
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x330
00C803C0: MCR p15,3,Rd,cr15,cr2,0: DcacheTag <- 0xFE0C3B30
00C803C4: MCR p15,3,Rd,cr15,cr4,0: DcacheVal <- 0xE3A010FF
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x334
00C803C0: MCR p15,3,Rd,cr15,cr2,0: DcacheTag <- 0xFE0C3B30
00C803C4: MCR p15,3,Rd,cr15,cr4,0: DcacheVal <- 0xE5CD1008
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x338
00C803C0: MCR p15,3,Rd,cr15,cr2,0: DcacheTag <- 0xFE0C3B30
00C803C4: MCR p15,3,Rd,cr15,cr4,0: DcacheVal <- 0xE3A01000
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x33C
00C803C0: MCR p15,3,Rd,cr15,cr2,0: DcacheTag <- 0xFE0C3B30
00C803C4: MCR p15,3,Rd,cr15,cr4,0: DcacheVal <- 0xE58D0000
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x320
00C803C0: MCR p15,3,Rd,cr15,cr2,0: DcacheTag <- 0xFE0C3B30
00C803C4: MCR p15,3,Rd,cr15,cr4,0: DcacheVal <- 0xC80480
Cache patch: [FE0C3B20] <- C80480 (was FE1296C8)
00C803F4: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x374
Lockdown read 1
00C803F8: MRC p15,3,Rd,cr15,cr1,0: IcacheTag -> 0x0
00C803A8: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x360
00C803AC: MCR p15,3,Rd,cr15,cr1,0: IcacheTag <- 0xFE0C1B70
00C803B0: MCR p15,3,Rd,cr15,cr3,0: IcacheVal <- 0xE92D4010
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x364
00C803AC: MCR p15,3,Rd,cr15,cr1,0: IcacheTag <- 0xFE0C1B70
00C803B0: MCR p15,3,Rd,cr15,cr3,0: IcacheVal <- 0xE24DD018
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x368
00C803AC: MCR p15,3,Rd,cr15,cr1,0: IcacheTag <- 0xFE0C1B70
00C803B0: MCR p15,3,Rd,cr15,cr3,0: IcacheVal <- 0xE28F0F9A
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x36C
00C803AC: MCR p15,3,Rd,cr15,cr1,0: IcacheTag <- 0xFE0C1B70
00C803B0: MCR p15,3,Rd,cr15,cr3,0: IcacheVal <- 0xEBFFFDB5
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x370
00C803AC: MCR p15,3,Rd,cr15,cr1,0: IcacheTag <- 0xFE0C1B70
00C803B0: MCR p15,3,Rd,cr15,cr3,0: IcacheVal <- 0xEB015F55
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x374
00C803AC: MCR p15,3,Rd,cr15,cr1,0: IcacheTag <- 0xFE0C1B70
00C803B0: MCR p15,3,Rd,cr15,cr3,0: IcacheVal <- 0xE3A0160D
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x378
00C803AC: MCR p15,3,Rd,cr15,cr1,0: IcacheTag <- 0xFE0C1B70
00C803B0: MCR p15,3,Rd,cr15,cr3,0: IcacheVal <- 0xE3A0082D
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x37C
00C803AC: MCR p15,3,Rd,cr15,cr1,0: IcacheTag <- 0xFE0C1B70
00C803B0: MCR p15,3,Rd,cr15,cr3,0: IcacheVal <- 0xEB01961C
00C80390: MCR p15,3,Rd,cr15,cr0,0: CacheDbgIdx <- 0x374
00C803AC: MCR p15,3,Rd,cr15,cr1,0: IcacheTag <- 0xFE0C1B70
00C803B0: MCR p15,3,Rd,cr15,cr3,0: IcacheVal <- 0xE3A018C8
Cache patch: [FE0C1B74] <- E3A018C8 (was E3A0160D)
ASSERT: 0
at SystemIF::KerSem.c:354, PropMgr:337c
lv:0 mode:0
PropMgr stack: 151240 [151360-150360]
0xUNKNOWN @ 41fc:151350
0xUNKNOWN @ fe2c2170:151328
0xFE2BE970 @ fe10bc8c:151310
0xUNKNOWN @ fe2be9a0:151300
0xUNKNOWN @ fe2bea28:1512e0
0xUNKNOWN @ fe294cf4:1512a8
0xUNKNOWN @ c9c5b8:151280
0x00003CBC @ 3378:151278
0x00C80378 @ c807cc:151240
Magic Lantern version : Nightly.2019Jan21.1300D110
Mercurial changeset : b8ed21b80b54+ (dm-spy-experiments)
Built on 2019-01-21 07:59:00 UTC by root@cristi.
Free Memory : 260K + 898K
CONFIG_DEBUG_INTERCEPT_STARTUP=y
Page created in 0.094 seconds with 13 queries.