Compiled the SDK but missing modules.dep

  • Please attach the logs from running ./build.sh kernel (no need to clean and rebuild), or the logs with the "post-rootfs" prefix located under $SDK/output/sessions/. The kernel modules are copied to the target when building the rootfs. Providing the logs will facilitate further analysis.

  • Code: Select all

    ==========================================
              Start building modules
    ==========================================
    + make -C /luckfox/kernel/ -j9 CROSS_COMPILE=/luckfox/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf- ARCH=arm rk3506_luckfox_defconfig rk3506-display.config
    #
    # configuration written to .config
    #
    Using .config as base
    Merging ./arch/arm/configs/rk3506-display.config
    Value of CONFIG_TOUCHSCREEN_EDT_FT5X06 is redefined by fragment ./arch/arm/configs/rk3506-display.config:
    Previous value: # CONFIG_TOUCHSCREEN_EDT_FT5X06 is not set
    New value: CONFIG_TOUCHSCREEN_EDT_FT5X06=y
    
    Value of CONFIG_TOUCHSCREEN_GOODIX is redefined by fragment ./arch/arm/configs/rk3506-display.config:
    Previous value: # CONFIG_TOUCHSCREEN_GOODIX is not set
    New value: CONFIG_TOUCHSCREEN_GOODIX=y
    
    Value of CONFIG_TOUCHSCREEN_GSLX680_PAD is redefined by fragment ./arch/arm/configs/rk3506-display.config:
    Previous value: # CONFIG_TOUCHSCREEN_GSLX680_PAD is not set
    New value: CONFIG_TOUCHSCREEN_GSLX680_PAD=y
    
    Value of CONFIG_TOUCHSCREEN_GT1X is redefined by fragment ./arch/arm/configs/rk3506-display.config:
    Previous value: # CONFIG_TOUCHSCREEN_GT1X is not set
    New value: CONFIG_TOUCHSCREEN_GT1X=y
    
    #
    # merged configuration written to .config (needs make)
    #
    #
    # configuration written to .config
    #
    + make -C /luckfox/kernel/ -j9 CROSS_COMPILE=/luckfox/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf- ARCH=arm modules
      SYNC    include/config/auto.conf.cmd
      CALL    scripts/checksyscalls.sh
    + make -C /luckfox/kernel/ -j9 CROSS_COMPILE=/luckfox/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf- ARCH=arm modules_install INSTALL_MOD_PATH=/luckfox/output/buildroot/target/
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/bluetooth/btintel.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/bluetooth/btusb.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/hid/usbhid/usbhid.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/ethernet/stmicro/stmmac/dwmac-rockchip.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/ethernet/stmicro/stmmac/stmmac-platform.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/ethernet/stmicro/stmmac/stmmac.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/mdio/fwnode_mdio.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/mdio/of_mdio.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/mii.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/pcs/pcs_xpcs.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/phy/ax88796b.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/phy/fixed_phy.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/phy/libphy.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/phy/mdio_devres.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/phy/motorcomm.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/phy/phylink.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/usb/ax88179_178a.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/usb/asix.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/usb/cdc_ether.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/usb/cdc_ncm.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/usb/cdc_subset.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/usb/net1080.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/usb/qmi_wwan.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/usb/r8153_ecm.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/usb/rndis_host.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/usb/usbnet.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/net/usb/zaurus.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/phy/rockchip/phy-rockchip-inno-usb2.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/scsi/scsi_common.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/scsi/scsi_mod.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/scsi/sd_mod.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/usb/class/cdc-wdm.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/usb/common/usb-common.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/usb/core/usbcore.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/usb/dwc2/dwc2.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/usb/gadget/function/u_ether.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/usb/gadget/function/usb_f_fs.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/usb/gadget/function/usb_f_rndis.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/usb/gadget/libcomposite.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/usb/gadget/udc/udc-core.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/usb/serial/option.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/usb/host/ehci-hcd.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/usb/serial/qcserial.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/usb/serial/usb_wwan.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/usb/serial/usbserial.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/drivers/usb/storage/usb-storage.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/lib/crypto/libarc4.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/net/core/selftests.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/net/mac80211/mac80211.ko
      INSTALL /luckfox/output/buildroot/target//lib/modules/6.1.99/kernel/net/wireless/cfg80211.ko
      DEPMOD  /luckfox/output/buildroot/target//lib/modules/6.1.99
    Warning: 'make modules_install' requires depmod. Please install it.
    This is probably in the kmod package.
    
    

    Ah solved, I need to install "kmod" package.

    (It doesn't mentioned in the wiki. I guess it's pre-installed in default Ubuntu. But, since I didn't use normal Ubuntu, I need to install it.)

    Thanks.