Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Debian on rk3229 is it possible?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #61
    Originally posted by scottmu64 View Post
    Tried this ReSpeaker Linux IMG on my old schision V88 tv box and it boots and runs, Ethernet only mind.

    Great to see some efforts made around the 3229, would love to see LibreELEC run one day.
    my V88 only shows red light when I insert the SD, wont boot
    My board is MX4 v01

    Comment


      #62
      Originally posted by rockeirodohs View Post

      my V88 only shows red light when I insert the SD, wont boot
      My board is MX4 v01
      I no it won't work on every rk3229 board, was just lucky it worked on mine. Need to open it up more for more boards.

      Comment


        #63
        the 3229 boards are totally different each from other even if the disposition of components are exactly the SAME

        I have a mx4n and it boots, and on mx4vr it DOESN'T . The mx4n uses NAND , the mx4vr uses EMMC and i discovered it by accident analyzing the uart console, such as I have a 3229 2 giga/8giga that doesn't boot at all.

        that is the reason why an universal method hasn't yet released to community,

        Actually the method involves access by UART, program the GPT instead of RKPARAM and write the right things into right place.

        willerson is doing great efforts to make it work, my biggest thank to him, and actually it is booting either on nand , either on emmc but ONLY ONE core is up and the process is stuck there.
        He is actively searching why othe 3 cores don't work

        KERNEL is 4.4

        regards, Fabio

        Comment


          #64
          Great work guys! Please contine working and offer some more information for "Testers". I am still playing with my V88 mini which has 1GB/8GB Hardware. I don't know yet which board it has internally. But I wanted to try the SD-Card-Version. Would love if you keep going the development! Maybe also respeaker-guys are interested in the development and you can offer colaboration.

          Edit: Ok guys, I got it a try on my V88 Mini 4k 1GB/8GB. - What shall I say, I am blasted! It worked installing the respeaker-image from scott (thanks to mxqproject) https://mega.nz/#!HvJygI4K!Z7KETGEQG...Tjb18foN4yY1dw

          I also got the freezings sometimes after 5 minutes, sometimes less. - I replaced the power supply with a diffrent one. No it worked maybe for 10 minutes. I tried serveral ones and atm i found a working one from my old G-Box 2.1 from 2012. I made the apt update && apt upgrade as root and also got it working from remote via user. You are not allowed to login via root from remote since a while. So you need to use a user... anyway I think that's nothing new.

          I will also try a real stable power supply if it stays working. - At the moment I am amazed what is going on which that trash device. IMPORTANT: I also noticed a big performance incresing with the more powerful power supply! It feels like a speedy raspi at the moment and I think this should be the case if you compare the hardware.

          What's annoying, the device seems to switch the MAC-Address on every boot, so it gets always a diffrent IP from DHCP. So maybe there will be a fix or it works when you install it on internal storage in the future. - Also firefox is not opening anymore after upgrade-procedure, before it worked. At least the device seems more stable after serveral tries to update it stays on. I always fixed the issues and started upgrade again.

          UPDATE: I guess the free RAM is to low. I saw free RAM of 223 MB on my device and guess firefox will need in a version above 60 more than this size of RAM... Maybe there will someone find a workaround or how to free RAM. - But honstely, yes 1 GB is not really much I know.

          I hope you guys keep on developing and of course I will test anything that helps!

          Cheers and happy developing
          Last edited by suppenkasper; 09-12-2019, 18:08.

          Comment


            #65
            I managed to get my MXQ Pro 4K (with RK3229 internally) to boot the respeaker image but I can't seem to get it to stay on for more than 30 seconds. I am, of course using the SD card. I can't keep it running long enough to poke around in sysfs or anything else.

            Comment


              #66
              suppenkasper

              ty for your contribution , and about your question i can answer some infos, if you already did well will be useful infos for others

              you are not allowed to login via root from remote since a while. So you need to use a user
              if you can boot completely and the board stays on for a while, you must edit the /etc/ssh/sshd_config and set the permitrootlogin to yes, save the file and then service ssh restart, you will gain access as root directly ( but i think you knew it )
              and about the fixed ip you have to stop network manager and fix ip in /etc/network/interfaces



              (ty willerson for this)


              please can you install htop and say me how many cores your boards shows ???

              @bjddragon

              I know that issue, all I can say to test more respeaker version, may be also the old ones and MAYBE you'll finde one working, and I repeat MAYBE



              Those boards are litterally different one from other not only in words but in facts.

              Still needed people able and willing to code , must investigate better the boot process, the trust zone since from there are many problems.

              and testers should have at least the ability to connect uart to boards and report the logs , and testers are MOSTLY welcome

              cheers


              Comment


                #67
                Please can every body post the exact firmware their boards have , or even better , upload on mega or somewhere ?

                One of the FIRST and BIGGER obstacle( may be ) coud be the loader ( miniloader, miniloaderall, miniloader ddr 2 and so on , those names you could find in the dump of your firmware or logging by uart)

                cheers

                Comment


                  #68
                  I use the latest unofficial ATV-Version before developing unfortunately stopped on my V88 Mini.

                  https://forum.freaktab.com/forum/tv-...005#post702005

                  Unfortunately the device stopped working after 4h operation time. I installed also other stuff, but only Vlc opened. Kodi and Firefox don't start.

                  Htop is already installed and I see all 4 cores operating. Also when I start installing something all 4 cores work.

                  So I think most problems are:

                  Changing MAC address, but I remember there was a workaround already for Android. It has something to do if you install an image from another box the MAC information doesn't fit anymore and somehow the board creates new virtual ones. There was somewhere a fix, but can't find the information right now.

                  I mean I can open the Box, but can't remember if there were some Pins to get UART to work if it helps...

                  I can't solder at the Rk3229. I have only an usual soldering Stick.

                  The power supply needs to be changed to a proper one or we need to find possibilities to lower power consumption.

                  WiFi is not working
                  Sound only via 3.5mm no HDMI sound
                  Device crashes after a while of operation time

                  Edit:

                  Kodi crashlog:

                  Code:
                  ############## Kodi CRASH LOG ###############
                  
                  ################ SYSTEM INFO ################
                   Date: Fri Sep 13 12:04:11 CEST 2019
                   Kodi Options:
                   Arch: armv7l
                   Kernel: Linux 4.4.138-respeaker-r0 #2 SMP Wed Jul 25 11:29:18 CST 2018
                   Release: Debian GNU/Linux 9 (stretch)
                  ############## END SYSTEM INFO ##############
                  
                  ############### STACK TRACE #################
                  gdb not installed, can't get stack trace.
                  ############# END STACK TRACE ###############
                  
                  ################# LOG FILE ##################
                  
                  12:04:10.444 T:2937293792  NOTICE: special://profile/ is mapped to: special://masterprofile/
                  12:04:10.444 T:2937293792  NOTICE: -----------------------------------------------------------------------
                  12:04:10.445 T:2937293792  NOTICE: Starting Kodi from Debian (17.1 Debian package version: 2:17.1+dfsg1-3). Platform: Linux ARM (Thumb) 32-bit
                  12:04:10.445 T:2937293792  NOTICE: Using Release Kodi from Debian x32 build
                  12:04:10.445 T:2937293792  NOTICE: Kodi from Debian compiled from 2:17.1+dfsg1-3 by GCC 6.3.0 for Linux ARM (Thumb) 32-bit version 4.9.25 (264473)
                  12:04:10.445 T:2937293792  NOTICE: Running on Debian GNU/Linux 9 (stretch), kernel: Linux ARM 32-bit version 4.4.138-respeaker-r0
                  12:04:10.448 T:2937293792  NOTICE: FFmpeg version/source: 3.2.14-1~deb9u1
                  12:04:10.449 T:2937293792  NOTICE: Host CPU: ARMv7 Processor rev 5 (v7l), 4 cores available
                  12:04:10.449 T:2937293792  NOTICE: ARM Features: Neon disabled
                  12:04:10.449 T:2937293792  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
                  12:04:10.449 T:2937293792  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi
                  12:04:10.449 T:2937293792  NOTICE: special://xbmcbinaddons/ is mapped to: /usr/lib/arm-linux-gnueabihf/kodi/addons
                  12:04:10.449 T:2937293792  NOTICE: special://masterprofile/ is mapped to: /home/respeaker/.kodi/userdata
                  12:04:10.449 T:2937293792  NOTICE: special://envhome/ is mapped to: /home/respeaker
                  12:04:10.449 T:2937293792  NOTICE: special://home/ is mapped to: /home/respeaker/.kodi
                  12:04:10.449 T:2937293792  NOTICE: special://temp/ is mapped to: /home/respeaker/.kodi/temp
                  12:04:10.449 T:2937293792  NOTICE: special://logpath/ is mapped to: /home/respeaker/.kodi/temp
                  12:04:10.449 T:2937293792  NOTICE: The executable running is: /usr/lib/arm-linux-gnueabihf/kodi/kodi.bin
                  12:04:10.450 T:2937293792  NOTICE: Local hostname: v2
                  12:04:10.450 T:2937293792  NOTICE: Log File is located: /home/respeaker/.kodi/temp//kodi.log
                  12:04:10.450 T:2937293792  NOTICE: -----------------------------------------------------------------------
                  12:04:10.573 T:2937293792   ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
                  12:04:10.661 T:2937293792  NOTICE: load settings...
                  12:04:10.766 T:2937293792  NOTICE: Found 1 Lists of Devices
                  12:04:10.766 T:2937293792  NOTICE: Enumerated PULSE devices:
                  12:04:10.766 T:2937293792  NOTICE:     Device 1
                  12:04:10.767 T:2937293792  NOTICE:         m_deviceName      : Default
                  12:04:10.767 T:2937293792  NOTICE:         m_displayName     : Default
                  12:04:10.767 T:2937293792  NOTICE:         m_displayNameExtra: Default Output Device (PULSEAUDIO)
                  12:04:10.767 T:2937293792  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
                  12:04:10.767 T:2937293792  NOTICE:         m_channels        : FL,FR
                  12:04:10.767 T:2937293792  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
                  12:04:10.767 T:2937293792  NOTICE:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
                  12:04:10.767 T:2937293792  NOTICE:         m_streamTypes     : No passthrough capabilities
                  12:04:10.767 T:2937293792  NOTICE:     Device 2
                  12:04:10.768 T:2937293792  NOTICE:         m_deviceName      : auto_null
                  12:04:10.768 T:2937293792  NOTICE:         m_displayName     : Dummy Output
                  12:04:10.768 T:2937293792  NOTICE:         m_displayNameExtra: Dummy Output (PULSEAUDIO)
                  12:04:10.768 T:2937293792  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
                  12:04:10.768 T:2937293792  NOTICE:         m_channels        : FL,FR
                  12:04:10.768 T:2937293792  NOTICE:         m_sampleRates     : 5512,8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000,384000
                  12:04:10.768 T:2937293792  NOTICE:         m_dataFormats     : AE_FMT_U8,AE_FMT_S16NE,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_FLOAT
                  12:04:10.768 T:2937293792  NOTICE:         m_streamTypes     : No passthrough capabilities
                  12:04:10.791 T:2937293792  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
                  12:04:10.792 T:2937293792  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
                  12:04:10.792 T:2937293792  NOTICE: Default Video Player: VideoPlayer
                  12:04:10.792 T:2937293792  NOTICE: Default Audio Player: paplayer
                  12:04:10.792 T:2937293792  NOTICE: Disabled debug logging due to GUI setting. Level 0.
                  12:04:10.792 T:2937293792  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
                  12:04:10.793 T:2937293792  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
                  12:04:10.798 T:2937293792  NOTICE: Loaded playercorefactory configuration
                  12:04:10.799 T:2937293792  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
                  12:04:10.799 T:2937293792  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
                  12:04:10.843 T:2937293792  NOTICE: Running database version Addons27
                  12:04:11.221 T:2937293792  NOTICE: ADDONS: Using repository repository.xbmc.org
                  12:04:11.327 T:2917134752  NOTICE: PulseAudio: Opened device Default in pcm mode with Buffersize 300 ms
                  12:04:11.701 T:2937293792  NOTICE: Checking resolution 16
                  12:04:11.702 T:2937293792  NOTICE: CWinSystemX11GLESContext::CreateNewWindow
                  12:04:11.707 T:2937293792  NOTICE: CWinSystemX11GLESContext::GetVisual() m_pGLContext:(nil) GetVisual
                  12:04:11.707 T:2937293792  NOTICE: Create new CGLContextEGL at CWinSystemX11GLESContext::CreateNewWindow, m_dpy=0x80ada7f0
                  12:04:11.714 T:2937293792   ERROR: failed to initialize egl display
                  12:04:11.714 T:2937293792   ERROR: Failed to find matching visual
                  
                  
                  ############### END LOG FILE ################
                  
                  ############ END Kodi CRASH LOG #############
                  firefox crash report:

                  Code:
                  speaker@v2:~$ firefox
                  MESA-LOADER: failed to retrieve device information                                                                                                                                            
                  libGL error: unable to load driver: rockchip_dri.so                                                                                                                                          
                  libGL error: driver pointer missing                                                                                                                                                          
                  libGL error: failed to load driver: rockchip                                                                                                                                                  
                  ExceptionHandler::GenerateDump cloned child 9351                                                                                                                                              
                  ExceptionHandler::WaitForContinueSignal waiting for continue signal...                                                                                                                        
                  ExceptionHandler::SendContinueSignalToChild sent continue signal to child
                  
                  
                  Firefox crash info:
                  BuildID: 20190904002323
                  CrashTime: 1568369539
                  FramePoisonBase: 0000004041121792
                  FramePoisonSize: 4096
                  InstallTime: 1568304331
                  Notes: Debian GNU/Linux 9.11 (stretch)
                  ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
                  ProductName: Firefox
                  ReleaseChannel: esr
                  SafeMode: 1
                  SecondsSinceLastCrash: 42839
                  StartupCrash: 1
                  StartupTime: 1568369537
                  ThreadIdNameMapping: 9332:"Gecko_IOThread",9333:"Timer",9334:"Link Monitor",9335:"Socket Thread",9336:"JS Watchdog",9345:"BGReadURLs",9346:"Hang Monitor",
                  Throttleable: 1
                  UptimeTS: 1.908094562
                  Vendor: Mozilla
                  Version: 60.9.0
                  
                  This report also contains technical information about the state of the application when it crashed.message:






                  https://www.bilder-upload.eu/bild-2a...74149.jpg.html

                  https://www.bilder-upload.eu/bild-16...74186.jpg.html
                  Last edited by suppenkasper; 10-01-2019, 23:19.

                  Comment


                    #69
                    Originally posted by fabiobassa View Post
                    Please can every body post the exact firmware their boards have , or even better , upload on mega or somewhere ?

                    One of the FIRST and BIGGER obstacle( may be ) coud be the loader ( miniloader, miniloaderall, miniloader ddr 2 and so on , those names you could find in the dump of your firmware or logging by uart)

                    cheers
                    Hey, was using this firmware to boot on V88 - https://mega.nz/#!23AWhQKS!jsGm5SToO...NK2wqNIScG9QuY

                    Comment


                      #70
                      Click image for larger version  Name:	20190913_132019.jpg Views:	0 Size:	66.7 KB ID:	783659
                      Attached Files
                      Last edited by suppenkasper; 09-13-2019, 12:47. Reason: I have a MX4MN-V13 V88 Mini 4k

                      Comment


                        #71
                        TY both for quick replay, but I was mispelling my thought;

                        what i need is the exact name of the original ANDROID firmware:

                        It will be something such as

                        rk3229_6.0_box_MX4VR_SSV6051p_SpecTek_flash_tongw_ V88_RKMC-update_20171208.img

                        rk3229_6.0_box_MX4N_SSV6051p_SpecTek_flash-update_20170405.img

                        mxqpro-6051-nv2-1114.img

                        rk3229_7.1_box_MX4VB_SSV6051p_SpecTek_flash-update_20171209.img .....

                        and many others.
                        well is needed that name

                        EDIT

                        ty scottmu64 for his KingboxRK-8703-7.1nv3-kodi-1225.img
                        Last edited by fabiobassa; 09-13-2019, 16:03.

                        Comment


                          #72
                          Ok,

                          the original firmware name of my V88 Mini 4k is:

                          Code:
                          rk322X_6.0_box_MX1_V88-MARS-II_SSV6051p_SpecTek_flash-update_20171229.img
                          You can get it here:

                          Comment


                            #73
                            ty suppenkasper for your firmware

                            Well the reason on some boards it runs and on some other only red led " COULD " be the loader and the way it calls the trust img

                            I can confirm that not all loader are egual and it depends on which " type" of ddr is on board . E.G I installed the same firmware of suppenkasper and for me was NOT working the sd until I changed the loader.img and u-boot.itb compiled from



                            It is really a hard work, many many variables on those economic boards and also, I suppose , lack of informations because they can be a cheap alternative to raspberry and so on.

                            Anyway for ALL those are willing have linux for better performances on videos, I REPEAT : stay on android and, e.g. look for

                            LeelboxRK-8703-7.1nv3-kodi-1225.img
                            or
                            KingboxRK-8703-7.1nv3-kodi-1225.img
                            if they can be installed on your board ( both are for ddr 330 )

                            for fan of linux , well more work to do !!!

                            Comment


                              #74
                              So thanks to big big work of willerson and night and night of testing there is a " good " hope of an universal linux on those economic rk3229 boxes

                              now experiencing a strange situation :

                              1) original kernel + original dtb from an old respeaker images >>>>>> 4 CORES but no lan neither internal nand neither video because was headless

                              2) new compiled kernel + new compiled dtb >>>>>>>>>> ONLY 1 CORE , but lan and rknand and video are working

                              We have original .config from kernels and the two dtbs .

                              Does it exist a way to merge the functionality of the two kernels / dtbs to obtain a full workin board or there is some incompatibility among pcsi, lan rknand ? ?

                              Comment


                                #75
                                Hi guys,

                                if you are interested in my dmesg: https://pastebin.com/7uUDhwM4

                                I am running already a TVHeadend Server on the Rockchip 3229 V88 Mini 4k Device. I used the tutorials for raspberry pi's because it seems like it's running raspian 9 stretch and since I upgraded the os within the last week it's a very stable headless server. But unfortunately I can't get my Terratec Cinergy S2 USB HD card running. It needs a driver which I put to /lib/firmware and also found a new ds3000.ko file which I put into /lib/modules/4.4.138-respeaker-r0/kernel/drivers/media/dvb-frontends/ but unfortunately it doesn't get loaded proper.

                                Has anyone some good hint or ideas even when this is not a tvheadend forum? - The problem is noone has this device running with tvheadend yet, so if I ask there they will ask we just support raspi or something...

                                here is my output of lsusb

                                Code:
                                root@v2 /home/user > lsusb
                                Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
                                Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                                Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
                                Bus 003 Device 002: ID 0ccd:00b0 TerraTec Electronic GmbH
                                Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                                Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
                                Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                                Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                                if I put dmesg | grep DVB it dosn't recongnize the device:

                                Code:
                                root@v2 /home/alex > dmesg | grep DVB
                                root@v2 /home/alex >
                                Last edited by suppenkasper; 10-02-2019, 16:11.

                                Comment

                                Working...
                                X