GithubHelp home page GithubHelp logo

menuconfig not working about build HOT 7 CLOSED

MegaArman avatar MegaArman commented on June 24, 2024
menuconfig not working

from build.

Comments (7)

lanefu avatar lanefu commented on June 24, 2024 1

./compile BOARD=<boardname> BRANCH=current kernel-configure

from build.

EvilOlaf avatar EvilOlaf commented on June 24, 2024 1

KERNEL_CONFIGURE is deprecated. Maybe it got broken in the meantime.
Also you are not supposed to do edits except from userpatches directory unless you plan to do patching.

The correct/modern/more developer friendly way to do it is

  1. use kernel-config to modify the kernel configuration as needed.
  2. Once done copy the config from output/ directory to userpatches/.
  3. Use kernel build argument to use this config to create a kernel package or do not use an argument at all to build a full image.

Full example for an Orangepi One:

./compile.sh BOARD=orangepione BRANCH=current kernel-config
# Now configure and simply save as `.config
cp output/config/linux-sunxi-current.config userpatches/
./compile.sh BOARD=orangepione BRANCH=current kernel

Since you have a config already you can skip this part and directly copy the file to userpatches.,

from build.

EvilOlaf avatar EvilOlaf commented on June 24, 2024 1

@MegaArman I made a mistake with the path in userpatches which I corrected above. tl;dr: The config simply needs to be copied to userpatches. No sub-folders.

from build.

github-actions avatar github-actions commented on June 24, 2024

Jira ticket: AR-2123

from build.

MegaArman avatar MegaArman commented on June 24, 2024

This time I replaced the config/kernel/linux-meson64-current.config (chosen for the board I'm on - Le Potato) with my existing .config file and it actually seems to load it and is compiling as expected.

This looks to be a temporary workaround

EDIT: got error https://paste.armbian.com/okayaxijuw

from build.

MegaArman avatar MegaArman commented on June 24, 2024

trying to just use menuconfig to deselect some options then exit results in those options being ignored as well

from build.

MegaArman avatar MegaArman commented on June 24, 2024

Is this actually fixed or is that work around the only option for the time being? I'm unable to test this week .

Just to be clear, I'm talking about the kernel ncurses menu like this
image

^ when loading a config file there it gets ignored upon exiting and automatically starts compiling. This is particularly problematic because you may not realize a driver you didn't want was built until late in the build process (for example)

from build.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.