Max Filippov

Results 147 comments of Max Filippov
trafficstars

> ld: cannot find crt1-sim.o: No such file or directory > ld: cannot find _vectors.o: No such file or directory Having `-nostdlib` in LDLIBS should fix that. Or you can...

> del_op.cc:47: undefined reference to `free' > new_op.cc:56: undefined reference to `abort' > new_op.cc:58: undefined reference to `malloc' Oh, yes, right. You need something like the following in order to...

This is a host (i.e. x86) compiler crash. Without additional information (e.g. build log) my guess would be that there's not enough memory on the host.

I guess the same way you run it on ESP32. You'd need to figure the address where the kernel goes and FLASH/PSRAM caches setup. Take [this branch](https://github.com/jcmvbkbc/linux-xtensa/commits/xtensa-6.1-esp32) for a template,...

> Where would I find the headers to add the ESP32-S3's core variant I'd start [here](https://github.com/espressif/xtensa-overlays), but I see that these overlays are incomplete. Maybe ask for the linux parts?...

> I think I found the [missing headers](https://github.com/espressif/esp-idf/tree/master/components%2Fxtensa%2Fesp32s3%2Finclude%2Fxtensa%2Fconfig). Yeah, that's correct. > tell me if I need to change anything else. For the linux kernel itself I think that's all.

> I don't need to change anything else at all? Check FLASH cache setup in the bootloader and rebuild it with the esp32s3 compiler. > what about buildroot? No changes,...

> So all I need to do is switch to the ESP32-S3 compiler? Yes.

> There were problems when compiling Linux, so I don't think it'll work for now. @zap8600 there shouldn't be any if things are configured correctly. I can take a look...

> the bootloader needs to be rewritten because it uses functions that are only available on the ESP32, not the ESP32-S3 Yeah, it looks like it could use spi_flash_mmap or...