ktolisgr Posted December 26, 2023 Posted December 26, 2023 I have a old tv box that I dont want to throw away. It is a MXQ4k the board is a RK3229-BOX V4 with Nand flash. The problem is the when i flash a 4.15 focal image I get the Armbian Os working but when I flash the latest 6.13 I get "Gave up waiting for root file system device". The same hapens when I try to instal Librelec. My knowlege of Linux in general is limited and I am lost. Thanks in advance. 0 Quote
fabiobassa Posted December 26, 2023 Posted December 26, 2023 (edited) @ktolisgr Nand Is ONLY supported on Legacy kernel Stay on 4.x.x and everything will work. This Is clear said in first posts and throught the whole 3ad but i know.....Reading Is boring and forum huge, better direct ask thing already explained billion times ! Edited December 26, 2023 by fabiobassa 1 Quote
ktolisgr Posted December 26, 2023 Posted December 26, 2023 Ok can I bypass this problem by using an external drive? By the way reading and anderstandig are not always compatible. Therefore the statemanet that I have limited Linux knowlege. 0 Quote
Edson Posted December 26, 2023 Posted December 26, 2023 Hi there.. I'm a really noobie in armbian... actually, in Linux. I'm installing it on a TX Box Tomate (Rockwell 322x) after doing the procedures, and installing armbian-config, I can't config wifi, there is no option. the box has wifi, and when I run the rk322x-config it shows the wifi device. Could someone please help me? 0 Quote
Hqnicolas Posted December 29, 2023 Posted December 29, 2023 (edited) 12 minutes ago, Edson said: Hi there.. I can't config wifi. Could someone please help me? You can try something, open the TV box plastic case, and take a shot from wifi module. By the number you can download the driver and copy via thumb flash drive to Linux. Sent from my 22021211RC using Tapatalk Edited December 29, 2023 by hotnikq 0 Quote
xjgml Posted December 31, 2023 Posted December 31, 2023 Hi everyone, I have some issues relating to hdmi and network with my rk3228 tv box with emmc. Simply put, the box boots normally at the first glance, but both the hdmi output (the signal is there, just black screen) and the network disappear exactly after the system asks me to login. So I cannot ping it, nor can I ssh to it, and there is no display. Before that, I can see its ip address in my router and ssh to it when I'm lucky. But the ssh freezes immediately as well. An LED on board goes off at the same time. I tested serveral power supplies, including an original 12v1a and a new purchased 12v2a. The tv box itself recommends using a 12v1a power. I tested several armbian images (ranging from legacy kernel to current kernel) into the emmc on board, following the instructions of jock using rkdeveloptools: Quote Run sudo rkdeveloptool rd 3 (if this fails don't worry and proceed to next step) Run sudo rkdeveloptool db rk322x_loader_v1.10.238_256.bin Run sudo rkdeveloptool wl 0x0 image.img These images all behave the same. Any ideas? I don't even know whether this is a problem relating to hdmi and network configuration, or armbian just went down! I do not have the ability to do ttl or uart tests and I know nothing about that. I'll attach the image of this board. Thanks a lot! 0 Quote
jock Posted December 31, 2023 Author Posted December 31, 2023 On 12/26/2023 at 12:22 PM, ktolisgr said: Ok can I bypass this problem by using an external drive? By the way reading and anderstandig are not always compatible. Therefore the statemanet that I have limited Linux knowlege. Use the multitool and install the "Jump start" feature, then you should be able to boot from either sdcard or usb. 0 Quote
ego worker Posted January 1 Posted January 1 (edited) getting back to R29 I have flashed 6.11 from archive after led7 config - everything works. BUT... it often freezes on tasks like apt update or installing packages ... was there any more CPU/DDR/eMMC settings needed to run it more stable way ? edit got nothing from ttl just hangs- cant acces it with usb-keyb,ttl or ssh still got screen from hdmi. Blue and orange LED is turned ON installed on eMCP after reboot data written from last few minutes - disapears. Directories made are empty - but cannot be rmdired - becouse "there are files inside" xD Edited January 1 by ego worker 0 Quote
jock Posted January 1 Author Posted January 1 @ego worker during my tests the board was stable with days of uptime, but when some tasks were run it hang as well. Could not really understand where is the issue, but I did not dedicate any time to it. What overlays did you enable? R29s are very limited, they have no power regulators for cpu and logic so voltage is fixed. For this reason, cpu, ddr and gpu frequencies cannot scale up to nominal frequencies. 0 Quote
ego worker Posted January 2 Posted January 2 (edited) @jock only led-conf7, one provided with img. both https://imola.armbian.com/dl/rk322x-box/archive/Armbian_23.11.1_Rk322x-box_bookworm_current_6.1.63_minimal.img.xz and current trunk have same problem. legacy with no hdmi was ok as far as I remember - installed kiauh with klipper with no problems. Here its impossible to do so - dies at random point. Even apt update is challege. When i put htop on other screen i noticed that it usualy hangs when all 4 cores are close to 100%, so probaby 1Ghz its still to much. Strange there is no output from serial. edit: will test now with 600-600Mhz range now. it slowed down eMCP from 2MiB/s to 1.4MiB/s edit2: looks stable so far. Time to manualy overvoltage cpu ? ;D Edited January 2 by ego worker 0 Quote
jock Posted January 2 Author Posted January 2 @ego worker Now I'm checking edge 6.6.7 kernel and it works like a charm: made some stress tests with openssl speed -multi 4 while running KDE and hardware video decoding with no particular issues My eMCP reads at most at 28.4mb/s in DDR mode, sometimes also times out, but it is a scrap board with plenty of issues; decent and non-abused eMCPs read up to 90mb/s in DDR mode. 1 Quote
ego worker Posted January 4 Posted January 4 (edited) @jock meh mine doesnt look healthly, today afer 30min on printing with klipper - got write error , journal doesnt look good [23947.968954] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [23947.968977] usb 1-1: Product: rp2040 [23947.968995] usb 1-1: Manufacturer: Klipper [23947.969011] usb 1-1: SerialNumber: 45503571290D23E8 [23947.971306] cdc_acm 1-1:1.0: ttyACM0: USB ACM device [25016.974924] systemd-journald[496]: Data hash table of /run/log/journal/1b47fa a0eb414c269fafeeb4119f243d/system.journal has a fill level at 75.1 (1670 of 2225 items, 1282048 file size, 767 bytes per hash table item), suggesting rotation. [25016.975187] systemd-journald[496]: /run/log/journal/1b47faa0eb414c269fafeeb41 19f243d/system.journal: Journal header limits reached or header out-of-date, rot ating. [28475.524719] usb 1-1: USB disconnect, device number 9 [28475.860372] usb 1-1: new full-speed USB device number 10 using dwc2 [28476.069868] usb 1-1: New USB device found, idVendor=1d50, idProduct=614e, bcd Device= 1.00 [28476.069924] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [28476.069947] usb 1-1: Product: rp2040 [28476.069964] usb 1-1: Manufacturer: Klipper [28476.069981] usb 1-1: SerialNumber: 45503571290D23E8 [28476.072478] cdc_acm 1-1:1.0: ttyACM0: USB ACM device [28565.798969] usb 1-1: USB disconnect, device number 10 [28566.130756] usb 1-1: new full-speed USB device number 11 using dwc2 [28566.340290] usb 1-1: New USB device found, idVendor=1d50, idProduct=614e, bcd Device= 1.00 [28566.340347] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [28566.340370] usb 1-1: Product: rp2040 [28566.340387] usb 1-1: Manufacturer: Klipper [28566.340404] usb 1-1: SerialNumber: 45503571290D23E8 [28566.342854] cdc_acm 1-1:1.0: ttyACM0: USB ACM device [28782.060651] usb 1-1: USB disconnect, device number 11 [28782.396311] usb 1-1: new full-speed USB device number 12 using dwc2 [28782.605744] usb 1-1: New USB device found, idVendor=1d50, idProduct=614e, bcd Device= 1.00 [28782.605803] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [28782.605825] usb 1-1: Product: rp2040 [28782.605843] usb 1-1: Manufacturer: Klipper [28782.605861] usb 1-1: SerialNumber: 45503571290D23E8 [28782.608617] cdc_acm 1-1:1.0: ttyACM0: USB ACM device [28946.892921] rk_gmac-dwmac 30200000.ethernet end0: Link is Down [29019.598983] rk_gmac-dwmac 30200000.ethernet end0: Link is Up - 100Mbps/Full - flow control rx/tx [43242.073518] usb 1-1: USB disconnect, device number 12 [45720.274500] systemd-journald[496]: Data hash table of /run/log/journal/1b47fa a0eb414c269fafeeb4119f243d/system.journal has a fill level at 75.0 (1669 of 2225 items, 1282048 file size, 768 bytes per hash table item), suggesting rotation. [45720.274611] systemd-journald[496]: /run/log/journal/1b47faa0eb414c269fafeeb41 19f243d/system.journal: Journal header limits reached or header out-of-date, rot ating. [45726.255191] systemd-journald[496]: Received client request to flush runtime j ournal. [45727.626730] systemd-journald[496]: Data hash table of /var/log/journal/1b47fa a0eb414c269fafeeb4119f243d/system.journal has a fill level at 128.4 (5844 of 455 1 items, 2621440 file size, 448 bytes per hash table item), suggesting rotation. [45727.626830] systemd-journald[496]: /var/log/journal/1b47faa0eb414c269fafeeb41 19f243d/system.journal: Journal header limits reached or header out-of-date, rot ating. [45728.040718] systemd-journald[496]: Received client request to relinquish /var /log/journal/1b47faa0eb414c269fafeeb4119f243d access. [82018.814387] systemd-journald[496]: Data hash table of /run/log/journal/1b47fa a0eb414c269fafeeb4119f243d/system.journal has a fill level at 75.1 (1670 of 2225 items, 1282048 file size, 767 bytes per hash table item), suggesting rotation. [82018.814490] systemd-journald[496]: /run/log/journal/1b47faa0eb414c269fafeeb41 19f243d/system.journal: Journal header limits reached or header out-of-date, rot ating. [83211.078776] usb 1-1: new full-speed USB device number 13 using dwc2 [83211.288341] usb 1-1: New USB device found, idVendor=1d50, idProduct=614e, bcd Device= 1.00 [83211.288400] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [83211.288422] usb 1-1: Product: rp2040 [83211.288440] usb 1-1: Manufacturer: Klipper [83211.288456] usb 1-1: SerialNumber: 45503571290D23E8 [83211.292463] cdc_acm 1-1:1.0: ttyACM0: USB ACM device [85767.985605] usb 1-1: USB disconnect, device number 13 [85768.321379] usb 1-1: new full-speed USB device number 14 using dwc2 [85768.530985] usb 1-1: New USB device found, idVendor=1d50, idProduct=614e, bcd Device= 1.00 [85768.531043] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [85768.531066] usb 1-1: Product: rp2040 [85768.531083] usb 1-1: Manufacturer: Klipper [85768.531100] usb 1-1: SerialNumber: 45503571290D23E8 [85768.533771] cdc_acm 1-1:1.0: ttyACM0: USB ACM device [103276.000865] usb 1-1: USB disconnect, device number 14 [112318.748084] systemd-journald[496]: Data hash table of /run/log/journal/1b47f aa0eb414c269fafeeb4119f243d/system.journal has a fill level at 75.0 (1669 of 222 5 items, 1282048 file size, 768 bytes per hash table item), suggesting rotation. [112318.748207] systemd-journald[496]: /run/log/journal/1b47faa0eb414c269fafeeb4 119f243d/system.journal: Journal header limits reached or header out-of-date, ro tating. [132128.484094] systemd-journald[496]: Received client request to flush runtime journal. [132128.485233] systemd-journald[496]: File /var/log/journal/1b47faa0eb414c269fa feeb4119f243d/system.journal corrupted or uncleanly shut down, renaming and repl acing. [132129.325891] systemd-journald[496]: Data hash table of /var/log/journal/1b47f aa0eb414c269fafeeb4119f243d/system.journal has a fill level at 86.2 (3923 of 455 1 items, 2621440 file size, 668 bytes per hash table item), suggesting rotation. [132129.325987] systemd-journald[496]: /var/log/journal/1b47faa0eb414c269fafeeb4 119f243d/system.journal: Journal header limits reached or header out-of-date, ro tating. [132129.644884] systemd-journald[496]: Received client request to relinquish /va r/log/journal/1b47faa0eb414c269fafeeb4119f243d access. [172741.074459] systemd-journald[496]: Data hash table of /run/log/journal/1b47f aa0eb414c269fafeeb4119f243d/system.journal has a fill level at 75.1 (1672 of 222 5 items, 1282048 file size, 766 bytes per hash table item), suggesting rotation. [172741.074562] systemd-journald[496]: /run/log/journal/1b47faa0eb414c269fafeeb4 119f243d/system.journal: Journal header limits reached or header out-of-date, ro tating. [181274.586160] usb 1-1: new full-speed USB device number 15 using dwc2 [181274.795716] usb 1-1: New USB device found, idVendor=1d50, idProduct=614e, bc dDevice= 1.00 [181274.795773] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber= 3 [181274.795796] usb 1-1: Product: rp2040 [181274.795813] usb 1-1: Manufacturer: Klipper [181274.795830] usb 1-1: SerialNumber: 45503571290D23E8 [181274.806472] cdc_acm 1-1:1.0: ttyACM1: USB ACM device Edited January 4 by ego worker 0 Quote
jock Posted January 4 Author Posted January 4 @ego worker journal rotation is normal, the disconnection of the USB devices are typical of tv boxes adapted to do something else: tv boxes are not able to supply too much power and if the USB devices are not low power, they often disconnect. Nb: please put logs in a spoiler section, not code 0 Quote
Trọng Bằng Nguyễn Posted January 4 Posted January 4 Hello everyone, I'm a tinkerer, I followed the instructions but it didn't work. After flashing the multitool to a USB or Card Reader, plugging it into the box cannot boot from the card reader or USB. My motherboard uses nand, I don't really understand how to do it. What I need most is to boot from USB but that doesn't work. 0 Quote
ego worker Posted January 4 Posted January 4 @jock probably blamed to much looks like a cable was not good. I dont use 5V from USB anyway, printer board has its own power. 0 Quote
Jaisere Posted January 11 Posted January 11 (edited) Hi, im having some GPU driver issues - RK-3229 - 4.4.194-legacy-rk322x some info: The image I am using on my device is; Armbian_22.02.0-trunk_Rk322x-box_bullseye_legacy_4.4.194_minimal.img I chose this, as any of the other images from here; https://users.armbian.com/jock/rk322x/armbian/stable/ other than the xfce desktop image would lead to this happening: (if there's a fix for this I'd rather use one of the more up to date images) with the bullseye legacy minimal image set up on my device I then did this: yes | sudo apt update yes | sudo apt dist-upgrade yes | sudo apt --fix-missing yes | sudo apt install neofetch chromium xorg xfce4 lightdm sudo reboot heres the neofetch output if it helps with anything: user@rk322x-box:/lib/modules/4.4.194-legacy-rk322x/kernel/drivers/gpu/drm/rockchip$ neofetch _,met$$$$$gg. user@rk322x-box ,g$$$$$$$$$$$$$$$P. --------------- ,g$$P" """Y$$.". OS: Debian GNU/Linux 11 (bullseye) armv7l ,$$P' `$$$. Host: Generic RK322x TV Box board ',$$P ,ggs. `$$b: Kernel: 4.4.194-legacy-rk322x `d$$' ,$P"' . $$$ Uptime: 58 mins $$P d$' , $$P Packages: 564 (dpkg) $$: $$. - ,d$$' Shell: bash 5.1.4 $$; Y$b._ _,d$P' Resolution: 1920x1080p60 Y$$. `.`"Y$$$$P"' Terminal: /dev/pts/0 `$$b "-.__ CPU: Generic DT based system (4) @ 1.200GHz `Y$$ Memory: 228MiB / 962MiB `Y$$. `$$b. `Y$$b. `"Y$b._ `""" when looking into the drivers I can find these: user@rk322x-box:/lib/modules/4.4.194-legacy-rk322x/kernel/drivers/gpu/arm/mali400/mali$ ls mali.ko user@rk322x-box:/lib/modules/4.4.194-legacy-rk322x/kernel/drivers/gpu/drm/rockchip$ ls rockchip_drm_tve.ko this is expected. I am aware from other posts and threads in the forums that for Mali400 I should install the Lima driver for it; when trying to use mesa to set up both Lima and Panfrost it typically fails because of missing dependencies (that when I try to manually install cannot be found) or has no issues but when I look into the drivers/gpu/(arm or drm) directories there is nothing different from what I previously showed and if I look for lima or panfrost within lsmod the modules are not in the list. appears like this: user@rk322x-box:/lib/modules/4.4.194-legacy-rk322x/kernel/drivers/gpu/drm/rockchip$ lsmod Module Size Used by lz4 16384 4 lz4_compress 16384 1 lz4 gpio_ir_recv 16384 0 mali 233472 0 snd_soc_rk3228 16384 1 lzo 16384 4 zram 24576 2 fuse 94208 1 ip_tables 24576 0 autofs4 32768 2 as a side note: user@rk322x-box:~$ export "DISPLAY=:0" user@rk322x-box:~$ xset -dpms user@rk322x-box:~$ LIBGL_ALWAYS_SOFTWARE=1 glxinfo | grep "OpenGL vendor\|OpenGL renderer" OpenGL vendor string: Mesa/X.org OpenGL renderer string: llvmpipe (LLVM 11.0.1, 128 bits) (output is the same when the command does not contain LIBGL_ALWAYS_SOFTWARE=1) (this is how I would check the renderer, I typically check from ssh as its easier to type commands from my pc due to the small amount of space I have in my setup, however even when im using the terminal on the tv box without ssh the result it the same) any help would be appreciated. thank you Edited January 12 by Jaisere 0 Quote
jock Posted January 12 Author Posted January 12 @Jaisere Hello, I wonder why you are using an image with the legacy 4.4 kernel, which I don't maintain anymore. That is an ancient kernel supplied by the vendor and it is several years old; the vendor (rockchip) maintained up to a couple of years ago, but now it is totally deprecated and unmantained. The only usefulness for that kernel is that it works with the internal NAND flash. Use images with current kernel (at the moment, current version is 6.1), which is mainline kernel. It does not support NAND, but it is maintained and supports practically everything. 1 Quote
Jaisere Posted January 12 Posted January 12 @jock the reason im using an image with the legacy 4.4 kernel is that when I use anything other than those images I get the results of the picture I sent 0 Quote
jock Posted January 12 Author Posted January 12 (edited) 1 hour ago, Jaisere said: @jock the reason im using an image with the legacy 4.4 kernel is that when I use anything other than those images I get the results of the picture I sent I bet: your internal flash is NAND and you are installing the image in the internal flash. Read the first page for more info. Use sdcard and mainline kernel if you don't want up to date kernel and opensource drivers. Edited January 12 by jock fix negation in sentence :D 1 Quote
Jaisere Posted January 12 Posted January 12 (edited) @jock yes it is indeed NAND, I have also read through the first page a few times when I first came across it, (thanks for the Quick installation instructions on NAND btw) I do want to use the internal flash rather than an external sd card or usb, (just for the fun of it tbh as its not like this is a mission critical device), I assume this basically has me locked off to the lima or panfrost drivers then? is it possible to compile my own on the device itself? Edited January 12 by Jaisere 0 Quote
jock Posted January 12 Author Posted January 12 24 minutes ago, Jaisere said: I do want to use the internal flash rather than an external sd card or usb, (just for the fun of it tbh as its not like this is a mission critical device), I assume this basically has me locked off to the lima or permafrost drivers then? Yes 24 minutes ago, Jaisere said: is it possible to compile my own on the device itself? Yes, but you won't get any lima or panfrost anyway, 4.4 is way too old kernel. Also Panfrost is of no use, since it does not support Utgard (Mali-400) but only Midgard and above 1 Quote
fabiobassa Posted January 12 Posted January 12 @Jaisere the problem ISN' T the lima or xorg issue, but "VERY SIMPLE" : it doesn't find the rootfs. it is clearly explained in your log : WAITING FOR ROOT FILE SYSTEM This indeed happen because when you update and upgrade maybe it takes a NEW KERNEl and new kernels DON'T support nand . That's all!! No lima issues , no mesa issues, no other than newer kernels not recognize NAND if you want desktop environment and at same time install in internal flash try to find a 4.4.xxx kernel with xfce or lxde already installed Or you can try this rootfs but you still have to use a 4.4.xxx kernel https://drive.google.com/file/d/1jmtwGs88iXfCs7UtaEv1d5h7C9-9KGFg/view?usp=drive_link 1 Quote
RaptorSDS Posted January 12 Posted January 12 vor 6 Minuten schrieb fabiobassa: f you want desktop environment and at same time install in internal flash try to find a 4.4.xxx kernel with xfce or lxde already installed @Jaisere to find the image look at first post below install SD-Casrd you find the link to Jock archive Armbian_22.02.0-trunk_Rk322x-box_focal_legacy_4.4.194_xfce_desktop.img.xz 1 Quote
Jaisere Posted January 12 Posted January 12 (edited) @fabiobassa and @RaptorSDS the issue isnt due to the desktop environment or it not booting, My system works with the 4.4 legacy, it just doesn't use the Mali400 chip for graphics. I provided the image of what happens when I use anything other than the legacy kernal as extra context, that doesnt happen when I update or upgrade, when I set up a desktop environment myself it works fine. I will try @fabiobassa's rootfs just to see what its about, and if it some how allows me to used the Lima, panfrost, or built in Mali drivers I will stick with it, thanks! Edited January 12 by Jaisere 1 Quote
Jaisere Posted January 12 Posted January 12 1 hour ago, jock said: Yes, but you won't get any lima or panfrost anyway, 4.4 is way too old kernel. Also Panfrost is of no use, since it does not support Utgard (Mali-400) but only Midgard and above awesome, its alright if I cant use Lima specifically (and I did suspect panfrost wouldnt be of use to me, I was just grasping at straws for a while) but if I can the graphics chip work at all would be a huge step forward, thanks 1 Quote
fabiobassa Posted January 12 Posted January 12 @Jaisere the rootfs i gave to you clear says " utgard armsoc" DON'T UPGRADE DON'T DO NOTHING or you will loose the optimization made by linaro team the chromium browser itself uses a sort of hardware acceleration, the video uses a sort of gpu.. but DON'T EXPECT too much For nice graphical environmetn follow @jock 's suggestion, but will loose NAND 1 Quote
Jaisere Posted January 12 Posted January 12 18 minutes ago, fabiobassa said: the rootfs i gave to you clear says " utgard armsoc" DON'T UPGRADE DON'T DO NOTHING or you will loose the optimization made by linaro team the chromium browser itself uses a sort of hardware acceleration, the video uses a sort of gpu.. but DON'T EXPECT too much this sounds all good to me, thanks 0 Quote
Jaisere Posted January 13 Posted January 13 (edited) @fabiobassa Hate to be a bother, but how exactly do I use the rootfs that you provided? the same way with multitool or some other process? Edited January 13 by Jaisere 0 Quote
fabiobassa Posted January 13 Posted January 13 @Jaisere this COULD be a challenge , but really isn't. The images provided by @jock are complete, have the BOOT folder filled with all necessary : kernel, init, dtb , environment This rootfs has BOOT folder empty. So you still need kernel and other stuffs from a working 4.4.194 image You should mount the image from jock under linux, grab the BOOT folder complete....... then mount this rootfs linaro, again under linux, paste the BOOT folder, and burn regularly by multitool It will conseguentially boot 1 Quote
Jaisere Posted January 13 Posted January 13 4 minutes ago, fabiobassa said: You should mount the image from jock under linux, grab the BOOT folder complete....... then mount this rootfs linaro, again under linux, paste the BOOT folder, and burn regularly by multitool if im understanding this correctly, if I burn the images too a usb / sd card, load into linux I should be able to move the 4.4 kernel into the rootfs, then turn that into its own image that I can burn to the on board nand with multitool? please correct me if im not quite understanding 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.