View: 6910|Reply: 6

How does my correction become effective?

[Copy link]

10

threads

218

posts

2040

credits

Gold member

Rank: 6Rank: 6

credits
2040
Published in 2016-6-5 22:51:07 | Show all floors |Read mode
Edited by nopnop2002 at 2016-6-5 23:00

I tried to build a new kernel using compile.sh with the following page.

http://www.armbian.com/using-armbian-tools/

It's work fine.

So i changed ./sources/linux-sun8i/sun8i/drivers/net/wireless/rt2x00/rt2800.h & rt2800lib.c to use usb wifi of RT3070,
and I carried out compile.sh again.
But The source I corrected was overwritten in script.

How does my correction become effective?

0

threads

7

posts

285

credits

Intermediate member

Rank: 3Rank: 3

credits
285
Published in 2016-6-8 01:02:39 | Show all floors
You have to edit compile.sh.

FORCE_CHECKOUT="no"
    set to "yes" to force overwrite any changed or manually patched kernel, u-boot and other sources
    set to "no" to keep all changes to sources

10

threads

218

posts

2040

credits

Gold member

Rank: 6Rank: 6

credits
2040
 Author| Published in 2016-6-8 04:41:00 | Show all floors
Edited by nopnop2002 at 2016-6-8 04:52
jodamm replied at 2016-6-8 01:02
You have to edit compile.sh.

FORCE_CHECKOUT="no"

Thank you for your comment.
I tried, but it was the following error.

[ error ] ERROR in function compile_kernel [ common.sh:176 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated #


Perhaps I think this is the cause.

http://forum.armbian.com/index.p ... kernel-commonsh176/

I wait for 4.6.1.

0

threads

7

posts

285

credits

Intermediate member

Rank: 3Rank: 3

credits
285
Published in 2016-6-8 08:34:47 | Show all floors
Have you tried it with FORCE_CHECKOUT="yes" ? When this compiles ok, then you should test it with FORCE_CHECKOUT="no" without changing the source.

9

threads

634

posts

4441

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4441
Published in 2016-6-8 12:11:44 | Show all floors
Mainline kernel is not fully ready for H3 based boards so pointless to compile this.

0

threads

7

posts

24

credits

Novice

Rank: 1

credits
24
Published in 2024-12-19 10:36:28 | Show all floors
The effectiveness of your correction depends on the Football Bros context, whether you're correcting a mistake, modifying behavior, or improving a process.

0

threads

8

posts

32

credits

Novice

Rank: 1

credits
32
Published in 2025-3-20 16:41:24 | Show all floors
Create a Patch:
This is the most robust and recommended approach.
Make your changes to rt2800.h and rt2800lib.c.
Use git diff (if the source is in a Git repository) or diff to create a patch Escape Road City file.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list