Thanks for getting back.
Still got an issue here.
root@raspberrypi:/usr/src# uname -a
Linux raspberrypi 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
root@raspberrypi:/usr/src# ls -l
total 182388
drwxr-xr-x 23 root root 4096 Jan 28 14:44 linux-headers-5.10.103+
drwxr-xr-x 23 root root 4096 Jan 28 14:44 linux-headers-5.10.103-v7+
drwxr-xr-x 23 root root 4096 Jan 28 14:44 linux-headers-5.10.103-v7l+
drwxrwxr-x 25 root root 4096 Aug 23 15:59 linux-rpi-5.10.y
-rw-r--r-- 1 root root 186746597 Jan 28 06:52 rpi-5.10.y.tar.gz
root@raspberrypi:/usr/src# git clone --depth=1
https://github.com/tbsdtv/linux_media.git -b latest ./media
fatal: destination path './media' already exists and is not an empty directory.
root@raspberrypi:/usr/src# rm -fr media
git clone --depth=1
https://github.com/tbsdtv/linux_media.git -b latest ./media
root@raspberrypi:/usr/src# git clone --depth=1
https://github.com/tbsdtv/linux_media.git -b latest ./media
Cloning into './media'...
remote: Enumerating objects: 80732, done.
remote: Counting objects: 100% (80732/80732), done.
remote: Compressing objects: 100% (76531/76531), done.
fatal: the remote end hung up unexpectedly.87 MiB | 25.00 KiB/s
fatal: early EOF
fatal: index-pack failed
root@raspberrypi:/usr/src#
root@raspberrypi:/usr/src# cd media_build
root@raspberrypi:/usr/src/media_build# make dir DIR=../media
make -C linux/ dir DIR="../../media"
make[1]: Entering directory '/usr/src/media_build/linux'
rm -rf drivers include sound mm .patches_applied .linked_dir .git_log.md5 git_log kernel_version.h
../../media does not contain kernel sources
/bin/sh: 1: exit: Illegal number: -1
make[1]:
* [Makefile:124: dir] Error 2
make[1]: Leaving directory '/usr/src/media_build/linux'
make:
* [Makefile:32: dir] Error 2
root@raspberrypi:/usr/src/media_build# make allyesconfig
make -C /usr/src/media_build/v4l allyesconfig
make[1]: Entering directory '/usr/src/media_build/v4l'
No version yet, using 5.10.103-v7+
make[2]: Entering directory '/usr/src/media_build/linux'
Applying patches for kernel 5.10.103-v7+
patch -s -f -N -p1 -i ../backports/api_version.patch
The text leading up to this was:
--------------------------
|diff --git a/drivers/media/cec/core/cec-api.c b/drivers/media/cec/core/cec-api.c
|index b6536bbad530..401ed65c834b 100644
|--- a/drivers/media/cec/core/cec-api.c
|+++ b/drivers/media/cec/core/cec-api.c
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/media/mc/mc-device.c b/drivers/media/mc/mc-device.c
|index 3bae24b15eaa..7f7cc64c637c 100644
|--- a/drivers/media/mc/mc-device.c
|+++ b/drivers/media/mc/mc-device.c
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
The text leading up to this was:
--------------------------
|diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c
|index 54afc9c7ee6e..4572a87acc0b 100644
|--- a/drivers/media/v4l2-core/v4l2-ioctl.c
|+++ b/drivers/media/v4l2-core/v4l2-ioctl.c
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
make[2]:
* [Makefile:133: apply_patches] Error 1
make[2]: Leaving directory '/usr/src/media_build/linux'
make[1]:
* [Makefile:375: allyesconfig] Error 2
make[1]: Leaving directory '/usr/src/media_build/v4l'
make:
* [Makefile:26: allyesconfig] Error 2
root@raspberrypi:/usr/src/media_build# make install
make -C /usr/src/media_build/v4l install
make[1]: Entering directory '/usr/src/media_build/v4l'
scripts/make_makefile.pl
Installing kernel modules under /lib/modules/5.10.103-v7+/updates/extra/media/:
/sbin/depmod -a 5.10.103-v7+
make -C firmware install
make[2]: Entering directory '/usr/src/media_build/v4l/firmware'
Installing firmwares at /lib/firmware:
make[2]: Leaving directory '/usr/src/media_build/v4l/firmware'
make[1]: Leaving directory '/usr/src/media_build/v4l'
root@raspberrypi:/usr/src/media_build# cd /lib/modules/5.10.103-v7+/updates/extra/media/
root@raspberrypi:/lib/modules/5.10.103-v7+/updates/extra/media# ls
root@raspberrypi:/lib/modules/5.10.103-v7+/updates/extra/media#