View: 5240|Reply: 4

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

279

credits

Intermediate member

Rank: 3Rank: 3

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

279

credits

Intermediate member

Rank: 3Rank: 3

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

4427

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
4427
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.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list