Max Filippov

Results 147 comments of Max Filippov
trafficstars

> I guess the xtensa-esp8266 branch would be most helpful for esp32 emulation work. Sure, feel free to reuse it if it helps. > Running gdb with qemu on assembly...

@Ebiroll looks like there are two issues here: first is that gdb overlay in the espressif crosstool-NG is not patched to mark all registers as unprivileged ( & ~1 in...

> (register 97) SR 97 is not implemented Oh, right, MEMCTL. I'll implement it. > WUR 234 not implemented, TBD(pc = 400971db) > WUR 235 not implemented, TBD(pc = 400971e0)...

> Espressif have published a reference manual, updated with MMU chapter on the 9/11, 2016 Thanks, I'll take a look. > Do you have the hardware now? No, not yet....

> irq = xtensa_get_extint(env, 9) AFAICS 9 is the internal IRQ number, not the external. Should be irq = env->irq_inputs[9];

> Any other advice for running 2 cores? > esp_cpu_unstall(1); > //Enable clock gating and reset the app cpu. > SET_PERI_REG_MASK(DPORT_APPCPU_CTRL_B_REG, DPORT_APPCPU_CLKGATE_EN); > CLEAR_PERI_REG_MASK(DPORT_APPCPU_CTRL_C_REG, DPORT_APPCPU_RUNSTALL); > SET_PERI_REG_MASK(DPORT_APPCPU_CTRL_A_REG, DPORT_APPCPU_RESETTING); > CLEAR_PERI_REG_MASK(DPORT_APPCPU_CTRL_A_REG,...

You're missing the c source file that you'd like to compile, and other options, like `-c` `-o` or `-S`. The command line you're given is not a full command line,...

Please follow [these](https://github.com/pfalcon/esp-open-sdk#macos) steps, they specifically add GNU sed to PATH.

http://www.esp8266.com/viewforum.php?f=9

That's OK, I'll leave it here as a demonstration of what can be done. BTW, using this technique we can introduce new gcc options right in the spec file, e.g....