{"id":22370035,"url":"https://github.com/andreicherniaev/buildroot_x86_libv4l_glibc_64bit_time","last_synced_at":"2026-01-06T22:11:25.272Z","repository":{"id":260900951,"uuid":"882647967","full_name":"AndreiCherniaev/buildroot_x86_libv4l_glibc_64bit_time","owner":"AndreiCherniaev","description":"test buildroot with glibc and BR2_TIME_BITS_64","archived":false,"fork":false,"pushed_at":"2024-11-04T02:28:50.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-31T19:42:42.830Z","etag":null,"topics":["buildroot","example"],"latest_commit_sha":null,"homepage":"https://gitlab.com/buildroot.org/buildroot/-/issues/62","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndreiCherniaev.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":"2024-11-03T11:46:18.000Z","updated_at":"2024-11-04T02:28:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"c4d0758e-e40d-4045-bc06-4e68debf25ff","html_url":"https://github.com/AndreiCherniaev/buildroot_x86_libv4l_glibc_64bit_time","commit_stats":null,"previous_names":["andreicherniaev/buildroot_x86_libv4l_glibc_64bit_time"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiCherniaev%2Fbuildroot_x86_libv4l_glibc_64bit_time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiCherniaev%2Fbuildroot_x86_libv4l_glibc_64bit_time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiCherniaev%2Fbuildroot_x86_libv4l_glibc_64bit_time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiCherniaev%2Fbuildroot_x86_libv4l_glibc_64bit_time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreiCherniaev","download_url":"https://codeload.github.com/AndreiCherniaev/buildroot_x86_libv4l_glibc_64bit_time/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245690486,"owners_count":20656595,"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":["buildroot","example"],"created_at":"2024-12-04T19:31:57.092Z","updated_at":"2026-01-06T22:11:25.239Z","avatar_url":"https://github.com/AndreiCherniaev.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"How to build Linux image based on qemu_x86_defconfig but with libv4l while glibc's BR2_TIME_BITS_64 is enabled.\n## Compare with pc_x86_64_bios_defconfig\nConfig [qemu_x86_libv4l_BR2_TIME_BITS_64_defconfig](my_external_tree/configs/qemu_x86_libv4l_BR2_TIME_BITS_64_defconfig) is based on [qemu_x86_defconfig](https://github.com/buildroot/buildroot/blob/e82217622ea4778148de82a4b77972940b5e9a9e/configs/qemu_x86_defconfig).\n\n## Clone\n```\ngit clone --remote-submodules --recurse-submodules -j8 https://github.com/AndreiCherniaev/buildroot_x86_libv4l_glibc_64bit_time.git\ncd buildroot_x86_libv4l_glibc_64bit_time\n```\n## Make image\n```\nmake clean -C buildroot\nmake BR2_EXTERNAL=$PWD/my_external_tree -C $PWD/buildroot qemu_x86_libv4l_BR2_TIME_BITS_64_defconfig\nmake -C buildroot\n```\n## Save non-default buildroot .config\nTo save non-default buildroot's buildroot/.config to $PWD/my_external_tree/configs/f2fs_qemu_x86_defconfig\n```\nmake -C $PWD/buildroot savedefconfig BR2_DEFCONFIG=$PWD/my_external_tree/configs/qemu_x86_libv4l_BR2_TIME_BITS_64_defconfig\n```\n## Start in QEMU\nThis code is based on emulation [script1](https://github.com/buildroot/buildroot/blob/02540771bccf7b10c7daecce5f0e1e41a73c1e07/boot/grub2/readme.txt#L4) and [script2](https://github.com/buildroot/buildroot/blob/9e3d572ff532df945fbc282fed22d10098e5718b/board/pc/readme.txt), run the emulation with:\n```\nqemu-system-i386 -M pc -drive file=output/images/disk.img,if=virtio,format=raw -net nic,model=virtio -net user\n```\nNote: image file `Buildroot.img` is located outside of repo folder so we use `../`. Optionally add `-nographic` to see output not in extra screen but in console terminal. Or `-display curses` to pseudographic.\n\n## Problems\n```\noutput/host/i686-buildroot-linux-gnu/sysroot/usr/include/features-time64.h:26:5: error: #error \"_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64\"\n```\nsee `build.log`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreicherniaev%2Fbuildroot_x86_libv4l_glibc_64bit_time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreicherniaev%2Fbuildroot_x86_libv4l_glibc_64bit_time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreicherniaev%2Fbuildroot_x86_libv4l_glibc_64bit_time/lists"}