Installing mini pci express Video capture cards

Hi Jaski

I copied your improved and attached cx25858 folder to linux-toradex/drivers/media/pci/

oot@vision-desktop:/home/vision/Toradex/linux-toradex# ls drivers/media/pci/
b2c2   cx18     cx25821  cx88      dm1105  Kconfig   mantis  ngene   pt1      saa7146  sta2x11  zoran
bt8xx  cx23885  cx25858  ddbridge  ivtv    Makefile  meye    pluto2  saa7134  saa7164  ttpci
root@vision-desktop:/home/vision/Toradex/linux-toradex# make apalis-tk1_defconfig
drivers/media/pci/Kconfig:29: can't open file "drivers/media/pci/cx25858/kconfig"
make[1]: *** [/home/vision/Toradex/linux-toradex/scripts/kconfig/Makefile:105: apalis-tk1_defconfig] Error 1
make: *** [Makefile:504: apalis-tk1_defconfig] Error 2

but unfortunately still have problem!!!

Best Regards

Kconfig should be written a capital K Letter.

Best regards,
Jaski

Hi Jaski

Thank you for your help you were right, it was my fault in written non capital letter and excuse me for this fault

i still have some ambiguities , after successfully execute make -j3 zImage | tee build.log to generate tegra124-apalis-eval.dtb and tegra124-apalis-v1.2-eval.dtb and zImage and replace them in toradex prebuilt l4t (Apalis-TK1_L4T-Image-Tezi_21.7-2.8b6) bootfs ,should i excute Kernel Modules compilation process according to this link link text ?

however i executed kernel module compilation process and the results are as follows

root@vision-desktop:/home/vision/Toradex/linux-toradex# cd modules
root@vision-desktop:/home/vision/Toradex/linux-toradex/modules# ls
lib
root@vision-desktop:/home/vision/Toradex/linux-toradex/modules# cd lib/
root@vision-desktop:/home/vision/Toradex/linux-toradex/modules/lib# ls
modules
root@vision-desktop:/home/vision/Toradex/linux-toradex/modules/lib# cd modules
root@vision-desktop:/home/vision/Toradex/linux-toradex/modules/lib/modules# ls
3.10.40-g063d16eceb57-dirty
root@vision-desktop:/home/vision/Toradex/linux-toradex/modules/lib/modules# cd 3.10.40-g063d16eceb57-dirty/
root@vision-desktop:/home/vision/Toradex/linux-toradex/modules/lib/modules/3.10.40-g063d16eceb57-dirty# ls
build   modules.alias      modules.builtin            modules.builtin.bin  modules.dep.bin  modules.order    modules.symbols      source
kernel  modules.alias.bin  modules.builtin.alias.bin  modules.dep          modules.devname  modules.softdep  modules.symbols.bin

but in Toradex prebuilt images(Apalis-TK1_L4T-Image-Tezi_21.7-2.8b6), and extract rootfs file , rootfs has these contents

root@vision-desktop:~/Toradex/Apalis-TK1_L4T-Image-Tezi_21.7-2.8b6/Apalis-TK1_L4T-Image.rootfs$ ls
bin  boot  dev  etc  home  lib  lost+found  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var
root@vision-desktop:~/Toradex/Apalis-TK1_L4T-Image-Tezi_21.7-2.8b6/Apalis-TK1_L4T-Image.rootfs$ cd lib
root@vision-desktop:~/Toradex/Apalis-TK1_L4T-Image-Tezi_21.7-2.8b6/Apalis-TK1_L4T-Image.rootfs/lib$ ls
arm-linux-gnueabihf  hdparm                                libcryptsetup.so.4.5.0  libiptc.so.0.0.0      modules         terminfo
brltty               ifupdown                              libip4tc.so.0           libxtables.so.10      modules-load.d  udev
cpp                  init                                  libip4tc.so.0.1.0       libxtables.so.10.0.0  plymouth        xtables
crda                 klibc-UA_kfFDxoVF1obbD3iuJyai0jsE.so  libip6tc.so.0           linux-sound-base      resolvconf
cryptsetup           ld-linux-armhf.so.3                   libip6tc.so.0.1.0       lsb                   security
firmware             libcryptsetup.so.4                    libiptc.so.0            modprobe.d            systemd
root@vision-desktop:~/Toradex/Apalis-TK1_L4T-Image-Tezi_21.7-2.8b6/Apalis-TK1_L4T-Image.rootfs/lib$ cd modules
root@vision-desktop:~/Toradex/Apalis-TK1_L4T-Image-Tezi_21.7-2.8b6/Apalis-TK1_L4T-Image.rootfs/lib/modules$ ls
3.10.40-2.8.6+g2c7a3c3af726
root@vision-desktop:~/Toradex/Apalis-TK1_L4T-Image-Tezi_21.7-2.8b6/Apalis-TK1_L4T-Image.rootfs/lib/modules$ cd 3.10.40-2.8.6+g2c7a3c3af726/
root@vision-desktop:~/Toradex/Apalis-TK1_L4T-Image-Tezi_21.7-2.8b6/Apalis-TK1_L4T-Image.rootfs/lib/modules/3.10.40-2.8.6+g2c7a3c3af726$ ls
kernel         modules.alias.bin  modules.builtin.bin  modules.dep.bin  modules.order    modules.symbols      updates
modules.alias  modules.builtin    modules.dep          modules.devname  modules.softdep  modules.symbols.bin

it seems linux version in my built modules (3.10.40-g063d16eceb57-dirty )and Toradex prebult image (3.10.40-2.8.6+g2c7a3c3af726) not match and the answer to my top question is yes , is my guess correct?

and if i delete only this floder of prebuilt l4t rootfs completely (Apalis-TK1_L4T-Image.rootfs/lib/modules/3.10.40-2.8.6+g2c7a3c3af726), is it right to replace it with my built module (linux-toradex/modules/lib/modules/3.10.40-g063d16eceb57-dirty) by a simple copy?

Best Regards

Yes, you can copy the modules to the file rootfs.tar.xz in the prebuilt image. The modules’ version needs to match the kernel version.

Hi jaski

Thank you for your attention

i produced rootfs an boots contents and I replace prebuilt ones with generated ones ,then copy L4T to SD and executed Toradex Easy Installer process completely but unfortunately after successfully installing L4T on Apalis TK1 , during boot process Apalis TK1 stop on following verbose texts and Linux does not boot!!!

init:plymouth-upstart-bridge main process(149) terminated with status 1
init:plymouth-upstart-bridge main process ended,respawning
init:plymouth-upstart-bridge main process(159) terminated with status 1
init:plymouth-upstart-bridge main process ended,respawning
init:unreadahead main process (152) terminated with status 5
init:plymouth-upstart-bridge main process(163) terminated with status 1
init:plymouth-upstart-bridge main process ended,respawning

would you please help me about my fault?

Best Regards

hi jaski

after successfully compile kernel modules (including cx25858), A simple copy inside rootfs doesnt seems to be correct beacuse when i generated L4T only by updating bootfs ,linux boot correctly but kernel modules mismatch with Linux version and lsmod shows nothing.

i also try another way that you release on your site:

root@vision-desktop:/home/vision/Toradex/linux-toradex/modules# ping 192.168.0.13
PING 192.168.0.13 (192.168.0.13) 56(84) bytes of data.
64 bytes from 192.168.0.13: icmp_seq=1 ttl=64 time=1.78 ms
64 bytes from 192.168.0.13: icmp_seq=2 ttl=64 time=0.243 ms
64 bytes from 192.168.0.13: icmp_seq=3 ttl=64 time=0.242 ms
64 bytes from 192.168.0.13: icmp_seq=4 ttl=64 time=1.47 ms
  4 packets transmitted, 4 received, 0% packet loss, time 3033ms
rtt min/avg/max/mdev = 0.242/0.933/1.781/0.699 ms
root@vision-desktop:/home/vision/Toradex/linux-toradex/modules# tar -cf - . | ssh root@192.168.0.13 'cd / && tar -xf -'
root@192.168.0.13's password: 
Permission denied, please try again.
root@192.168.0.13's password: 
Permission denied, please try again.
root@192.168.0.13's password: 
root@192.168.0.13: Permission denied (publickey,password).

but also this way didn’t work correctly too .

would you please help me what you did before to deploy kernel modules (including cx25858 module) on Apalis TK1 successfully ?

Best Regards

Hi @toradexvision

Did you try this?

With Ubuntu on TK1, you would need sudo rights to deploy the modules.

Best regards,
Jaski

Hi Jaski

yes according to my above comments i compiled kernel modules successfully
now i generated modules.tar.gz and copy it to TK1 and extract it in target root by

tar -xzf modules.tar.gz -C /

on my target (TK1) when execute depmod and lsmod nothing is displayed !!!

No modules appear to be installed on TK1 !!
now i don’t know what should i do

Best Regards

Hi

What is the output of uname -a?
Could you share the output of ls /lib/modules?

i generated modules.tar.gz

Could you share the file modules.tar.gz?

Thanks and best regards,
Jaski

Hi Jaski

this is my host generated module kernels link text

I executed following sequences on TK1

root@tegra-ubuntu:/# cp /media/ubuntu/Transcend/modules.tar.gz .
root@tegra-ubuntu:/# uname -r
3.10.40-g063d16eceb57-dirty
root@tegra-ubuntu:/# ls /lib/modules
3.10.40-2.8.6+g2c7a3c3af726
root@tegra-ubuntu:/# tar -xzf modules.tar.gz -C /
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/modules.softdep: time stamp 2020-05-28 21:38:45 is 644015256.873675693 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/crypto/asymmetric_keys/asymmetric_keys.ko: time stamp 2020-05-28 21:38:44 is 644015255.865433777 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/crypto/asymmetric_keys/public_key.ko: time stamp 2020-05-28 21:38:44 is 644015255.851193443 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/crypto/asymmetric_keys: time stamp 2020-05-28 21:38:44 is 644015255.84145436 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/crypto/tcrypt.ko: time stamp 2020-05-28 21:38:44 is 644015255.827143943 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/crypto/twofish_generic.ko: time stamp 2020-05-28 21:38:44 is 644015255.81001186 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/crypto/twofish_common.ko: time stamp 2020-05-28 21:38:44 is 644015255.80622436 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/crypto: time stamp 2020-05-28 21:38:44 is 644015255.806108027 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/net/ipv4/ip_tunnel.ko: time stamp 2020-05-28 21:38:45 is 644015256.797035443 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/net/ipv4: time stamp 2020-05-28 21:38:45 is 644015256.796887777 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/net/ipv6/sit.ko: time stamp 2020-05-28 21:38:45 is 644015256.76700161 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/net/ipv6: time stamp 2020-05-28 21:38:45 is 644015256.76679161 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/net/bluetooth/hidp/hidp.ko: time stamp 2020-05-28 21:38:45 is 644015256.73991536 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/net/bluetooth/hidp: time stamp 2020-05-28 21:38:45 is 644015256.739621943 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/net/bluetooth/rfcomm/rfcomm.ko: time stamp 2020-05-28 21:38:45 is 644015256.72231336 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/net/bluetooth/rfcomm: time stamp 2020-05-28 21:38:45 is 644015256.721279943 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/net/bluetooth/bluetooth.ko: time stamp 2020-05-28 21:38:45 is 644015256.632088443 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/net/bluetooth/bnep/bnep.ko: time stamp 2020-05-28 21:38:45 is 644015256.620276277 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/net/bluetooth/bnep: time stamp 2020-05-28 21:38:45 is 644015256.620154943 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/net/bluetooth: time stamp 2020-05-28 21:38:45 is 644015256.620084443 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/net: time stamp 2020-05-28 21:38:45 is 644015256.620028277 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/v4l2-core/videobuf2-dma-contig.ko: time stamp 2020-05-28 21:38:45 is 644015256.615143277 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/v4l2-core/videobuf-dma-sg.ko: time stamp 2020-05-28 21:38:45 is 644015256.610761693 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/v4l2-core/videobuf-dvb.ko: time stamp 2020-05-28 21:38:45 is 644015256.606471527 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/v4l2-core: time stamp 2020-05-28 21:38:45 is 644015256.606389527 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/pci/cx25858/cx25858.ko: time stamp 2020-05-28 21:38:45 is 644015256.535816943 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/pci/cx25858: time stamp 2020-05-28 21:38:45 is 644015256.535693193 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/pci: time stamp 2020-05-28 21:38:45 is 644015256.535610527 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/common/btcx-risc.ko: time stamp 2020-05-28 21:38:44 is 644015255.53276961 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/common/cx2341x.ko: time stamp 2020-05-28 21:38:44 is 644015255.529338443 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/common/tveeprom.ko: time stamp 2020-05-28 21:38:44 is 644015255.525849777 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/common: time stamp 2020-05-28 21:38:44 is 644015255.525772943 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/i2c/soc_camera/tc358743.ko: time stamp 2020-05-28 21:38:45 is 644015256.521373027 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/i2c/soc_camera/imx135_v4l2.ko: time stamp 2020-05-28 21:38:44 is 644015255.515857943 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/i2c/soc_camera/ar0330_v4l2.ko: time stamp 2020-05-28 21:38:44 is 644015255.51161011 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/i2c/soc_camera/ap1302.ko: time stamp 2020-05-28 21:38:44 is 644015255.507339277 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/i2c/soc_camera/adv7280.ko: time stamp 2020-05-28 21:38:44 is 644015255.502830193 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/i2c/soc_camera/ar0261_v4l2.ko: time stamp 2020-05-28 21:38:44 is 644015255.49853036 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/i2c/soc_camera/ov5640.ko: time stamp 2020-05-28 21:38:44 is 644015255.49404436 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/i2c/soc_camera: time stamp 2020-05-28 21:38:45 is 644015256.493915277 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/i2c/cx25840/cx25840.ko: time stamp 2020-05-28 21:38:44 is 644015255.476203943 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/i2c/cx25840: time stamp 2020-05-28 21:38:44 is 644015255.476101943 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/i2c: time stamp 2020-05-28 21:38:44 is 644015255.476046693 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/platform/soc_camera/soc_camera_platform.ko: time stamp 2020-05-28 21:38:45 is 644015256.472499527 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/platform/soc_camera/tegra_camera/tegra_camera.ko: time stamp 2020-05-28 21:38:45 is 644015256.45872361 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/platform/soc_camera/tegra_camera: time stamp 2020-05-28 21:38:45 is 644015256.45858861 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/platform/soc_camera: time stamp 2020-05-28 21:38:45 is 644015256.458528443 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media/platform: time stamp 2020-05-28 21:38:45 is 644015256.458476027 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/media: time stamp 2020-05-28 21:38:45 is 644015256.45842461 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/ssb/ssb.ko: time stamp 2020-05-28 21:38:45 is 644015256.44025386 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/ssb: time stamp 2020-05-28 21:38:45 is 644015256.44013811 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/gpio/gpio-apalis-tk1-k20.ko: time stamp 2020-05-28 21:38:44 is 644015255.438717693 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/gpio: time stamp 2020-05-28 21:38:44 is 644015255.438618193 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/iio/adc/apalis-tk1-k20_adc.ko: time stamp 2020-05-28 21:38:44 is 644015255.436256443 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/iio/adc: time stamp 2020-05-28 21:38:44 is 644015255.436150193 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/iio: time stamp 2020-05-28 21:38:44 is 644015255.436089693 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/hid/hid-multitouch.ko: time stamp 2020-05-28 21:38:44 is 644015255.43170661 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/hid: time stamp 2020-05-28 21:38:44 is 644015255.43159011 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/video/tegra/host/vi/nvhost-vi.ko: time stamp 2020-05-28 21:38:45 is 644015256.427921443 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/video/tegra/host/vi: time stamp 2020-05-28 21:38:45 is 644015256.427833527 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/video/tegra/host: time stamp 2020-05-28 21:38:45 is 644015256.427778527 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/video/tegra: time stamp 2020-05-28 21:38:45 is 644015256.427725193 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/video: time stamp 2020-05-28 21:38:45 is 644015256.427674777 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/input/joydev.ko: time stamp 2020-05-28 21:38:44 is 644015255.42338211 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/input/touchscreen/apalis-tk1-k20_ts.ko: time stamp 2020-05-28 21:38:44 is 644015255.41947111 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/input/touchscreen/atmel_mxt_ts.ko: time stamp 2020-05-28 21:38:44 is 644015255.413511027 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/input/touchscreen: time stamp 2020-05-28 21:38:44 is 644015255.413422777 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/input/joystick/xpad.ko: time stamp 2020-05-28 21:38:44 is 644015255.408346693 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/input/joystick: time stamp 2020-05-28 21:38:44 is 644015255.40821511 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/input: time stamp 2020-05-28 21:38:44 is 644015255.40815561 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/ethernet/intel/e1000e/e1000e.ko: time stamp 2020-05-28 21:38:45 is 644015256.336537443 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/ethernet/intel/e1000e: time stamp 2020-05-28 21:38:45 is 644015256.33641436 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/ethernet/intel: time stamp 2020-05-28 21:38:45 is 644015256.33635711 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/ethernet: time stamp 2020-05-28 21:38:45 is 644015256.336304527 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/can/apalis-tk1-k20-can.ko: time stamp 2020-05-28 21:38:45 is 644015256.332041443 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/can: time stamp 2020-05-28 21:38:45 is 644015256.331956943 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/slip/slhc.ko: time stamp 2020-05-28 21:38:45 is 644015256.32641886 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/slip: time stamp 2020-05-28 21:38:45 is 644015256.32633486 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/ppp/pppopns.ko: time stamp 2020-05-28 21:38:45 is 644015256.321800443 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/ppp/pppolac.ko: time stamp 2020-05-28 21:38:45 is 644015256.316281277 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/ppp/pppox.ko: time stamp 2020-05-28 21:38:45 is 644015256.312031443 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/ppp/ppp_async.ko: time stamp 2020-05-28 21:38:45 is 644015256.30693611 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/ppp/ppp_deflate.ko: time stamp 2020-05-28 21:38:45 is 644015256.305336693 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/ppp/bsd_comp.ko: time stamp 2020-05-28 21:38:45 is 644015256.303031277 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/ppp/ppp_synctty.ko: time stamp 2020-05-28 21:38:45 is 644015256.29804436 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/ppp/ppp_generic.ko: time stamp 2020-05-28 21:38:45 is 644015256.29041211 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/ppp/ppp_mppe.ko: time stamp 2020-05-28 21:38:45 is 644015256.287581777 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net/ppp: time stamp 2020-05-28 21:38:45 is 644015256.287499443 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/net: time stamp 2020-05-28 21:38:45 is 644015256.287446193 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/ata/ahci.ko: time stamp 2020-05-28 21:38:44 is 644015255.28153286 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/ata: time stamp 2020-05-28 21:38:44 is 644015255.281452527 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/mfd/apalis-tk1-k20.ko: time stamp 2020-05-28 21:38:45 is 644015256.278060193 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/mfd: time stamp 2020-05-28 21:38:45 is 644015256.27798011 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/usb/host/xhci-hcd.ko: time stamp 2020-05-28 21:38:45 is 644015256.24301636 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/usb/host: time stamp 2020-05-28 21:38:45 is 644015256.242900443 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/usb/serial/baseband_usb_chr.ko: time stamp 2020-05-28 21:38:45 is 644015256.237280193 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/usb/serial/usb_wwan.ko: time stamp 2020-05-28 21:38:45 is 644015256.233042193 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/usb/serial/option.ko: time stamp 2020-05-28 21:38:45 is 644015256.226840777 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/usb/serial: time stamp 2020-05-28 21:38:45 is 644015256.226715193 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/usb/class/cdc-acm.ko: time stamp 2020-05-28 21:38:45 is 644015256.22003836 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/usb/class/cdc-wdm.ko: time stamp 2020-05-28 21:38:45 is 644015256.215917943 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/usb/class: time stamp 2020-05-28 21:38:45 is 644015256.215830027 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/usb: time stamp 2020-05-28 21:38:45 is 644015256.21577586 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/bluetooth/btusb.ko: time stamp 2020-05-28 21:38:44 is 644015255.209190527 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/bluetooth: time stamp 2020-05-28 21:38:44 is 644015255.209106693 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/tty/serial/8250/8250_pci.ko: time stamp 2020-05-28 21:38:45 is 644015256.20195736 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/tty/serial/8250: time stamp 2020-05-28 21:38:45 is 644015256.20184311 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/tty/serial: time stamp 2020-05-28 21:38:45 is 644015256.20178386 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers/tty: time stamp 2020-05-28 21:38:45 is 644015256.201730443 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/drivers: time stamp 2020-05-28 21:38:45 is 644015256.20167886 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/fs/squashfs/squashfs.ko: time stamp 2020-05-28 21:38:45 is 644015256.17642736 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/fs/squashfs: time stamp 2020-05-28 21:38:45 is 644015256.176292693 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/fs/nfs/nfs_layout_nfsv41_files.ko: time stamp 2020-05-28 21:38:45 is 644015256.162418277 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/fs/nfs: time stamp 2020-05-28 21:38:45 is 644015256.162267527 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/fs/nls/nls_iso8859-15.ko: time stamp 2020-05-28 21:38:45 is 644015256.16077011 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/fs/nls: time stamp 2020-05-28 21:38:45 is 644015256.16069186 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/fs: time stamp 2020-05-28 21:38:45 is 644015256.160615777 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/lib/mpi/mpi.ko: time stamp 2020-05-28 21:38:45 is 644015256.15361061 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/lib/mpi: time stamp 2020-05-28 21:38:45 is 644015256.15351736 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/lib/xz/xz_dec.ko: time stamp 2020-05-28 21:38:45 is 644015256.150408943 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/lib/xz: time stamp 2020-05-28 21:38:45 is 644015256.150333277 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel/lib: time stamp 2020-05-28 21:38:45 is 644015256.150282693 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/kernel: time stamp 2020-05-28 21:38:45 is 644015256.150232777 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/modules.alias: time stamp 2020-05-28 21:38:45 is 644015256.148967943 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/modules.dep.bin: time stamp 2020-05-28 21:38:45 is 644015256.148337693 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/modules.symbols.bin: time stamp 2020-05-28 21:38:45 is 644015256.148201943 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/modules.devname: time stamp 2020-05-28 21:38:45 is 644015256.148071193 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/modules.builtin.bin: time stamp 2020-05-28 21:38:45 is 644015256.147897943 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/modules.order: time stamp 2020-05-28 21:38:44 is 644015255.147392527 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/modules.dep: time stamp 2020-05-28 21:38:45 is 644015256.147290777 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/modules.builtin.alias.bin: time stamp 2020-05-28 21:38:45 is 644015256.147213193 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/modules.builtin: time stamp 2020-05-28 21:38:44 is 644015255.147052693 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/modules.alias.bin: time stamp 2020-05-28 21:38:45 is 644015256.145487943 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/modules.symbols: time stamp 2020-05-28 21:38:45 is 644015256.14521461 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/build: time stamp 2020-05-28 21:38:44 is 644015255.14478061 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty/source: time stamp 2020-05-28 21:38:44 is 644015255.144670443 s in the future
tar: ./lib/modules/3.10.40-g063d16eceb57-dirty: time stamp 2020-05-28 21:38:45 is 644015256.144602527 s in the future
tar: ./lib/modules: time stamp 2020-05-28 21:38:44 is 644015255.144548277 s in the future
tar: ./lib: time stamp 2020-05-28 21:38:44 is 644015255.144499277 s in the future
tar: .: time stamp 2020-05-29 14:53:00 is 644077311.144447943 s in the future
root@tegra-ubuntu:/# ls /lib/modules
3.10.40-2.8.6+g2c7a3c3af726  3.10.40-g063d16eceb57-dirty

and when i reboot TK1 ,during boot process it hang on verbose !!!

8.149471]  mmcblk0: p1 p2
[    8.157678]  mmcblk0boot1: unknown partition table
[    8.167448]  mmcblk0boot0: unknown partition table
[    8.281063] EXT4-fs (mmcblk0p2): recovery complete
[    8.289515] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    8.301321] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    8.314028] devtmpfs: mounted
[    8.321174] Freeing unused kernel memory: 476K (c0a31000 - c0aa8000)
[    8.361259] mmc1: host does not support reading read-only switch. assuming write-enable.
[    8.375702] mmc1: new high speed SDHC card at address 1234
[    8.385690] mmcblk mmc1:1234: Card claimed for testing.
[    8.395227] mmcblk1: mmc1:1234 SA08G 7.21 GiB 
[    8.405001]  mmcblk1: p1
Mount failed for selinuxfs on /sys/fs/selinux:  No such file or directory
[    8.633762] init: plymouth-upstart-bridge main process (148) terminated with status 1
[    8.646041] init: plymouth-upstart-bridge main process ended, respawning
[    8.705813] init: plymouth-upstart-bridge main process (158) terminated with status 1
[    8.718036] init: plymouth-upstart-bridge main process ended, respawning
[    8.734622] init: ureadahead main process (151) terminated with status 5
[    8.776664] init: plymouth-upstart-bridge main process (162) terminated with status 1
[    8.788980] init: plymouth-upstart-bridge main process ended, respawning
[   20.792386] mmc1: Timeout waiting for hardware interrupt.
[   20.800168] sdhci: =========== REGISTER DUMP (mmc1)===========
[   20.808374] sdhci: Sys addr: 0x00000000 | Version:  0x00000303
[   20.816615] sdhci: Blk size: 0x00007200 | Blk cnt:  0x00000000
[   20.824816] sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[   20.833000] sdhci: Present:  0x01fb0000 | Host ctl: 0x00000013
[   20.841176] sdhci: Power:    0x0000000d | Blk gap:  0x00000000
[   20.849327] sdhci: Wake-up:  0x00000000 | Clock:    0x00000007
[   20.857460] sdhci: Timeout:  0x0000000e | Int stat: 0x00000000
[   20.865560] sdhci: Int enab: 0x02ff000b | Sig enab: 0x02fc000b
[   20.873678] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[   20.881764] sdhci: Caps:     0x376fd080 | Caps_1:   0x10002f73
[   20.889853] sdhci: Cmd:      0x00000c1b | Max curr: 0x00000000
[   20.897927] sdhci: Host ctl2: 0x00003000
[   20.904109] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0xae842020
[   20.912244] sdhci: ===========================================
[   31.612377] INFO: rcu_preempt self-detected stall on CPU[   31.614374] INFO: rcu_preempt detected stalls on CPUs/tasks:
[   56.082380] BUG: soft lockup - CPU#0 stuck for 23s! [udevadm:373]

Best Regards

Hi

time stamp 2020-05-28 21:38:44 is 644015255.40821511 s in the future

You still seems to have an issue with the system clock.

and when i reboot TK1 ,during boot process it hang on verbose !!!

The internal flash seems to be corrupted. Did you wait after uncompressing the files before rebooting the module? The command sync may help there too.

Best regards,
Jaski

Hi Jaski

i installed new L4T and forget to fix system clock according to your previous commendable help in this regard.

but when i wait after uncompressing and execute sync command after
tar -xzf modules.tar.gz -C / and then reboot TK1 but it hangs on verbose again!!

i am really disappointed and cant understand what is the problem because i followed exactly Toradex instructions !!!

Best Regards

I am afraid but I don’t know what went wrong. I did the same thing and it is working for me.

Best regards,
Jaski

Hi Jaski

During these 2 days i tested 3 methods to deploy kernel modules on TK1

1.direct copy via flash disk
2.upgrade rootfs.tar
3.via ssh and network

and all of them has same problem(hang on verbose after deploy kernel modules ) !!!

I have some questions that maybe a way will be found to solve my problem

is it necessary to update Easy-installer by cross compiled u-boot ,before installing new cross complied L4T kernel on TK1 ?
did you update Toradex prebuilt Easy-installer ? link text

There is Apalis-tk1.img file in L4T folder next to the rootfs and bootfs tar files which is it is also in the Easy-installer folder.
how can i convert generated u-boot-dtb-tegra.bin to Apalis-tk1.img to replace with old one?
at lost by replacing Apalis-tk1.img can i get rid of my main problem?(hang on verbose)

Best Regards

Maybe looking more closely at the following article on our developer website may help you?

i executed all steps of above article but in final steps when i deploy linux kernel modules on TK1 it hang on verbose!!!
it seems Toradex has a problem on deploying L4T kernel modules on TK1

Hi marcel

Forgive me first for judging a Toradex failure in deploying Linux kernel modules.
at lost i found my problem,
as long as my video capture card (vmx-200) is installed on the mini pci express and its driver deployed on Linux , verbose hang on following messages

   19.832373] mmc1: Timeout waiting for hardware interrupt.
[   19.839696] sdhci: =========== REGISTER DUMP (mmc1)===========
[   19.847390] sdhci: Sys addr: 0x00000000 | Version:  0x00000303
[   19.855056] sdhci: Blk size: 0x00007200 | Blk cnt:  0x00000000
[   19.862715] sdhci: Argument: 0x00000000 | Trn mode: 0x00000000
[   19.870355] sdhci: Present:  0x01fb0000 | Host ctl: 0x00000013
[   19.877991] sdhci: Power:    0x0000000d | Blk gap:  0x00000000
[   19.885630] sdhci: Wake-up:  0x00000000 | Clock:    0x00000007
[   19.893268] sdhci: Timeout:  0x0000000e | Int stat: 0x00000000
[   19.900897] sdhci: Int enab: 0x02ff000b | Sig enab: 0x02fc000b
[   19.908525] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[   19.916143] sdhci: Caps:     0x376fd080 | Caps_1:   0x10002f73
[   19.923762] sdhci: Cmd:      0x00000c1b | Max curr: 0x00000000
[   19.931384] sdhci: Host ctl2: 0x00003000
[   19.937086] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0xae842020
[   19.944700] sdhci: ===========================================
[   19.952307] mmc0: Timeout waiting for hardware interrupt.
[   19.959433] sdhci: =========== REGISTER DUMP (mmc0)===========
[   19.967013] sdhci: Sys addr: 0x00000000 | Version:  0x00000303
[   19.974599] sdhci: Blk size: 0x00007200 | Blk cnt:  0x00000000
[   19.982169] sdhci: Argument: 0x014c67c8 | Trn mode: 0x00000033
[   19.989728] sdhci: Present:  0x01fb00f0 | Host ctl: 0x00000031
[   19.997281] sdhci: Power:    0x0000000b | Blk gap:  0x00000000
[   20.004827] sdhci: Wake-up:  0x00000000 | Clock:    0x00000007
[   20.012356] sdhci: Timeout:  0x0000000e | Int stat: 0x00000000
[   20.019873] sdhci: Int enab: 0x02ff000b | Sig enab: 0x02fc000b
[   20.027363] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[   20.034855] sdhci: Caps:     0x376fd080 | Caps_1:   0x10002f77
[   20.042350] sdhci: Cmd:      0x0000123a | Max curr: 0x00000000
[   20.049826] sdhci: Host ctl2: 0x0000308b
[   20.055371] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0xae840020
[   20.062826] sdhci: ===========================================
[   30.820366] INFO: rcu_preempt self-detected stall on CPU[   30.822367] INFO: rcu_preempt detected stalls on CPUs/tasks:

but when i remove it from its place , L4T boot successfully
but now is there any way to fix this problem or not?
and if there is no way to fix it and i have to change my mini pci capture card , do you have a purchase offer that is compatible with L4T and TK1?

excuse me for everything
and send my greetings and apologies to Jaskaranjeet Singh

Best Regards

Hi @toradexvision

That’s OK. As I said I cannot do the test with the PCIe card as I don’t have the Hardware.

Regarding your question, We don’t have any information about a PCIe video capturing card which will work out of box with the SoM Apalis TK1.
I will try to compile this driver for the mainline kernel for TK1 and then you could try this new image with your PCIe and check whether this is software or hardware problem.

Best regards,
Jaski