{"id":20765692,"url":"https://github.com/inindev/odroid-m1","last_synced_at":"2025-04-30T09:52:52.618Z","repository":{"id":47304630,"uuid":"515814253","full_name":"inindev/odroid-m1","owner":"inindev","description":"debian arm64 linux for the odroid m1","archived":false,"fork":false,"pushed_at":"2023-08-28T12:42:09.000Z","size":276,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-08-28T16:11:02.453Z","etag":null,"topics":["arm","arm64","debian","device-tree","linux","m1","nvme","odroid","odroid-m1","rk3568"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inindev.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}},"created_at":"2022-07-20T03:02:54.000Z","updated_at":"2023-06-26T23:57:22.000Z","dependencies_parsed_at":"2023-01-18T17:29:12.959Z","dependency_job_id":null,"html_url":"https://github.com/inindev/odroid-m1","commit_stats":null,"previous_names":[],"tags_count":4,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inindev%2Fodroid-m1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inindev%2Fodroid-m1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inindev%2Fodroid-m1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inindev%2Fodroid-m1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inindev","download_url":"https://codeload.github.com/inindev/odroid-m1/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225029195,"owners_count":17409656,"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":["arm","arm64","debian","device-tree","linux","m1","nvme","odroid","odroid-m1","rk3568"],"created_at":"2024-11-17T11:18:24.320Z","updated_at":"2024-11-17T11:18:24.922Z","avatar_url":"https://github.com/inindev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# odroid-m1\n#### *Stock Debian ARM64 Linux for the ODROID-M1*\n\nThis stock Debian ARM64 Linux image is built directly from official packages using the Debian [Debootstrap](https://wiki.debian.org/Debootstrap) utility, see: https://github.com/inindev/odroid-m1/blob/main/debian/make_debian_img.sh#L119\n\nBeing an unmodified Debian build, patches are directly available from the Debian repos using the stock ```apt``` package manager, see: https://github.com/inindev/odroid-m1/blob/main/debian/make_debian_img.sh#L348-L358\n\nIf you want to run true up-stream Debian Linux on your ARM64 device, this is the way to do it.\n\n\u003cbr/\u003e\n\n---\n### debian bookworm setup\n\n\u003cbr/\u003e\n\n**1. download image**\n```\nwget https://github.com/inindev/odroid-m1/releases/download/v12.0.2/odroid-m1_bookworm-1202.img.xz\n```\n\n\u003cbr/\u003e\n\n**2. determine the location of the target micro sd card**\n\n * before plugging-in device\n```\nls -l /dev/sd*\nls: cannot access '/dev/sd*': No such file or directory\n```\n\n * after plugging-in device\n```\nls -l /dev/sd*\nbrw-rw---- 1 root disk 8, 0 Apr 10 15:56 /dev/sda\n```\n* note: for mac, the device is ```/dev/rdiskX```\n\n\u003cbr/\u003e\n\n**3. in the case above, substitute 'a' for 'X' in the command below (for /dev/sda)**\n```\nsudo sh -c 'xzcat odroid-m1_bookworm-1202.img.xz \u003e /dev/sdX \u0026\u0026 sync'\n```\n\n#### when the micro sd has finished imaging, eject and use it to boot the odroid m1 to finish setup\n\n\u003cbr/\u003e\n\n**4. login account**\n```\nuser: debian\npass: debian\n```\n\n\u003cbr/\u003e\n\n**5. take updates**\n```\nsudo apt update\nsudo apt upgrade\n```\n\n\u003cbr/\u003e\n\n**6. create account \u0026 login as new user**\n```\nsudo adduser youruserid\necho '\u003cyouruserid\u003e ALL=(ALL) NOPASSWD: ALL' | sudo tee /etc/sudoers.d/\u003cyouruserid\u003e\nsudo chmod 440 /etc/sudoers.d/\u003cyouruserid\u003e\n```\n\n\u003cbr/\u003e\n\n**7. lockout and/or delete debian account**\n```\nsudo passwd -l debian\nsudo chsh -s /usr/sbin/nologin debian\n```\n\n```\nsudo deluser --remove-home debian\nsudo rm /etc/sudoers.d/debian\n```\n\n\u003cbr/\u003e\n\n**8. change hostname (optional)**\n```\nsudo nano /etc/hostname\nsudo nano /etc/hosts\n```\n\n\u003cbr/\u003e\n\n---\n### installing on m.2 ssd /dev/nvme0n1 media\n\n\u003cbr/\u003e\n\n**1. while booted from mmc, download and copy the image file on to the ssd media**\n```\nwget https://github.com/inindev/odroid-m1/releases/download/v12.0.2/odroid-m1_bookworm-1202.img.xz\nsudo sh -c 'xzcat odroid-m1_bookworm-1202.img.xz \u003e /dev/nvme0n1 \u0026\u0026 sync'\n```\n\n\u003cbr/\u003e\n\n**2. remove mmc media and reboot**\n\n\u003cbr/\u003e\n\n---\n### building debian bookworm arm64 for the odroid m1 from scratch\n\n\u003cbr/\u003e\n\nThe build script builds native arm64 binaries and thus needs to be run from an arm64 device such as a raspberry pi4 running \na 64 bit arm linux. The initial build of this project used a debian arm64 raspberry pi4, but now uses an odroid m1 running \nstock debian bookworm arm64.\n\n\u003cbr/\u003e\n\n**1. clone the repo**\n```\ngit clone https://github.com/inindev/odroid-m1.git\ncd odroid-m1\n```\n\n\u003cbr/\u003e\n\n**2. run the debian build script**\n```\ncd debian\nsudo sh make_debian_img.sh\n```\n* note: edit the build script to change various options: ```nano make_debian_img.sh```\n\n\u003cbr/\u003e\n\n**3. the output if the build completes successfully**\n```\nmmc_2g.img.xz\n```\n\n\u003cbr/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finindev%2Fodroid-m1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finindev%2Fodroid-m1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finindev%2Fodroid-m1/lists"}