Optimizing Foundation Model Inference on a Many-tiny-core Open-source RISC-V Platform (Full Report)