Jump to content

fangis

Members
  • Posts

    20
  • Joined

  • Last visited

Posts posted by fangis

  1. Hi @jock , thanks if you can help with this.

    I'll do a more complete post.

    If not enough I can post the whole dmesg, later

     

    Spoiler

                   *** sta_cfg_set, /etc/firmware/ssv6051-wifi.conf ***

    [ 1485.042820] ERROR: filp_open
    [ 1485.042853] ------------[ cut here ]------------
    [ 1485.043061] WARNING: CPU: 2 PID: 2740 at drivers/net/wireless/rockchip_wlan/ssv6xxx/ssvdevice/ssvdevice.c:169 sta_cfg_set+0xc0/0x220 [ssv6051]()
    [ 1485.043073] Modules linked in: ssv6051(+) lz4 lz4_compress gpio_ir_recv lzo mali snd_soc_rk3228 zram fuse ip_tables autofs4 uas
    [ 1485.043153] CPU: 2 PID: 2740 Comm: busybox Not tainted 4.4.194-rk322x #2
    [ 1485.043162] Hardware name: Generic DT based system
    [ 1485.043208] [<b001898c>] (unwind_backtrace) from [<b0014468>] (show_stack+0x20/0x24)
    [ 1485.043234] [<b0014468>] (show_stack) from [<b05306a0>] (dump_stack+0x90/0xa4)
    [ 1485.043254] [<b05306a0>] (dump_stack) from [<b00276dc>] (warn_slowpath_common+0x94/0xc4)
    [ 1485.043271] [<b00276dc>] (warn_slowpath_common) from [<b00277c8>] (warn_slowpath_null+0x2c/0x34)
    [ 1485.043361] [<b00277c8>] (warn_slowpath_null) from [<af0ddb00>] (sta_cfg_set+0xc0/0x220 [ssv6051])
    [ 1485.043506] [<af0ddb00>] (sta_cfg_set [ssv6051]) from [<af0c24b4>] (ssvdevice_init+0xf4/0x12c [ssv6051])
    [ 1485.043640] [<af0c24b4>] (ssvdevice_init [ssv6051]) from [<af0dd9c4>] (initWlan+0x40/0x8c [ssv6051])
    [ 1485.043770] [<af0dd9c4>] (initWlan [ssv6051]) from [<af0f7020>] (generic_wifi_init_module+0x20/0x1000 [ssv6051])
    [ 1485.043853] [<af0f7020>] (generic_wifi_init_module [ssv6051]) from [<b0009a68>] (do_one_initcall+0xa0/0x1f8)
    [ 1485.043886] [<b0009a68>] (do_one_initcall) from [<b00be208>] (do_init_module+0x74/0x1f4)
    [ 1485.043903] [<b00be208>] (do_init_module) from [<b00c011c>] (load_module+0x1cc8/0x22bc)
    [ 1485.043919] [<b00c011c>] (load_module) from [<b00c080c>] (SyS_init_module+0xfc/0x198)
    [ 1485.043935] [<b00c080c>] (SyS_init_module) from [<b0010100>] (ret_fast_syscall+0x0/0x54)
    [ 1485.043945] ---[ end trace ece8e1cf317b4e16 ]---
    [ 1485.044289] ssv6xxx_sdio_init
    [ 1485.545091] initWlan : Retry to carddetect
    [ 1486.205085] initWlan : Retry to carddetect
    [ 1486.865044] initWlan : Retry to carddetect
    [ 1487.525035] initWlan : Retry to carddetect
    [ 1488.185005] initWlan : Retry to carddetect
    [ 1510.775726] generic_wifi_exit_module
    [ 1510.879369] ssv6xxx_sdio_exit
    [ 1510.936458] mmc1:mmc host rescan start!
    [ 1510.936506] [WLAN_RFKILL]: rockchip_wifi_power: 0
    [ 1510.936539] [WLAN_RFKILL]: rockchip_wifi_power: rfkill-wlan driver has not Successful initialized
    [ 1552.920252] generic_wifi_init_module
    [ 1553.199584] 
     

     

  2. hi @ilmich, thanks for the help

     

    I can't test the box right now, only on Sundays and even then it's difficult

    but I have some logs, maybe it's helpful ?

     

    cat dmesg2.txt | grep -i sdio -A5 -B5
    [    4.911371] Bluetooth: HCI UART protocol ATH3K registered
    [    4.917876] Bluetooth: HCI UART protocol Three-wire (H5) registered
    [    4.924728] Bluetooth: HCI UART protocol BCM registered
    [    4.931574] usbcore: registered new interface driver bfusb
    [    4.938344] usbcore: registered new interface driver btusb
    [    4.944845] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
    [    4.952172] cpu cpu0: leakage=5
    [    4.958698] cpu cpu0: leakage-volt-sel=0
    [    4.965482] cpu cpu0: Failed to get pvtm
    [    4.974092] cpu cpu0: avs=0
    [    4.980660] cpu cpu0: l=-2147483648 h=2147483647 hyst=0 l_limit=0 h_limit=0
    [    4.987149] cpu cpu0: failed to read out thermal zone (-22)
    [    4.994450] cpu cpu0: failed to find power_model node
    [    5.000172] pwrseq_simple sdio-pwrseq: GPIO lookup for consumer reset
    [    5.004832] pwrseq_simple sdio-pwrseq: using device tree for GPIO lookup
    [    5.009496] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/sdio-pwrseq[0]' - status (0)
    [    5.014887] Synopsys Designware Multimedia Card Interface Driver
    [    5.020518] usb 6-1: New USB device found, idVendor=062a, idProduct=4c01
    [    5.020572] dwmmc_rockchip 30000000.dwmmc: IDMAC supports 32-bit address mode.
    [    5.020877] dwmmc_rockchip 30000000.dwmmc: Using internal DMA controller.
    [    5.020899] dwmmc_rockchip 30000000.dwmmc: Version ID is 270a
    --
    [ 1485.043886] [<b0009a68>] (do_one_initcall) from [<b00be208>] (do_init_module+0x74/0x1f4)
    [ 1485.043903] [<b00be208>] (do_init_module) from [<b00c011c>] (load_module+0x1cc8/0x22bc)
    [ 1485.043919] [<b00c011c>] (load_module) from [<b00c080c>] (SyS_init_module+0xfc/0x198)
    [ 1485.043935] [<b00c080c>] (SyS_init_module) from [<b0010100>] (ret_fast_syscall+0x0/0x54)
    [ 1485.043945] ---[ end trace ece8e1cf317b4e16 ]---
    [ 1485.044289] ssv6xxx_sdio_init
    [ 1485.545091] initWlan : Retry to carddetect
    [ 1486.205085] initWlan : Retry to carddetect
    [ 1486.865044] initWlan : Retry to carddetect
    [ 1487.525035] initWlan : Retry to carddetect
    [ 1488.185005] initWlan : Retry to carddetect
    [ 1510.775726] generic_wifi_exit_module
    [ 1510.879369] ssv6xxx_sdio_exit
    [ 1510.936458] mmc1:mmc host rescan start!
    [ 1510.936506] [WLAN_RFKILL]: rockchip_wifi_power: 0
    [ 1510.936539] [WLAN_RFKILL]: rockchip_wifi_power: rfkill-wlan driver has not Successful initialized
    [ 1552.920252] generic_wifi_init_module
    [ 1553.199584] 
                   *** sta_cfg_set, /etc/firmware/ssv6051-wifi.conf ***
    
    [ 1553.203279] ssv6xxx_sdio_init
    [ 1553.707424] initWlan : Retry to carddetect
    [ 1554.367412] initWlan : Retry to carddetect
    [ 1555.027387] initWlan : Retry to carddetect
    [ 1555.687387] initWlan : Retry to carddetect
    [ 1556.347376] initWlan : Retry to carddetect
    [ 1650.075422] generic_wifi_exit_module
    [ 1650.177386] ssv6xxx_sdio_exit
    [ 1650.233107] mmc1:mmc host rescan start!
    [ 1650.233154] [WLAN_RFKILL]: rockchip_wifi_power: 0
    [ 1650.233185] [WLAN_RFKILL]: rockchip_wifi_power: rfkill-wlan driver has not Successful initialized
    [ 1672.520954] generic_wifi_init_module
    [ 1672.800656] 
                   *** sta_cfg_set, /lib/firmware/ssv6051-wifi.cfg ***
    
    [ 1672.811224] ssv6xxx_sdio_init
    [ 1673.312564] initWlan : Retry to carddetect
    [ 1673.972534] initWlan : Retry to carddetect
    [ 1674.632554] initWlan : Retry to carddetect
    [ 1675.292553] initWlan : Retry to carddetect
    [ 1675.952503] initWlan : Retry to carddetect
    r@pc:/mxq$ 

     

    thank you

  3. 11 hours ago, ojogoperdi said:

    They boot from SD if the eMMC is erased.

    I was trying to avoid doing that, because restoring the internal storage takes a while.

    Because multitool boots from the SD card, I thought there must be a way to boot armbian from the SD card without modifying the internal storage.

     

    @ojogoperdi ? ? It is indeed very possible to boot from sdcard without touching the internal storage, my sd image does it, and I know some others have done it too. My parents box has their Android intact and they still think android is so much better than linux 😄

  4. @fabiobassa I agree.

     

    I think back some decade ago, when the tv boxes have appeared,

    then you could buy some box that actually matched the description. they often also had that cool usb drive appearance.

    But then now they are really popular, especially some models. here I think the

    most famous is that mxq pro box. So now when you buy it it's a real lottery, 

    it can be anything. especially because now the sellers want to advertise a 64 bit cpu and sell something worse.

    I was trying to boot linux for rk33xx and failing, only understood what was going on when I installed a terminal emulator

    and then saw user rk322x.

     

  5. On 7/15/2023 at 1:01 AM, ojogoperdi said:

    The Brazilian government confiscated (big) irregular shipments of TV boxes. They plan on repurposing some of them (the ones that are actually usable) as mini PCs for schools and other social causes. So our university got a portion of TX9-brand boxes to explore the feasibility of using these devices as PCs. They are very sluggish, and I don't expect them to be usable for this purpose.

     

    Wow ! Can I have one ? ?

     

    here I tested a sdcard image on my parents mxq pro box, and for basic tasks it's fine.

    Chromium basic browsing

    libreoffice

    etc!

    And of course all the command-line programs and servers will work fine too.

    From what I read tx9 should have an amlogic cpu, so no wonder why some of them aren't booting ?

     

  6. 9 hours ago, n3o said:

    Hi, I don't know if Android still boot (last time it was in recovery mode). However, the logs showed on terminal app are the same of logs asked by @jock?

     

    Hello ! the dmesg log is for the kernel messages. I think the serial log gets these and even earlier messages from the bootloaders.

  7. @n3o, hello, I was suggesting android to get your logs:

    1.in android, download a terminal emulator app

    2.in the app type: dmesg

    3.the logs will appear, then copy and paste the parts you need.

     

    Anyway it seems now you don't need it.

     

    @ochentay4, OK , I have suggested that way because to me it seemed the best to your situation, basically you would have a mix of libreelec boot files, and armbian file system. anyway good luck

  8. @fabiobassa

    I think he meant that he took some pics with his camera.
    And, please correct if i'm wrong, but, @ochentay4 if you can boot libreelec I think you can boot armbian , at least by doing a mixed image, as proposed by user "hexdump" in the first posts, that's how I prepared my sdcard image too.
    good luck
  9. Here are my impressions after some weekend tests:

     

    Overall, it's all working better than I expected ! 

     

    Despite some things I have read here, the desktop experience is fine to me, maybe my
    standards are too low? chromium is loading first time in about 10 
    seconds, after that it's faster. It's not super responsive to the commands, but
    it's not too laggy either.

     

    Youtube in Chromium is almost OK to watch, which surprised me, I expected much
    worse. But there is some stuttering. I think it can work much better with some
    external app. I installed smtube, but it depends on youtube-dl which was failing,
    but now I found a 2023 version of it that seems to work, to be tested later.

     

    I installed many window managers, jwm, icewm, wmaker and lxde, all working well,
    but I now mostly like icewm which combines a very light ram usage and some nice
    windows-looking menus. Ideal to show your friends who think linux is an OS that only
    can be used by wizards.

     

    My parents like printing so I put there cups with hplip, and libreoffice showed
    a nice preview, remote printing worked, which made them impressed, they asked me how I did
    that, funny, right.

     

    Ethernet worked for most of the time but suddenly stopped one or two times, I
    am not sure if this is a driver issue or network-manager related, to be verified.

    Wifi was failing to load, I now found out that ssv6051 was looking for a .conf
    file and it was named .cfg in the filesystem, to verify later if it works after correcting it.

     

    The internal storage was detected as mmcblk2 and some partitions mmcblk2boot0 and boot1,
    however I couldn't mount them, I am not sure what goes on here, maybe it's
    a different rockchip filesystem because of the boot files and with the correct
    offset it can be mounted, to be checked later.

     

    IN my opinion it truly makes a little pc in your tv, thumbs up ...

  10. Hello RaptorSDS

    I have done it some years ago, so I don't remeber it all, but I recall it as being easy, just installed them with apt, as "apt install jwm" and then there was an option to switch between the different window managers on login, you can have many of them installed.

    The defaults will probably work but for the links you asked, google for 'jwm window manager', 'openbox window manager' or the manuals, 'man jwm' , etc.

    I think somehow in your setup there were libraries missing ...
  11. @regepower

    xfce might be a heavy environment for your v88 box.

    you may try lxde which is lighter ..

    and even much lighter, there are the window managers, of which I recommend,

    openbox + tint2

    or jwm, which is the lightest usable option I know of,

     

    I am not a mega X user, but I have tested these on a worse tv box, and

    it actually made a difference.

    have a good week

  12. Hello friends,

     

    No request this time, just another success story, at least partial !

    I managed to run multitool on a mxq pro tv box.

    Now I will try to edit this image to make a linux image working from

    the sd card, my parents still like too much their laggy android to delete it, hehe.

     

    Installing linux on mini pcs is so useful, I have done it on many different ones.. Im curious on what people here are doing with their desktops and servers !

    ok, all the best, greetings from Brazil, and thanks everyone for the work and research

     

    fangis

  13. Hello all

     

    First of all, thanks Balbes for the image, it's working great on my dad's new X96 mini.

     

    I have read that in the mainline kernel there is no support for ssv6051 which seems to be the wifi chip on this box. I also read that the legacy images were removed recently.

    I have also a copy of the older version 5.37 server with kernel 3.14, however it seems that image will not have the needed module. 

     

    My question is,  does someone who has this 5.41 image with kernel 3.14  could upload it somewhere? I would be very thankful.

    Or, if someone could point me to a link to just the module ssv6051 and firmware, I think this probably could work on my 5.37 image. Or if anyone has the driver source I could try to compile it.

     

    Again a big thanks,  it's great to have linux on this tv box.

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines