root@et10000:~# cat /proc/stb/info/chipset
bcm7425
root@et10000:~#
Also shown in the information screen
chip.jpg
root@et10000:~# cat /proc/stb/info/chipset
bcm7425
root@et10000:~#
Also shown in the information screen
chip.jpg
Xtrend ET10K, 2 x satellite tuners 28.2 (Sky FTA), 2 x hybrid (UK Freeview), Zgemma H9S (satellite)
twol (19-04-24)
Tested my own build of the aio-grab with Broadcom CHIPSET 7424 SoC BCM7425
Still broken for me with just time flag, but it is fixed for me with this aio-grab bitbake. Must be one of the other flags or combination?
Code:DESCRIPTION="AiO screenshot grabber" MAINTAINER = "PLi team" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" DEPENDS = "jpeg libpng zlib" inherit gitpkgv TARGET_CC_ARCH:remove = "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64" PV = "1.0+git" PKGV = "1.0+git${GITPKGV}" SRC_URI="git://github.com/oe-alliance/aio-grab.git;protocol=https;branch=master" S = "${WORKDIR}/git" inherit autotools pkgconfig
Last edited by LraiZer; 19-04-24 at 17:01.
twol (19-04-24)
Gigablue Quad 4K & UE 4K
.........FBC Tuners:
------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
.......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
Zgemma H9 C/S into Giga4K
Gigablue Quad 4K & UE 4K
.........FBC Tuners:
------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
.......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
Zgemma H9 C/S into Giga4K
Gigablue Quad 4K & UE 4K
.........FBC Tuners:
------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
.......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
Zgemma H9 C/S into Giga4K
For me, it does not build with the other two flags on their own.. but passes without issue when just time flag or all other three flags are present. there is a warning that you need to add an additional INSANE_SKIP to the bitbake, as it is now uses the 32bit-time api and not the 64bit api from the build.
-D_TIME_BITS=64
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64
WARNING: aio-grab-1.0+git-r0 do_package_qa: QA Issue: /usr/bin/grab uses 32-bit api 'ioctl'
Suppress with INSANE_SKIP = "32bit-time" [32bit-time]
twol (19-04-24)
Yes. Those have been the flags for 64-bit file size on 32-bit system for ~20 years. (64-bit systems don't need them, but adding them causes no problem, as it only sets what is already set).
Omitting them doesn't cause a problem unless you try to access a file >2GB, which aio-grab won't be doing.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
It only uses struct timeval (the presumed culprit) if __sh__ is defined.
Might explain why my et8000 (also 32-bit, but defines __mips__ ) doesn't suffer this.
Last edited by birdman; 19-04-24 at 18:22.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
Gigablue Quad 4K & UE 4K
.........FBC Tuners:
------------------> GT-Sat unicable LNB to 1.5M dish(28.2E)
------------------> Gigablue unicable LNB to 80 cm dish(19.2E)
.......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using unicable ports
Zgemma H9 C/S into Giga4K
yes, largefile flag is not required, but 64 bit file offset flag is, and this must be used with 64 time bits flag so a minimum working bitbake file would have to contain at least these two line additions:
Code:TARGET_CC_ARCH:remove = "-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64" INSANE_SKIP = "32bit-time"Code:DESCRIPTION="AiO screenshot grabber" MAINTAINER = "PLi team" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" DEPENDS = "jpeg libpng zlib" inherit gitpkgv TARGET_CC_ARCH:remove = "-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64" INSANE_SKIP = "32bit-time" PV = "1.0+git" PKGV = "1.0+git${GITPKGV}" SRC_URI="git://github.com/oe-alliance/aio-grab.git;protocol=https;branch=master" S = "${WORKDIR}/git" inherit autotools pkgconfig
twol (19-04-24)
You might already have 64bit time_t by default (my Linux systems do). Similarly with 64-bit file offsets.
I suspect that setting them when they would be set anyway isn't a problem, but I reckon this should only be set when it needs to be.
My Vix box (et8000) doesn't have 64-bit time, so I wouldn't want it hardcoded into its build.
Last edited by birdman; 20-04-24 at 12:41.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
Ah, I see.
It's just saying, "Please set thing up to use the 64-bit time API". Just as -D_FILE_OFFSET_BITS=64 says, "Use the 64-bit file-system API".
But then you have to wonder why it's needed at all.
On a 32-bit system using the 32-bit file-system API is only a problem if you try to access a file >2GB (or an inode...).
So why is using the the 32-bit time API a problem? We haven't reached 2038 yet.
MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD
I was only trying to remove the -D_FILE_OFFSET_BITS=64 flag here so that the call to mmap64 is automatically redirected back to mmap() which works.
If all the other boxes are working and you want to try fixing it for just mips32 to extend their life by 14 years?
Code:DESCRIPTION="AiO screenshot grabber" MAINTAINER = "PLi team" LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe" DEPENDS = "jpeg libpng zlib" inherit gitpkgv TARGET_CC_ARCH:remove = "${@bb.utils.contains('TUNE_FEATURES', 'mips32', '-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64' , '', d)}" INSANE_SKIP = "${@bb.utils.contains('TUNE_FEATURES', 'mips32', '32bit-time' , '', d)}" PV = "1.0+git" PKGV = "1.0+git${GITPKGV}" SRC_URI="git://github.com/oe-alliance/aio-grab.git;protocol=https;branch=master" S = "${WORKDIR}/git" inherit autotools pkgconfig