TinkerBoard / debian_kernel

Debian Kernel source for Tinker Board
Other
143 stars 64 forks source link

About newer releases of kernel #57

Closed Zaryob closed 1 year ago

Zaryob commented 3 years ago

Is there any way to use kernel 5.x in tinkerboard 2? Are you planning to move it newer releases of kernel 5.x

theos10 commented 3 years ago

Same question. How tu upgrade kernel ? Thank.

dvergeylen commented 3 years ago

You have to configure and compile it yourself, see here: https://github.com/TinkerBoard/debian_kernel/issues/38#issuecomment-565722671

In addition to that you can use the Docker environment: https://github.com/TinkerBoard/debian_kernel/issues/56#issuecomment-805441822

Zaryob commented 3 years ago

You have to configure and compile it yourself, see here: #38 (comment)

In addition to that you can use the Docker environment: #56 (comment)

what about the hardware acceleration and gpu accelerated chromium. I tried to compile from scratch but not worked hw accel.

dvergeylen commented 3 years ago

For crypto acceleration you need: CONFIG_CRYPTO_DEV_ROCKCHIP flag.

Zaryob commented 3 years ago

For crypto acceleration you need: CONFIG_CRYPTO_DEV_ROCKCHIP flag.

Thx

6a5h4 commented 3 years ago

Which driver needs to be activated in kernel config to support the eMMC HS200 on Tinkerboard S or 2S?

dvergeylen commented 3 years ago

Which driver needs to be activated in kernel config to support the eMMC HS200 on Tinkerboard S or 2S?

I guess it's PHY_ROCKCHIP_EMMC.

To find that kind of option, run ARCH=arm make menuconfig and use '/' to start search prompt. For instance, searching for 'emmc' gives:

Symbol: PHY_ROCKCHIP_EMMC [=n]
  │ Type  : tristate
  │ Prompt: Rockchip EMMC PHY Driver
  │   Location:
  │     -> Device Drivers
  │ (1)   -> PHY Subsystem
  │   Defined at drivers/phy/rockchip/Kconfig:12
  │   Depends on: ARCH_ROCKCHIP [=y] && OF [=y]
  │   Selects: GENERIC_PHY [=y]
  │
  │
  │ Symbol: PWRSEQ_EMMC [=y]
  │ Type  : tristate
  │ Prompt: HW reset support for eMMC
  │   Location: 
  │     -> Device Drivers
  │ (2)   -> MMC/SD/SDIO card support (MMC [=y])
  │   Defined at drivers/mmc/core/Kconfig:5
  │   Depends on: MMC [=y] && OF [=y]

[=n] means it's not enabled (in my .config). Find it at the specified location and enable it. You might have to make it a module, depending on custom tinker scripts.