{"id":16521540,"url":"https://github.com/agherzan/meta-chip","last_synced_at":"2026-02-02T14:02:59.928Z","repository":{"id":146512428,"uuid":"44778975","full_name":"agherzan/meta-chip","owner":"agherzan","description":"Yocto BSP layer for C.H.I.P. boards","archived":false,"fork":false,"pushed_at":"2021-06-03T13:01:17.000Z","size":79,"stargazers_count":16,"open_issues_count":6,"forks_count":21,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-16T04:39:58.868Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"BitBake","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/agherzan.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING.MIT","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":"2015-10-22T23:23:10.000Z","updated_at":"2025-01-30T23:25:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"f8d7160b-cd6e-4b32-a48d-266b3c8f4975","html_url":"https://github.com/agherzan/meta-chip","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/agherzan/meta-chip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agherzan%2Fmeta-chip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agherzan%2Fmeta-chip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agherzan%2Fmeta-chip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agherzan%2Fmeta-chip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agherzan","download_url":"https://codeload.github.com/agherzan/meta-chip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agherzan%2Fmeta-chip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29012710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T12:48:30.580Z","status":"ssl_error","status_checked_at":"2026-02-02T12:46:38.384Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2024-10-11T16:56:50.696Z","updated_at":"2026-02-02T14:02:59.907Z","avatar_url":"https://github.com/agherzan.png","language":"BitBake","funding_links":[],"categories":[],"sub_categories":[],"readme":"This README file contains information on building the meta-chip BSP layer.\nPlease see the corresponding sections below for details.\n\n\nDependencies\n============\n\nThis layer depends on:\n\n  URI: git://git.openembedded.org/bitbake\n  branch: master\n\n  URI: git://git.openembedded.org/openembedded-core\n  layers: meta\n  branch: master\n\n  URI: git://github.com/linux-sunxi/meta-sunxi.git\n  branch: master\n\n\nContributing\n============\n\nMailing list\nThe main communication tool we use is a mailing list:\n* \u003cyocto@yoctoproject.org\u003e\n* \u003chttps://lists.yoctoproject.org/listinfo/yocto\u003e\nFeel free to ask any kind of questions but always prepend your email subject\nwith \"[meta-chip]\". This is because we use the 'yocto' mailing list and\nnot a particular 'meta-chip' mailing list.\n\nPatches and pull requests\nAll the contributions should be compliant with the openembedded patch\nguidelines: \u003chttp://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines\u003e\nTo contribute to this project you should send pull requests to the github\nrepository (\u003chttps://github.com/agherzan/meta-chip\u003e). **Additionally** you can\nsend the patches for review to the above specified mailing list so that\nmore people can see and review your contributions..\nWhen creating patches for the mailing list, please use something like:\n\n\tgit format-patch -s --subject-prefix='meta-chip][PATCH' origin\n\nWhen sending patches to the mailing list, please use something like:\n\n\tgit send-email --to yocto@yoctoproject.org \u003cgenerated patch\u003e\n\nGithub issues\nIn order to manage and trace the meta-chip issues, we use github issues:\n\u003chttps://github.com/agherzan/meta-chip/issues\u003e\n\n\nTable of Contents\n=================\n\n  I. Building the meta-chip BSP layer\n II. Flashing a C.H.I.P. board\n\n\nI. Building the meta-chip BSP layer\n========================================\n\nTo build a machine supported by this BSP layer follow the next steps:\n\n1. source poky/oe-init-build-env chip-build\n2. Add needed layer to bblayers.conf:\n    - meta-chip\n3  Set MACHINE to \"chip\" in local.conf\n4. bitbake chip-hwup-image\n\nII. Flashing a C.H.I.P. board\n========================================\n\nAs part of the build including this BSP layer, a U-Boot script and a\nshell script are created to assist in flashing your images to the CHIP\nboard. Note that this script assumes a maximum size for your UBI\nimage of 167772160 (0x0A000000) bytes. If your UBI image exceeds\nthat, then you will need to adapt this to your environment.\n\nTo successfully run this script you will first need to set your board\ninto FEL mode. Insert a wire into the U14 header between pin 7 (FEL)\nand GND. Then connect the board with a USB cable to your host. More\ndetails here:\n    https://docs.getchip.com/chip.html#flash-chip-with-an-os\n\nYou need to specify the base filename of your UBI image using the\nUBI_IMAGE shell variable before invoking the generated script as\nfollows:\n\n# UBI_IMAGE=chip-hwup-image-chip.ubi \\\n        ./tmp/deploy/images/chip/flash_CHIP_board.sh\n\nThis script will take some time to execute. The output of this script\nas run on your host machine should look similar to the following:\n\n    # UBI_IMAGE=chip-hwup-image-chip.ubi ./tmp/deploy/images/chip/flash_CHIP_board.sh\n    100% [================================================]  3537 kB,  513.9 kB/s\n    100% [================================================]   619 kB,  551.1 kB/s\n    100% [================================================]     2 kB,  476.0 kB/s\n    100% [================================================] 71303 kB,  531.1 kB/s\n\nIf you have a serial console connected to your board, you will see\nprogress and a message on the console indicating when flashing is\ncomplete:\n\n    U-Boot 2016.01 (Jun 20 2017 - 02:54:42 -0400) Allwinner Technology\n    \n    CPU:   Allwinner A13 (SUN5I)\n    I2C:   ready\n    DRAM:  512 MiB\n    NAND:  8192 MiB\n    video-mode 720x480-24@60 not available, falling back to 1024x768-24@60\n    Setting up a 720x480i composite-ntsc console (overscan 40x20)\n    In:    serial\n    Out:   serial\n    Err:   serial\n    Net:   usb_ether\n    starting USB...\n    No controllers found\n    Hit any key to stop autoboot:  0\n    (FEL boot)\n    ## Executing script at 43100000\n    Erasing NAND\n    \n    NAND erase.chip: device 0 whole chip\n    Skipping bad block at  0xeb000000\n    Skipping bad block at  0x1b1000000\n    Erasing at 0x1ffc00000 -- 100% complete.\n    OK\n    Writing SPL (with ECC) to NAND address 0x00000000\n    \n    NAND write:  3537408 bytes written: OK\n    Writing SPL (with ECC) to NAND address 0x400000\n    \n    NAND write:  3537408 bytes written: OK\n    Writing UBoot image to address 0x800000\n    \n    NAND write: device 0 offset 0x800000, size 0x97236\n     619062 bytes written: OK\n    Enabling Splash\n    Setting Video Mode\n    Saving default environment\n    Saving Environment to NAND...\n    Erasing NAND...\n    Erasing at 0xc00000 -- 100% complete.\n    Writing to NAND... OK\n    Writing UBI rootfs to NAND address 0x1000000\n    \n    NAND write: device 0 offset 0x1000000, size 0xa000000\n     167772160 bytes written: OK\n    ===========================================================\n    Flashing Complete. Please power down and disable FEL mode.\n    ===========================================================\n\nAdditionally, once the image is properly flashed, the status LED on\nthe CHIP board will flash on and off every 2 seconds. This indicates\nthat it is safe to power down your board and disable FEL mode.\n\nWARNING: This will erase the entire contents of your CHIP board.\n\nNOTE: This setup is still compatible with the CHIP flashing utility\navailable at http://flash.getchip.com if you choose to reinstall the\nstock images.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagherzan%2Fmeta-chip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagherzan%2Fmeta-chip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagherzan%2Fmeta-chip/lists"}