Jump to content
H.Suzuki

Missing linux-headers file for "Tinker Board Debian 10 V3.0.11"

Recommended Posts

I'm using "Tinker Board Debian 10 V3.0.11" on tinker board r2.0.
Could anyone inform where can I get linux-headers file?

Thanks,

Share this post


Link to post
Share on other sites

Hi tooz,

Thank you for prompt reply.
I tried to it, but the following error message appeared. It seems there is tinker_board_defconfig.

linaro@linaro-alip:~/kernel-tinker_board-debian-3.0.11$ make tinker_board_defconfig
***
*** Can't find default configuration "arch/arm64/configs/tinker_board_defconfig"!
***
make[1]: *** [scripts/kconfig/Makefile:110: tinker_board_defconfig] Error 1
make: *** [Makefile:565: tinker_board_defconfig] Error 2

linaro@linaro-alip:~/kernel-tinker_board-debian-3.0.11$ ls arch/arm64/configs/
cuttlefish_defconfig        rk1806_linux_defconfig        rk3399pro_npu_defconfig
defconfig                   rk1808_linux_defconfig        rk3399pro_npu_pcie_defconfig
lsk_defconfig               rk1808_x4_linux_defconfig     rockchip_cros_defconfig
puma_defconfig              rk3308_linux_defconfig        rockchip_defconfig
px30_linux_defconfig        rk3308_robot_defconfig        rockchip_linux_bifrost.config
px30_linux_robot_defconfig  rk3326_linux_defconfig        rockchip_linux_defconfig
ranchu64_defconfig          rk3326_linux_robot_defconfig

Share this post


Link to post
Share on other sites

Hi tooz,

I'm trying make headers file on my Tinker Board R2.0. What defconfig file should I use?

If possible, could you provide headers file you made?

Edited by H.Suzuki

Share this post


Link to post
Share on other sites

Hi @tooz,

Now, I know we have to use the following command with ARCH=arm parameter in my case.

make ARCH=arm tinker_board_defconfig
make ARCH=arm deb-pkg -j24
 

Share this post


Link to post
Share on other sites

Hi @tooz

I have tried the following command, but I got build error as attached unfortunately.

 make ARCH=arm tinker_board_defconfig
 make ARCH=arm deb-pkg -j24

After all, It's better to get linux-headers file which you built.
Could you provide it to me?

Part of error message is as follows.

  CC [M]  drivers/net/wireless/rockchip_wlan/rtl8723ds/core/rtw_sta_mgt.o
drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_linux.c: In function 'dhd_ethtool':
drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_linux.c:6965:39: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess]
error, forbidden warning:dhd_linux.c:6965
   strncpy(drvname, info.driver, sizeof(info.driver));
                                       ^
make[8]: *** [scripts/Makefile.build:277: drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_linux.o] Error 1
make[7]: *** [scripts/Makefile.build:484: drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd] Error 2
make[6]: *** [scripts/Makefile.build:484: drivers/net/wireless/rockchip_wlan/rkwifi] Error 2
make[6]: *** Waiting for unfinished jobs....
  CC [M]  drivers/net/wireless/rockchip_wlan/rtl8723ds/core/rtw_ap.o

    :
    :

  LD [M]  drivers/net/wireless/rockchip_wlan/rtl8723ds/8723ds.o
make[5]: *** [scripts/Makefile.build:484: drivers/net/wireless/rockchip_wlan] Error 2
make[4]: *** [scripts/Makefile.build:484: drivers/net/wireless] Error 2
make[3]: *** [scripts/Makefile.build:484: drivers/net] Error 2
make[2]: *** [Makefile:1036: drivers] Error 2
make[1]: *** [scripts/package/Makefile:92: deb-pkg] Error 2
make: *** [Makefile:1324: deb-pkg] Error 2
 

error.txt

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...