usual user
-
Posts
164 -
Joined
-
Last visited
Everything posted by usual user
-
The Nanopi Neo Air seems to support an OTG USB port. So you are looking for the USB gadget framework. Because you are too inaccurate which peripheral protocol you want to use, you may start here.
-
2 OPiPC+'s, same /boot, different results
usual user replied to laurentppol's topic in Allwinner H2 & H3
U-boot and its components usually reside in the not allocated space of the partition table between MBR and the 1th partition. What tool you use to put it in the proper location does not really matter. I prefer to learn what the specific parameters of the desired device are and use dd. It always works the same way and I don't have to rely on tools where I don't know what they're really doing. But perhaps someone who knows Armbian better can tell you what is the preferred way in your environment. -
2 OPiPC+'s, same /boot, different results
usual user replied to laurentppol's topic in Allwinner H2 & H3
You don't say anything about the used u-boot and its configuration. U-boot performs the basic system initialization, so a different u-boot setup can lead to such behavior. The Kernel initialization is based on the initial u-boot setup. -
If I interpret the schematics correctly, all LEDs are hardwired to power rails or SATA controller. So there is no way to change the functionality via software. The only way to get your desired functionality is to add an additional LED via GPIO pin and apply proper DT configuration.
-
RockPi 4B external RTC
usual user replied to Marko Buršič's topic in Common issues / peer to peer technical support
As you are rebuilding the kernel anyway, set the DS1307 option to "build in" (y) and the onboard RTC option to "module" (m). This way the DS1307 gets initialized as early as possible (rtc0) and the onbord RTC is still available as rtc1 if the module is loaded. No further modification for rootfs is required. -
Oh, this reminds me uboot has a support problem with keyboard on the OTG USB port. Try the other one, should be the lower one. The timeout is in 1/10sec, i.e. timeout 100 == 10 seconds. It is not really good news. It confirms my initial suspicion that the boot.scr magic is the culprit. Looking in the boot.src shows even a hard coded quadcore DTB name without counterpart for Solo/DualLite. I don't have much interest at legacy boot.scr, so I've reached a point where I can't help much anymore. The armbian boot.scr maintainer has now to jump in to find out how to fix this. If this doesn't happen, you are already an advanced distro-boot user and can keep using it. At least we have narrowed down what has to be fixed.
-
OK, this confirms the boot.src magic is really not working. To rule out my kernel command line modification did the trick, fire up your favorite editor and modify the parameters in extlinux.conf. Or alternatively replace your extlinux.conf by the attached one. There I added a second boot stanza that boots with the same kernel command line parameters as boot.scr. Additionally in the first stanza I have reset the kernel loglevel like the one it is used by boot.scr. This will present the black screen a little longer as no kernel logging will be presented but the boot time should stay the same. No one wants log output cause it could help identifying issues . Last but not least I increased the "Enter choice:"-timeout to give you some more time for your reaction. After the timeout the first stanza is chosen automatically. Boot the image and at the "Enter choice:"-prompt type the "2" and "ENTER" keys to select the boot stanza with the boot.src kernel command-line parameters. If this boots for you then the influence of kernel command line parameters can be excluded. If the boot.scr method had worked, the boot behavior would have been the exact same as with distro-boot now. It is due to the boot scheme that armbian uses. Generic Fedora uses a similar one, you can see it if you choose the second boot stanza when booting. But you need to be fast because the "Enter Choice:" timeout is only two seconds there. For a little more background start reading here. This is because the existence of /boot/extlinux/extlinux.conf changes the boot method to distro-boot and boot.scr is no longer taken into account. For distro-boot only the kernel, the DTB and an optional initramfs is required. Only your Preferred Editor is required for administration, as extlinux.conf is just a plain text file. No tinkering with special uboot tools. This isn't a workaround it is simply a different boot method with uboot. extlinux.conf
-
Huch!! What have I done? I had not expected this would lead to a working system. My intention was to only increase the loglevel. Anyway, let's recap what I have modified. - Switched from legacy boot.scr to distro-boot (extlinux.conf) as the boot feedback is more informative - Increased the kernel loglevel to 7 - Used PARTUUID as root partition identifier - Enabled instant fbcon activation - Revised some boot parameters The black periods are probably due to the performence of the single core SOC while the initramdisk is loaded or the kernel is initialized. I don't think the kernel command line modifications make much difference. My main suspicion is that the boot.scr magic is the culprit and the change to distro-boot makes the difference. Have you waited long enough with the unchanged image to boot, as the black period would be quite long without log feedback? We can now take back one change after another to identify what the real difference is. Offtopic: quote "PS2: with a remote login a lxqt from my Ubuntu laptop, I have a normal QWERTY setup." Out of interest does the lxqt desktop not working on the local cubox-i display? You'll probably have to wait quite a while because a single core SOC takes a while to load everything.
-
OK, Armbian_20.02.7_Cubox-i_bionic_current_5.4.28_desktop.7z downloaded and played a little with it on my quadcore cubox-i. It is working for me like as for igor. As logging is suppressed as much as possible let's try to increase it in a next step. To do this create in the boot directory a new directory named "extlinux" and copy the attached extlinux.conf file in. Boot the image and report the logging. This is a "WARNING: CPU: 0 PID: 1 at arch/arm/mm/dump.c:248 note_page+0x160/0x324 arm/mm: Found insecure W+X mapping at address 0xe0839000". I also get it since some time with recent kernels but was to lazy to track it down and it seem to do no harm. extlinux.conf
-
Yes. The image is based on stock Fedora Minimal with some additional packages installed, some cubox-i optimizing configurations applied and some personal preferences set up. It is showcasing what is possible with pure mainline to my knowledge. This confirms Mainline works as expected if it is configured properly. No workarounds like forcing a specific DTB are required. Provide the exact Armbian image name you want to make working, so I am able to take a look what is may be missing. Also please start up Fedora again and attach the file of "dmesg > dmesg.txt" to your next post.
-
So, for a quick test I uploaded an image that is configured for cubox-i here. Put it on a microSD with "xz -dcv Fedora-Minimal-armhfp-31-1.9-trial.raw.xz > /dev/sdX" "/dev/sdX" has to be replaced by the device where the microSD resides while the transfer. When it works for you properly I know pure mainline support is working and we can start to figure what is missing for armbian.
-
I'm a long time Fedora cubox-i user and all support is basically in mainline available. Out of curiosity I'm wondering why it is not working for debian derived userspace also. As I do not have a single core device, are you interested to try a Fedora image to see if it is working for you? If it is working we may be able to work out what is missing for armbian. You just need to know how to manage files in the rootfs and modify configuration files with your favorite editor. I.e. basic linux knowledge.
-
Single Armbian image for RK + AML + AW (aarch64 ARMv8)
usual user replied to balbes150's topic in TV Boxes's General Chat
That was what I am looking for to see if zero copy will work. But 0001-avutil-add-av_buffer_pool_flush.patch 0002-Add-common-V4L2-request-API-code.patch 0003-Add-V4L2-request-API-mpeg2-hwaccel.patch 0004-Add-V4L2-request-API-h264-hwaccel.patch 0005-Add-V4L2-request-API-hevc-hwaccel.patch 0006-Add-V4L2-request-API-vp8-hwaccel.patch 0007-Add-and-use-private-linux-headers-for-V4L2-request-A.patch 0008-hwcontext_drm-do-not-require-drm-device.patch 0009-avcodec-h264-parse-idr_pic_id.patch 0010-avcodec-h264-parse-ref_pic_marking_size_in_bits-and-.patch 0011-HACK-add-dpb-flags-for-reference-usage-and-field-pic.patch 0012-WIP-v4l2-request-rolling-timestamps.patch do not apply cleanly against current master: and the build fails later on with an error. I guess at least a rebase is required. Oh, by the way, it is "--enable-libudev". "--enable-udev" fails as unknown. -
Single Armbian image for RK + AML + AW (aarch64 ARMv8)
usual user replied to balbes150's topic in TV Boxes's General Chat
According to the commit log there should be much more, e.g. see here. Better check with "v4l2-ctl --device=/dev/videoX --all". X has to be replaced by the proper number. Oh, wait, now you're talking about encoding, whereas before it was about decoding. -
Single Armbian image for RK + AML + AW (aarch64 ARMv8)
usual user replied to balbes150's topic in TV Boxes's General Chat
For all mainline v4l2 supported devices hardware accelerated video pipelines already work with the gstreamer1 framework. I.e. using a gstreamer based media player will make use of v4l2 codecs and other components like e.g scalers. The mainline ffmpeg unfortunately does not have full v4l2 support so far. There is this patch set where several patches already landed in ffmpeg master but some have still comments and don't apply any longer cleanly. Thus, all user space programs that rely on ffmpeg codec support will not be able to use the v4l2 hardware acceleration correctly. In SOC world the GPU is usually not much involved at video pipelines. GPU's are for graphic acceleration while VPU's are the video accelerators. And those ones are nowadays exposed by mainline kernel via v4l2 with dmabuf support for zero copy. -
Problem configuring CUPS
usual user replied to mc510's topic in Common issues / peer to peer technical support
OK, now that you described your network topology in more detail it is obvious what is going on. Your router does not connect the WiFi and Ethernet segment in bridged mode but handles them as two separate segments where routing takes place and firewall rules get applied. Ports for service discovery (mdns) and LPR (printer) seem to be enabled already but for ipp-everywere or aiprint (ipp) are not. With all properly setup and cups-browsed from the cups-filters package running there should be no user intervention be required to add the printer. cups-browsed will discover it, setup a suitable queue and in applications it will show up as printer to use. -
Problem configuring CUPS
usual user replied to mc510's topic in Common issues / peer to peer technical support
Now you know you have a proper working CUPS. As hubs, switches or bridges usually do not apply any firewall rules if the devices are in the same network segment, there is nothing you should blame your router for. Having *no* print spool service on a device is quite common and rightfully a firewall does not open any ports for any specific print communication by default. Service discovery has primary nothing to do with print protocols. It is e.g. done by zero-conf (avahi) using different ports. And as it is being used by several services it is quite common a firewall has the involved ports open by default. To check if the firewall on the OPi is the culprit, temporary disable it entirely and try printing via network again. -
Problem configuring CUPS
usual user replied to mc510's topic in Common issues / peer to peer technical support
As can be seen from the log (Executing backend \"/usr/lib/cups/backend/dnssd\"...) the cups backend is been started over and over again without succeeding in transfer any data to the printer. Maybe e.g. some firewall rules or something else network related is not setup properly. To approve this, connect the printer via USB and check if printing is working then. -
Problem configuring CUPS
usual user replied to mc510's topic in Common issues / peer to peer technical support
First step would be to enable "Save debugging information for troubleshooting" in the administration tab and inspect the log files. -
Cubox-i does not boot anymore after power shutdown
usual user replied to Aoz's topic in Board doesn't start
Does the image provided ---there---, put on a separate microSD with "xz -dcv Fedora-Minimal-armhfp-31-1.9-trial.raw.xz > /dev/sdX", boot for you properly? "/dev/sdX" has to be replaced by the device where the separate microSD resides while the transfer. -
SoCs for multiple streams transcoding
usual user replied to k0los's topic in TV Boxes's General Chat
Screenshot while transcode pipeline is running on the HummingBoard-i2-i-MX6-Dual-Lite. See conky panel for performance values. -
SoCs for multiple streams transcoding
usual user replied to k0los's topic in TV Boxes's General Chat
https://linuxtv.org/irc/irclogger_log/v4l?date=2019-11-01,Fri&sel=38#l34 \o/ -
SoCs for multiple streams transcoding
usual user replied to k0los's topic in TV Boxes's General Chat
If I looked this up correctly from the i.MX 6Solo/6DualLite Applications Processor Reference Manual the VPU has this specs: HW Decoder: H.264 Profile: BP/CBP/MP/HP Resolution: 1080 i/p, 30 fps Bitrate: 50 Mbps HW Encoder: H.264 Profile: BP/CBP Resolution: 1080p, 30 fps Bitrate: 14 Mbps As the VPU is a dedicated IP the number of CPU cores does not matter for the codec performance and 1gb should suffice to provide the required buffer allocations for the intermediate frames. Just composed my first transcode pipeline, see transcode-pipeline.pdf for reference. I do not really know what I am doing (google was my friend) and there are so much knobs for configuration and fine tuning so YMMV. transcode-pipeline.pdf -
SoCs for multiple streams transcoding
usual user replied to k0los's topic in TV Boxes's General Chat
As the mentioned features are properties of the SoC it does not realy matter at which device the i.MX6 resides. Chose what fits your needs. As already stated to have all features out the box you need at least kernel 5.4.0-rc1. The rootfs distribution does not really matter as long as it provides software of the latest mainline releases. I tinker with cubox-i and hummingboard and as I wanted all bells and whistles I chose the quad variant with 2GB ram for me. This is working for me since round about fedora 26. OK, in the early days many of early adopter patches were required. But nowadays only proper configuration is necessary.
