Jump to content


  • Posts

  • Joined

  • Last visited

  1. Just installed them and they seem totally fine. A big thank you!!! When you ssh onto the machine you find it at 60°. With the 22.05 build I think it was at 61°, so maybe there is also a little advantage here. Also got rid of the previous `-current` dtb, kernel and headers packages. One final question: the correct u-boot to use is the one from the previous 5.15 branch, namely `linux-u-boot-current-rk3318-box_22.08.0-trunk_arm64.deb`, right?
  2. Tried with that and the edge kernel packages. Now I have 5.18.6 and everything seems fine. Just one question: I now have both the -current and -edge kernel packages installed and the system boots the -edge kernel. I think I should remove the -current packages, right? Some armbian threads seems to state that switching kernel from legacy to current, from current to edge or the other ways round should be done with the assistance of `armbian-config` for the removal of the unused packages. I do not have such option in `armbian-config` though. Is it OK to just remove the -current packages?
  3. Indeed, I found because a few people were reporting issues with 5.18, but at the very same time I was encountering quite similar issues on 5.15, which seemed to me a weird coincidence. I saw there is no similar patch for 5.18, so I thought that maybe that 5.15 patch was meant at porting into 5.15 some change that was already in built in 5.18 and maybe help at confining the search for the actual problem. I do not have enough knowledge about the inner matters, though. Is there some way to find out if a tvbox has aproper power regulation or not (apart from breaking that open)? In addition to that, should I also test the 333MHz idbloader? Is there an easy way to switch back and forth from the 333 and 666MHz idbloader? I've seen that changing the idboader is a matter of dd-ing a file onto the machine, but it is unclear to me which file is for 333 and which one for 666 MHz. Looking forward to the new build to test.
  4. The relevant difference seems to be in the `board-tvbox-rk3318.patch` file that is updated also for the 5.15 kernel sources in the *22.08* packages. The latest git commit is "rk3318: use 666mhz ddrbin, reduce cpu and gpu voltages". It is unclear to me which part of it is playing badly with my board, whether the "use 666MHz" or the "reduce cpu voltage". I understand that both of them can lead to erratic behavior and code segfaulting (either because the CPU is operating incorrectly as its voltage is too low for the given frequency or because incorrect data is exchanged with the memory if the latter cannot work at 666MHz). My suspect is that the issue is with the reduced cpu voltage, since other users in this thread report instability and it looks like they "fixed" it by reducing the cpu frequency (that is finding a sweet spot wrt the voltage-frequency trade off at a lower voltage). Because reducing the CPU frequency is not all that desirable performance wise, I would like to ask about the reason for the cpu voltage reduction. Was the cpu incorrectly run out of specs wrt its voltage until 22.08 so that had to be fixed?
  5. After more tests, what makes the difference is probably not the kernel (5.15 vs 5.18) but the dtb: with linux-dtb-current-rockchip64_22.08.0-trunk_arm64.deb and kernel linux-image-current-rockchip64_22.08.0-trunk_arm64.deb (5.15) the system does not boot, but with the same kernel and the former linux-dtb-current-rockchip64_22.05.0-trunk_arm64.deb the system works fine.
  6. Another update. I have gone through the last two pages of the thread, and I think that what I was experiencing is quite similar to what other users @MX10.AC2N and @Willy Moto were experiencing: boot issues, gcc segfaulting. The notable difference is that I was experiencing them with a 5.15 kernel (the one from the 5.15 dir), not the 5.18 one, while I was using the `bsp` file from the upgrade directory. Now I have used multitool to downgrade everything to the 22.05 version and everything is back to normal, but I understand it is important to me to see if and how I can move forward in view of the mainstreaming of 3328 tv boxes. So I have started making some tests and the issue is definitely not `armbian-bsp-cli-rk3318-box_22.08.0-trunk_arm64.deb`. Installing that alone onto the bootable system keeps it bootable. Before I make more tests, I wonder about `idbloader.img`: if I install that, how do I revert that install?
  7. I have killed my machine h96max+ with the latest update, looking for help to recover... - Looked for updated kernel, found it in usual place: https://users.armbian.com/jock/rk3318/upgrade/ - Noticed that stuff is marked as edge and that there is a directory `v5.15` with non edge stuff - Downloaded stuff from the `v5.15` directory that is stuff marked as current rather than edge as it seemed more conservative - Noticed the `bsp` file was not in the `v5.15` dir, got the one from the dir above as there is no *current* or *edge* mark on it (was this my mistake?) - Installed everything including the `linux-u-boot-current - used armbian-config to update the u-boot on the system System not booting anymore... What is the advice to try a recover? [UPDATE] I have probably succeeded in recovering the machine. However, what has happened is unclear to me. The kernel was oopsing and only by stopping the systemd boot I was able to get a prompt. From the latter trying to do anything was continuously resulting in applications segfaulting... Before I try again, @jockcan you please help clarify: - if the problem was in using a bsp file mismatched wrt the kernel I was using? - if I am expected to use the -edge or the -current kernel from 22.08?
  8. Hi, I need some clarification about the kernel packages in https://users.armbian.com/jock/rk3318/upgrade/ I periodically update the kernel from there, but I have just noticed that the package names have changed. Now I have on my system both a set of packages marked as "edge" (the former ones) and a set of package marked as "current" (those right now on the link above, which deliver a more recent kernel). I would like to know: - if I should delete the edge packages - if having both installed may have lead to problems - if the current packages need to be put on hold just as it was for the edge ones or the name change is the index that official support has come - if the instructions on post #1 are still current (as they explicitly mention -edge packages). Thanks!
  9. @jock Sorry for getting back to the thread with a lot of delay, my laptop broke down... So it should be possible to use your tree as a basis to patch the current mainline and compile it (provided that the patches still apply cleanly?) I'll look into the armbian documentation to see if this can be done in an automatized way when a new stable release for the kernel series comes out... Just in case there is a quick recipe, please let me have a pointer to it ;-)
  10. @dam74The issue with rsyslogd is a symptom. On my system, I think I managed fixing the issue by setting also the SystemMaxFileSize option in systemd journald. Wonder if on a system with some good 32 or 64GB of resident storage having journal log meant to be permanent on zram is the right thing, though, given that journald already has volatile storage on /run.
  11. Noticed that systemd journal fills up /var/log apparently ignoring the SystemMaxUse=20M using the bullseye image. Anyone else experiencing this? Is this an rk3318 bug and armbian bug or a debian bug?
  12. Hi, after having successfully had my H96Max+ working for a few days now with a single major hiccup I would like to inquire about three items. The single issue that I encountered was a total freeze during intense activity on the SD card while copying files transferred through wifi. This copying is something that I could have done in a much quicker way but that I purposely did this way to stress the machine with a 2+ hours of continuous activity. However, because I had this single freeze, that did not happen again, it is difficult for me to say if this was due to some OS or hardware instability or maybe some external factor (e.g., a power fluctuation). It would be interesting to me to know if someone else experienced similar issues. I would like to know if RK3328 supports some form of hardware watchdog timer to be used with the watchdog daemon. I understand that once the machine is installed (thanks for the great work of jock and possibly others), maintaining the machine up to date and secure should be relatively easy, since most of the OS can be updated through the regular armbian repos. In my understanding the notable exceptions are the kernel packages at https://users.armbian.com/jock/rk3318/upgrade/ namely those that had to be put on hold wrt apt (linux-image-edge-rockchip64 linux-headers-edge-rockchip64 linux-dtb-edge-rockchip64). If I understand correctly, these can only get updated thanks to jock's effort because rk3318 is not part of armbian (yet). Having these packages depending on a single person best effort means on one hand that gratefulness to Jock is huge but on the other hand may also represent a potential issue. I thus wonder how difficult is it to re-build them by https://github.com/paolosabatino/armbian-build/tree/rk3318 and the armbian kernel tree, how much does the rk3318 diverge from the mainline kernel, how easily/frequently do the rk3318 patches break against newer mainline kernels and how difficult would it be to recover from a bad kernel (in case one tries to build and deploy a kernel for learning how to do it and something goes wrong). Thanks for any help!
  13. Noticed that package armbian-bsp-cli-rk3318-box installs stuff to /usr/local/bin. I wonder if this is fully appropriate. According to debian guidelines, /usr/local should be left as a playground for the local administrator, so packages should not do things there. This is in the debian policy sect 9.1.2 "packages must not place any files in /usr/local, either by putting them in the file system archive to be unpacked by dpkg or by manipulating them in their maintainer scripts" and "/usr/local and its contents are for exclusive use of the local administrator, a package must not rely on the presence or absence of files or directories in /usr/local for normal operation". I understand that this may be because rk3318 is not yet fully official in armbian, but being likely that rk3318-config does not name-conflict with anything else, I wonder if it could be possible to update armbian-bsp-cli-rk3318-box to install rk3318-config in /usr/bin or /usr/sbin rather than /usr/local/bin. Thanks for considering this!
  14. @Jock Regarding your reply on my H96Max+ RK3328 installation of Armbian Thanks for taking the time of a detailed response! > The behavior can be easily changed setting the appropriate trigger in /sys/class/leds/working/trigger file (see google for that, "working" is the name of the led). Thanks for this hint, I have now selected "generic" for the led config and trying this > Useful also are photos of the board to identify the signature and chips. I'll try to get the dtb out of the dumped firmware. The photos shall be more difficult, because the case has no screws and I'm a bit scared of breaking it trying to force it open. > I would like to merge soon, but it depends upon the compatibility reports that are posted here. Is there anyway to post an *enthusiastic* report? :-) Thanks again
  15. H96Max+ here. Just installed following your instructions. Works amazingly well and was amazingly easy, particularly after having read around on other forums that for RK3328 there is no HDMI support and that I should have opened the box to get to the serial pins! Thank you all for this great work! I am going to use the device as a micro server, so I am not testing any graphical desktop. Quite happy to see that USB3, WIFI, Ethernet, all appear to work out of the box. Have just a few questions to which someone having the same box may be able to answer: 1. What is the appropriate answers for the EMMC configuration in rk3318-config? 2. What is the appropriate configuration for the LED? I am puzzled by the fact that the led functionality seems to be better in the multitool than in the OS itself. In multitool the red led stays on and the blue one appears to flash to indicate activity. In the OS, the red led stays on all the time and the blue one stays off all the time. The "conf3" seems to hang the machine at boot. Furthermore, I have a question about the kernel packages. - As instructed, I have put on hold the upgrade of kernel, kernel headers and dtb packages from apt. Is it expected that the official armbian kernel will include rk3318 and rk3328 support in the future? This seems important to me in terms of future maintainability of the box. During the installation, I have dumped my firmware using multitool (an Android 8.something, if I remember properly). Would it be useful if I tried to extract the dtb from it, or is the dtb of the stock H96Max+ already well known to you? A very minor suggestion from someone getting onto this great forum for the first time (hence something that could either be totally useless for naivety or maybe useful as representative of an initial impression, you judge). Threads regarding multiple boxes sharing the same fundamental hardware, such as this one may easily become very large and it is hard and trying to go through them it is sometimes hard to understand if something is general or if it refers to a specific box and if so which one. Being able to tag the messages with the specific piece of hardware they are about would ease reading immensely.
  • Create New...