Page 17 of 135

Porteus Kernel Builder

Posted: 28 Nov 2017, 06:10
by neko
@fulalas
Thanks for the words of encouragement.

On a regular basis, I am watching kernel update.
And I update APorteus.

Now I have many plans.
1. study on Slax for how-to-use systemd.
2. introduce "changes=EXIT" to APorteus.
3. study next Porteus "porteus-4.0-x86_64-20171120"
(1) kernel config
(2) firmware
(3) initrd
4. make kernel patch "drivers/acpi/sleep.c" for version 4.14/4.15

My skill is too poor to do those items.


Thanks.

Porteus Kernel Builder

Posted: 29 Nov 2017, 02:19
by neko
1. "Porteus Kernel Builder" was updated to mkKernel-17.11.28-noarch-1.xzm
Please refer to Porteus Kernel Builder (Post by neko #52232)

(1)New version line 4.15-rc was included in "Kernel Builder".

(2)Own patches to "drivers/acpi/sleep.c" for 4.14 & 4.15-rc lines were introduced in "Kernel Builder".


2. NEW Examples of updated kernel that were 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)

These new examples (v4.15-rc1-2 & v4.14.2-2) were adopted with Own patches to "drivers/acpi/sleep.c".


Thanks.

Porteus Kernel Builder

Posted: 01 Dec 2017, 06:10
by neko
1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.15-rc1
The latest stable 4.14 version of the Linux kernel is: 4.14.3 <---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.66 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.103 <---NEW
The latest longterm 4.1 version of the Linux kernel is: 4.1.46
The latest longterm 3.18 version of the Linux kernel is: 3.18.85 (EOL) <---NEW
The latest linux-next version of the Linux kernel is: next-20171201


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)


3. The 32Bit&64Bit firmwares of kernel 4.14.3
were built from Arch package "linux-firmware-20171009.bf04291-noarch-1" and etc.,.

[v4.14.3.tar.xz]
v4.14.3/aufs.patch
v4.14.3/own.patch.drivers+acpi+sleep.c

v4.14.3/32/32bit.config
v4.14.3/32/lib/firmware:........built from Arch package "linux-firmware-20171009.bf04291-noarch-1" and etc.,
v4.14.3/32/lib/modules
v4.14.3/32/repo_getFW-v4.14.3-32
v4.14.3/32/vmlinuz

v4.14.3/64/64bit.config
v4.14.3/64/lib/firmware:........built from Arch package "linux-firmware-20171009.bf04291-noarch-1" and etc.,
v4.14.3/64/lib/modules
v4.14.3/64/repo_getFW-v4.14.3-64
v4.14.3/64/vmlinuz

[repo_getFW-v4.14.3-32/64] : firmware build report list (".ko" and firmwares of the ".ko" list)
all........mixed emptyS, findS and linkS
emptyS:....missing firmware (red notation)
findS:.....setting firmware
linkS:.....symbolic linkage firmware (blue notation)


Note:
The function of building firmware from Arch packages will be included at next "Kernel Builder" update.



Thanks.

Porteus Kernel Builder

Posted: 01 Dec 2017, 20:42
by M. Eerie
I just came to say thank you for your hard work, @Neko.

:good: :Bravo:

Porteus Kernel Builder

Posted: 03 Dec 2017, 07:17
by neko
@M. Eerie
Thanks for the words of encouragement.

On a regular basis, I am watching kernel update.

When the new build example (v4.14.3) was uploaded,
New function that was presented by brokenman was included.

[New Function]
The function is for kernel build without "make firmware".
Instead of "make firmware", firmwares will be gotten from packages.

step1. pick up all ".ko" from lib/modules/XXX/modules.dep
`cat modules.dep | cut -d':' -f1 | sort -u`

step2. at every ".ko", pick up all firmwares that are related with the ".ko"
`modinfo -F firmware lib/modules/XXX/".ko" | sort -u`

step3. by using this firmware pick-up list, get firmwares from the package.
<the package>
brokenman uses the Slackware package "kernel-firmware".
I use the Archlinux packagr "linux-firmware".

[next update of "Kernel Builder"]
Image
New setting window

New button "Create FW" will be introduced in the "Build Kernel" circle.

Now, I am debugging on this function in order to release the next update.


Thanks.

Porteus Kernel Builder

Posted: 04 Dec 2017, 08:03
by neko
1. "Porteus Kernel Builder" was updated to mkKernel-17.12.02-noarch-1.xzm
Please refer to Porteus Kernel Builder (Post by neko #52232)

The new function was introduced into "Porteus Kernel Builder".

The function is for kernel build without "make firmware".
Instead of "make firmware", firmwares can be gotten from packages.

If this function is used for kernel version whose "build make" includes "make firmware",
"from package" firmwares will be overwritten with "make firmware" firmwares.

2. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.15-rc2 <---NEW
The latest stable 4.14 version of the Linux kernel is: 4.14.3
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.66
The latest longterm 4.4 version of the Linux kernel is: 4.4.103
The latest longterm 4.1 version of the Linux kernel is: 4.1.46
The latest longterm 3.18 version of the Linux kernel is: 3.18.85 (EOL)
The latest linux-next version of the Linux kernel is: next-20171204


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)


Thanks.

Porteus Kernel Builder

Posted: 05 Dec 2017, 03:47
by neko
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)

This example is that
"copy firmwares from firmware packages" function was used
when build kernel version 4.9.66 whose "build make" includes "make firmware".

--------->
"from package" firmwares will be overwritten with "make firmware" firmwares.


Note.
4.9.66 "config prototype" were updated.
=== 32Bit
Distributed Switch Architecture (NET_DSA) [N/m/y/?] (NEW) N
Workaround for rename(2)-ing a directory (AUFS_DIRREN) [N/y/?] (NEW) y
=== 64Bit
Distributed Switch Architecture (NET_DSA) [N/m/y/?] (NEW) N
Workaround for rename(2)-ing a directory (AUFS_DIRREN) [N/y/?] (NEW) y
===
At next "Kernel Builder", the configes will be replaced with new ones.


Thanks.

Porteus Kernel Builder

Posted: 05 Dec 2017, 15:52
by neko
1. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.15-rc2
The latest stable 4.14 version of the Linux kernel is: 4.14.4 <---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.67 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.104 <---NEW
The latest longterm 4.1 version of the Linux kernel is: 4.1.46
The latest longterm 3.18 version of the Linux kernel is: 3.18.86 (EOL) <---NEW
The latest linux-next version of the Linux kernel is: next-20171205


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.

Porteus Kernel Builder

Posted: 10 Dec 2017, 03:35
by neko
1. "Porteus Kernel Builder" was updated to mkKernel-17.12.05-noarch-1.xzm
Please refer to Porteus Kernel Builder (Post by neko #52232)

4.9 line "config prototype" were updated.
=== 32Bit
Distributed Switch Architecture (NET_DSA) [N/m/y/?] (NEW) N
Workaround for rename(2)-ing a directory (AUFS_DIRREN) [N/y/?] (NEW) y
=== 64Bit
Distributed Switch Architecture (NET_DSA) [N/m/y/?] (NEW) N
Workaround for rename(2)-ing a directory (AUFS_DIRREN) [N/y/?] (NEW) y
===

2. current kernel version
[from https://www.kernel.org/finger_banner]
The latest mainline version of the Linux kernel is: 4.15-rc3 <---NEW
The latest stable 4.14 version of the Linux kernel is: 4.14.5 <---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.68 <---NEW
The latest longterm 4.4 version of the Linux kernel is: 4.4.105 <---NEW
The latest longterm 4.1 version of the Linux kernel is: 4.1.47 <---NEW
The latest longterm 3.18 version of the Linux kernel is: 3.18.87 (EOL) <---NEW
The latest linux-next version of the Linux kernel is: next-20171211


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".


Note: 4.15-rc3 configs update
At next "Kernel Builder" update, old configs will be replaced by new ones.

Code: Select all

==== 4.15-rc3 32bit config update ====
Legacy USB Gadget Support (USB_GADGET_LEGACY) [N/y/?] (NEW) y
USB Type-C Support (TYPEC) [N/m/y/?] (NEW) y

==== 4.15-rc3 64bit config update ====
Legacy USB Gadget Support (USB_GADGET_LEGACY) [N/y/?] (NEW) y
USB Type-C Support (TYPEC) [N/m/y/?] (NEW) y

Thanks.

Porteus Kernel Builder

Posted: 10 Dec 2017, 07:27
by Jack
Do you still have crippled_sources-4.9.67-64bit.xzm I need it when I downloaded Porteus-LXDE_ja-4.0-i586-20171203.iso

Porteus Kernel Builder

Posted: 10 Dec 2017, 07:51
by neko
@Jack
This is crippled_sources-4.9.67-64bit.xzm.
http://www.mediafire.com/file/9d8dxopte ... -64bit.xzm

Bytheway, give me time. Now I am debugging & confirming on following your spec of mail.

Thanks.

Porteus Kernel Builder

Posted: 10 Dec 2017, 17:45
by Jack
@neko

Thank you for what you did for me. And I will watch for another ISO that you use 4.9.xx kernel.

I have a Dell laptop that I easy remove the Hard Drive. I will change the Hard Dive so I can have the room for the build. I just need how to do it.

The Hard Drive I have are.

1. 320gb with Windows 7
2. 120gb with Porteus 3.2.2
3. 80gb for testing and can use to build the kernel
4. I have more Hard Drive I can use

These drive can be change in less 30 second all I need to do is power down and change it.

Jack

Porteus Kernel Builder

Posted: 11 Dec 2017, 03:57
by neko
==== "Kernel Builder" bugs ====
[issue]
Image

set full items in "setting window".
--->
"crippled_sources" module will not be created.
ISO will not be updated.
"000-kernel" module will not be created.

And compile work area has been removed.
--->
In order to create "crippled_sources" module, "build kernel" will be needed one more time.
(very big time loss)


[bug fix]: not yet done
It needs some time.
Maybe "Kernel Builder" specification should be redesigned.

Original is very simple.
It is designed to assist "Kernel Build procedure".
http://www.porteus.org/component/conten ... ernel.html


[how to avoid this bug]
To avoid this bug, please follow tool usages as follow.

Usage 1.
Please separate "builg kernel" function from the other functions.

Usage 2.
Please perform "create crippled_sources", "ISO update" and "create 000-kernel module" independently.

Usage 3.
Please perform "delete compile work area" function realy at end as only one function.
"realy at end" means that there is no more rebuild with config change, or no more recreate "crippled_sources".
Otherwise you should rebuild kernel with big time loss.

STEP 1
Image
"builg kernel"
Note:
"kernel version 3.18 line" has no "own patch".

STEP 2
Image
"create crippled_sources"

STEP 3
Image
"update ISO"

STEP 4
Image
"create 000-kerne"

Note:
Please move 000-kerne.xzm that is created to your area from "Kernel Builder" work.

STEP 5
"delete compile work area"


Thanks.

---------------------------------------
@Jack
Thank you for your question that be mailed.
It has made me know this bug.

Until at next "Kernel Builder" update, I do try to fix this bug.


Thanks.

Porteus Kernel Builder

Posted: 11 Dec 2017, 04:56
by Jack
These steps is the same for 4.9.68?

Porteus Kernel Builder

Posted: 11 Dec 2017, 06:30
by neko
@Jack
"These steps is the same for 4.9.68?"
Yes, they are.

Note:
If you use 4.9.68 kernel config same as "Kernel builder" prototype,
(If you do not tune config on your originality spec,)
you can use v4.9.68.tar.xz instead of "build kernel".
(crippled_sources-4.9.68-32/64bit.xzm too)


Thanks.