{"id":18009897,"url":"https://github.com/kekyo/qemu-debian-mipsel-setup","last_synced_at":"2025-03-26T14:31:35.930Z","repository":{"id":84090166,"uuid":"483245921","full_name":"kekyo/qemu-debian-mipsel-setup","owner":"kekyo","description":"Setup latest Debian mipsel on qemu malta.","archived":false,"fork":false,"pushed_at":"2023-10-30T06:22:25.000Z","size":168,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-21T23:22:24.706Z","etag":null,"topics":["debian","install","malta","mipsel","qemu","setup"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kekyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-04-19T12:54:28.000Z","updated_at":"2024-10-28T14:09:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"1da37bef-19e8-4bd4-a990-7adb468494d3","html_url":"https://github.com/kekyo/qemu-debian-mipsel-setup","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kekyo%2Fqemu-debian-mipsel-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kekyo%2Fqemu-debian-mipsel-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kekyo%2Fqemu-debian-mipsel-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kekyo%2Fqemu-debian-mipsel-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kekyo","download_url":"https://codeload.github.com/kekyo/qemu-debian-mipsel-setup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245670739,"owners_count":20653413,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["debian","install","malta","mipsel","qemu","setup"],"created_at":"2024-10-30T02:11:28.430Z","updated_at":"2025-03-26T14:31:35.533Z","avatar_url":"https://github.com/kekyo.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Setup latest Debian mipsel on qemu malta\n\nReference:\n  https://gist.github.com/extremecoders-re/3ddddce9416fc8b293198cd13891b68c\n\n----\n\n## How to use it\n\nPerhaps the script needs to be modified slightly to match the latest image. I used [Latest Debian 11 (bullseye) from \"debian-11.3.0-mipsel-netinst.iso\"](http://cdimage.debian.org/cdimage/release/current/mipsel/iso-cd/debian-11.3.0-mipsel-netinst.iso) as a base.\n\n1. Run `build.sh`, it will download cd image from debian server, build qcow virtual hard disk image and run debian installer.\n\n![installing](Images/installing.png)\n\n2. Ready to use. Run `run.sh` then raise up debian 11 mipsel on qemu!\n\n![run](Images/run.png)\n\n### Enabled ssh forwarding on port 2222\n\n```bash\nssh localhost -p 2222\n```\n\nHave fun!\n\n----\n\n## Background\n\nIt's completely off-topic, and probably a strange nerd story :)\n\nI am developing [a .NET library for video capture](https://github.com/kekyo/FlashCap).\nI thought this library should be tested in a variety of environments in order to be truly multi-platform.\nSo, I was looking for a somewhat minor environment in which .NET (actually mono) would work,\nand [\"Imagination Creator Ci20\" was found.](https://uk.rs-online.com/web/p/single-board-computers/1253305)\n\nThe Ci20 is a MIPS 32-bit architecture that is still barely available and can operate as a USB host.\nIt seemed feasible to perform video capture via V4L2, supporting USB Video Class.\nSo, we quickly obtained this board and found that only supports Debian 8 (jessie) and\nMoreover, it seemed to have been removed from the supported list as a beta release.\n\nAfter [some information and trial and error](https://gist.github.com/kekyo/1d851907bf5b59ddb204448de3b18383),\nI succeeded in applying the latest binary packages for Debian 8.\nApparently there is still an eMMC access bug in the kernel, which causes the system to stop\nwith UBIFS-derived panic when I/O is under high load.\nAlso, I need a relatively new version of Clang, but Debian 8 only has an older version,\nand If I try to build it on my own, I get the above panic and am out of luck.\n\nI wish I could fix this kernel fundamentally, but unfortunately, I do not have that much knowledge.\nSo I have decided to take other steps.\n\nI realized that building the code on a modern Debian 11 using qemu's mipsel emulation would work fine,\nso I created this script by trial and error from my sources.\n\n----\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkekyo%2Fqemu-debian-mipsel-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkekyo%2Fqemu-debian-mipsel-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkekyo%2Fqemu-debian-mipsel-setup/lists"}