Kernel Build Help
#13
Ok, so I now have a working kernel build. Firstly, thanks to cooker for uploading the config. I did already try using the config from ayufan's 136 build. so I suspect my issues are down to the options I selected.

For anyone new to building kernels here's how I got this working...

I used the ayufan's 136 config.gz file (see cookers attachment), and I then refreshed the configuration with the make oldconfig command. You could just run make -j5 as this will call oldconfig anyway.

I used the lasted version of ayufan's kernel from git and then created a .config file from the config.gz file from cooker.

Code:
$ gunzip config.gz
$ cat config.gz > .config
$ make oldconfig

You will now be prompted with a series of questions, this is because the kernel source is having things added all the time so oldconfig will make sure you configure any new bit's. I read you should call make oldconfig before every compile, but you should not have to because as I pointed out above make -j5 calls oldconfig anyway.

Here is how I answered the question, I've only listed the option it requests. I cannot tell you if I've answered all of these correctly, perhaps someone can provide feedback on that?
Code:
Unmap kernel when running in userspace (aka "KAISER") (UNMAP_KERNEL_AT_EL0) [Y/n/?] (NEW) Y
Distributed Switch Architecture (NET_DSA) [N/m/y/?] (NEW) N
  Device Tree Overlay ConfigFS interface (OF_CONFIGFS) [N/y/?] (NEW) N
gpio detection driver (GPIO_DET) [N/y/?] (NEW) N
  Driver for Rockchip Ethernet PHYs (ROCKCHIP_PHY) [N/m/y/?] (NEW) m
  build wifi ko modules (WIFI_BUILD_MODULE) [N/y/?] (NEW) N
  Realtek 8192DU USB WiFi Support (RTL8192DU) [N/m/y/?] (NEW) m
  Realtek 8723AU USB WiFi Support (RTL8723AU) [N/m/y/?] (NEW) m
  Realtek 8723B USB WiFi (RTL8723BU) [N/m/y/?] (NEW) m
  Realtek 8812AU USB WiFi Support (RTL8812AU) [N/m/y/?] (NEW) m
  gslX680 d708 touchpad driver for rk3126 pad (TOUCHSCREEN_GSLX680_D708) [N/m/y/?] (NEW) N
  gslX680 touchpad driver for firefly-rk3288 (TOUCHSCREEN_GSLX680_FIREFLY) [N/m/y/?] (NEW) N
  gsl3673 touchpad driver for rk3326 board (TOUCHSCREEN_GSL3673_800X1280) [N/m/y/?] (NEW) N
  VTL touchscreens support (TOUCHSCREEN_VTL_CT36X) [N/m/y] (NEW) N
  GT1X touchscreens support (TOUCHSCREEN_GT1X) [N/m/y] (NEW) N
Pinctrl and GPIO driver for RK805 PMIC (PINCTRL_RK805) [N/m/y/?] (NEW) N
  universal Charger driver (CHARGER_UNIVERSAL) [N/m/y/?] (NEW) N
  RK816 Battery driver (BATTERY_RK816) [N/y/?] (NEW) N
  RK817 Battery driver (BATTERY_RK817) [N/y/?] (NEW) N
  RK817 Charger driver (CHARGER_RK817) [N/y/?] (NEW) N
    rk_virtual thermal driver (RK_VIRTUAL_THERMAL) [N/m/y/?] (NEW) N
Rockchip RK618 MFD Driver (MFD_RK618) [N/m/y/?] (NEW) N
  HDMI CEC support (MEDIA_CEC_SUPPORT) [N/y/?] (NEW) N
  Rockchip Image Signal Processing v1 Unit driver (VIDEO_ROCKCHIP_ISP1) [N/m/y/?] (NEW) N
  Support for Rockchip TSP (ROCKCHIP_TSP) [N/y/?] (NEW) N
  Sony imx219 sensor support (VIDEO_IMX219) [N/m/y/?] (NEW) N
  OmniVision OV2685 sensor support (VIDEO_OV2685) [N/m/y/?] (NEW) N
  OmniVision OV5695 sensor support (VIDEO_OV5695) [N/m/y/?] (NEW) N
  adv7181 driver adapt to rockchip cif isp platform (VIDEO_ADV7181) [N/m/y/?] (NEW) N
  ov7675 driver adapt to rockchip cif isp platform (VIDEO_OV7675) [N/m/y/?] (NEW) N
  nt99230 driver adapt to rockchip cif isp platform (VIDEO_NT99230) [N/m/y/?] (NEW) N
  ov13850 driver adapt to rockchip cif isp platform (VIDEO_OV13850) [N/m/y/?] (NEW) N
  Rockchip RGB support (ROCKCHIP_RGB) [N/m/y/?] (NEW) N
  Rockchip specific extensions for RK3066 HDMI (ROCKCHIP_RK3066_HDMI) [N/m/y/?] (NEW) N
Dumb VGA DAC Bridge support (DRM_DUMB_VGA_DAC) [N/m/y/?] (NEW) N
Synopsis Designware CEC interface (DRM_DW_HDMI_CEC) [N/m/y/?] (NEW) N
Mali Bifrost series support (MALI_BIFROST) [N/m/y/?] (NEW) N
    Rockchip I2S/TDM Device Driver (SND_SOC_ROCKCHIP_I2S_TDM) [N/m/y/?] (NEW) N
  ASoC support for Rockchip multicodecs (SND_SOC_ROCKCHIP_MULTICODECS) [N/m/y/?] (NEW) N
  CX20810 is a voice capture ic. (SND_SOC_CX20810) [N/m/y/?] (NEW) N
  dummy codec (SND_SOC_DUMMY_CODEC) [N/m/y] (NEW) N
  Everest Semi ES8328 CODEC I2C (SND_SOC_ES8328_I2C) [N/m/y] (NEW) N
  Everest Semi ES8396 CODEC (SND_SOC_ES8396) [N/m/y] (NEW) N
  gva codec (SND_SOC_GVA_CODEC) [N/m/y] (NEW) N
  Voice Processor support for FM1288 (SND_SOC_FM1288) [N/m/y/?] (NEW) N
  Rockchip RK312X CODEC (SND_SOC_RK312X) [N/m/y] (NEW) N
  Rockchip RK3228 CODEC (SND_SOC_RK3228) [N/m/y] (NEW) N
  Rockchip RK3308 CODEC (SND_SOC_RK3308) [N/m/y] (NEW) N
  Rockchip RK817 CODEC (SND_SOC_RK817) [N/m/y] (NEW) N
  LED support for ISSI IS31FL32XX I2C LED controller family (LEDS_IS31FL32XX) [N/m/y/?] (NEW) N
Support for ARM architected timer virtual counter access in userspace (ARM_ARCH_TIMER_VCT_ACCESS) [N/y/?] (NEW) N
PX30 (CPU_PX30) [Y/n] (NEW) N
RK3308 (CPU_RK3308) [Y/n] (NEW) N
RK3328 (CPU_RK3328) [Y/n] (NEW) Y
RK3366 (CPU_RK3366) [Y/n] (NEW) N
RK3368 (CPU_RK3368) [Y/n] (NEW) N
RK3399 (CPU_RK3399) [Y/n] (NEW) N
Android Version (ANDROID_VERSION) [0x07010000] (NEW) I just pressed enter
  ROCKCHIP NoC (Network On Chip) Probe DEVFREQ event Driver (DEVFREQ_EVENT_ROCKCHIP_NOCP) [N/m/y/?] (NEW) N
  Rockchip OTP Support (ROCKCHIP_OTP) [N/m/y/?] (NEW) N
FS Encryption (Per-file encryption) (FS_ENCRYPTION) [N/m/y/?] (NEW) N
Show process information on printks (PRINTK_PROCESS) [N/y/?] (NEW) N
  Enable trace events for preempt and irq disable/enable (PREEMPTIRQ_EVENTS) [N/y/?] (NEW) N
  Speck cipher algorithm (CRYPTO_SPECK) [N/m/y/?] (NEW) N

I then ran make -j5 as per the instructions at the start of this post.

Thanks to everyone for the help Smile
  Reply


Messages In This Thread
Kernel Build Help - by frewind - 04-15-2018, 09:19 AM
RE: Kernel Build Help - by Lorp - 04-18-2018, 02:15 PM
RE: Kernel Build Help - by frewind - 04-18-2018, 04:26 PM
RE: Kernel Build Help - by Lorp - 04-19-2018, 12:52 PM
RE: Kernel Build Help - by frewind - 04-21-2018, 01:44 PM
RE: Kernel Build Help - by Rocklobster - 04-21-2018, 06:59 PM
RE: Kernel Build Help - by frewind - 04-22-2018, 05:06 AM
RE: Kernel Build Help - by Lorp - 04-23-2018, 05:38 PM
RE: Kernel Build Help - by cooker - 04-22-2018, 08:25 AM
RE: Kernel Build Help - by frewind - 04-27-2018, 12:23 PM
RE: Kernel Build Help - by frewind - 05-01-2018, 11:17 AM
RE: Kernel Build Help - by cooker - 05-02-2018, 10:54 AM
RE: Kernel Build Help - by frewind - 05-06-2018, 09:47 AM
RE: Kernel Build Help - by cooker - 06-02-2018, 01:20 AM
RE: Kernel Build Help - by frewind - 06-02-2018, 04:32 AM
RE: Kernel Build Help - by frewind - 06-02-2018, 07:44 AM
RE: Kernel Build Help - by cooker - 06-02-2018, 11:04 AM
RE: Kernel Build Help - by cooker - 06-03-2018, 11:58 AM
RE: Kernel Build Help - by pfeerick - 06-03-2018, 06:09 PM
RE: Kernel Build Help - by cooker - 06-04-2018, 02:22 AM
RE: Kernel Build Help - by cooker - 06-04-2018, 08:55 PM
RE: Kernel Build Help - by frewind - 06-06-2018, 02:01 PM
RE: Kernel Build Help - by cooker - 06-06-2018, 10:01 PM
RE: Kernel Build Help - by frewind - 06-08-2018, 01:01 AM
RE: Kernel Build Help - by cooker - 06-08-2018, 02:13 AM
RE: Kernel Build Help - by gene83 - 07-15-2018, 08:35 AM
RE: Kernel Build Help - by cooker - 08-12-2018, 12:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Linux 5.15 Kernel - openSuse mark1250 0 1,275 12-02-2021, 04:36 PM
Last Post: mark1250
  Security Patches for the Kernel kwinz 9 6,733 10-22-2021, 05:45 AM
Last Post: kwinz
  Debian build from mrfixit2001 Luke 18 27,074 05-17-2021, 02:35 AM
Last Post: Wizzard
  Debian kernel stuck at 4.4.167 Enig123 5 5,609 12-29-2020, 12:57 PM
Last Post: kwinz
  Arch Linux Arm --> Kernel 5.8 breaks installation as365n4 12 12,222 08-31-2020, 01:41 AM
Last Post: as365n4
  mainline kernel sound support Openwrt lucize 2 4,048 05-01-2020, 05:09 PM
Last Post: PakoSt
  5.3 kernel support? csrf 5 7,045 04-18-2020, 11:34 PM
Last Post: CameronNemo
Question alternative browser / seamonkey armhf build? kapqa 1 2,870 03-26-2020, 03:02 AM
Last Post: kapqa
  Help troubleshooting kernel panic gabrielfin 3 4,630 03-02-2020, 04:18 PM
Last Post: gabrielfin
  csdr build issues. TravisH 0 1,965 02-19-2020, 04:47 AM
Last Post: TravisH

Forum Jump:


Users browsing this thread: 1 Guest(s)