Thanks @anon88919003
I was able to retrieve the files you suggested from the CoreElec 9.2.1 disk image I used to dd my SD card.
Mounted first partition with 512x8192 offset. # losetup -o 4194304 /dev/loop5 # mount /dev/loop5 /tmp/vdisk
The I copied “/tmp/vdisk/IMAGE” file outside the directory # cp /tmp/vdisk/IMAGE /tmp/
Unmounted disk iimage and released loop5 # umount /tmp/vdisk # losetup -d /dev/loop5 # umount /tmp/vdisk
Then unsquashed the filesystem IMAGE # cd /tmp/ && unsquash IMAGE
I obtained a new dir /tmp/squashfs-root
The files you I looked for are in
/tmp/squashfs-root/usr/bin/rtk_hciattach
/tmp/squashfs-root/usr/lib/kernel-overlays/base/lib/firmware/rtl_bt/rtl8723b_fw
/tmp/squashfs-root/usr/lib/kernel-overlays/base/lib/firmware/rtl8723b_config
The path is different than yours because in my case Im looking into the pre-boot system files.
So, as patch until next release, what about if I include that files in the squashed filesystem of 9.2.2 instead copying at boot?
Of course also masking 9.2.2 rtkbt-firmware-aml startup script and adding /bin/rtk_hciattach execution at startup …
@anon88919003 sounds good. Will it make it into the nightlies?
And yes I guess it is a bit of effort but s905x with 3gb ram is still perfect for Kodi no issues at all.
I’m not opposed to upgrading though but in this case I think it’s a fixable issue. Can you link the PR that reverts the change?
I haven’t had a chance to look yet busy ‘working’ at home during a pandemic with a kid running around but I’m sure it’s possible to make the build support both methods and choose at boot up which loader/firmware to use. If you link the PR or I track it down on GitHub I’ll have a look.
@adamg Uh? Did you already done the job?
But how it is possible to patch an already upgraded 9.2.2 system from github?
Maybe I’m good to un-squash and re-squash filesystem, but I’m a disaster in pull’n’roll projects from GitHub
Can someone help me with a little step-by-step how-to?
@anon88919003 k will do that tomorrow (Tuesday) on a spare box. I’ll pm you when done. I presume you don’t need outbound internet access and being able to ssh in and scp files will be all you require?
@anon88919003 K sorry about that, I have a 2 1/2 year old at home so between working from home and running the day care I have little free time. Thanks for looking into and thanks to ’
other user!’.