Posts by HiassofT
-
-
Which tftp server are you using, is it by chance the netkit one ("tftpd" package in debian/raspbian)? If yes, don't use it, it doesn't work (just tested that here locally) and even the package description warns that it has issues:
Codehias@camel2:~$ apt-cache show tftpd ... Warning: Does not support 'tsize', which is required by some tftp clients, especially PXE, and various other network boot clients. For those, use atftpd or tftpd-hpa. ...Both atftpd (which I usually use) and tftpd-hpa work fine here.
so long,
Hias
-
Hmm, I use the same bootloader version but with a flat layout (firmware etc in TFTP root) it looks very different. I see one request to SERIAL/start4.elf and another one to SERIAL/start.elf, then bootloader falls back to root:
Code
Display MoreJul 1 16:09:01 camel2 atftpd[10722]: Serving 8eb25f41/start4.elf to 192.168.1.70:26574 Jul 1 16:09:01 camel2 atftpd[10722]: File /wd/srv/tftp-flat/8eb25f41/start4.elf not found Jul 1 16:09:01 camel2 atftpd[10722]: Serving 8eb25f41/start.elf to 192.168.1.70:26575 Jul 1 16:09:01 camel2 atftpd[10722]: File /wd/srv/tftp-flat/8eb25f41/start.elf not found Jul 1 16:09:01 camel2 atftpd[10722]: Serving config.txt to 192.168.1.70:26576 Jul 1 16:09:01 camel2 atftpd[10722]: Serving vl805.sig to 192.168.1.70:26577 Jul 1 16:09:01 camel2 atftpd[10722]: File /wd/srv/tftp-flat/vl805.sig not found Jul 1 16:09:01 camel2 atftpd[10722]: Serving pieeprom.sig to 192.168.1.70:26578 Jul 1 16:09:01 camel2 atftpd[10722]: File /wd/srv/tftp-flat/pieeprom.sig not found Jul 1 16:09:01 camel2 atftpd[10722]: Serving recover4.elf to 192.168.1.70:26579 Jul 1 16:09:01 camel2 atftpd[10722]: File /wd/srv/tftp-flat/recover4.elf not found Jul 1 16:09:01 camel2 atftpd[10722]: Serving recovery.elf to 192.168.1.70:26580 Jul 1 16:09:01 camel2 atftpd[10722]: File /wd/srv/tftp-flat/recovery.elf not found Jul 1 16:09:01 camel2 atftpd[10722]: Serving start4.elf to 192.168.1.70:26581 Jul 1 16:09:01 camel2 atftpd[10722]: File /wd/srv/tftp-flat/start4.elf not found Jul 1 16:09:01 camel2 atftpd[10722]: Serving start.elf to 192.168.1.70:26582 Jul 1 16:09:02 camel2 atftpd[10722]: Serving fixup.dat to 192.168.1.70:26583 Jul 1 16:09:04 camel2 atftpd[10722]: Serving recovery.elf to 192.168.1.70:49153 Jul 1 16:09:04 camel2 atftpd[10722]: File /wd/srv/tftp-flat/recovery.elf not found Jul 1 16:09:04 camel2 atftpd[10722]: Serving config.txt to 192.168.1.70:49154 Jul 1 16:09:04 camel2 atftpd[10722]: Serving config.txt to 192.168.1.70:49155 Jul 1 16:09:04 camel2 atftpd[10722]: Serving distroconfig.txt to 192.168.1.70:49156 Jul 1 16:09:04 camel2 atftpd[10722]: Serving distroconfig.txt to 192.168.1.70:49157 ...Your log however shows SERIAL/start4.elf requests repeating in 2 second intervals - and tftpd serving it (?)
Might be worth digging into the tftp config/setup, something seems to be odd there (maybe permissions or timeouts).
For reference here's my bootloader config (basically default settings, except for boot uart and order)
Code
Display MoreLibreELEC:~ # rpi-eeprom-config [all] BOOT_UART=1 WAKE_ON_GPIO=1 POWER_OFF_ON_HALT=0 DHCP_TIMEOUT=45000 DHCP_REQ_TIMEOUT=4000 TFTP_FILE_TIMEOUT=30000 ENABLE_SELF_UPDATE=1 DISABLE_HDMI=0 SD_BOOT_MAX_RETRIES=1 USB_MSD_BOOT_MAX_RETRIES=1 BOOT_ORDER=0xf21so long,
Hias
-
And I guess the old MMAL stuff can't be repurposed because of the new video pipeline stuff ?
Yes, exactly.
so long,
Hias
-
Unfortunately the kodi crash logs are again empty and the other ones don't show you playing a file.
It looks though that mount.ntfs triggered the OOM killer - which makes me guess you played the video from an NTFS formatted USB drive. Can you try if copying the video to SD card and playing from there works?
so long,
Hias
-
How is h.264 1080i interlaced support now? (I use a lot of my Pi 4Bs as DVB-T2/S2 UK TV Headend clients)
No change in that area. We discussed that a while ago, but adding software deinterlacing to the drmprime render chain in kodi is quite tricky...
so long,
Hias
-
How did you populate the TFTP directory?
In general copying all files from the FAT partition of the SD card should just work (after adjusting cmdline.txt). If you populated it from the contents of the tarball you'll need to rename KERNEL to kernel.img.
Netbooting LE10 on RPi4s is working fine here, I've been doing that for a while now for easy development testing.
I chose to organize TFTP and NFS directories using the RPi4 serial number at the top level, RPi4 firmware looks there first when TFTP-booting (and then falls back to TFTP root dir). This makes it easy to serve different (LE) versions to different RPis and the LE init script also supports that quite well, it substitutes "@UID@" in boot/disk with the serial - so I can use an identical cmdline.txt for all installations. The relevant part of cmdline.txt looks like this here:
Codeip=dhcp boot=NFS=192.168.1.20:/wd/srv/tftp/@UID@ disk=NFS=192.168.1.20:/wd/srv/le-storage/@UID@TFTP root directory (I'm using atftpd here) is /wd/srv/tftp and /wd/srv is exported via NFS, and my DHCP server announces the TFTP server via option 66 (tftp in dnsmasq) in DHCP replies.
Check your tftp logs, also for missing files. For reference here's the tftp log output from a boot here:
Code
Display Moreatftpd[2270]: Serving 8eb25f41/start4.elf to 192.168.1.70:7088 atftpd[2270]: File /wd/srv/tftp/8eb25f41/start4.elf not found atftpd[2270]: Serving 8eb25f41/start.elf to 192.168.1.70:7089 atftpd[2270]: Serving 8eb25f41/config.txt to 192.168.1.70:7090 atftpd[2270]: Serving 8eb25f41/vl805.sig to 192.168.1.70:7091 atftpd[2270]: File /wd/srv/tftp/8eb25f41/vl805.sig not found atftpd[2270]: Serving 8eb25f41/pieeprom.sig to 192.168.1.70:7092 atftpd[2270]: File /wd/srv/tftp/8eb25f41/pieeprom.sig not found atftpd[2270]: Serving 8eb25f41/recover4.elf to 192.168.1.70:7093 atftpd[2270]: File /wd/srv/tftp/8eb25f41/recover4.elf not found atftpd[2270]: Serving 8eb25f41/recovery.elf to 192.168.1.70:7094 atftpd[2270]: File /wd/srv/tftp/8eb25f41/recovery.elf not found atftpd[2270]: Serving 8eb25f41/start4.elf to 192.168.1.70:7095 atftpd[2270]: File /wd/srv/tftp/8eb25f41/start4.elf not found atftpd[2270]: Serving 8eb25f41/start.elf to 192.168.1.70:7096 atftpd[2270]: Serving 8eb25f41/fixup.dat to 192.168.1.70:7097 atftpd[2270]: Serving 8eb25f41/recovery.elf to 192.168.1.70:49153 atftpd[2270]: File /wd/srv/tftp/8eb25f41/recovery.elf not found atftpd[2270]: Serving 8eb25f41/config.txt to 192.168.1.70:49154 atftpd[2270]: Serving 8eb25f41/config.txt to 192.168.1.70:49155 atftpd[2270]: Serving 8eb25f41/distroconfig.txt to 192.168.1.70:49156 atftpd[2270]: Serving 8eb25f41/distroconfig.txt to 192.168.1.70:49157 atftpd[2270]: Serving 8eb25f41/dt-blob.bin to 192.168.1.70:49158 atftpd[2270]: File /wd/srv/tftp/8eb25f41/dt-blob.bin not found atftpd[2270]: Serving 8eb25f41/recovery.elf to 192.168.1.70:49159 atftpd[2270]: File /wd/srv/tftp/8eb25f41/recovery.elf not found atftpd[2270]: Serving 8eb25f41/config.txt to 192.168.1.70:49160 atftpd[2270]: Serving 8eb25f41/config.txt to 192.168.1.70:49161 atftpd[2270]: Serving 8eb25f41/distroconfig.txt to 192.168.1.70:49162 atftpd[2270]: Serving 8eb25f41/distroconfig.txt to 192.168.1.70:49163 atftpd[2270]: Serving 8eb25f41/bootcfg.txt to 192.168.1.70:49164 atftpd[2270]: File /wd/srv/tftp/8eb25f41/bootcfg.txt not found atftpd[2270]: Serving 8eb25f41/edid.cpio to 192.168.1.70:49165 atftpd[2270]: Serving 8eb25f41/edid.cpio to 192.168.1.70:49166 atftpd[2270]: Serving 8eb25f41/bcm2711-rpi-4-b.dtb to 192.168.1.70:49167 atftpd[2270]: Serving 8eb25f41/bcm2711-rpi-4-b.dtb to 192.168.1.70:49168 atftpd[2270]: Serving 8eb25f41/overlays/overlay_map.dtb to 192.168.1.70:49169 atftpd[2270]: Serving 8eb25f41/overlays/overlay_map.dtb to 192.168.1.70:49170 atftpd[2270]: Serving 8eb25f41/config.txt to 192.168.1.70:49171 atftpd[2270]: Serving 8eb25f41/config.txt to 192.168.1.70:49172 atftpd[2270]: Serving 8eb25f41/distroconfig.txt to 192.168.1.70:49173 atftpd[2270]: Serving 8eb25f41/distroconfig.txt to 192.168.1.70:49174 atftpd[2270]: Serving 8eb25f41/overlays/vc4-kms-v3d-pi4.dtbo to 192.168.1.70:49175 atftpd[2270]: Serving 8eb25f41/overlays/vc4-kms-v3d-pi4.dtbo to 192.168.1.70:49176 atftpd[2270]: Serving 8eb25f41/overlays/rpivid-v4l2.dtbo to 192.168.1.70:49177 atftpd[2270]: Serving 8eb25f41/overlays/rpivid-v4l2.dtbo to 192.168.1.70:49178 atftpd[2270]: Serving 8eb25f41/overlays/disable-bt.dtbo to 192.168.1.70:49179 atftpd[2270]: Serving 8eb25f41/overlays/disable-bt.dtbo to 192.168.1.70:49180 atftpd[2270]: Serving 8eb25f41/overlays/disable-wifi.dtbo to 192.168.1.70:49181 atftpd[2270]: Serving 8eb25f41/overlays/disable-wifi.dtbo to 192.168.1.70:49182 atftpd[2270]: Serving 8eb25f41/overlays/gpio-ir.dtbo to 192.168.1.70:49183 atftpd[2270]: Serving 8eb25f41/overlays/gpio-ir.dtbo to 192.168.1.70:49184 atftpd[2270]: Serving 8eb25f41/cmdline.txt to 192.168.1.70:49185 atftpd[2270]: Serving 8eb25f41/cmdline.txt to 192.168.1.70:49186 atftpd[2270]: Serving 8eb25f41/recovery8.img to 192.168.1.70:49187 atftpd[2270]: File /wd/srv/tftp/8eb25f41/recovery8.img not found atftpd[2270]: Serving 8eb25f41/recovery8-32.img to 192.168.1.70:49188 atftpd[2270]: File /wd/srv/tftp/8eb25f41/recovery8-32.img not found atftpd[2270]: Serving 8eb25f41/recovery7l.img to 192.168.1.70:49189 atftpd[2270]: File /wd/srv/tftp/8eb25f41/recovery7l.img not found atftpd[2270]: Serving 8eb25f41/recovery7.img to 192.168.1.70:49190 atftpd[2270]: File /wd/srv/tftp/8eb25f41/recovery7.img not found atftpd[2270]: Serving 8eb25f41/recovery.img to 192.168.1.70:49191 atftpd[2270]: File /wd/srv/tftp/8eb25f41/recovery.img not found atftpd[2270]: Serving 8eb25f41/kernel8.img to 192.168.1.70:49192 atftpd[2270]: File /wd/srv/tftp/8eb25f41/kernel8.img not found atftpd[2270]: Serving 8eb25f41/kernel8-32.img to 192.168.1.70:49193 atftpd[2270]: File /wd/srv/tftp/8eb25f41/kernel8-32.img not found atftpd[2270]: Serving 8eb25f41/kernel7l.img to 192.168.1.70:49194 atftpd[2270]: File /wd/srv/tftp/8eb25f41/kernel7l.img not found atftpd[2270]: Serving 8eb25f41/kernel7.img to 192.168.1.70:49195 atftpd[2270]: File /wd/srv/tftp/8eb25f41/kernel7.img not found atftpd[2270]: Serving 8eb25f41/kernel.img to 192.168.1.70:49196 atftpd[2270]: Serving 8eb25f41/kernel.img to 192.168.1.70:49197 atftpd[2270]: Serving 8eb25f41/armstub8-32-gic.bin to 192.168.1.70:49198 atftpd[2270]: File /wd/srv/tftp/8eb25f41/armstub8-32-gic.bin not found atftpd[2270]: Serving 8eb25f41/kernel.img to 192.168.1.70:49199 atftpd[2270]: Serving 8eb25f41/kernel.img to 192.168.1.70:49200so long,
Hias
-
Hmm, journal shows that the out-of-memory-killer killed kodi, but there wasn't a kodi crash log file created. Very odd and also hard to tell what was happening there.
Can you try the latest nightly build (currently 20210630) from here Index of / ?
so long,
Hias
-
RPi4 doesn't need bootcode.bin or a SD card, everything's in the boot eeprom - just make sure it's up-to-date and network boot is enabled in BOOT_ORDER.
Copying the contents of the FAT partition on the SD card to a directory served via TFTP and NFS and creating a NFS share for the storage partition is enough - the bootloader in eeprom will fall back to start.elf if start4.elf can't be found.
so long,
Hias
-
Hias, thanks a lot!
However im wondering due to experimental status.
I hope, Beta 5is the last before LE 10

RPi4 code is still under heavy development, with new features and bugfixes coming in at a quite regular pace, so RPi4 builds should be considered stable-beta even if LE 10.0 final is released (as also announced in the blog posts).
The recent kernel update was quite a disruptive change, not only adding 4kp60 support but also switching the internal audio driver code, so any feedback on nightly builds is highly welcome. I'd expect future kernel changes to be far less disruptive, more focusing on ironing out remaining bugs.
so long,
Hias
-
4kp60 output isn't supported in any of the current beta versions up to and including beta 5 - enabling 4kp60 in config.txt results in "no signal" issues so you shouldn't do that.
It took quite a while to get 4kp60 working properly (the kernel driver change was quite involved) so I deliberately waited after the beta 5 release before adding it - there are probably still issues we missed so this needs some time testing in nightly builds.
So consider this a bit experimental.
so long,
Hias
-
-
No changes regarding 10/12-bit output yet, but we just merged a huge set of kernel and ffmpeg changes. They improve H265 decoding performance, fix a couple of H264 decoding issues and add 4kp60 output.
so long,
Hias
-
Please give the latest nightly build (currently 20210630) from here Index of / a try.
We just merged a bunch of ffmpeg and kernel fixes and your sample played fine here with that.
so long,
Hias
-
Keep GPU, CMA and buffer settings as they are, changing those is quite dangerous, rarely helps and most often results in non-working or unstable systems.
If kodi crashed you should have a kodi_crash.log file in /storage/.kodi/temp/ - please upload that (or just use the crash log upload function in LE settings).
The "new" log doesn't show you playing a video file, the "old" one shows you played a file with TrueHD audio. There are a couple of known issues with TrueHD in kodi, so try selecting a different audio stream (eg the AC3 one) and see if this works.
so long,
Hias
-
Oh, you could have saved yourself and us a lot of time if you had mentioned that you used an Argon case before - these cases seem to cause a lot of trouble... See eg this recent post: RE: LibreElec 9.95.4 on Raspberry Pi 4 with Argon One V2 case - HDMI problems
so long,
Hias
-
Yes, it is, but usually it manifests itself in tons of USB errors, disconnects/reconnects etc in dmesg - which does not seem to be the case here (journal was clean in that respect).
so long,
Hias
-
Thanks for the log! The only suspicious entries are these:
CodeFeb 02 15:29:49 LibreELEC udevil[707]: The disk contains an unclean file system (0, 1). Feb 02 15:29:49 LibreELEC udevil[707]: The file system wasn't safely closed on Windows. Fixing.Checking the filesystem of the NTFS drive on Windows might be worth a try - but the log doesn't contain any of the usual USB issues messages so not really sure what's happening there.
so long,
Hias