fabiobassa

Members
  • Posts

    279
  • Joined

  • Last visited

Reputation Activity

  1. Like
    fabiobassa got a reaction from jock in CSC Armbian for RK322X TV Boxes   
    Until are kernel related problems Is ok discuss here.
    Or you can discuss elsewhere, test and then make requests here about missing features in kernel
  2. Like
    fabiobassa got a reaction from MattWestB in CSC Armbian for RK322X TV Boxes   
    Until are kernel related problems Is ok discuss here.
    Or you can discuss elsewhere, test and then make requests here about missing features in kernel
  3. Like
    fabiobassa reacted to MattWestB in CSC Armbian for RK322X TV Boxes   
    @fedex My test script is showing the same and i can installing portainer and / or docker agent and its working OK.
    What is HA complaining then you is trying installing it ?
    Also the CPU is 32 bits so need using installing the "armv7l" version by selecting "raspberrypi2" or its failing.
     
    @jock I think we shall not hijacking the thread with no Armbian things and you must saying if we shall stop spamming it with HA problems.
  4. Like
    fabiobassa reacted to jock in CSC Armbian for RK3318/RK3328 TV box boards   
    I may remember not so well because rk3318 received little attention lately, but it should be enable and provided via opensource Lima driver.
    You can check if AccelMethod is set to "glamor" (enabled) or "none" (disabled) in /etc/X11/xorg.conf.d/40-serverflags.conf
    As usual, it is wise to disable compositing for a bit better performance in a typical desktop usage.
  5. Like
    fabiobassa got a reaction from Vittorio Mori in CSC Armbian for RK322X TV Boxes   
    @Vittorio Mori

    Ciao Vittorio, buongiorno e benvenuto
    I will answer in a straight manner don't consider it rude 😄 but just the answer of someone that loosed sleep trying to achieve the same as you.

     

    Yes ! You have to go trought the whole compile method and then build your buildroot stripping down what is un-needed.
    Now the problem is that used to exist a rockchip buildroot method described on github and i don t find anymore it

     

    NO !! Unfortunately you still have to go trought the compilation method enabling compile fmpeg with some tweaking as described

    here 

    with this 3 " magic" flags 
     
    --enable-rkmpp \ --enable-version3 \ --enable-libdrm \

    or even on this same post at the beginning where @jock says as to enable to HW acceleration with some script
     
     
    I did it but was a PITA !!!
    hope you get your goal


     
  6. Like
    fabiobassa reacted to chinhhut in CSC Armbian for RK3318/RK3328 TV box boards   
    @fabiobassa Yes. I'm thinking about the defective emmc issue because I have several 3318 boxes and 1 box get this kernel panic issue, an other box get crashed after several hours running, other ones work well over time. 
  7. Like
    fabiobassa got a reaction from chinhhut in CSC Armbian for RK3318/RK3328 TV box boards   
    @chinhhut
    home assistant is a great project but at the same time is very hard disk intensive and resource eating. In special mode if you even have motion plug-in or other pugins that extensively use the hard disk and/or internal emmc
    And it also coul be a defective emmc since many chinese tvboxes are badly assembled with faulty components
  8. Like
    fabiobassa got a reaction from chinhhut in CSC Armbian for RK3318/RK3328 TV box boards   
    @chinhhut
     
    What services/app have installed?
    Did kernel crashed before new installation or crashes even with unloaded system ?
    As @jockexplained me, no user space applications should ever freeze/panic the kernel , unless drivers are involved.
    And if kernel crashes I am afraid you Will not have any log either
  9. Like
    fabiobassa got a reaction from anhthodien69 in CSC Armbian for RK3318/RK3328 TV box boards   
    @chinhhut

    Try these steps:
    1) push the little switch inside the hole while inserting a male-male cable into the otg
    2) on another linux machine you should have now a new device (lsusb will help you) and you can run rkdeveloptool
    3) rkdeveloptool ld should List Device
    4) rkdeveloptool rd 3 should Reset Device into mode 3  ( maskrom )
    5) rkdeveloptool db MiniLoaderAll.bin ( of course from your path) should upload a temporary loader to recognize the internal emmc
    6) if all is successfull until now you can rkdeveloptool wl 0X0 yourimage.img . This should flash the internal emmc .

    DISCLAIMER: very " dangerous" approach , be ready to have the opportunity to short the emmc clock pin to ground to go back into mask rom
     
    MiniLoaderAll.zip
  10. Like
    fabiobassa got a reaction from Antoxic in CSC Armbian for RK3318/RK3328 TV box boards   
    @Antoxic
    it say this because you didn't specify where is miniloader.bin i suppose

    the exact syntax is :
     
    rkdeveloptool db /home/Antoxic/miniloader.bin
    assuming that your home is called Antoxic. If not adapt the right names
    if you don't specify the path where is miniloader it will say creating comm object failed

    Another info : yours is a REAL 3328, this post is mainly on 3318 that is the " poor brother" of 3328
    It should work all, but maybe ddr frequencies or other oddities can still appear
  11. Like
    fabiobassa got a reaction from MattWestB in CSC Armbian for RK3318/RK3328 TV box boards   
    What do you mean by adding support ? To what ?
    To libreelec recognizing the wifi chip, but then should ask in libreelec forum, or add support to armbian to run kodi, then you missed a lot of previous posts.. ?

     
  12. Like
    fabiobassa got a reaction from MattWestB in CSC Armbian for RK3318/RK3328 TV box boards   
    @chinhhut

    Try these steps:
    1) push the little switch inside the hole while inserting a male-male cable into the otg
    2) on another linux machine you should have now a new device (lsusb will help you) and you can run rkdeveloptool
    3) rkdeveloptool ld should List Device
    4) rkdeveloptool rd 3 should Reset Device into mode 3  ( maskrom )
    5) rkdeveloptool db MiniLoaderAll.bin ( of course from your path) should upload a temporary loader to recognize the internal emmc
    6) if all is successfull until now you can rkdeveloptool wl 0X0 yourimage.img . This should flash the internal emmc .

    DISCLAIMER: very " dangerous" approach , be ready to have the opportunity to short the emmc clock pin to ground to go back into mask rom
     
    MiniLoaderAll.zip
  13. Like
    fabiobassa got a reaction from tommy in CSC Armbian for RK3318/RK3328 TV box boards   
    @chinhhut
    Will try to explain you what loader is with an analogy: in normal pc you have bios and master boot record. Well, maskrom is bios and is contained in the soc itself, loader is a sort of master boot record and it enables the emmc and ddr.
    You can have a look here
    http://opensource.rock-chips.com/wiki_Boot_option

     

    I did extract it by a working firmware using a tool that unpacked the whole firmware. Try to google for RK3xxx_firmware_tools_5.23.1_by_SergioPoverony.zip and leave alone that github since it is just one piece of the puzzle. The detailed infos how to get a working loader are in the rockchip instructions

     

    Of course and the command would be rkdeveloptoo rl 0x0 etc etc etc ( try rkdeveloptool -h to get the help)
    But if you are lucky that works multitool, well that is the easiest way to clone and clone back
  14. Like
    fabiobassa got a reaction from tommy in CSC Armbian for RK3318/RK3328 TV box boards   
    @chinhhut
    Glad you got success .
    Don't forget to put a like that helps @jock and myself in community reputation
     
     
     
  15. Like
    fabiobassa got a reaction from tommy in CSC Armbian for RK3318/RK3328 TV box boards   
    @chinhhut

    Try these steps:
    1) push the little switch inside the hole while inserting a male-male cable into the otg
    2) on another linux machine you should have now a new device (lsusb will help you) and you can run rkdeveloptool
    3) rkdeveloptool ld should List Device
    4) rkdeveloptool rd 3 should Reset Device into mode 3  ( maskrom )
    5) rkdeveloptool db MiniLoaderAll.bin ( of course from your path) should upload a temporary loader to recognize the internal emmc
    6) if all is successfull until now you can rkdeveloptool wl 0X0 yourimage.img . This should flash the internal emmc .

    DISCLAIMER: very " dangerous" approach , be ready to have the opportunity to short the emmc clock pin to ground to go back into mask rom
     
    MiniLoaderAll.zip
  16. Like
    fabiobassa reacted to jock in CSC Armbian for RK3318/RK3328 TV box boards   
    @MattWestB ok, you're the second in row (after @Petroz) that are reporting such mmc problems, so probably there is something on your board that needs to be fixed.
     
    Photos of the board, dmesg, original firmware or (better) the original dtb are useful.
  17. Like
    fabiobassa reacted to nafanovich in CSC Armbian for RK322X TV Boxes   
    my "install" of rk box :-)
  18. Like
    fabiobassa 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
    fabiobassa reacted to MattWestB in CSC Armbian for RK322X TV Boxes   
    Thanks @jock for comments.
    The problem is that user like my with boxes that the HDMI is not working and then cant getting mulltitool working at all also from serial console so being complete blind and if copy your first part of mulltitool and copy one armbian to on partitation after the boot part is possible installing armbian without problem in EMMC with SSH.
    Is it OK posing part of your mulltitool with added system partition on git-hub if some user is requesting it ?
     
    I have only found focal with desktop and installing it i only have little more than 2G free flash and HA is needing that or more so i need mounting the SD-card in docker storage directory then i have 64G for containers and still can installing things and doing updates.
     
    The LEDs is right configuration and changing is not helping (the LED is power off mode) so i must trying your trigger if google can giving my the right guldens.
     
    @fabiobassa you are more then welcome PM my or you can open issue in one of my git-hubs repros like https://github.com/MattWestb/R29-MXQ-LP3-V2.3-00908.
    Im not one expert on HA but have much knowledge with ZHA part and the Zigbee system and device.
    If i can help with some problem or sharing some good or bad experience is very OK for my and you looks have much knowledge in other interesting technical things.
     
    PS the soldering is not so good that it can being but working and it can being better done but with the age its more Shaking Stevens have doing it ;-))
     
    Mvh  Mattias
  20. Like
    fabiobassa got a reaction from MattWestB in CSC Armbian for RK322X TV Boxes   
    @MattWestB
    compliments for your installation, looks fine

    Are you ok on home assistant ? would ask something,  maybe i can send you a private message ?

     
  21. Like
    fabiobassa reacted to MattWestB in CSC Armbian for RK322X TV Boxes   
    I was rebooting the box after nearly 8 days of up time with HA supervised and that is not bad for the "first try" running it on the new hardware.
    I was not liking the external SD-Card that is 4/5 outside of the box and im using micro SD-card so i was baying one cheep USB card reader and desolating the SD socket and soldering up side down on the back side of the external in the box so i can mounting the SD-card or one adapter for micro SD-card inside the box and having the docker container storage on it and its working OK. (only 2 pads was tricky getting OK in the middle and dont looks so nice but is working OK)
     
    I was doing one mistake that i can fixing but im sure some knowing how to do that.
    By using commands shutdown the box is being shutdown and cant being powered on then its not having any power button so must re powering by taking  the power cord away and back but after that the power LED is always off also if i changing the LED config with RK-config.
    Is it possible sending one command type "LED on" so its start working or some other work around ?
    If booting on external SD-card or USB with one new installed armbian its working  OK until using shutdown.
     
    @jock in the first post in "Quick installation instructions to boot from SD Card:" you is writing "Erase flash" and then Build or download your preferred Armbian image and writing it to one SD-card and booting armbian.
    But its not working then its not bootloader in the internal flash so the chip is trying to finding one on the SD-card = OK but all armbian images is only system in and no bootloder so the chip cant booting if not adding one bootloader and  u-boot on the SD-card before the system partition. Have i misunderstanding some thing or is it one typo ?
    If having one image with "normal" bootloader and u-boot and one minimal system partition (one meg or so) then it shall being extending the partition and copy one system partition the card having it booting OK also for no Linux skill window user with minitols that can extending Linux partitions and also copy them between dicks from windows.
     
    Thanks for great support and work with our boxes and hope next Ubuntu LTS is coming soon (beta is booting OK but is not  working OK for one week ago) and working great on them in near future !!
     
  22. Like
    fabiobassa got a reaction from Willy Moto in CSC Armbian for RK3318/RK3328 TV box boards   
    @Wester_Minsk
     

    I suppose you want to build a uboot for supporting booting from usb3 .
    This isn't a simple task and if it was simple,  somebody else already could had done for all of us. It is needed deep knowledge of processes undergoing the compilation and the modding of c sources. It isn't just a flag " boot from usb3..." but a chain on changes to do to the code, if someone already has written a code for it

    By the way here is the link
    https://github.com/rockchip-linux/u-boot

    but then don't ask for assistance in what when and where apply patch since if this infos were clear and well known uboot already had have usb3 support.

    But you really welcome to study and share your results
  23. Like
    fabiobassa got a reaction from Willy Moto in CSC Armbian for RK3318/RK3328 TV box boards   
    @chinhhut

    Try these steps:
    1) push the little switch inside the hole while inserting a male-male cable into the otg
    2) on another linux machine you should have now a new device (lsusb will help you) and you can run rkdeveloptool
    3) rkdeveloptool ld should List Device
    4) rkdeveloptool rd 3 should Reset Device into mode 3  ( maskrom )
    5) rkdeveloptool db MiniLoaderAll.bin ( of course from your path) should upload a temporary loader to recognize the internal emmc
    6) if all is successfull until now you can rkdeveloptool wl 0X0 yourimage.img . This should flash the internal emmc .

    DISCLAIMER: very " dangerous" approach , be ready to have the opportunity to short the emmc clock pin to ground to go back into mask rom
     
    MiniLoaderAll.zip
  24. Like
    fabiobassa got a reaction from Willy Moto in CSC Armbian for RK3318/RK3328 TV box boards   
    @chinhhut
    Glad you got success .
    Don't forget to put a like that helps @jock and myself in community reputation
     
     
     
  25. Like
    fabiobassa got a reaction from Trần Minh Thảo in CSC Armbian for RK322X TV Boxes   
    @Trần Minh Thảo
    what operating system are you using to flash device ?
    you need UBUNTU or DEBIAN , latest versions