View: 7814|Reply: 10

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

287

credits

Intermediate member

Rank: 3Rank: 3

credits
287
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

287

credits

Intermediate member

Rank: 3Rank: 3

credits
287
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

4443

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4443
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.

0

threads

19

posts

78

credits

Registered member

Rank: 2

credits
78
Published in 2025-4-2 20:18:31 | Show all floors
There's no greater rush than outrunning a helicopter and avoiding incoming vehicles. I'm addicted to Escape Road for hours on end.

0

threads

3

posts

16

credits

Novice

Rank: 1

credits
16
Published in 2025-4-3 17:40:50 | Show all floors
smash karts is a 3D multiplayer IO game developed by Tall Team, where players take control of quirky go-karts in vibrant, cartoonish arenas.

0

threads

6

posts

24

credits

Novice

Rank: 1

credits
24
Published in 2025-4-8 11:52:21 | Show all floors
Driving on winding roads has never been more fun thanks to Drift Boss ! With easy controls, the game lets you focus on executing perfect drifts. Are you ready to explore exciting levels and show off your driving skills?
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list