Search the Community
Showing results for 'tv'.
-
Booting armbian manually from u-boot shell over UART
SteeMan replied to user03's topic in Amlogic CPU Boxes
Armbian doesn't support TV Boxes, all Community Supported builds are given that description. Yes, per the instructions have you tried all the dtbs that might be relevant? In general, I'm not aware of any dtbs in mainline linux for the s905l3 cpu. I don't know what the closest might be. In general, due to lack of support by Amlogic, the efforts to support newer versions of their CPUs in mainline linux have essentially stopped. For example the project website that tracked progress on mainlining amlogic (https://linux-meson.com/mainlining.html) shows that efforts stopped around two years ago. Realistically only older amlogic cpus (i.e. cpus released at least 4 or more years ago) are going to be supported in mainline linux (and thus Armbian). And unfortunately I think the s905l3 falls into the newer category. -
Booting armbian manually from u-boot shell over UART
user03 replied to user03's topic in Amlogic CPU Boxes
Ok. I read the posts you showed me. First off, I thought this was a pretty straightforward process - installing armbian to these chinese tv boxes; so thank you for the hard truth - expect nothing to work:( Anyway, as I mentioned before, my main issue was that there is no reset button on this thing, so I had no idea how to get anything to boot, which commands, which script to run. So, thank you again for pointing me to the file. I entered the u-boot shell from uart, loaded the aml_autocript to 0x20000000 fatload usb 0:1 0x20000000 aml_autoscript and run it with autosrc 0x20000000 (the equivalent of source command I believe). It changed the bootloader, as the other post suggested, and now it boots to usb if present (haven't tried if it falls back to android, but I don't care about that anymore). I'm really glad it boots to linux, but the thing is it always ends in kernel panic before it even boots completely. I tried turning it off and on, but I always got a different kernel panic. Here are some of the logs (I posted only the kernel panic lines, and a few before - to keep the post short, but I can add some of the complete logs if necessary). Notice: after entering the kernel panic the device just hangs - no reset or action whatsoever. So I just disconnected power, and turned it on again. Another notice: the logs may actually be incomplete, because I already faced issues with uart not printing the whole text, but only the first 40-50 lines or so (example: output of the command help in the u-boot shell showed only half of them, and the last line shown looked half-printed). Dunno why this happens, maybe the RP2040 zero (which I'm using as the uart bridge adapter, running micropython script) is causing it, or something else. boot1: [ 11.642441] systemd[1]: Found device dev-disk-by\x2duuid-3563\x2d67BF.device - ProductCode armbi_boot. [ 11.657680] systemd[1]: Starting systemd-fsck@dev-disk-by\x2duuid-3563\x2d67BF.service - File System Check on /dev/disk/by-uuid/3563-67BF... [ 11.673727] systemd[1]: Starting systemd-networkd-persistent-stor[ 11.689172] [drm] Initialized simpledrm 1.0.0 for 7fe5b000.framebuffer[ 11.717710] Console: switching to colour frame buffer device 90x36 [ 11.731744] simple-framebuffer 7fe5b000.framebuffer: [drm] fb0: simpledrmdrmfb frame buffer device [ 11.835286] mc: Linux media interface: v0.10 [ 11.837173] Registered IR keymap rc-empty [ 11.852968] rc rc0: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0 [ 11.855991] rc rc0: lirc_dev: driver meson-ir registered at minor = 0, raw IR receiver, no transmitter [ 11.883334] input: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0/input0 [ 11.897040] rc rc0: sw decoder init [ 11.897461] meson-ir c8100580.ir: receiver initialized [ 11.923213] systemd[1]: Finished systemd-networkd-persistent-storage.service - Enable Persistent Storage in systemd-networkd. [ 11.959135] videodev: Linux video capture interface: v2.00 [ 12.038565] systemd[1]: Reached target usb-gadget.target - Hardware activated USB gadget. [ 12.122827] SError Interrupt on CPU3, code 0x00000000bf000002 -- SError [ 12.122857] CPU: 3 UID: 0 PID: 1158 Comm: (udev-worker) Tainted: G M 6.18.2-current-meson64 #1 PREEMPT [ 12.122869] Tainted: [M]=MACHINE_CHECK [ 12.122872] Hardware name: Amlogic Meson GXL (S905X) P212 Development Board (DT) [ 12.122878] pstate: 00000005 (nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 12.122885] pc : el00 [ 12.122973] x11: 0000000000000006 x10: ffff8000812e5a60 x9 : 1fffe000007108c1 [ 12.122983] x8 : 0000000000000001 x7 : ffff000003884600 x6 : ffff000003884608 [ 12.122993] x5 : ffff8000829eb6b0 x4 : 0000000000000025 x3 : 0000000000000021 [ 12.123002] x2 : 000000000000003b x1 : 0000000000000000 x0 : 0000000000000000 [ 12.123014] Kernel panic - not syncing: Asynchronou do_serror+0x3c/0x78 [ 12.123105] el1h_64_error_handler+0x34/0x50 [ 12.123114] el1h_64_error+0x6c/0x70 [ 12.123123] el1_abort+0x34/0x68 (P) [ 12.123130] el1h_64_sync_handler+0x50/0x104 [ 12.123138] el1h_64_sync+0x6c/0x70 [ 12.123145] lima_mmu_init+0x44/0x124 [lima] (P) [ 12.123186] lima_device_init+0x1ac/0x664 [lima] [ 12.123206] lima_pdev_probe+0xa4/do_init_module+0x58/0x23c [ 12.123364] load_module+0x1e78/0x1ed4 [ 12.123374] init_module_from_file+0x88/0xcc [ 12.123383] __arm64_sys_finit_module+0x1ec/0x300 [ 12.123393] invoke_syscall+0x48/0x10c [ 12.123408] el0_svc_common.constprop.0+0xc8/0xe8 [ 12.123418] do_el0_svc+0x20/0x2c [ 12.123428] el0_svc+0x34/0xf0 [ 12.123437] el0t_64_sync_handler+0xa0 boot2: [ 12.471539] Kernel panic - not syncing: Asynchel1h_64_error_handler+0x34/0x50 [ 12.471648] el1h_64_error+0x6c/0x70 [ 12.471656] el1_abort+0x34/0x68 (P) [ 12.471664] el1h_64_sync_handler+0x50/0x104 [ 12.471672] el1h_64_sync+0x6c/0x70 [ 12.471679] lima_mmu_init+0x44/0x124 [lima] (P) [ 12.471723] lima_device_init+0x1ac/0x664 [lima] [ 12.471744] lima_pdev_probe+0xa4/0x1bc [lima] [ 12.471764] platform1915] load_module+0x1e78/0x1ed4 [ 12.471924] init_module_from_file+0x88/0xcc [ 12.471934] __arm64_sys_finit_module+0x1ec/0x300 [ 12.471944] invoke_syscall+0x48/0x10c [ 12.471956] el0_svc_common.constprop.0+0xc8/0xe8 [ 12.471967] do_el0_svc+0x20/0x2c [ 12.471977] el0_svc+0x34/0xf0 [ 12.471988] el0t_64_sync_handler+0xa0/0xe4 [ 12.471996] el0t_64_sync+Traceback (most recent call last): boot3: [ 12.420984] Kernel panic - nx80 [ 12.421075] do_serror+0x3c/0x78 [ 12.421082] el1h_64_error_handler+0x34/0x50 [ 12.421091] el1h_64_error+0x6c/0x70 [ 12.421099] el1_abort+0x34/0x68 (P) [ 12.421107] el1h_64_sync_handler+0x50/0x104 [ 12.421115] el1h_64_sync+0x6c/0x70 [ 12.421121] lima_mmu_init+0x44/0x124 [lima] (P) [ 12.421165] lima_device_init+0x1ac/0x664 [lima] [ 12.421185] 0x200 [ 12.421335] do_init_module+0x58/0x23c [ 12.421348] load_module+0x1e78/0x1ed4 [ 12.421357] init_module_from_file+0x88/0xcc [ 12.421367] __arm64_sys_finit_module+0x1ec/0x300 [ 12.421376] invoke_syscall+0x48/0x10c [ 12.421388] el0_svc_common.constprop.0+0xc8/0xe8 [ 12.421399] do_el0_svc+0x20/0x2c [ 12.421409] el0_svc+0x34/0xf0 [ 12.421419] el0 boot4: [ 12.874949] SError Interrupt on CPU2, code 0x00000000bf000002 -- SError [ 12.874984] CPU: 2 UID: 0 PID: 1165 Comm: (udev-worker) Tainted: G M C 6.18.2-current-meson64 #1 PREEMPT [ 12.874999] Tainted: [M]=MACHINE_CHECK, [C]=CRAP [ 12.875003] Hardware name: 12.875086] x17: 0000000000000000 x16: ffff00000495fc00 x15: ffff000002098ea3 [ 12.875095] x14: 0000000000000001 x13: ffff000002098ea0 x12: ffff00000b244200 [ 12.875105] x11: 0000000000000006 x10: ffff8000812e5a60 x9 : 1fffe0000092e981 [ 12.875114] x8 : 0000000000000001 x7 : ffff000004974c00 x6 : ffff000004974c08 [ 12.875123] x5 : ffff800082a1b6b0 x4 : 0000000000000025 4 [ 12.875207] vpanic+0x320/0x364 [ 12.875215] nmi_panic+0x0/0x68 [ 12.875221] add_taint+0x0/0xbc [ 12.875227] arm64_serror_panic+0x70/0x80 [ 12.875235] do_serror+0x3c/0x78 [ 12.875242] el1h_64_error_handler+0x34/0x50 [ 12.875251] el1h_64_error+0x6c/0x70 [ 12.875260] el1_abort+0x34/0x68 (P) [ 12.875268] el1h_64_sync_handler+0x50/0x104 [ 12.875212.875453] __platform_driver_register+0x24/0x30 [ 12.875462] lima_platform_driver_init+0x20/0x1000 [lima] [ 12.875486] do_one_initcall+0x70/0x200 [ 12.875495] do_init_module+0x58/0x23c [ 12.875508] load_module+0x1e78/0x1ed4 [ 12.875516] init_module_from_file+0x88/0xcc [ 12.875526] __arm64_sys_finit_module+0x1ec/0x300 [ 12.875535] invoke_syscall+0x48/0x1 -
Booting armbian manually from u-boot shell over UART
SteeMan replied to user03's topic in Amlogic CPU Boxes
Specifically the file you want to look at is aml_autoscript What happens on a normal amlogic TV box is when the hidden reset button is pressed during boot, the boot loader looks for this file and runs it. This file then changes the stored uboot environment such that subsequent boots follow a new boot flow to boot first from sd or USB and fall back to android. If you follow the logic you can find the actual boot commands in the other files that get called. -
Booting armbian manually from u-boot shell over UART
SteeMan replied to user03's topic in Amlogic CPU Boxes
If you are trying to run an Armbian build, first check out: https://forum.armbian.com/topic/16976-status-of-armbian-on-tv-boxes-please-read-first And -
Armbian for H313 X96-Q LPDDR3 TV-Box
Maurizio Finesso replied to sicxnull's topic in Allwinner CPU Boxes
Hi @sicxnull @Nick A, as mentioned by @ventara X96Q vs 5.1 image of sicxnull has direct ethernet port and wireless working fine instead the Nick A 'Armbian-unofficial_25.05.0-trunk_X96q-ddr3-v5-1_bookworm_edge_6.12.11_xfce_desktop.img' has no ethernet or wifi working. I'm totally a newbie on these things, but thanks to the comunity I was able to use an mxq mini (S905X) working with Armbian and home assistant (of course i just used an image with armbian and after I load HA and tailscale. Now I would like to use the X96Q vs 5.1 for the other house. I know that the image of sicxnull works but I prefer to use Nick A. because armbian config as well most of the things are like the one on the other working tv box instead on the sicxnull image there is mate and a lot of commands or gui function are so different. I tried to understand what is different between the two images and github repository to be able to fix almost the ethernet port problem but I do not have enough acknowledge. My unix experience was with the AT&T unix system 5 and Solaris so very old OS and many years ago. Only now I'm coming back to unix world and I don't know anything about git, patch and so on. I read in a post that someone was able applying a patch but it is not clear to me how and where to apply patch, I have already installed Ubuntu in a Virtualbox and prepare everything to compile Armbian and tested that initial script start, ask me for board and other staff but after I stopped because I realized that I didn't understand what I'm doing. Probably with a standard sbc was easier. I promise that I will go ahead studying but it is hard and confused at the moment. If I can do something to help of course when I'm at home I will do it. Please, when you have free time give me some info on how to fix at least the direct ethernet port. armbianEnv.txt and boot.cmd looks same file. In both dtb folder there are same namefile.dtb include the 5.1 where armbianEnv point out but I don't know if they are same file in both distribution or are different? Wifi chip is the XR819 like I saw in other image with the v 5,1 Thanks for the great job you and the comunity are doing! -
Hello everyone, I’m trying to install Armbian on a TV box with an RK3328 SoC, but I’m running into several issues. Here’s what I’ve done so far and the information I have: Box model: dnetSmart-YSE, version 10 Chipset: RK3328 Kernel version: 4.4.179 PCB info: t9-RK3328-D4, ver 2.0.2018 Design by: Hugsun I followed the instructions I found on the forum to install Armbian, but it’s not working. I’ve tried several methods: Using the microSD card: I tried installing Armbian on a microSD card and booting it from the box's microSD port, but it didn’t work. Using a USB drive: I also tried booting from a USB drive plugged into one of the box’s USB ports, but without success. Connecting a male-to-male cable between my PC and the box: I couldn’t retrieve any information this way. Connecting an UART (FTDI): The result is unreadable on the terminal. I haven’t received any specific details from the manufacturer. I’ll attach some photos to help illustrate the situation. My goal is to figure out if it’s possible to install Armbian on this box and, if so, how to proceed. Thank you in advance for your help!
-
I solved the issue ! I flashed the latest armbian release raw image to the sdcard and plugged it in the TV box. It magically booted from the SDCard and now I have mmcblk2 as a block device. Now I can run armbian-install command to get everything going correctly.
-
mxq pro 4k 5g allwinner h313 can't sd card boot
Ducdanh Nguyen posted a topic in Allwinner CPU Boxes
(sorry for bad english) i'm looking to boot in an armbian bookworm by sicxnull on my mxq pro 4k 5g, i checked the aida64, it showed the allwinner h313, i tried the toothpick method to the recovery menu (which have a boot option?) i'm novice to android 😕 by the way here are the images of the tv box pcb: -
mxq pro 4k 5g allwinner h313 can't sd card boot
Ducdanh Nguyen replied to Ducdanh Nguyen's topic in Allwinner CPU Boxes
@Sergey LepeshkinThanks for the clarification. Could you please recommend a specific USB-to-UART (3.3V TTL) adapter model that you know works well with this TV box? A product name or chip (CP2102 / FT232RL / CH340, etc.) would be really helpful. -
So I need a create a cache server using a tv box for my activity this device your motherboard is a Rk3299 and for this i need pass to cryptography used in streaming services because my idea is a cache service for optimize my router when i watch my favorite series and movies finally how can i descrypt ( i think using squid for cache but i not sure)
-
Need help with video decode acceleration on NanoPi R6S
Blind55 replied to Blind55's topic in NanoPi R6S/R6C
Ok, as promised with a report. Current setup - NanoPi R6S - Armbian Debian trixie minimal edition, with Kernel 6.1.115 - LXQT (using X11) - Jellyfin (installed via Jellyfin website instructions, NOT using armbian-config as that sets up docker and then makes it more opaque to run it with external media) - firefox Results - Jellyfin, accessed via apps for various SmartTVs (Google Chromecast, Amazon TV, etc), runs super smooth with 4K videos, indicating functioning hardware decoding. NanoPi stays very cool even for 4K transcodes. - Firefox video playback has to, like @eselarm already said, resort to software decode. NanoPi is able to play smooth up to HD level videos in firefox, but it gets pretty hot. Comments I suppose that getting firefox hardware accelerated video decode is further out of reach now that ffmpeg has DMCA-taken-down the rockchip-mpp github repository...but what do I know. I am wondering if running LXQT with wayland would offer improvements, but I am not sure it's worth the effort. I am a relatively happy camper with this setup. -
https://forum.armbian.com/topic/16976-status-of-armbian-on-tv-boxes-please-read-first/#comment-199170
- 1 reply
-
1
-
Rom firmware allwinner h313 androidTV Board Q1-V3.0
Mark Urupa replied to Hélio Julio's topic in Allwinner CPU Boxes
Here is ukrainian forum with Android for this box: https://legione.name/upload/?dir=Smart-TV-Box/Q1/ Any chance to find linux for the same box? Android tv box q1 v3.0 Allwinner H313 If someone will find working version, please share -
mxq pro 4k 5g allwinner h313 can't sd card boot
Sergey Lepeshkin replied to Ducdanh Nguyen's topic in Allwinner CPU Boxes
As I said above, there is no usb otg functionality. If you want shell as ordinary user - install any app which allows access to shell (I'm using "Admin hands" in local shell mode) on your tv box. In this mode 'su' refuses to escalate privileges. If you want root access, you should connect using uart (see my messages above). You will get access to u-boot and android console. There you can execute 'su' and it will give you root privileges. -
I installed armbian on a micro sd to be able to install it on my Dq08 RK3528. The boot succeeded on the sd card perfectly. I wanted to install armbian on the memory of the box with "armbian-install" I followed the instructions I did the 2. and Then I did the 5. it ask me to poweroff and since it does not want to turn on or be recognized by my peripherals connected. I've tried rebooting from an sd but it doesn't work. But I tried on another box with the same sd and it worked. So I think the box is brick. I've decided to do the tutorial from the sellers on aliexpress with the usb to usb cable. With the av button, the software doesn't even recognise it. I don't know what to do now.
-
Hi all, I have this Amlogic S905x2 (ddr3l) android tv box which I'm trying to boot Armbian on. Firstly, I was having issue with the default bootloader always booting into android, no matter if I used the sd card or usb. So then I lifted the emmc chip, in hope that it will then choose to boot from the sd card. However, I failed to notice that BL2 is stored in the emmc, and as you guessed, I need BL2 to boot into linux. Now I've read that you can use USB burning tool to send and start BL2 from RAM. However, I've no idea what to do next and what file am I even supposed to send via the USB Burning tool. I would be very thankful for any assistance.
-
From what I know it isn't possible to boot without emmc on the amlogic TV boxes
-
Hi, I have an old Android 6 TV box that is slow (1GB ram), i think it's an S905 because it's the only kernel that can boot and its mainboard is a "gxbb p200" as I see on Aida64 : I just tried to boot the Armbian_community_24.8.0-trunk.139_Aml-s9xx-box_bookworm_current_6.6.33_minimal.img I flashed it on a 16GB microSD card on an SD card adapter. Then I added the line : FDT /dtb/amlogic/meson-gxbb-p200.dtb just after the lines label Armbian_community kernel /Image initrd /uInitrd fdtdir /dtb/ into extlinux.conf file. and then I renamed the u-boot-s905 file to u-boot.ext But the system still hangs at startup because it can't find the ROOT partition : I think it's because the kernel can't find the SD card reader, as an error appears: mmc0: error -110 whilst initialising SD card I checked the partitions on gnome-disk utility and there are fine : Here is the box : The only distro that worked was Libreelec but the Wi-Fi does not accept the password. (it always says "invalid credentials) is it a box that's too old to be saved?
-
Apologies this isnt about Orange Pi Zero 2, but about a TV stick called Tronsmart Draco H3 which I have and am trying to repurpose into a light weight server with armbian. It obviously isnt well known, but I have tried a few H3 based builds, all of them boot fine, but I cant seem to get Wifi running. I tried Orange Pi PC and Orange Pi but they dont have Wifi at all I believe, so it didnt ask to setup wifi. I tried Orange Pi Zero 2+H3, but for some odd reason my keyboard didnt work on it, so I couldnt setup the users to be able to get further. I tried Nano Pi R1, but that didnt have HDMI, so my hdmi didnt work and I had no idea how to view the output at that point. I tried Orange Pi + as that had wifi as well, but the wifi wasnt able to be configured. I then figured that I need to get a board with the same wifi chipset as mine, and settled on Banana Pi M2+ which matched on RAM, SOC and Wifi chipset, but it still had the same problem as Orange Pi+ in that it asked to setup wifi, but then fails immediately with unable to configure. Any tips on how I can proceed? I understand that recovering esoteric TV boxes isnt looked on fondly here, but I am curious to see if I can make this work. p.s. Ethernet does work with this box and the banana pi m2 + build, but I would need an ethernet to USB dongle, and ofc the cable.
-
TV Box Name: H96 MAX M9 CPU: RockChip RK3576 Armbian build file name: Unofficial Release Kernel Version: 6.1 (vendor) Distribution Installed (focal, buster, etc): Jammy Working Ethernet (Yes/No): yes Max Ethernet Speed that works (100/1000): 1000 Gigabit Does wifi work (Yes/No): Yes Does bluetooth work (Yes/No): depends on User WorkAround Does HDMI audio work (Yes/No): Yes Additional Comments (provide any additional information you feel is important): No TF-Card Boot and No USB boot all done by Rockchip Hardware flash Mainline development Topic
-
I have "x96 mini" TV box with seemingly broken eMMC chip (unable to write firmware by USB). S905W SoC. First I've tested if it can boot from SD-card, made with Amlogic Windows utility "Burn Card Maker". The answer is: yes (see the logs below). Second, I've followed the manual. I've copied the file 'u-boot-s905x-s912' to 'u-boot.ext'. I also edited the file 'extlinux.conf', pointing it to 'meson-gxl-s905w-p281.dtb'. The result is in the logs. The question is: how to boot the device from the SD card? Should I use somehow the original's firmware u-boot (as it works with the the factory firmware)? The SD card was made with 'Balena etcher'. Armbian image was build from gitub repo ("Armbian-unofficial_24.11.1_Aml-s9xx-box_bookworm_current_6.6.62_minimal.img").
-
Hi. I have the official raspberry TV hat https://www.raspberrypi.com/documentation/accessories/tv-hat.html I'm wondering if I can use it on the Orange Pi. https://pinout.xyz/pinout/tv_hat http://www.orangepi.org/orangepiwiki/images/a/ac/Plus5-img302.png
-
I use a X88pro13 TV box. i got a log messige by changeing the file config/bootscripts/boot-rk35xx.cmd: line 15: setenv earlycon "on" line 29,30: if test "${console}" = "serial" || test "${console}" = "both"; then setenv consoleargs "console=ttyS0,1500000 ${consoleargs}"; fi if test "${earlycon}" = "on"; then setenv consoleargs "earlyprintk earlycon=snps,dw-apb-uart,ff9f0000 loglevel=7 ${consoleargs}"; fi for bumping to kernel 6.19 I add a additional edge case in config/sources/families/rk35xx.conf: case $BRANCH in ... ... edge) BOOTDIR='u-boot-rockchip64' declare -g KERNEL_MAJOR_MINOR="6.19" declare -g LINUXFAMILY=rk35xx KERNELPATCHDIR='rk35xx-edge-6.19' KERNELBRANCH='branch:v6.19-rc1' SERIALCON="ttyS0" ;; esac Bumping to kernel to 6.19-rc1 I got following: ## Loading init Ramdisk from Legacy Image at 0a200000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 26299482 Bytes = 25.1 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 0x08300000 Booting using the fdt blob at 0x08300000 reserving fdt memory region: addr=8300000 size=74000 Using Device Tree in place at 0000000008300000, end 0000000008376fff [Vendor ERROR]:Invalid boot device type(0) ## reserved-memory: shmem@10f000: addr=10f000 size=100 ramoops@110000: addr=110000 size=e0000 Adding bank: 0x00200000 - 0xfc000000 (size: 0xfbe00000) Total: 201703.160/201977.24 ms Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034] [ 0.000000] Linux version 6.19.0-rc1-edge-rk35xx (build@armbian) (aarch64-linux-gnu-gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #2 SMP PREEMPT Sun Dec 14 04:05:07 UTC 2025 [ 0.000000] KASLR disabled due to lack of seed [ 0.000000] Machine model: Hungsun X88 TV box [ 0.000000] earlycon: uart8250 at MMIO32 0x00000000ff9f0000 (options '') [ 0.000000] printk: legacy bootconsole [uart8250] enabled [ 0.000000] efi: UEFI not found. [ 0.000000] OF: reserved mem: Reserved memory: failed to reserve memory for node 'drm-logo@0': base 0x0000000000000000, size 0 MiB [ 0.000000] OF: reserved mem: Reserved memory: failed to reserve memory for node 'drm-cubic-lut@0': base 0x0000000000000000, size 0 MiB [ 0.000000] OF: reserved mem: 0x000000000010f000..0x000000000010f0ff (0KiB) nomap non-reusable shmem@10f000 [ 0.000000] OF: reserved mem: 0x0000000000110000..0x00000000001effff (896 KiB) map non-reusable ramoops@110000 [ 0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000fbffffff] [ 0.000000] NODE_DATA(0) allocated [mem 0xfb7d5980-0xfb7d813f] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000200000-0x00000000fbffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000200000-0x00000000fbffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000fbffffff] [ 0.000000] On node 0, zone DMA: 512 pages in unavailable ranges [ 0.000000] On node 0, zone DMA: 16384 pages in unavailable ranges [ 0.000000] cma: Reserved 128 MiB at 0x00000000ef600000 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.1 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.2 [ 0.000000] percpu: Embedded 34 pages/cpu s101016 r8192 d30056 u139264 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: ARM erratum 845719 [ 0.000000] alternatives: applying boot alternatives [ 0.000000] Kernel command line: root=/dev/mmcblk0p1 rootwait rootfstype=ext4 console=ttyFIQ0 earlyprintk earlycon=uart8250,mmio32,0xff9f0000 loglevel=7 consoleblank=0 androidboot.fwver=bl31-v1.17,uboot-rmbian-201-12/17/2025 [ 0.000000] Unknown kernel command line parameters "earlyprintk", willbe passed to user space. [ 0.000000] printk: log buffer data + meta data: 262144 + 917504 = 1179648 bytes [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304bytes, linear) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 3MB [ 0.000000] software IO TLB: area num 4. [ 0.000000] software IO TLB: mapped [mem 0x00000000eec00000-0x00000000e f000000] (4MB) [ 0.000000] Fallback order for Node 0: 0 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1031680 [ 0.000000] Policy zone: DMA [ 0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 59497 entries in 234 pages [ 0.000000] ftrace: allocated 234 pages with 5 groups [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] Rude variant of Tasks RCU enabled. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. [ 0.000000] RCU Tasks Rude: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. [ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] Root IRQ handler: gic_handle_irq [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contenti on. [ 0.00000 [ 0.046619] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations [ 0.047742] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.049191] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 0.049978] audit: initializing netlink subsys (disabled) [ 0.050726] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1 [ 0.052262] thermal_sys: Registered thermal governor 'fair_share' [ 0.052275] thermal_sys: Registered thermal governor 'bang_bang' [ 0.052833] thermal_sys: Registered thermal governor 'step_wise' [ 0.053379] thermal_sys: Registered thermal governor 'user_space' [ 0.053986] cpuidle: using governor menu [ 0.055119] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.055835] ASID allocator initialised with 65536 entries [ 0.056589] Serial: AMBA PL011 UART driver [ 0.062489] /vop@ff840000: Fixed dependency cycle(s) with /hdmi@ff8d0000 [ 0.063177] /hdmi@ff8d0000: Fixed dependency cycle(s) with /vop@ff840000 [ 0.071348] /soc/interrupt-controller@fed01000: Fixed dependency cycle(s) with /soc/interrupt-controller@fed01000 [ 0.078511] rockchip-pm-domain ff600000.power-management:power-controller: power-domain: failed to get clk at index 0: -517 [ 0.079540] rockchip-pm-domain ff600000.power-management:power-controller: failed to handle node power-domain: -517 [ 0.088535] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 0.089226] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 0.089799] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 0.090416] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 0.090988] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 0.091604] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 0.092175] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 0.092793] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 0.161513] raid6: neonx8 gen() 2502 MB/s [ 0.229617] raid6: neonx4 gen() 2461 MB/s [ 0.297733] raid6: neonx2 gen() 2364 MB/s [ 0.365826] raid6: neonx1 gen() 2018 MB/s [ 0.433922] raid6: int64x8 gen() 1609 MB/s [ 0.502020] raid6: int64x4 gen() 1783 MB/s [ 0.570112] raid6: int64x2 gen() 1595 MB/s [ 0.638202] raid6: int64x1 gen() 1182 MB/s [ 0.638592] raid6: using algorithm neonx8 gen() 2502 MB/s [ 0.706279] raid6: .... xor() 1852 MB/s, rmw enabled [ 0.706733] raid6: using neon recovery algorithm [ 0.708358] iommu: Default domain type: Translated [ 0.708816] iommu: DMA domain TLB invalidation policy: strict mode [ 0.709929] SCSI subsystem initialized [ 0.710804] usbcore: registered new interface driver usbfs [ 0.711337] usbcore: registered new interface driver hub [ 0.711861] usbcore: registered new device driver usb [ 0.712860] pps_core: LinuxPPS API ver. 1 registered [ 0.713318] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.714157] PTP clock support registered [ 0.714577] EDAC MC: Ver: 3.0.0 [ 0.715269] scmi_core: SCMI protocol bus registered [ 0.716129] Advanced Linux Sound Architecture Driver Initialized. [ 0.717504] NetLabel: Initializing [ 0.717824] NetLabel: domain hash size = 128 [ 0.718220] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 0.718836] NetLabel: unlabeled traffic allowed by default [ 0.719615] vgaarb: loaded [ 0.720328] clocksource: Switched to clocksource arch_sys_counter [ 0.724134] VFS: Disk quotas dquot_6.6.0 [ 0.724565] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.725999] AppArmor: AppArmor Filesystem Enabled [ 0.733475] NET: Registered PF_INET protocol family [ 0.734167] IP idents hash table entries: 65536 (order: 7, 524288 bytes , linear) [ 0.790913] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3 , 32768 bytes, linear) [ 0.791838] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.792647] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.793734] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes , linear) [ 0.795145] TCP: Hash tables configured (established 32768 bind 32768) [ 0.795913] UDP hash table entries: 2048 (order: 5, 131072 bytes, linear) [ 0.796737] UDP-Lite hash table entries: 2048 (order: 5, 131072 bytes, linear) [ 0.797707] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.798259] NET: Registered PF_XDP protocol family [ 0.798709] PCI: CLS 0 bytes, default 64 [ 0.799346] Trying to unpack rootfs image as initramfs... [ 0.803852] kvm [1]: nv: 568 coarse grained trap handlers [ 0.804928] kvm [1]: IPA Size Limit: 40 bits [ 0.807675] kvm [1]: vgic interrupt IRQ9 [ 0.808099] kvm [1]: Hyp nVHE mode initialized successfully [ 0.810649] Initialise system trusted keyrings [ 0.811123] Key type blacklist registered [ 0.811814] workingset: timestamp_bits=44 max_order=20 bucket_order=0 [ 0.813065] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.814196] fuse: init (API version 7.45) [ 0.816106] integrity: Platform Keyring initialized [ 0.816952] cryptd: max_cpu_qlen set to 1000 [ 0.865647] xor: measuring software checksum speed [ 0.867255] 8regs : 2856 MB/sec [ 0.868849] 32regs : 2763 MB/sec [ 0.870578] arm64_neon : 2496 MB/sec [ 0.870979] xor: using function: 8regs (2856 MB/sec) [ 0.871446] Key type asymmetric registered [ 0.871826] Asymmetric key parser 'x509' registered [ 0.872459] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [ 0.873462] io scheduler mq-deadline registered [ 0.873894] io scheduler kyber registered [ 0.874322] io scheduler bfq registered [ 0.879699] ledtrig-cpu: registered to indicate activity on CPUs [ 0.885032] of_clk_src_onecell_get: invalid clock index 511 [ 0.885566] clk: couldn't get clock 0 for /soc/clock-controller@ff4a0000 [ 0.886192] rockchip_clk_of_add_provider: could not register clk provider [ 0.890652] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled [ 0.895705] Serial: AMBA driver [ 0.906220] loop: module loaded [ 0.908175] Key type psk registered [ 0.913352] thunder_xcv, ver 1.0 [ 0.913713] thunder_bgx, ver 1.0 [ 0.914048] nicpf, ver 1.0 [ 0.915653] /usbdrd: Failed to get clk index: 0 ret: -517 [ 0.919011] usbcore: registered new interface driver usb-storage [ 0.922031] mousedev: PS/2 mouse device common for all mice [ 0.923143] i2c_dev: i2c /dev entries driver [ 0.926968] sdhci: Secure Digital Host Controller Interface driver [ 0.927548] sdhci: Copyright(c) Pierre Ossman [ 0.927976] Synopsys Designware Multimedia Card Interface Driver [ 0.929813] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.933161] arm-scmi arm-scmi.0.auto: Using scmi_smc_transport [ 0.933714] arm-scmi arm-scmi.0.auto: SCMI max-rx-timeout: 30ms / max-msg-size: 104bytes / max-msg: 20 [ 0.934752] scmi_protocol scmi_dev.1: Enabled polling mode TX channel -prot_id:16 [ 0.935703] arm-scmi arm-scmi.0.auto: SCMI Notifications - Core Enabled . [ 0.936451] arm-scmi arm-scmi.0.auto: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0 [ 0.937293] arm-scmi arm-scmi.0.auto: Enabling SCMI Quirk [quirk_clock_ rates_triplet_out_of_spec] [ 0.938892] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping .... [ 0.940075] hid: raw HID events driver (C) Jiri Kosina [ 0.940762] usbcore: registered new interface driver usbhid [ 0.941283] usbhid: USB HID core driver [ 0.947869] NET: Registered PF_INET6 protocol family [ 0.949807] Segment Routing with IPv6 [ 0.950212] In-situ OAM (IOAM) with IPv6 [ 0.950687] NET: Registered PF_PACKET protocol family [ 0.951228] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 0.952714] Key type dns_resolver registered [ 0.962105] registered taskstats version 1 [ 0.962941] Loading compiled-in X.509 certificates [ 0.974817] zswap: loaded using pool zstd [ 0.975474] Demotion targets for Node 0: null [ 0.976392] Key type .fscrypt registered [ 0.976770] Key type fscrypt-provisioning registered [ 0.978529] Btrfs loaded, zoned=yes, fsverity=yes [ 0.979182] Key type encrypted registered [ 0.979562] AppArmor: AppArmor sha256 policy hashing enabled [ 0.998097] rockchip-pm-domain ff600000.power-management:power-controller: power-domain: failed to get clk at index 0: -517 [ 0.999134] rockchip-pm-domain ff600000.power-management:power-controller: failed to handle node power-domain: -517 [ 1.0
-
Critique or improve my method to get a lightweight LabWC desktop
forumtrekker replied to robertoj's topic in Allwinner sunxi
With modifications to lightdm.conf I got lightdm working with your tutorial, however lightdm and labwc don't seem to use the SPI display. I verified the setup works on an HDMI screen (with a large box of random color artifacts filling the right quarter side, but that's hopefully just because it was a TV I tested with. I don't really care about HDMI). Do i need to specify lightdm / labwc to use the /sys/class/drm/card0-SPI-1? I'm curious if you simply launched LightDM and had it use the SPI display by default, without changing any configurations (as that is what it sounds like you achieved) I'm realizing I don't know enough about how wayland works to even know how to start debugging the issue or getting it to use the tinydrm device or even the legacy framebuffer device it adds for compatibility. Maybe I need to get Raspbian running and copy their configuration files, since Raspbian Trixie runs on wayland. The only difference between your guide and my setup is I am running kernel 6.18, as I can't seem to find how to compile or install kernel 6.13. Available installable kernels are 6.12, 6.14, and 6.18 as of 26.0.2 Armbian Trixie. The steps you outline in the github repo work with some modification, namely I will edit to include the lightdm.conf when I get home, since it requires modification from the original installed version. Further, certain packages are uninstallable, or named differently than in your guide. Here is the one line APT command to install all the packages you list, with the package names fixed. Certain packages don't seem to be required at all - namely freerdp, providing the windows equivalent of VNC, so its not included in this list. There are likely others and I assume you collected these packages to install from multiple guides / forums, so the inconsistencies are understandable. sudo apt install libcairo2-dev libpango1.0-dev libxml2-dev libglib2.0-dev libdisplay-info-dev hwdata libgbm-dev libdisplay-info-dev libseat-dev libinput-dev libpango1.0-dev libpangocairo-1.0-0 libcairo2-dev libglib2.0-dev libpixman-1-dev libxkbcommon-dev liblcms2-dev libxcb-xinput-dev libxcb-errors-dev libxcb-render-util0-dev libxcb-present-dev libxcb-res0-dev libxcb-dri3-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-composite0-dev cmake libxml2-dev libliftoff-dev build-essential cmake libwayland-dev wayland-protocols libegl1-mesa-dev libgles2-mesa-dev libdrm-dev libgbm-dev libinput-dev libxkbcommon-dev libudev-dev libpixman-1-dev libsystemd-dev libcap-dev libxcb1-dev libxcb-composite0-dev libxcb-xfixes0-dev libxcb-xinput-dev libxcb-image0-dev libxcb-render-util0-dev libx11-xcb-dev libxcb-icccm4-dev libwinpr3-dev libpng-dev libavutil-dev libavcodec-dev libavformat-dev universal-ctags expat libexpat1 libexpat1-dev seatd foot librsvg2-dev scdoc gettext appmenu-gtk-module-common libaccountsservice-dev gir1.2-accountsservice-1.0 liblightdm-gobject-dev liblightdm-gobject-1-0 libgtk-3-dev gnome-common nasm meson I am running Armbian Trixie, and I did not need to install any packages from trixie-backports or oldstable-backports to get your setup to work properly. EDIT: It actually seemed to be my SPI clock speed was too high for the display. Lowering it to a conservative 16 or 20 MHz gets labwc to work, without having to configure and specify the display to output on.
