Max Filippov

Results 147 comments of Max Filippov
trafficstars

> the same thing but with partitions Somehow it doesn't work on esp32s3, `esp_partition_mmap` returns `ESP_ERR_NO_MEM`. However it works when FLASH is mapped as `SPI_FLASH_MMAP_DATA`. Looks like a bug to...

The workaround I mentioned [here](https://github.com/jcmvbkbc/linux-xtensa/issues/5#issuecomment-1535924297) is working, the FLASH partitions get mapped. The code is in the https://github.com/jcmvbkbc/esp-idf/tree/linux-5.0.1 And with that bootloader I was able to boot [this](https://github.com/jcmvbkbc/linux-xtensa/commits/xtensa-6.4-esp32) kernel on...

> I'll look for your ESP32-S3 code in that repo and modify my scripts to build it. I've added a few notes on the whole process [here](http://wiki.osll.ru/doku.php/etc:users:jcmvbkbc:linux-xtensa:esp32s3)

> Are directories like build-xtensa-fdpic-toolchain-esp32s3 and build-xtensa-fdpic-nothread-esp32s3 created by the user? Yes. I guess it's going to be easier if I just integrate toolchain building into the crosstool-NG, it makes...

> Is this using the more efficient XIP-aware FDPIC that can map from cramfs? Yes, the code is now truly shared between the processes and it can run directly from...

I wonder what makes people still use this branch? It's 7 years old, most changes from it are merged into the toolchain component mainlines, binutils-2.40 and gcc-13 have xtensa dynconfig...

As mentioned [here](https://github.com/jcmvbkbc/linux-xtensa/issues/5#issuecomment-1720040704) there's some figuring out the hardware details from the existing code that must happen. And then the standard: copy a similar driver -- fill in the hardware-specific...

I've pushed initial version with USB host support [here](https://github.com/jcmvbkbc/linux-xtensa/commits/xtensa-6.10-esp32-usb/). Currently it needs the following change to the esp_hosted that switches the USB PHY connection from the USB serial to the...

> is being a device possible as well? Yes, I tested it as an ethernet gadget, works pretty well as long as packet size stays small. I guess fine-tuning FIFO...

> If both host and peripheral work, then does OTG work? My impression is that it wouldn't work with the internal USB PHY, but it might work with the external...