Jump to content

hexdump

Members
  • Posts

    457
  • Joined

  • Last visited

Posts posted by hexdump

  1. @chewitt - not really automated, but at least a way to get the acs info from a box boot block: look at an existing acs file for that type of soc - usually it is possible to find the signature of its beginning in the boot area of a box dump and iirc the end is clear from size and some free space afterwards as well - this worked well for me for g12a and sm1 where acs can be assembed in properly when building new boot blocks - see: https://github.com/hexdump0815/u-boot-misc/blob/d75cf6cbb8f95d7b32ab7f66111c79196d7f7c07/readme.gxy#L153-L158

     

    for gxl i extracted the bl* parts (one of which also contains the ram timing) from the box boot blocks via glximg and reassembled new bootblocks based on them - see: https://github.com/hexdump0815/u-boot-misc/blob/b10b9a5aca46438233fde86f96b452d76d7158f8/readme.gxl#L115-L160

     

    but i guess you know most of that already

     

    best wishes - hexdump

  2. @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

  3. @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

  4. @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 ...

  5. @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

  6. the u-boot setup on amlogic tv boxes is very special - a legacy u-boot is chainloading a mainline u-boot and it is very likely that saveenv in this setup simply does not work ... the readme linked by me above at least gives a rough idea about the steps to build it, but maybe its not really easy for someone not used to build u-boot all the time ... i'm not having the time right now to take care of it myself

     

    best wishes - hexdump

  7. @Jeebus - it comes from CONFIG_BOOTDELAY=5 in the config used when building u-boot - in case your u-boot is saying something about hexdump in its output then here are some notes on how it was built: https://github.com/hexdump0815/u-boot-misc/blob/master/readme.gxl - in the end you'll have to build your own u-boot in case you want to get rid of it ... the idea behind it is to have a chance to press a key at this point to enter raw u-boot cmdline to fix things by hand in case your setup got broken ...

     

    good luck and best wishes - hexdump

  8. i have this on my radar and my todo list for a while, but did not yet get to testing it - it looks very primising for lower end systems as the ones we are often dealing with here, especially i assume it will give a big push in useability for 4gb systems (i.e. enough ram to really make something out of it)

  9. @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

  10. @Pic55 - i even have h6 boxes running at ~2 ghz (with a fan) successfully and stable - in the end it really depends on the actual box ... i think the cpu voltage on most h6 tv boxes is fixed and depends maybe a bit on the box (i think the cpu voltage is not regulated as for most other boxes and sbc's) and i think that this maybe is also the cause of the temperature differences: the higher the fixed voltage, the higher the soc can be clocked in a somewhat stable way and the hotter it runs (... and the earlier it will break most probably too)

     

    best wishes - hexdump

  11. with those newer amlogic socs you never know what you get - they seem to randomly remove or exchange components and give it a new name - i once got an s905l2 working by changing the mali config (https://github.com/hexdump0815/linux-mainline-and-mali-generic-stable-kernel/blob/master/misc.av8/patches/mali-with-only-2-pp-cores.patch), but your problem looks different ... so in the end its better to avoid any newer amlogic boxes ...

     

    best wishes - hexdump

  12. @jock - that linked u-boot was for a rk3328 box, which has the sd card connected in a way, so that it cannot boot from it - with that special u-boot written to emmc i was able to boot that u-boot and that then was able to read a boot.scr or extlinux.conf from sd card or usb and so it allowed to indirectly boot from sd card

     

    on boxes with locked bootloader i have two amlogic ones (one s905x2 and one s905x) and a rk3288 one (https://github.com/hexdump0815/imagebuilder/tree/main/systems/orbsmart_s92_beelink_r89) which most probably all do not match here ...

     

    best wishes - hexdump

  13. @phelum - you might give this a try to make shutdown at least somehow working (i did not find the time yet to test it myself): https://libera.irclog.whitequark.org/tegra/2022-01-30#31661546 and https://libera.irclog.whitequark.org/tegra/2022-01-31#31668641

     

    "<digetx> hexdump0815: likely that max77620 just needs to be marked as system-power-controller in nano's dtsi to enable powering off using PMIC"

     

    "<tagr> hexdump0815: Jetson Nano will by default try to power off using PSCI, but the PSCI implementation is incomplete, so it won't actually cause the system to power down - so for now the best thing you can do is to try something like digetx suggested"

     

    and while we are at the not so good sides of running mainline on the jetson nano, there is also this one to keep in mind which for me results in the performance being way lower than with the legacy kernel right now: https://libera.irclog.whitequark.org/tegra/2022-01-31#31668655

     

    "<tagr> regarding the performance, Tegra210 doesn't support EMC frequency scaling yet because the firmware doesn't pass the EMC tables in the right format on Jetson Nano I think the boot EMC frequency is fairly low, so that might explain some of the performance issues that you're seeing"

     

    besides that the gpu currently cannot be clocked very high, otherwise the system will hang ...

     

    best wishes and good luck - hexdump

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines