login|Register
Forum > Armbian
Post|
看12757|回9|Favorite
nopnop2002 看全部
2016-6-5 22:51:07
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?
jodamm 看全部
2016-6-8 01:02:39
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

nopnop2002 看全部
2016-6-8 04:41:00
Edited by nopnop2002 at 2016-6-8 04:52

quote:

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.
jodamm 看全部
2016-6-8 08:34:47
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.
igorpec 看全部
2016-6-8 12:11:44
Mainline kernel is not fully ready for H3 based boards so pointless to compile this.
12NextPage

OrangePi En

Powered by Discuz! X3.4

homepage|Simple edition|Touch edition|PC