{"id":43727935,"url":"https://github.com/flatmax/buildroot.rockchip","last_synced_at":"2026-02-05T09:13:35.824Z","repository":{"id":40377417,"uuid":"323498052","full_name":"flatmax/buildroot.rockchip","owner":"flatmax","description":"buildroot external for rockchip boards","archived":false,"fork":false,"pushed_at":"2025-02-11T09:58:25.000Z","size":5619,"stargazers_count":64,"open_issues_count":11,"forks_count":23,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-11T10:41:59.802Z","etag":null,"topics":["buildroot","buildroot-external","gtkiostream","rockchip","single-board-computer"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flatmax.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-22T02:20:57.000Z","updated_at":"2025-01-27T09:19:18.000Z","dependencies_parsed_at":"2023-11-06T02:24:19.097Z","dependency_job_id":"f5d8fb7c-62f3-44c7-bd69-938ca6dc0ce4","html_url":"https://github.com/flatmax/buildroot.rockchip","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flatmax/buildroot.rockchip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatmax%2Fbuildroot.rockchip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatmax%2Fbuildroot.rockchip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatmax%2Fbuildroot.rockchip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatmax%2Fbuildroot.rockchip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flatmax","download_url":"https://codeload.github.com/flatmax/buildroot.rockchip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatmax%2Fbuildroot.rockchip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29117921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T05:31:32.482Z","status":"ssl_error","status_checked_at":"2026-02-05T05:31:29.075Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["buildroot","buildroot-external","gtkiostream","rockchip","single-board-computer"],"created_at":"2026-02-05T09:13:35.239Z","updated_at":"2026-02-05T09:13:35.815Z","avatar_url":"https://github.com/flatmax.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RK3308, RK3328, RK356X, RK3588 buildroot system\n\nNow builds for rk3308, rk3328, RK3566 and RK3588\n\nThis repo generates a bootable sdcard image for the RK3xxx platform.\nIt is a 64 bit image. Based on buildroot, this directory is an external buildroot tree - it integrates into the main buildroot tree seamlessly.\n\nFor the RK3399 buildroot images, have a look at this dedicated repo : https://github.com/flatmax/buildroot.rk3399.external\n\n# Initial setup\n\nClone buildroot. For example :\n\n```\ncd yourPath\ngit clone git://git.busybox.net/buildroot buildroot\n\n# rock pi S tested with version : git checkout 2022.02.1\n# rock pi 3a tested with version : git checkout 2024.11.1\n# rock cm3 tested with version : git checkout 2022.08.2\n# rock 5b tested with version : git checkout 2022.05\n```\n\nMake sure you have requirements :\n```\nsudo apt-get install -y build-essential gcc g++ autoconf automake libtool bison flex gettext\nsudo apt-get install -y patch texinfo wget git gawk curl lzma bc quilt swig\n```\n\nIf building in a minimal Docker image, you will also require :\n```\nsudo apt-get install -y cpio unzip rsync python3\n```\n\nIf building for the cm3 and rock3 derivatives (and possibly others), you will need a minimal python2 system :\n```\nsudo apt install python2\n```\n\n***The above instructions apply to Debian-based distros.  Buildroot works on other distros, but installing the above dependencies is beyond the scope of this README; check your distro's package manager documentation.  Additionally the dash shell is required on distros where it is not the default.***\n\nClone the external buildroot tree :\n```\ngit clone https://github.com/flatmax/buildroot.rockchip.git buildroot.rockchip.ext\n```\n\n# To make the system\n\n```\n# For the RockPi S\nsource buildroot.rockchip.ext/setup.rockPiS.sh yourPath/buildroot\n# for the Radxa rock 3 a board\nsource buildroot.rockchip.ext/setup.rock3a.sh yourPath/buildroot\n# for the Radxa rock 5b board\nsource buildroot.rockchip.ext/setup.rock5b.sh yourPath/buildroot\n# for the Radxa rock cm3 io board\nsource buildroot.rockchip.ext/setup.cm3.sh yourPath/buildroot\n# For the RockPi E (rk3328 based board) [needs more work]\nsource buildroot.rockchip.ext/setup.rockPiE.sh yourPath/buildroot\n# For the Pine64 Quartz64 (rk3566 based board) [currently not working]\nsource buildroot.rockchip.ext/setup.quartz64.sh yourPath/buildroot\n```\n\nMake sure you have the buildroot downloads directory present (when you are in the yourPath/buildroot directory execute the following) :\n\n```\nmkdir ../buildroot.dl\n```\n\n# build the system\n## rock3a build\nrkbin must be built before uboot and the kernel as they depend on rockchip binaries from this package, run the following before running a full make\n```\nmake rkbin\n```\n## general build\n```\nmake\n```\n\n# installing\n\nInsert your sdcard into your drive and make sure it isn't mounted. Write the image to the disk.\n\nNOTE: The following command will overwrite any disk attached to $OF. Don't overwrite your root.\n\n```\nOF=/dev/sdf; rootDrive=`mount | grep \" / \" | grep $OF`; if [ -z $rootDrive ]; then sudo umount $OF[123456789]; sudo dd if=output/images/sdcard.img of=$OF; else echo you are trying to overwrite your root drive; fi\n```\n\n# using\n\nConnect to the console debug uart with a serial cable. Or, add the openssh-server pacakge to the buildsystem, then ssh in as user root, no pass.\n\n## ssh RSA keys\n\nTo use ssh, put your id_rsa.pub into the authorized_keys in the overlays directory. This will autoload your public RSA key to the embedded system so that you can login.\n```\n$ mkdir -p overlays/root/.ssh; chmod go-rwx overlays/root/.ssh\n$ ls -ld overlays/root/.ssh\ndrwx------ 2 me me 4096 Aug  3  2016 overlays/root/.ssh\n$ cat ~/.ssh/id_rsa.pub \u003e overlays/root/.ssh/authorized_keys\n$ ls -l overlays/root/.ssh/authorized_keys\n-rw-r--r-- 1 me me 748 Feb 24 11:17 overlays/root/.ssh/authorized_keys\n```\n\n# TODO\n## for the rk3308 board\nTry to find suitable rock-chip boot binaries on github. rk3308_ddr_589MHz_uart0_m0_v1.26.bin can't be found in rkbin.\nShift uboot and the kernel to mainline Linux.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflatmax%2Fbuildroot.rockchip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflatmax%2Fbuildroot.rockchip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflatmax%2Fbuildroot.rockchip/lists"}