@user0815
New version "Porteus Kernel Builder" was uploaded.
5.0, 4.20, & 4.19 configs were changed depending on your demand.
Please update kernel by yourself.
-------------------------------------------------------
[How to use "Kernel Builder"]
step 1. prepare compile environment.
get 05-devel.xzm for your architecture from Porteus release site.
activate "05-devel.xzm".
setting window
==== 1st RUN ====
step 2. set working direcory.
First, prepare the directory for 'Porteus Kernel Builder'.
This direcory must be in LINUX file system (ext4 etc.,).
Select this in "Kernel Builder directory" of "setting window"
step 3. select kernel version.
select kernel version line in left item of "Kernel Version" of "setting window".
left item will display the latest version of the line.
if older version is needed, select kernel version in right item.
(
5.0.2/4.20.16/4.19.29)
step 4. "Build kernel" circle
"32Bit/64Bit" item: (first, display running PC architecture)
---->select compiling architecture.
(
64Bit)
"download" item:
---->(if) check it on, download kernel source and get AUF patch and prototype config.
(
check it on)
"expand & patch" item:
---->(if) check it on, expand commpressed kernel source, adapt AUF patch, and set config.
(
check it on)
step 5. push "OK" button and confirm "OK"
5.0 case
Please confirm that "aufs.patch" was created.
4.20/4.19 case
Please confirm that "
NG-aufs.patch" was created.
==== 2nd RUN (only for 4.20/4.19 case)====
(after set same as step 2, step 3 of 1st RUN)
step 6. "Build kernel" circle
"32Bit/64Bit" item: (first, display running PC architecture)
---->select compiling architecture. (same as 1st RUN)
(
64Bit)
"own patch" item:
---->(if) check it on, "own patch" is adapted.
(
check it on)
step 7. push "OK" button and confirm "OK"
==== Your own modifications of source/config ====
if a config change be needed, refer to [update config by "make menuconfig" command].
==== 3nd RUN ====
(after set same as step 2, step 3 of 1st RUN)
step 8. "Build kernel" circle
"32Bit/64Bit" item: (first, display running PC architecture)
---->select compiling architecture. (same as 1st RUN)
(
64Bit)
"compile" item: (this action needs 05-devel.xzm for building kernel)
---->(if) check it on, build kernel and set vmlinuz & lib.
(
check it on)
"Create FW" item:
---->(if) check it on, copy firmwares from firmware packages
(
check it on)
step 9. (option) "Create crippled_sources or 000-kernel modules" circle
"crippled_sources" item:
---->(if) check it on, create crippled_sources module.
(
check it on)
step 10. push "OK" button and confirm "OK"
==== 4th RUN ====
(after set same as step 2, step 3 of 1st RUN)
step 11. "Build kernel" circle
"32Bit/64Bit" item: (first, display running PC architecture)
---->select compiling architecture. (same as 1st RUN)
(
64Bit)
step 12. (option) "ISO whose kernel will be update" circle
select ISO whose kernel will be update. (Original ISO must be in the directory differ from kernel build work directory.)
"keep org" item: (default "check on")
---->check it on, Target ISO will be treated as "Porteus" ISO.
---->check it off, The intrd of new ISO will be integrated initrd.
(
check it off)
step 13. push "OK" button and confirm "OK"
Note 1: "2nd RUN"
if "
NG-aufs.patch" was not created (AUFS patch might be fixed),
2nd RUN doesn't be needed.
-------------------------------------------------------
[update config by "make menuconfig" command]]
Example: 5.0 config change (already uploaded).
1. search the position of "CONFIG_MISC_RTSX & CONFIG_MISC_RTSX_PCI"
After execute "make menuconfig", input "/" character.
Then search window opens.
Set search string and input return key.
Code: Select all
/CONFIG_MISC_RTSX
Symbol: MISC_RTSX [=m] │
│ Type : tristate │
│ Defined at drivers/misc/Kconfig:512 │
│ │
│ │
│ Symbol: MISC_RTSX_PCI [=m] │
│ Type : tristate │
│ Prompt: Realtek PCI-E card reader │
│ Location: │
│ -> Device Drivers │
│ (1) -> Misc devices │
│ Defined at drivers/misc/cardreader/Kconfig:12 │
│ Depends on: PCI [=y] │
│ Selects: MFD_CORE [=y] │
│ │
│ │
│ Symbol: MISC_RTSX_USB [=m] │
│ Type : tristate │
│ Prompt: Realtek USB card reader │
│ Location: │
│ -> Device Drivers │
│ (2) -> Misc devices │
│ Defined at drivers/misc/cardreader/Kconfig:23 │
│ Depends on: USB [=y] │
│ Selects: MFD_CORE [=y] │
│ │
/CONFIG_MISC_RTSX_PCI
Symbol: MISC_RTSX_PCI [=m] │
│ Type : tristate │
│ Prompt: Realtek PCI-E card reader │
│ Location: │
│ -> Device Drivers │
│ (1) -> Misc devices │
│ Defined at drivers/misc/cardreader/Kconfig:12 │
│ Depends on: PCI [=y] │
│ Selects: MFD_CORE [=y] │
│ │
/CONFIG_MMC_REALTEK_PCI
Symbol: MMC_REALTEK_PCI [=m] │
│ Type : tristate │
│ Prompt: Realtek PCI-E SD/MMC Card Interface Driver │
│ Location: │
│ -> Device Drivers │
│ (1) -> MMC/SD/SDIO card support (MMC [=y]) │
│ Defined at drivers/mmc/host/Kconfig:888 │
│ Depends on: MMC [=y] && MISC_RTSX_PCI [=m]
2. Change config paramater value from M to Y.
After position search, using the position information, move to the paramater, and then input space key.
Value <M> is changed to value <*>.
Code: Select all
> Device Drivers > Misc devices
<M> Realtek PCI-E card reader
--->
<*> Realtek PCI-E card reader
> Device Drivers > MMC/SD/SDIO card support
<M> Realtek PCI-E SD/MMC Card Interface Driver
--->
<*> Realtek PCI-E SD/MMC Card Interface Driver
3. confirm updated config
Code: Select all
# diff .config.old .config
3c3
< # Linux/x86 5.0.0-rc6 Kernel Configuration
---
> # Linux/x86 5.0.2 Kernel Configuration
1523c1523
< CONFIG_MISC_RTSX=m
---
> CONFIG_MISC_RTSX=y
1594c1594
< CONFIG_MISC_RTSX_PCI=m
---
> CONFIG_MISC_RTSX_PCI=y
5053c5053
< CONFIG_MMC_REALTEK_PCI=m
---
> CONFIG_MMC_REALTEK_PCI=y
6299a6300
> CONFIG_KASAN_STACK=1
#
Thanks.