1"use strict";(self.webpackChunkdoc_test=self.webpackChunkdoc_test||[]).push([["12855"],{56282(e,i,n){n.r(i),n.d(i,{metadata:()=>o,default:()=>u,frontMatter:()=>d,contentTitle:()=>r,toc:()=>a,assets:()=>l});var o=JSON.parse('{"id":"Luckfox Pico RV1106/Luckfox-Pico-86-Panel/SDK/Buildroot-Configuration","title":"Buildroot Configuration","description":"Luckfox-Pico-86-Panel","source":"@site/docs/Luckfox Pico RV1106/Luckfox-Pico-86-Panel/SDK/Buildroot-Configuration.mdx","sourceDirName":"Luckfox Pico RV1106/Luckfox-Pico-86-Panel/SDK","slug":"/Luckfox-Pico-RV1106/Luckfox-Pico-86-Panel/Buildroot-Configuration","permalink":"/Luckfox-Pico-RV1106/Luckfox-Pico-86-Panel/Buildroot-Configuration","draft":false,"unlisted":false,"tags":[],"version":"current","sidebarPosition":13,"frontMatter":{"sidebar_position":13,"title":"Buildroot Configuration","description":"Luckfox-Pico-86-Panel","slug":"/Luckfox-Pico-RV1106/Luckfox-Pico-86-Panel/Buildroot-Configuration"}}'),t=n(74848),s=n(28453),c=n(52979);let d={sidebar_position:13,title:"Buildroot Configuration",description:"Luckfox-Pico-86-Panel",slug:"/Luckfox-Pico-RV1106/Luckfox-Pico-86-Panel/Buildroot-Configuration"},r,l={},a=[...c.RM];function h(e){return(0,t.jsx)(c.Ay,{})}function u(e={}){let{wrapper:i}={...(0,s.R)(),...e.components};return i?(0,t.jsx)(i,{...e,children:(0,t.jsx)(h,{...e})}):h(e)}},52979(e,i,n){n.d(i,{Ay:()=>d,RM:()=>s});var o=n(74848),t=n(28453);let s=[{value:"1. Introduction to Buildroot",id:"1-introduction-to-buildroot",level:2},{value:"2. Example: Adding a Library in Buildroot",id:"2-example-adding-a-library-in-buildroot",level:2}];function c(e){let i={admonition:"admonition",code:"code",h2:"h2",img:"img",li:"li",ol:"ol",p:"p",pre:"pre",ul:"ul",...(0,t.R)(),...e.components};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(i.h2,{id:"1-introduction-to-buildroot",children:"1. Introduction to Buildroot"}),"\n",(0,o.jsx)(i.p,{children:"Buildroot is a tool specifically designed for embedded systems, aimed at simplifying the process of building embedded Linux systems. By configuring Buildroot, you can customize the software packages and libraries included in your embedded system to meet specific requirements."}),"\n",(0,o.jsxs)(i.ol,{children:["\n",(0,o.jsxs)(i.li,{children:["Open the configuration interface. Enter the SDK root directory and start the Buildroot configuration interface. If the SDK has not been compiled before, select the corresponding branch for your development board first:","\n",(0,o.jsx)(i.pre,{children:(0,o.jsx)(i.code,{className:"language-shell",children:"cd luckfox-pico\n./build.sh lunch\n./build.sh buildrootconfig\n"})}),"\n",(0,o.jsx)("div",{style:{maxWidth:900},children:(0,o.jsx)(i.p,{children:(0,o.jsx)(i.img,{src:n(78769).A+"",width:"932",height:"797"})})}),"\n"]}),"\n",(0,o.jsxs)(i.li,{children:["Basic operations.","\n",(0,o.jsxs)(i.ul,{children:["\n",(0,o.jsxs)(i.li,{children:[(0,o.jsx)(i.code,{children:"\u2191"})," and ",(0,o.jsx)(i.code,{children:"\u2193"}),": Browse and select options"]}),"\n",(0,o.jsxs)(i.li,{children:[(0,o.jsx)(i.code,{children:"\u2190"})," and ",(0,o.jsx)(i.code,{children:"\u2192"}),": Select operations such as Select and Exit"]}),"\n",(0,o.jsxs)(i.li,{children:[(0,o.jsx)(i.code,{children:"Enter"}),": Enter a submenu"]}),"\n",(0,o.jsxs)(i.li,{children:[(0,o.jsx)(i.code,{children:"Y"})," and ",(0,o.jsx)(i.code,{children:"Space"}),": Select an option; press twice to deselect"]}),"\n",(0,o.jsxs)(i.li,{children:[(0,o.jsx)(i.code,{children:"N"}),": Deselect an option"]}),"\n",(0,o.jsxs)(i.li,{children:[(0,o.jsx)(i.code,{children:"M"}),": Select as a module"]}),"\n",(0,o.jsxs)(i.li,{children:[(0,o.jsx)(i.code,{children:"Esc"}),": Press Esc twice to return to the previous menu"]}),"\n",(0,o.jsxs)(i.li,{children:[(0,o.jsx)(i.code,{children:"?"}),": View help information for the current option"]}),"\n",(0,o.jsxs)(i.li,{children:[(0,o.jsx)(i.code,{children:"/"}),": Search"]}),"\n"]}),"\n"]}),"\n"]}),"\n",(0,o.jsx)(i.h2,{id:"2-example-adding-a-library-in-buildroot",children:"2. Example: Adding a Library in Buildroot"}),"\n",(0,o.jsx)(i.admonition,{title:"Note",type:"caution",children:(0,o.jsx)(i.p,{children:"Since the RV1106-SDK uses the uClibc toolchain, which differs from Buildroot\u2019s default glibc toolchain, please ensure that any third-party packages you add do not have glibc depen
1dencies."})}),"\n",(0,o.jsxs)(i.ol,{children:["\n",(0,o.jsxs)(i.li,{children:["\n",(0,o.jsx)(i.p,{children:"Open the configuration interface. Enter the SDK root directory and start the Buildroot configuration interface. If the SDK has not been compiled before, select the corresponding branch for your development board first:"}),"\n",(0,o.jsx)(i.pre,{children:(0,o.jsx)(i.code,{className:"language-shell",children:"cd luckfox-pico\n./build.sh lunch\n./build.sh buildrootconfig\n"})}),"\n"]}),"\n",(0,o.jsxs)(i.li,{children:["\n",(0,o.jsxs)(i.p,{children:["Press ",(0,o.jsx)(i.code,{children:"/"}),", enter ",(0,o.jsx)(i.code,{children:"minicom"}),", and press Enter to search."]}),"\n",(0,o.jsx)("div",{style:{maxWidth:900},children:(0,o.jsx)(i.p,{children:(0,o.jsx)(i.img,{src:n(45253).A+"",width:"971",height:"251"})})}),"\n"]}),"\n",(0,o.jsxs)(i.li,{children:["\n",(0,o.jsxs)(i.p,{children:["If there is only one matching result, press ",(0,o.jsx)(i.code,{children:"1"})," to jump to that configuration item."]}),"\n",(0,o.jsx)("div",{style:{maxWidth:900},children:(0,o.jsx)(i.p,{children:(0,o.jsx)(i.img,{src:n(27343).A+"",width:"846",height:"247"})})}),"\n"]}),"\n",(0,o.jsxs)(i.li,{children:["\n",(0,o.jsxs)(i.p,{children:["Press ",(0,o.jsx)(i.code,{children:"Y"})," or ",(0,o.jsx)(i.code,{children:"Space"})," to select ",(0,o.jsx)(i.code,{children:"minicom"}),", then choose Save to save the configuration."]}),"\n",(0,o.jsx)("div",{style:{maxWidth:900},children:(0,o.jsx)(i.p,{children:(0,o.jsx)(i.img,{src:n(61558).A+"",width:"934",height:"795"})})}),"\n"]}),"\n",(0,o.jsxs)(i.li,{children:["\n",(0,o.jsxs)(i.p,{children:["Select ",(0,o.jsx)(i.code,{children:"OK"}),", then press ",(0,o.jsx)(i.code,{children:"Esc"})," twice to exit."]}),"\n",(0,o.jsx)("div",{style:{maxWidth:900},children:(0,o.jsx)(i.p,{children:(0,o.jsx)(i.img,{src:n(70224).A+"",width:"712",height:"275"})})}),"\n"]}),"\n",(0,o.jsxs)(i.li,{children:["\n",(0,o.jsxs)(i.p,{children:["Compile the image. After compilation succeeds, use the ",(0,o.jsx)(i.code,{children:"find"})," command to check that ",(0,o.jsx)(i.code,{children:"minicom"})," has been successfully integrated into the root filesystem:"]}),"\n",(0,o.jsx)(i.pre,{children:(0,o.jsx)(i.code,{className:"language-bash",children:"./build.sh\nfind -name minicom\n"})}),"\n",(0,o.jsx)("div",{style:{maxWidth:900},children:(0,o.jsx)(i.p,{children:(0,o.jsx)(i.img,{src:n(42779).A+"",width:"1232",height:"185"})})}),"\n"]}),"\n"]})]})}function d(e={}){let{wrapper:i}={...(0,t.R)(),...e.components};return i?(0,o.jsx)(i,{...e,children:(0,o.jsx)(c,{...e})}):c(e)}},70224(e,i,n){n.d(i,{A:()=>o});let o=n.p+"assets/images/buildroot-Ok-c27d5f1fd094c29a7c18e5b4170b0ea1.webp"},27343(e,i,n){n.d(i,{A:()=>o});let o=n.p+"assets/images/buildroot-On-e1b1bb3c02dc2b81662978f31c868e06.webp"},45253(e,i,n){n.d(i,{A:()=>o});let o=n.p+"assets/images/buildroot-find-a83d3e57f8f73192741805e02d1a2060.webp"},42779(e,i,n){n.d(i,{A:()=>o});let o=n.p+"assets/images/buildroot-minicom-successful-5803ef77bbcf514d28b70563edf0b53a.webp"},61558(e,i,n){n.d(i,{A:()=>o});let o=n.p+"assets/images/buildroot-minicom-c52c638981dc61dfeebbabf27ff82030.webp"},78769(e,i,n){n.d(i,{A:()=>o});let o=n.p+"assets/images/buildrootconfig-e8d26bedcf1c5b44b123bb5e974f314d.webp"},28453(e,i,n){n.d(i,{R:()=>c,x:()=>d});var o=n(96540);let t={},s=o.createContext(t);function c(e){let i=o.useContext(s);return o.useMemo(function(){return"function"==typeof e?e(i):{...i,...e}},[i,e])}function d(e){let i;return i=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:c(e.components),o.createElement(s.Provider,{value:i},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.