{"id":22370036,"url":"https://github.com/andreicherniaev/buildroot_bios_f2fs_x86","last_synced_at":"2025-08-21T12:12:41.475Z","repository":{"id":260644526,"uuid":"881941600","full_name":"AndreiCherniaev/buildroot_BIOS_f2fs_x86","owner":"AndreiCherniaev","description":"Custom Linux for x86 BIOS with grub and f2fs filesystem","archived":false,"fork":false,"pushed_at":"2024-11-01T14:42:48.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T16:26:32.531Z","etag":null,"topics":["buildroot","example"],"latest_commit_sha":null,"homepage":"https://gitlab.com/buildroot.org/buildroot/-/issues/61","language":"Shell","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-01T14:41:14.000Z","updated_at":"2024-11-01T14:57:56.000Z","dependencies_parsed_at":"2024-11-01T15:31:05.502Z","dependency_job_id":"08548f65-d1a3-48f6-ba47-b3086aaac796","html_url":"https://github.com/AndreiCherniaev/buildroot_BIOS_f2fs_x86","commit_stats":null,"previous_names":["andreicherniaev/buildroot_bios_f2fs_x86"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AndreiCherniaev/buildroot_BIOS_f2fs_x86","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiCherniaev%2Fbuildroot_BIOS_f2fs_x86","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiCherniaev%2Fbuildroot_BIOS_f2fs_x86/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiCherniaev%2Fbuildroot_BIOS_f2fs_x86/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiCherniaev%2Fbuildroot_BIOS_f2fs_x86/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreiCherniaev","download_url":"https://codeload.github.com/AndreiCherniaev/buildroot_BIOS_f2fs_x86/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiCherniaev%2Fbuildroot_BIOS_f2fs_x86/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271478000,"owners_count":24766424,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","example"],"created_at":"2024-12-04T19:31:57.446Z","updated_at":"2025-08-21T12:12:41.457Z","avatar_url":"https://github.com/AndreiCherniaev.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"How to build Linux image for x86 grub with f2fs filesystem\n## Features\nf2fs is enabled in Linux kernel. f2fs is enabled in GNU GRUB (BR2_TARGET_GRUB2_BUILTIN_MODULES_PC now contains f2fs). grub's timeout is 0 so you willn't see [him](https://upload.wikimedia.org/wikipedia/commons/thumb/8/81/Grub_logo_large.png/240px-Grub_logo_large.png).\n\n## Clone\n```\ngit clone --remote-submodules --recurse-submodules -j8 https://github.com/AndreiCherniaev/buildroot_BIOS_f2fs_x86.git\ncd buildroot_BIOS_f2fs_x86\n```\n## Make image\n```\nmake clean -C buildroot\nmake BR2_EXTERNAL=$PWD/my_external_tree -C $PWD/buildroot f2fs_qemu_x86_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/f2fs_qemu_x86_defconfig\n```\n## Tune and rebuild Kernel\nTune Linux kernel\n```\nmake linux-menuconfig -C buildroot\n```\n## Save non-default Linux .config\nIn case of Buildroot to save non-default Linux's .config to my_external_tree/board/my_company/my_board/pc_x86_bios_kernel_5.4.228.config\n```\nmake -C $PWD/buildroot/ linux-update-defconfig BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE=$PWD/my_external_tree/board/my_company/my_board/pc_x86_bios_kernel_5.4.228.config\n```\n## Rebuild kernel\n```\nmake linux-dirclean -C buildroot \u0026\u0026 make linux-rebuild -C buildroot \u0026\u0026 make -C buildroot\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=../Buildroot.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\nIn BIOS terminal `ls` gives empty result. After `insmod f2fs` same situation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreicherniaev%2Fbuildroot_bios_f2fs_x86","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreicherniaev%2Fbuildroot_bios_f2fs_x86","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreicherniaev%2Fbuildroot_bios_f2fs_x86/lists"}