Porteus Kernel Builder

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
neko
DEV Team
DEV Team
Posts: 1223
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#256 by neko » 16 Dec 2017, 04:52

1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.15-rc3
The latest stable 4.14 version of the Linux kernel is: 4.14.6 <---NEW
The latest stable 4.13 version of the Linux kernel is: 4.13.16 (EOL)
The latest longterm 4.9 version of the Linux kernel is: 4.9.69 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.105
The latest longterm 4.1 version of the Linux kernel is: 4.1.48 <---NEW
The latest longterm 3.18 version of the Linux kernel is: 3.18.87 (EOL)
The latest linux-next version of the Linux kernel is: next-20171215


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" were updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


Thanks.

neko
DEV Team
DEV Team
Posts: 1223
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#257 by neko » 17 Dec 2017, 02:25

1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.15-rc4 <---NEW
The latest stable 4.14 version of the Linux kernel is: 4.14.7 <---NEW
The latest stable 4.13 version of the Linux kernel is: 4.13.16 (EOL)
The latest longterm 4.9 version of the Linux kernel is: 4.9.70 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.106 <---NEW
The latest longterm 4.1 version of the Linux kernel is: 4.1.48
The latest longterm 3.18 version of the Linux kernel is: 3.18.88 (EOL) <---NEW
The latest linux-next version of the Linux kernel is: next-20171215


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" were updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".

---------------------------
[The prototype of version 4.15-rc4 config was updated]
=== 64bit ===
Overlayfs: follow redirects even if redirects are turned off (OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW) [Y/n/?] (NEW) Y
=== 32bit ===
Overlayfs: follow redirects even if redirects are turned off (OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW) [Y/n/?] (NEW) Y
---------------------------


Thanks.

raja
Samurai
Samurai
Posts: 139
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and v4.0-rc1-64
Location: Chennai,India

Porteus Kernel Builder

Post#258 by raja » 18 Dec 2017, 10:07

neko, please be informed that ath10k firmware for my Laptop Wireless adapter is in folder qca9337. Thanks.
Linux Kernel-4.4.120-32 bit; Linux kernel-4.15.7-64 bit.

neko
DEV Team
DEV Team
Posts: 1223
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#259 by neko » 18 Dec 2017, 12:52

@raja
Thank you for your report.
(Maybe, "qca9337" in your report might be "QCA9377".)

The firmwares that are related to "kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko" are as follow.

====kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko
[findS]
ath10k/QCA6174/hw2.1/board-2.bin
ath10k/QCA6174/hw2.1/board.bin
ath10k/QCA6174/hw2.1/firmware-5.bin
ath10k/QCA6174/hw3.0/board-2.bin
ath10k/QCA6174/hw3.0/board.bin
ath10k/QCA6174/hw3.0/firmware-4.bin
ath10k/QCA9377/hw1.0/board.bin
ath10k/QCA9377/hw1.0/firmware-5.bin
ath10k/QCA9887/hw1.0/board.bin
ath10k/QCA9887/hw1.0/firmware-5.bin
ath10k/QCA988X/hw2.0/board.bin
ath10k/QCA988X/hw2.0/firmware-4.bin
ath10k/QCA988X/hw2.0/firmware-5.bin
[emptyS]
ath10k/QCA6174/hw2.1/firmware-4.bin
ath10k/QCA6174/hw3.0/firmware-5.bin
ath10k/QCA9887/hw1.0/board-2.bin
ath10k/QCA988X/hw2.0/board-2.bin
ath10k/QCA988X/hw2.0/firmware-2.bin
ath10k/QCA988X/hw2.0/firmware-3.bin

--------------------------------------------------------

Firmwares in [findS] will be included into "000-kernel.xzm".
Firmwares in [emptyS] will not be included into "000-kernel.xzm".
Version 4.9.67 kernel config has "kernel/drivers/net/wireless/ath/ath10k/ath10k_pci.ko".
APorteus-MULT-v17.12.05-x86_64.iso / APorteus-MULT-v17.12.05-i486.iso is constructed with this version 4.9.67 kernel.
ArchLinux packages manager for Porteus (Post by neko #49091)
Therefore, these ISOs could be executed on your PC.

Thanks.

neko
DEV Team
DEV Team
Posts: 1223
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#260 by neko » 20 Dec 2017, 21:44

1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.15-rc4
The latest stable 4.14 version of the Linux kernel is: 4.14.8 <---NEW
The latest stable 4.13 version of the Linux kernel is: 4.13.16 (EOL)
The latest longterm 4.9 version of the Linux kernel is: 4.9.71 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.107 <---NEW
The latest longterm 4.1 version of the Linux kernel is: 4.1.48
The latest longterm 3.18 version of the Linux kernel is: 3.18.89 (EOL) <---NEW
The latest linux-next version of the Linux kernel is: next-20171220


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" were updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


Thanks.

neko
DEV Team
DEV Team
Posts: 1223
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#261 by neko » 24 Dec 2017, 23:39

1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.15-rc5 <---NEW
The latest stable 4.14 version of the Linux kernel is: 4.14.9 <---NEW
The latest longterm 4.9 version of the Linux kernel is: 4.9.72 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.108 <---NEW
The latest longterm 4.1 version of the Linux kernel is: 4.1.48
The latest longterm 3.18 version of the Linux kernel is: 3.18.90 (EOL) <---NEW
The latest linux-next version of the Linux kernel is: next-20171222


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" were updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


Note:
---------------------------
[The prototype of version 4.15-rc5 config was updated]
=== 64bit ===
Overlayfs: follow redirects even if redirects are turned off (OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW) [Y/n/?] (NEW) Y
=== 32bit ===
Overlayfs: follow redirects even if redirects are turned off (OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW) [Y/n/?] (NEW) Y

[The prototype of version 4.14.9 config was updated]
=== 64bit ===
Choose kernel unwinder
> 1. ORC unwinder (UNWINDER_ORC) (NEW)
2. Frame pointer unwinder (UNWINDER_FRAME_POINTER) (NEW)
3. Guess unwinder (UNWINDER_GUESS) (NEW)
choice[1-3?]: 1
=== 32bit ===
32bit
Choose kernel unwinder
> 1. Frame pointer unwinder (UNWINDER_FRAME_POINTER) (NEW)
2. Guess unwinder (UNWINDER_GUESS) (NEW)
choice[1-2?]: 1
---------------------------



Thanks.
Last edited by neko on 26 Dec 2017, 03:27, edited 1 time in total.

raja
Samurai
Samurai
Posts: 139
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and v4.0-rc1-64
Location: Chennai,India

Porteus Kernel Builder

Post#262 by raja » 25 Dec 2017, 08:45

Seeing your tremendous effort, I thought I will make an attempt to compile a new custom Kernel using Debian stretch config file, yesterday. Disaster?

1)I did not take your warning about "space". I set up a 15GB ,ext4 partition,only to find to my dismay, that it is inadequate for the compile process. 15GB was was just sufficient upto kernel crypto module. Somehow I managed to shift all driver modules to "lib" directory and vmlinuz.

2)The next blunder was not disabling config_dbug_info. My Driver modules are 10 times the sizes of normal. I tried "striping' debug information from the drivers,manually. Getting error messages.' not able to create directory to store stripped info'.
Now, please tell me a terminal command to "find and strip debug info alone from all "ko" files in all the the main and sub directories in lib/modules/kernel directory.

3) Third major error was not applying "AUFS" patch. I have source code from kernel org and not AUFS pre patched source code from sourceforgenet. Is it possible now to patch the compiled kernel?

If I have to redo the whole, how shall I apply aufs.patch in your "kernel builder"?.

If and when , you could find some time free, please address my queries. Thanks. My second attempt will be perfect.

* I tried the new 'slax' ISO, once(isoboot). Boots and Shuts down without any "red" warning messages on unmount. There is hope.
Linux Kernel-4.4.120-32 bit; Linux kernel-4.15.7-64 bit.

neko
DEV Team
DEV Team
Posts: 1223
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#263 by neko » 30 Dec 2017, 06:49

@raja
I apologize for my late reply.

1. strip command
a terminal command to "find and strip debug info alone
from all "ko" files in all the the main and sub directories in lib/modules/kernel directory.

Sorry, I do not know the Debug Information Delete command.
I think that it is probably best to rebuild with disabling config_dbug_info.

2. "AUFS" patch
The patch is applied to the source file.
Rather than patching the source file in the compiled environment and rebuilding it,
I think that it does not cause a mistake if you apply it to the source file from the beginning and build it.

[How to use "Kernel Builder"]
== Run 1) get source file and patch
"Porteus Kernel Builde" ----> setting window
set working direcory
select kernel version
check off "Create FW"
check on "download" item
check on "expand & patch" item
check on "own patch" item : only if you need own patch.
push "OK" button

== Change kernel config to your liking

== Run 2) build
"Porteus Kernel Builde" ----> setting window
set working direcory
select kernel version
check off "Create FW"
check on "compile" item
push "OK" button

== Run 3) copy firmwares from firmware package, only if you need
"Porteus Kernel Builde" ----> setting window
set working direcory
select kernel version
check on "Create FW"
push "OK" button

== Run 4) create crippled_sources module, only if you need
"Porteus Kernel Builde" ----> setting window
set working direcory
select kernel version
check off "Create FW"
check on "crippled_sources" item
push "OK" button

Note: Current "own patch"
There are 2 own patches.
(1) patch to drivers/acpi/sleep.c
to fix reboot/shutdown problem.
(2) patch to drivers/mfd/intel-lpss-pci.c
to fix "Touch Pad" problem.

"own patch" button is available for following version line.
=== version line 4.15-rc ===
patch to drivers/acpi/sleep.c

=== version line 4.14 ===
patch to drivers/acpi/sleep.c

=== version line 4.13 ===
patch to drivers/acpi/sleep.c
patch to drivers/mfd/intel-lpss-pci.c

=== version line 4.12 ===
patch to drivers/acpi/sleep.c
patch to drivers/mfd/intel-lpss-pci.c

=== version line 4.9 ===
patch to drivers/acpi/sleep.c
patch to drivers/mfd/intel-lpss-pci.c

=== version line 4.4 ===
patch to drivers/acpi/sleep.c
patch to drivers/mfd/intel-lpss-pci.c

=== version line 4.1 ===
patch to drivers/acpi/sleep.c


Thanks.

neko
DEV Team
DEV Team
Posts: 1223
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#264 by neko » 30 Dec 2017, 06:50

1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.15-rc5
The latest stable 4.14 version of the Linux kernel is: 4.14.10 <---NEW
The latest longterm 4.9 version of the Linux kernel is: 4.9.73 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.108
The latest longterm 4.1 version of the Linux kernel is: 4.1.48
The latest longterm 3.18 version of the Linux kernel is: 3.18.90 (EOL)
The latest linux-next version of the Linux kernel is: next-20171222


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" were updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


Note:
---------------------------
[The prototype of version 4.14.10 config was updated]
=== 64bit ===
Choose kernel unwinder
> 1. ORC unwinder (UNWINDER_ORC) (NEW)
2. Frame pointer unwinder (UNWINDER_FRAME_POINTER) (NEW)
3. Guess unwinder (UNWINDER_GUESS) (NEW)
choice[1-3?]: 1
=== 32bit ===
32bit
Choose kernel unwinder
> 1. Frame pointer unwinder (UNWINDER_FRAME_POINTER) (NEW)
2. Guess unwinder (UNWINDER_GUESS) (NEW)
choice[1-2?]: 1
---------------------------



Thanks.

raja
Samurai
Samurai
Posts: 139
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and v4.0-rc1-64
Location: Chennai,India

Porteus Kernel Builder

Post#265 by raja » 31 Dec 2017, 14:20

Neko, Thanks for detailed information. I shall redo.

Wishing all members of Porteus forum, a very Happy and Prosperous New Year.
Linux Kernel-4.4.120-32 bit; Linux kernel-4.15.7-64 bit.

neko
DEV Team
DEV Team
Posts: 1223
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#266 by neko » 01 Jan 2018, 11:06

1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.15-rc6 <---NEW
The latest stable 4.14 version of the Linux kernel is: 4.14.10
The latest longterm 4.9 version of the Linux kernel is: 4.9.73
The latest longterm 4.4 version of the Linux kernel is: 4.4.108
The latest longterm 4.1 version of the Linux kernel is: 4.1.48
The latest longterm 3.18 version of the Linux kernel is: 3.18.90 (EOL)
The latest linux-next version of the Linux kernel is: next-20171222


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" were updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


Note:
---------------------------
[The prototype of version 4.15-rc6 config was updated]
=== 64bit ===
Remove the kernel mapping in user mode (PAGE_TABLE_ISOLATION) [N/y/?] (NEW) n
Overlayfs: follow redirects even if redirects are turned off (OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW) [Y/n/?] (NEW) Y
=== 32bit ===
Overlayfs: follow redirects even if redirects are turned off (OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW) [Y/n/?] (NEW) Y
---------------------------


Thanks.

neko
DEV Team
DEV Team
Posts: 1223
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#267 by neko » 03 Jan 2018, 07:57

1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.15-rc6
The latest stable 4.14 version of the Linux kernel is: 4.14.11 <---NEW
The latest longterm 4.9 version of the Linux kernel is: 4.9.74 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.109 <---NEW
The latest longterm 4.1 version of the Linux kernel is: 4.1.48
The latest longterm 3.18 version of the Linux kernel is: 3.18.91 (EOL) <---NEW
The latest linux-next version of the Linux kernel is: next-20180102


2. NEW Example of updated kernel that was built by "Porteus Kernel builder" were updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


Note:
---------------------------
[The prototype of version 4.14.11 config was updated]
=== 64bit ===
Choose kernel unwinder
> 1. ORC unwinder (UNWINDER_ORC) (NEW)
2. Frame pointer unwinder (UNWINDER_FRAME_POINTER) (NEW)
3. Guess unwinder (UNWINDER_GUESS) (NEW)
choice[1-3?]: 1
Remove the kernel mapping in user mode (PAGE_TABLE_ISOLATION) [Y/n/?] (NEW) n
=== 32bit ===
32bit
Choose kernel unwinder
> 1. Frame pointer unwinder (UNWINDER_FRAME_POINTER) (NEW)
2. Guess unwinder (UNWINDER_GUESS) (NEW)
choice[1-2?]: 1
---------------------------

Note: PAGE_TABLE_ISOLATION
Please refer to
https://www.theregister.co.uk/2018/01/0 ... sign_flaw/
Kernel page-table isolation
https://www.phoronix.com/scan.php?page= ... 6pti&num=1


Thanks.
Last edited by neko on 04 Jan 2018, 10:27, edited 1 time in total.

raja
Samurai
Samurai
Posts: 139
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and v4.0-rc1-64
Location: Chennai,India

Porteus Kernel Builder

Post#268 by raja » 04 Jan 2018, 07:50

Many thanks,Nekosan, for your wonderful tool. Second attempt proved to be a success, and my custom Kernel v4.14.11, loaded fine with Porteus and Aporteus.
[ 0.000000] Linux version 4.14.11-porteus (root@porteus) (gcc version 7.2.0 (GCC)) #1 SMP PREEMPT Thu Jan 4 01:56:54 UTC 2018
Precision Mouse is now working. Changes made to 'config' file, see here;

viewtopic.php?f=140&t=7452

An option to select "proto config" or "own config" will be an advantage.
Linux Kernel-4.4.120-32 bit; Linux kernel-4.15.7-64 bit.

neko
DEV Team
DEV Team
Posts: 1223
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#269 by neko » 05 Jan 2018, 12:45

------------------------------------
@raja
Thank you for your report.

Kernel version 4.14.11 config prototype was updated by referring your report.

-----------------------------------
@all
Example of updated kernel 4.14.11 that was built by "Porteus Kernel builder" was updated.


v4.14.11-2.tar.xz (89 M)
http://www.mediafire.com/file/2dketbosv ... 1-2.tar.xz
md5sum: 2f3ae91a3036ed7082a59e384fc5f050 v4.14.11-2.tar.xz

crippled_sources-4.14.11-2-32bit.xzm (19 M)
http://www.mediafire.com/file/8jk4tcffs ... -32bit.xzm
md5sum: 6dde080441033ecb5d252d6fa8beae5a crippled_sources-4.14.11-2-32bit.xzm

crippled_sources-4.14.11-2-64bit.xzm (20 M)
http://www.mediafire.com/file/cd54c86el ... -64bit.xzm
md5sum: 73c3cc293799ce7fb7ad3cf3df34c001 crippled_sources-4.14.11-2-64bit.xzm


[How to update the prototype of version 4.14.11 config]
---- STEP 1 ---- By "make oldconfig"
=== 64bit ===
Choose kernel unwinder
> 1. ORC unwinder (UNWINDER_ORC) (NEW)
2. Frame pointer unwinder (UNWINDER_FRAME_POINTER) (NEW)
3. Guess unwinder (UNWINDER_GUESS) (NEW)
choice[1-3?]: 1
Remove the kernel mapping in user mode (PAGE_TABLE_ISOLATION) [Y/n/?] (NEW) n

=== 32bit ===
32bit
Choose kernel unwinder
> 1. Frame pointer unwinder (UNWINDER_FRAME_POINTER) (NEW)
2. Guess unwinder (UNWINDER_GUESS) (NEW)
choice[1-2?]: 1

---- STEP 2 ---- By "make menuconfig"
=== 64bit ===
Bus options (PCI etc.) --> PCIe AER error injector support
Bus options (PCI etc.) --> PCIe Downstream Port Containment support
Bus options (PCI etc.) --> PCIe Precision Time Measurement support
Device Drivers --> Input device support --> Mice --> Enable SMbus support
Device Drivers --> I2C support --> Enable compatibility bits for old user-space
Device Drivers --> I2C support --> Autoselect pertinent helper modules
Device Drivers --> I2C support --> I2C/SMBus Test Stub
Device Drivers --> SPI support
Device Drivers --> Multifunction device drivers --> Intel ICH LPC
Device Drivers --> Multifunction device drivers --> Intel SCH LPC
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in ACPI mode
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in PCI mode
Device Drivers --> HID support --> USB HID support --> PID device support

=== 32bit ===
Bus options (PCI etc.) --> PCIe AER error injector support
Bus options (PCI etc.) --> PCIe Downstream Port Containment support
Bus options (PCI etc.) --> PCIe Precision Time Measurement support
Device Drivers --> Input device support --> Mice --> Enable SMbus support
Device Drivers --> I2C support --> Enable compatibility bits for old user-space
Device Drivers --> I2C support --> Autoselect pertinent helper modules
Device Drivers --> I2C support --> I2C/SMBus Test Stub
Device Drivers --> I2C support --> I2C Hardware Bus support --> Geode ACCESS.bus support
Device Drivers --> SPI support
Device Drivers --> Multifunction device drivers --> Intel ICH LPC
Device Drivers --> Multifunction device drivers --> Intel SCH LPC
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in ACPI mode
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in PCI mode
Device Drivers --> HID support --> USB HID support --> PID device support


Note 1: STEP 1
"PAGE_TABLE_ISOLATION" is not set.

Note 2: STEP 2
Please refer to HID over I2C - Precision Mouse (Post by raja #61487)
raja, Thanks.


Thanks.

neko
DEV Team
DEV Team
Posts: 1223
Joined: 09 Feb 2013, 09:55
Distribution: APorteus-FVWM-ja-x86_64.iso
Location: japan

Porteus Kernel Builder

Post#270 by neko » 06 Jan 2018, 07:22

1. "Porteus Kernel Builder" was updated to mkKernel-18.01.06-noarch-1.xzm
Please refer to Porteus Kernel Builder (Post by neko #52232)

(1) Config prototypes were updated.
For kernel version line 4.15-rc, 4.14, 4.9 and 4.4

(2) "Kernel Builder" specification is not redesigned yet.
not fix the bug yet:
Please refer to Porteus Kernel Builder (Post by neko #61024)


2. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.15-rc6
The latest stable 4.14 version of the Linux kernel is: 4.14.12 <---NEW
The latest longterm 4.9 version of the Linux kernel is: 4.9.75 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.110 <---NEW
The latest longterm 4.1 version of the Linux kernel is: 4.1.48
The latest longterm 3.18 version of the Linux kernel is: 3.18.91 (EOL)
The latest linux-next version of the Linux kernel is: next-20180105


3. NEW Example of updated kernel that was built by "Porteus Kernel builder" were updated.

Refer to Porteus Kernel Builder (Post by neko #57468)
or
refer to Porteus Kernel Builder (Post by neko #52232)


"copy firmwares from firmware packages" function was used when build kernel even if includes "make firmware".


-----------------------------------------------------------------
[How to update the prototype of version 4.15-rc6 config]
---- STEP 1 ---- By "make oldconfig"
=== 64bit ===
Remove the kernel mapping in user mode (PAGE_TABLE_ISOLATION) [N/y/?] (NEW) n
Overlayfs: follow redirects even if redirects are turned off (OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW) [Y/n/?] (NEW) Y

=== 32bit ===
Overlayfs: follow redirects even if redirects are turned off (OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW) [Y/n/?] (NEW) Y

---- STEP 2 ---- By "make menuconfig"
=== 64bit ===
Bus options (PCI etc.) --> PCIe AER error injector support
Bus options (PCI etc.) --> PCIe Downstream Port Containment support
Bus options (PCI etc.) --> PCIe Precision Time Measurement support
Device Drivers --> Input device support --> Mice --> Enable SMbus support
Device Drivers --> I2C support --> Enable compatibility bits for old user-space
Device Drivers --> I2C support --> Autoselect pertinent helper modules
Device Drivers --> I2C support --> I2C/SMBus Test Stub
Device Drivers --> SPI support
Device Drivers --> Multifunction device drivers --> Intel ICH LPC
Device Drivers --> Multifunction device drivers --> Intel SCH LPC
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in ACPI mode
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in PCI mode
Device Drivers --> HID support --> USB HID support --> PID device support

=== 32bit ===
Bus options (PCI etc.) --> PCIe AER error injector support
Bus options (PCI etc.) --> PCIe Downstream Port Containment support
Bus options (PCI etc.) --> PCIe Precision Time Measurement support
Device Drivers --> Input device support --> Mice --> Enable SMbus support
Device Drivers --> I2C support --> Enable compatibility bits for old user-space
Device Drivers --> I2C support --> Autoselect pertinent helper modules
Device Drivers --> I2C support --> I2C/SMBus Test Stub
Device Drivers --> I2C support --> I2C Hardware Bus support --> Geode ACCESS.bus support
Device Drivers --> SPI support
Device Drivers --> Multifunction device drivers --> Intel ICH LPC
Device Drivers --> Multifunction device drivers --> Intel SCH LPC
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in ACPI mode
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in PCI mode
Device Drivers --> HID support --> USB HID support --> PID device support


[How to update the prototype of version 4.14.12 config]
---- STEP 1 ---- By "make oldconfig"
=== 64bit ===
Choose kernel unwinder
> 1. ORC unwinder (UNWINDER_ORC) (NEW)
2. Frame pointer unwinder (UNWINDER_FRAME_POINTER) (NEW)
3. Guess unwinder (UNWINDER_GUESS) (NEW)
choice[1-3?]: 1
Remove the kernel mapping in user mode (PAGE_TABLE_ISOLATION) [Y/n/?] (NEW) n

=== 32bit ===
32bit
Choose kernel unwinder
> 1. Frame pointer unwinder (UNWINDER_FRAME_POINTER) (NEW)
2. Guess unwinder (UNWINDER_GUESS) (NEW)
choice[1-2?]: 1

---- STEP 2 ---- By "make menuconfig"
=== 64bit ===
Bus options (PCI etc.) --> PCIe AER error injector support
Bus options (PCI etc.) --> PCIe Downstream Port Containment support
Bus options (PCI etc.) --> PCIe Precision Time Measurement support
Device Drivers --> Input device support --> Mice --> Enable SMbus support
Device Drivers --> I2C support --> Enable compatibility bits for old user-space
Device Drivers --> I2C support --> Autoselect pertinent helper modules
Device Drivers --> I2C support --> I2C/SMBus Test Stub
Device Drivers --> SPI support
Device Drivers --> Multifunction device drivers --> Intel ICH LPC
Device Drivers --> Multifunction device drivers --> Intel SCH LPC
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in ACPI mode
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in PCI mode
Device Drivers --> HID support --> USB HID support --> PID device support

=== 32bit ===
Bus options (PCI etc.) --> PCIe AER error injector support
Bus options (PCI etc.) --> PCIe Downstream Port Containment support
Bus options (PCI etc.) --> PCIe Precision Time Measurement support
Device Drivers --> Input device support --> Mice --> Enable SMbus support
Device Drivers --> I2C support --> Enable compatibility bits for old user-space
Device Drivers --> I2C support --> Autoselect pertinent helper modules
Device Drivers --> I2C support --> I2C/SMBus Test Stub
Device Drivers --> I2C support --> I2C Hardware Bus support --> Geode ACCESS.bus support
Device Drivers --> SPI support
Device Drivers --> Multifunction device drivers --> Intel ICH LPC
Device Drivers --> Multifunction device drivers --> Intel SCH LPC
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in ACPI mode
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in PCI mode
Device Drivers --> HID support --> USB HID support --> PID device support


[How to update the prototype of version 4.9.75 config]
---- STEP 1 ---- By "make oldconfig"
=== 64bit ===
Remove the kernel mapping in user mode (PAGE_TABLE_ISOLATION) [Y/n/?] (NEW) n

---- STEP 2 ---- By "make menuconfig"
=== 64bit ===
Bus options (PCI etc.) --> PCIe AER error injector support
Bus options (PCI etc.) --> PCIe Downstream Port Containment support
Bus options (PCI etc.) --> PCIe Precision Time Measurement support
Device Drivers --> Input device support --> Mice --> Enable SMbus support
Device Drivers --> I2C support --> Enable compatibility bits for old user-space
Device Drivers --> I2C support --> Autoselect pertinent helper modules
Device Drivers --> I2C support --> I2C/SMBus Test Stub
Device Drivers --> SPI support
Device Drivers --> Multifunction device drivers --> Intel ICH LPC
Device Drivers --> Multifunction device drivers --> Intel SCH LPC
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in ACPI mode
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in PCI mode
Device Drivers --> HID support --> USB HID support --> PID device support

=== 32bit ===
Bus options (PCI etc.) --> PCIe AER error injector support
Bus options (PCI etc.) --> PCIe Downstream Port Containment support
Bus options (PCI etc.) --> PCIe Precision Time Measurement support
Device Drivers --> Input device support --> Mice --> Enable SMbus support
Device Drivers --> I2C support --> Enable compatibility bits for old user-space
Device Drivers --> I2C support --> Autoselect pertinent helper modules
Device Drivers --> I2C support --> I2C/SMBus Test Stub
Device Drivers --> I2C support --> I2C Hardware Bus support --> Geode ACCESS.bus support
Device Drivers --> SPI support
Device Drivers --> Multifunction device drivers --> Intel ICH LPC
Device Drivers --> Multifunction device drivers --> Intel SCH LPC
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in ACPI mode
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in PCI mode
Device Drivers --> HID support --> USB HID support --> PID device support


[How to update the prototype of version 4.4.110 config]
---- STEP 1 ---- By "make oldconfig"
=== 64bit ===
Remove the kernel mapping in user mode (PAGE_TABLE_ISOLATION) [Y/n/?] (NEW) n

---- STEP 2 ---- By "make menuconfig"
=== 64bit ===
Bus options (PCI etc.) --> PCIe AER error injector support
Device Drivers --> Input device support --> Mice --> Enable SMbus support
Device Drivers --> I2C support --> Enable compatibility bits for old user-space
Device Drivers --> I2C support --> Autoselect pertinent helper modules
Device Drivers --> I2C support --> I2C/SMBus Test Stub
Device Drivers --> I2C support --> I2C Hardware Bus support --> PCA9564/PCA9665 as platform device
Device Drivers --> SPI support
Device Drivers --> Multifunction device drivers --> Intel ICH LPC
Device Drivers --> Multifunction device drivers --> Intel SCH LPC
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in ACPI mode
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in PCI mode
Device Drivers --> HID support --> USB HID support --> PID device support

=== 32bit ===
Bus options (PCI etc.) --> PCIe AER error injector support
Device Drivers --> Input device support --> Mice --> Enable SMbus support
Device Drivers --> I2C support --> Enable compatibility bits for old user-space
Device Drivers --> I2C support --> Autoselect pertinent helper modules
Device Drivers --> I2C support --> I2C/SMBus Test Stub
Device Drivers --> I2C support --> I2C Hardware Bus support --> Geode ACCESS.bus support
Device Drivers --> I2C support --> I2C Hardware Bus support --> PCA9564/PCA9665 as platform device
Device Drivers --> SPI support
Device Drivers --> Multifunction device drivers --> Intel ICH LPC
Device Drivers --> Multifunction device drivers --> Intel SCH LPC
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in ACPI mode
Device Drivers --> Multifunction device drivers --> Intel Low Power Subsystem support in PCI mode
Device Drivers --> HID support --> USB HID support --> PID device support



Note 1: STEP 1
"PAGE_TABLE_ISOLATION" is not set.

Note 2: STEP 2
Please refer to HID over I2C - Precision Mouse (Post by raja #61487)
raja, Thanks.


Thanks.

Post Reply