Jump to content

hexdump

  • Posts

    430
  • Joined

  • Last visited

Reputation Activity

  1. Like
    hexdump got a reaction from Willy Moto in Tanix TX6S - H616   
    @rzu- i did not try the images from waprme's minimyth2, but i'm using the patches for both the h6 and h616 to build my own images (not armbian) and they are working very well so far - i would say its the most complete patch collection for h616 right now
     
    best wishes and good luck - hexdump
  2. Like
    hexdump reacted to yuzhaogoogle in MGLRU patches to bring down kswapd cpu usage   
    Yeah, I'm working on it. Will keep you posted. Thanks.
  3. Like
    hexdump reacted to jock in CSC Armbian for RK3318/RK3328 TV box boards   
    UPDATE!!
     
    Hello, I'm pleased to announce that rk3318 CSC configuration has been accepted into mainline kernel!.
    This means that next Armbian release (probably August) will provide regular kernel upgrades offered by Armbian ecosystem via normal apt upgrade command.
    Until then, please stay stick to the usual manual upgrade!
     
    But there is something more: new update for the rk3318/rk3328 images!
    Most important changes:
    Kernel upgraded to version v5.18.6 Memory clock set to 667 MHz (was 333 MHz), providing a nice boost in general, desktop and GPU performance; despite this works fine on my board I always warn you to test images first via sdcard Introduces MGLRU patches from @yuzhaogoogle (you can read about here and search google for more details), which should provide much snappier experience especially on low-memory devices You can find the images and deb packages for upgrades browsing the directory pointed on first page as usual.
     
    You can visit the Armbian MGLRU topic, if you have questions about the features or kernel issues (like crash dumps which involve kswapd, for example)
     
     
  4. Like
    hexdump got a reaction from Willy Moto in MGLRU patches to bring down kswapd cpu usage   
    @jock - little update: v12 of the patches is out - it is essentially v11 pus the above mentioned fixes and rebased for v5.19:
    https://lore.kernel.org/lkml/20220614071650.206064-1-yuzhao@google.com/
    https://patchwork.kernel.org/project/linux-mm/list/?series=650073
    https://www.phoronix.com/scan.php?page=news_item&px=MGLRU-v12-For-Linux-5.19-rc
    https://github.com/hexdump0815/kernel-extra-patches/tree/main/multi-gen-lru/v12
    best wishes - hexdump
  5. Like
    hexdump reacted to yuzhaogoogle in MGLRU patches to bring down kswapd cpu usage   
    @hexdumppointed me to this discussion -- thank you for all the testing, much appreciated!
     
    If you have MGLRU related questions, please feel free to shoot me emails.
     
    The following option occasionally causes problems, so please set it to zero. The analyses from Ubuntu, Debian and a few others I'm too lazy to quote
    $ cat /proc/sys/vm/watermark_boost_factor 0  
    I'll submit a fix later today and hopefully it'll be in v5.20.
  6. Like
    hexdump got a reaction from usual user in MGLRU patches to bring down kswapd cpu usage   
    @jock - little update: v12 of the patches is out - it is essentially v11 pus the above mentioned fixes and rebased for v5.19:
    https://lore.kernel.org/lkml/20220614071650.206064-1-yuzhao@google.com/
    https://patchwork.kernel.org/project/linux-mm/list/?series=650073
    https://www.phoronix.com/scan.php?page=news_item&px=MGLRU-v12-For-Linux-5.19-rc
    https://github.com/hexdump0815/kernel-extra-patches/tree/main/multi-gen-lru/v12
    best wishes - hexdump
  7. Like
    hexdump got a reaction from rzu in Tanix TX6S - H616   
    @rzu- i did not try the images from waprme's minimyth2, but i'm using the patches for both the h6 and h616 to build my own images (not armbian) and they are working very well so far - i would say its the most complete patch collection for h616 right now
     
    best wishes and good luck - hexdump
  8. Like
    hexdump reacted to jock in MGLRU patches to bring down kswapd cpu usage   
    Thanks a lot, ended up that yesterday I tested kernel v5.18.0 on rk322x with the old version of the extra patch compiling the whole debian mesa packages ecosystem with success. The box was sporting just 1gb of ram, 512mb of zram swap space and 2gb of extra USB HDD swap file.
    The conditions were absolutely heavy and unhealthy, but the whole packages rebuilding from sources finally completed without errors, even after extreme swapping and hours of compilation time. The system was always responsive to SSH shells, which is a great achievement by itself!
     
     
  9. Like
    hexdump got a reaction from jock in MGLRU patches to bring down kswapd cpu usage   
    @jock - i already sent you a pm about this, but meanwhile i tested it to be working for me, so maybe its better to post it here as well in case others are interested too: i got a response from the mglru patch series author and a patch which seems to fix the problem on 32bit arm for me (tested on rk3288 with 2gb ram so far) - the patch can be found here: https://github.com/hexdump0815/kernel-extra-patches/blob/main/multi-gen-lru/v11/v11-15-extra-patch-from-author-with-armv7l-fix.diff
     
    good luck and best wishes - hexdump
  10. Like
    hexdump reacted to jock in MGLRU patches to bring down kswapd cpu usage   
    @hexdump Thanks a lot! I later checked out the patch series and in the description armhf architecture is effectively omitted, so probably is untested and not expected to work. Anyway I don't know how it could enter into mainline if it is allowed to compile on armhf but cause heavy issues: the kconfig file should at least be patched to allow compilation only on amd64 and arm64 architectures.
     
    I hope they will provide fix and tests for armhf too - hopefully x86 32 bit too. Those 32 bit architectures are going to benefit a lot from this patch since most memory-constrained devices are 32 bit only.
  11. Like
    hexdump got a reaction from gounthar in How to get Armbian running on a X86_64 with multiboot?   
    @TRS-80 - i would recommend a kukui = mt8183 chromebook - you can get them used for really cheap (around 100 $ or euro) and it looks like with v5.18 and a few patches on top nearly everything is working (except external display via usb-c and the webcams on some models - on most models the webcam is usb video class and thus even working) and you do not have to struggle with all the pain points of the pinebook pro like strange noises and a really lowest quality touchpad ...
  12. Like
    hexdump got a reaction from TRS-80 in How to get Armbian running on a X86_64 with multiboot?   
    @gounthar - if you are looking for arm laptops for use with linux, then you should also consider arm chromebooks. best supported are the mediatek mt8183 based kukui and the snapdragon 7c based trogdor devices - nearly everything is working for them with mainline with only very few to no patches required and they are available used or new really cheap (by a factor lower than any other arm laptop option). both have 8 cores, 4gb (some 8gb) ram and 64+/-gb fast emmc. performance wise they are above odroid n2 level. if you can get (not easy due to supply issues) or build (there are a few docs with instructions online) a suzyqable you even get features like a serial console on a laptop which you usually never get. the build quality and reliability of such chromebooks is usually way higher as for average sbc's and with mainline on the above mentioned series you get: panfrost gpu support, working suspend/resume and power saving modes, working wifi, bt, sound and for most of them even camera(s). maybe have a look at cadmium: https://github.com/Maccraft123/Cadmium or my linux on arm chromebooks page: https://github.com/hexdump0815/linux-mainline-on-arm-chromebooks to get started.
     
    the best supported other arm laptop is the a few years old lenovo c630 (not the chromebook version) and it is still missing some basic functionality here and there (sleep/suspend etc.). another option - the pinebook pro - is in a different performance and quality league (sadly downwards).
     
    best wishes - hexdump
  13. Like
    hexdump got a reaction from Sigma7 in How to get Armbian running on a X86_64 with multiboot?   
    @gounthar - if you are looking for arm laptops for use with linux, then you should also consider arm chromebooks. best supported are the mediatek mt8183 based kukui and the snapdragon 7c based trogdor devices - nearly everything is working for them with mainline with only very few to no patches required and they are available used or new really cheap (by a factor lower than any other arm laptop option). both have 8 cores, 4gb (some 8gb) ram and 64+/-gb fast emmc. performance wise they are above odroid n2 level. if you can get (not easy due to supply issues) or build (there are a few docs with instructions online) a suzyqable you even get features like a serial console on a laptop which you usually never get. the build quality and reliability of such chromebooks is usually way higher as for average sbc's and with mainline on the above mentioned series you get: panfrost gpu support, working suspend/resume and power saving modes, working wifi, bt, sound and for most of them even camera(s). maybe have a look at cadmium: https://github.com/Maccraft123/Cadmium or my linux on arm chromebooks page: https://github.com/hexdump0815/linux-mainline-on-arm-chromebooks to get started.
     
    the best supported other arm laptop is the a few years old lenovo c630 (not the chromebook version) and it is still missing some basic functionality here and there (sleep/suspend etc.). another option - the pinebook pro - is in a different performance and quality league (sadly downwards).
     
    best wishes - hexdump
  14. Like
    hexdump got a reaction from Willy Moto in Allwinner H6   
    @Pic55 - the possible cpu clocks are usually specified in the opp tables in the dtb, so either they only contain entries up to 1.7ghz in your dtb or the higher entries are disabled (status="disabled") or the supply voltage regulator (defined in the cpu node i think) does not go high enough for the highest opp entries in your case
  15. Like
    hexdump got a reaction from lanefu in How to get Armbian running on a X86_64 with multiboot?   
    @gounthar - if you are looking for arm laptops for use with linux, then you should also consider arm chromebooks. best supported are the mediatek mt8183 based kukui and the snapdragon 7c based trogdor devices - nearly everything is working for them with mainline with only very few to no patches required and they are available used or new really cheap (by a factor lower than any other arm laptop option). both have 8 cores, 4gb (some 8gb) ram and 64+/-gb fast emmc. performance wise they are above odroid n2 level. if you can get (not easy due to supply issues) or build (there are a few docs with instructions online) a suzyqable you even get features like a serial console on a laptop which you usually never get. the build quality and reliability of such chromebooks is usually way higher as for average sbc's and with mainline on the above mentioned series you get: panfrost gpu support, working suspend/resume and power saving modes, working wifi, bt, sound and for most of them even camera(s). maybe have a look at cadmium: https://github.com/Maccraft123/Cadmium or my linux on arm chromebooks page: https://github.com/hexdump0815/linux-mainline-on-arm-chromebooks to get started.
     
    the best supported other arm laptop is the a few years old lenovo c630 (not the chromebook version) and it is still missing some basic functionality here and there (sleep/suspend etc.). another option - the pinebook pro - is in a different performance and quality league (sadly downwards).
     
    best wishes - hexdump
  16. Like
    hexdump got a reaction from gounthar in How to get Armbian running on a X86_64 with multiboot?   
    @gounthar - if you are looking for arm laptops for use with linux, then you should also consider arm chromebooks. best supported are the mediatek mt8183 based kukui and the snapdragon 7c based trogdor devices - nearly everything is working for them with mainline with only very few to no patches required and they are available used or new really cheap (by a factor lower than any other arm laptop option). both have 8 cores, 4gb (some 8gb) ram and 64+/-gb fast emmc. performance wise they are above odroid n2 level. if you can get (not easy due to supply issues) or build (there are a few docs with instructions online) a suzyqable you even get features like a serial console on a laptop which you usually never get. the build quality and reliability of such chromebooks is usually way higher as for average sbc's and with mainline on the above mentioned series you get: panfrost gpu support, working suspend/resume and power saving modes, working wifi, bt, sound and for most of them even camera(s). maybe have a look at cadmium: https://github.com/Maccraft123/Cadmium or my linux on arm chromebooks page: https://github.com/hexdump0815/linux-mainline-on-arm-chromebooks to get started.
     
    the best supported other arm laptop is the a few years old lenovo c630 (not the chromebook version) and it is still missing some basic functionality here and there (sleep/suspend etc.). another option - the pinebook pro - is in a different performance and quality league (sadly downwards).
     
    best wishes - hexdump
  17. Like
    hexdump got a reaction from tommy in CSC Armbian for RK3318/RK3328 TV box boards   
    @elbuit - if nothing else works, this should usually work to get the device tree from a running android: https://github.com/hexdump0815/u-boot-misc/tree/master/misc.h616-legacy/android-device-tree-copy
     
    best wishes and good luck - hexdump
  18. Like
    hexdump reacted to jock in CSC Armbian for RK322X TV Boxes   
    Multitool update!
     
    Hello! I'm pleased to announce that multitool finally got network and SSH access, and now can be used on headless systems!
     
    The latest release will retrieve an IP from the network DHCP server automatically, so you can consult your local network router to discover what IP the box got.
    SSH access can be obtained logging in as root user; no password is requested.
    Example with IP 192.168.1.18:
    paolo@predatorg:~$ ssh root@192.168.1.18 Welcome to Multitool SSH session! root@multitool:~#  
     
    Link-local access:
     
    Multitool will also, by default, listen to link-local 169.254.120.120/16 address. This is useful if you have no DHCP server or have troubles retrieving the IP address.
    Note that to access such private IP you need to set a network interface of your PC on the same subnet, or also use a virtual interface.
     
    Here there is an example using ip assigning address 169.254.89.32/16 to virtual interface eth0:1 (address can be changed at your pleasure, interface must be the same interface you use to access the box, ie: wlan0, enp0s25, or whatever):
    ip addr add 169.254.89.32/16 brd + dev eth0 label eth0:1  
    or if you prefer old but good ifconfig:
    ifconfig eth0:1 169.254.89.32/16  
    then the multitool is accessible to 169.254.120.120:
    paolo@predatorg:~$ ssh root@169.254.120.120 Welcome to Multitool SSH session! root@multitool:~#  
    Of course link-local access won't work if you have multiple devices running multitool on the same network, since all of them will conflict because they have the same IP; in such case use the IP provided by DHCP.
  19. Like
    hexdump reacted to balbes150 in Jetson Nano   
    The procedure for updating (fixing) the latest version of u-boot for Jetson Nano. Fixes the system startup error when the Initrd size is more than 14 MB.
     
    1. Download the boot.scr file from the link.
    2. Prepare any clean media (you can use any media SD card or USB flash drive of any size). The media must be formatted in FAT32 or EXT2\3\4.
    3. Write the boot.scr file to the media
    4. Connect the media to the Jetson Nano and turn on the power.
    5 Wait 3-4 Minutes and turn off the power, disconnect the media.
     
    This is a one-time procedure that automatically fixes an error in u-boot SPI. After that, you can use any systems from external media.
     
     
    https://disk.yandex.ru/d/p1uI2wyAfpoLRA
  20. Like
    hexdump got a reaction from jock in CSC Armbian for RK322X TV Boxes   
    @jock- most probably not related, but maybe worth a try: there is at least one allwinner h6 tv box which requires it to force hdmi to on via "video=HDMI-A-1:e" on the kernel cmdline to get any output on hdmi - so far nothing else has made it working than this little hack ... good luck
  21. Like
    hexdump reacted to jernej in OrangePi Zero2 - Allwinner H616   
    FYI, I ported wifi driver to mainline (top two commits): https://github.com/jernejsk/linux-1/commits/h616-full
    To say that code is convoluted is a big understatement.
  22. Like
    hexdump got a reaction from ArkhanLK in OrangePi Zero2 - Allwinner H616   
    @ArkhanLK - i played around with an h313 x96q box - it was working as well as a h616 box, but maybe the h313 are the lower quality ones as i was not able to reach as high cpu clocks with it like with h616 and it also got hotter - so maybe h313 are the lower quality binned versions of the h616 (similar to rk3318 vs rk3328 for rockchip)
     
    best wishes - hexdump
  23. Like
    hexdump got a reaction from jock in CSC Armbian for RK3318/RK3328 TV box boards   
    @chinhhut - this might be some interesting reading too regarding boxes, which cannot boot from sd card: https://github.com/hexdump0815/u-boot-misc/issues/2
     
    best wishes - hexdump
  24. Like
    hexdump got a reaction from RetroFan90 in CSC Armbian for RK3318/RK3328 TV box boards   
    @chinhhut - this might be some interesting reading too regarding boxes, which cannot boot from sd card: https://github.com/hexdump0815/u-boot-misc/issues/2
     
    best wishes - hexdump
  25. Like
    hexdump got a reaction from chinhhut in CSC Armbian for RK3318/RK3328 TV box boards   
    @chinhhut - this might be some interesting reading too regarding boxes, which cannot boot from sd card: https://github.com/hexdump0815/u-boot-misc/issues/2
     
    best wishes - hexdump
×
×
  • Create New...