{"id":20929607,"url":"https://github.com/libreelec/amlogic-boot-fip","last_synced_at":"2025-05-13T18:32:34.237Z","repository":{"id":42029493,"uuid":"226015541","full_name":"LibreELEC/amlogic-boot-fip","owner":"LibreELEC","description":"Firmware Image Package (FIP) sources to sign Amlogic u-boot binaries in LibreELEC, Armbian and meta-meson","archived":false,"fork":false,"pushed_at":"2024-09-20T09:30:29.000Z","size":8184,"stargazers_count":53,"open_issues_count":4,"forks_count":51,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-05-09T07:21:36.957Z","etag":null,"topics":["amlogic","armbian","fip","hacktoberfest","libreelec","meta-meson","signing","u-boot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"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/LibreELEC.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,"zenodo":null}},"created_at":"2019-12-05T04:24:18.000Z","updated_at":"2025-03-13T19:16:31.000Z","dependencies_parsed_at":"2025-04-21T16:21:07.725Z","dependency_job_id":"71a5834b-5c2e-40f0-b675-8f18690e8f85","html_url":"https://github.com/LibreELEC/amlogic-boot-fip","commit_stats":{"total_commits":54,"total_committers":9,"mean_commits":6.0,"dds":"0.31481481481481477","last_synced_commit":"c4bf0e3b1ab1246c3176d6c3e420a5e1cdf40c4e"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreELEC%2Famlogic-boot-fip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreELEC%2Famlogic-boot-fip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreELEC%2Famlogic-boot-fip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LibreELEC%2Famlogic-boot-fip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LibreELEC","download_url":"https://codeload.github.com/LibreELEC/amlogic-boot-fip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254003410,"owners_count":21997885,"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":["amlogic","armbian","fip","hacktoberfest","libreelec","meta-meson","signing","u-boot"],"created_at":"2024-11-18T21:22:11.575Z","updated_at":"2025-05-13T18:32:34.208Z","avatar_url":"https://github.com/LibreELEC.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# amlogic-boot-fip\n\nFirmware Image Pacakge (FIP) sources used to sign Amlogic u-boot binaries in LibreELEC images\n\n## U-Boot/BL33 Firmware Packaging\n\n```\nUsage: ./build-fip.sh: \u003cboard model\u003e \u003cbl33/u-boot.bin path\u003e [output directory] [temporary directory]\n```\n\nPass the board name and the bl33/U-boot payload to generate a bootable binary.\n\nExample:\n\n```\n$ mkdir my-output-dir\n$ ./build-fip.sh lepotato /path/to/u-boot/u-boot.bin my-output-dir\nmake: Entering directory 'lepotato'\npython3 acs_tool.py bl2.bin /tmp/tmp.xq7XhFy6rW/bl2_acs.bin acs.bin 0\nACS tool process done.\n./blx_fix.sh /tmp/tmp.xq7XhFy6rW/bl2_acs.bin /tmp/tmp.xq7XhFy6rW/zero_tmp /tmp/tmp.xq7XhFy6rW/bl2_zero.bin bl21.bin /tmp/tmp.xq7XhFy6rW/bl21_zero.bin /tmp/tmp.xq7XhFy6rW/bl2_new.bin bl2\n2916+0 records in\n2916+0 records out\n2916 bytes (2,9 kB, 2,8 KiB) copied, 0,00332667 s, 877 kB/s\n5992+0 records in\n5992+0 records out\n5992 bytes (6,0 kB, 5,9 KiB) copied, 0,00695574 s, 861 kB/s\n./aml_encrypt_gxl --bl2sig --input /tmp/tmp.xq7XhFy6rW/bl2_new.bin --output /tmp/tmp.xq7XhFy6rW/bl2.n.bin.sig\n./blx_fix.sh bl30.bin /tmp/tmp.xq7XhFy6rW/zero_tmp /tmp/tmp.xq7XhFy6rW/bl30_zero.bin bl301.bin /tmp/tmp.xq7XhFy6rW/bl301_zero.bin /tmp/tmp.xq7XhFy6rW/bl30_new.bin bl30\n2076+0 records in\n2076+0 records out\n2076 bytes (2,1 kB, 2,0 KiB) copied, 0,00238937 s, 869 kB/s\n3176+0 records in\n3176+0 records out\n3176 bytes (3,2 kB, 3,1 KiB) copied, 0,00360341 s, 881 kB/s\n./aml_encrypt_gxl --bl3enc --input /tmp/tmp.xq7XhFy6rW/bl30_new.bin --output /tmp/tmp.xq7XhFy6rW/bl30_new.bin.enc\n./aml_encrypt_gxl --bl3enc --input bl31.img --output /tmp/tmp.xq7XhFy6rW/bl31.img.enc\n./aml_encrypt_gxl --bl3enc --input /path/to/u-boot/u-boot.bin --output /tmp/tmp.xq7XhFy6rW/bl33.bin.enc\n./aml_encrypt_gxl --bootmk --output /path/to/my-output-dir/u-boot.bin --level v3 \\\n               --bl2 /tmp/tmp.xq7XhFy6rW/bl2.n.bin.sig --bl30 /tmp/tmp.xq7XhFy6rW/bl30_new.bin.enc \\\n\t       --bl31 /tmp/tmp.xq7XhFy6rW/bl31.img.enc --bl33 /tmp/tmp.xq7XhFy6rW/bl33.bin.enc\nmake: Leaving directory 'lepotato'\n$ ls my-output-dir\nu-boot.bin  u-boot.bin.sd.bin  u-boot.bin.usb.bl2  u-boot.bin.usb.tpl\n```\n\nSystem Requirements:\n - x86-64 Linux system\n - Python 3 (for GXBB, GXL \u0026 GXM boards only)\n - sh\n - make\n - readlink\n - mktemp\n - cat\n - dd\n\nOpen-source tools exist to replace the binary-only Amlogic tools:\n - https://github.com/afaerber/meson-tools (GXBB, GXL \u0026 GXM only)\n - https://github.com/repk/gxlimg (GXBB, GXL, GXM \u0026 AXG only)\n - https://github.com/angerman/meson64-tools (developed for G12B, should work on G12A \u0026 SM1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibreelec%2Famlogic-boot-fip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibreelec%2Famlogic-boot-fip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibreelec%2Famlogic-boot-fip/lists"}