Announcement

Collapse
No announcement yet.

Use Windows to create an SD card so you can run Linux on a RK3288 device

Collapse
This is a sticky topic.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Samsung EVO vs. noname (like Samsung PRO)



    I compared the '32GB Samsung EVO Class 10 UHS-I Micro SD' with a noname which was offered as use the Samsung chip and get nearly the same results at Windows with CrystalDiskMark (which tests I found at the i-net) like the 'Samsung PRO' (at netxeon pcb v2: 2/8GB AP6210 running 12.04 LTS)...

    BTW: at 12.04 LTS the 'Suspend...' and 'System Settings...' works...

    Because your default governor is 'ondemand' I used
    Code:
    sudo passwd root
    su
    echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
    EVO
    Code:
    dd of=/dev/null if=speedtest bs=1M count=1000 iflag=direct
    1000+0 records in
    1000+0 records out
    1048576000 bytes (1.0 GB) copied, 46.5529 s, 22.5 MB/s
    dd if=/dev/zero of=speedtest bs=1M count=1000 oflag=direct conv=fdatasync
    1000+0 records in
    1000+0 records out
    1048576000 bytes (1.0 GB) copied, 123 s, 8.5 MB/s
    noname
    Code:
    dd of=/dev/null if=speedtest bs=1M count=1000 iflag=direct
    1000+0 records in
    1000+0 records out
    1048576000 bytes (1.0 GB) copied, 51.4094 s, 20.4 MB/s
    dd if=/dev/zero of=speedtest bs=1M count=1000 oflag=direct conv=fdatasync
    1000+0 records in
    1000+0 records out
    1048576000 bytes (1.0 GB) copied, 129.378 s, 8.1 MB/s


    Using iozone
    http://www.iozone.org/
    => Stable tarball
    (http://www.iozone.org/docs/IOzone_msword_98.pdf)

    compile
    Code:
    tar -xf iozone3_430.tar
    cd iozone3_430/src/current
    make linux-arm
    execute
    Code:
    ./iozone -e -I -a -s 50M -r 4k -r 512k -r 16M -i 0 -i 1 -i 2 -f iozone.dat
    output
    Code:
                Iozone: Performance Test of File I/O
                        Version $Revision: 3.430 $
                            Compiled for 32 bit mode.
                            Build: linux-arm 
     
                Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins
                             Al Slater, Scott Rhine, Mike Wisner, Ken Goss
                             Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,
                             Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,
                             Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,
                             Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,
                             Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer,
                             Vangel Bojaxhi, Ben England, Vikentsi Lapa.
     
                Run began: Sat Jan  1 23:25:24 2011
     
                Include fsync in write timing
                O_DIRECT feature enabled
                Auto Mode
                File size set to 51200 kB
                Record Size 4 kB
                Record Size 512 kB
                Record Size 16384 kB
                Command line used: ./iozone -e -I -a -s 50M -r 4k -r 512k -r 16M -i 0 -i 1 -i 2 -f iozone.dat
                Output is in kBytes/sec
                Time Resolution = 0.000001 seconds.
                Processor cache size set to 1024 kBytes.
                Processor cache line size set to 32 bytes.
                File stride size set to 17 * record size.
    EVO
    Code:
                                                                  random    random
                  kB  reclen    write  rewrite    read    reread    read     write
               51200       4     3451     3426    10541    10572    10514     3520
               51200     512    15129    15763    21890    21967    21963    15670
               51200   16384    15946    16250    22505    22547    22547    16349
    noname
    Code:
                                                                  random    random
                  kB  reclen    write  rewrite    read    reread    read     write
               51200       4     1633     1633     5235     5387     4730     1179
               51200     512     8387     7821    19968    20098    20073     7559
               51200   16384     8340     8216    20403    20487    20491     9059


    EDIT:
    By coincidence I found out that you look at init at fist at the SDx if you will find 'linuxroot'

    Here are the results of the EVO at a 'Transcend TS-RDF5K' at one of the USB-ports (the Ubuntu 12.04 LTS RFS at it):
    Code:
    dd of=/dev/null if=speedtest bs=1M count=1000 iflag=direct
    1000+0 records in
    1000+0 records out
    1048576000 bytes (1.0 GB) copied, 27.9733 s, 37.5 MB/s
    dd if=/dev/zero of=speedtest bs=1M count=1000 oflag=direct conv=fdatasync
    1000+0 records in
    1000+0 records out
    1048576000 bytes (1.0 GB) copied, 49.3906 s, 21.2 MB/s
                                                                  random    random
                  kB  reclen    write  rewrite    read    reread    read     write
               51200       4     2817     2797     6067     6075     6070     2840
               51200     512    28262    29449    38523    38707    37061    27595
               51200   16384    31293    30974    40378    40593    40607    30867
    It burns, burns, burns....
    The internal SD reader is really bad
    Last edited by no_spam_for_me; 01-15-2015, 04:38.
    RK3288 Devices
    - Overview BOX (LINK !)
    - Overview STICK (Dongle) (LINK !)

    MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
    UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
    Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
    Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

    RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
    Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

    Comment


      #32
      Another RFS

      I tried your 'linuxium-ubuntu1304-lubuntu-desktop-rfs.img' (http://www.freaktab.com/showthread.p...roid-and-Linux) by
      Code:
      umount /dev/sdb1
      sudo dd if=/media/ADATA_FAT32/Linuxium/linuxium-ubuntu1304-lubuntu-desktop-rfs.img of=/dev/sdb1
      and every thing is fine...
      BTW:
      [Shutdown] shutdown
      [Reboot] forces a shutdown
      [Suspend] forces a reboot to Android at eMMC/NAND
      [Switch User] system freezes after re-login



      I also tried to use the Ugoos UM3 Linux RFS by
      Code:
      umount /dev/sdb1
      sudo dd if=/media/ADATA_FAT32/UM3_xubuntu_v0.2.1/linuxroot.img of=/dev/sdb1
      linuxroot
      but it doesn't mount/start the RFS...
      The label is 'linuxroot' and the FS is ext4
      Code:
       /dev/sdb1 on /media/linuxroot type ext4 (rw,nosuid,nodev,uhelper=udisks)
      Because of that, I also tried to do a copy to the as know running ubuntu1304-lubuntu
      Code:
      mkdir ~/img
      sudo mount -o loop /media/ADATA_FAT32/UM3_xubuntu_v0.2.1/linuxroot.img ~/img
      sudo rm -r /media/linuxroot/*
      sudo cp -r -a ~/img/* /media/linuxroot
      sudo umount ~/img
      with the same result...

      At the RFS I found a 'firstboot' so maybe they do something at the first boot????

      Because without a console (like the initramFS by mm123 at the RK3188) I'm unable to have a deeper look at it via e.g. dmesg (your Bootlogo is nice, but at these situations...), so maybe you would like to have a look at it?
      http://www.freaktab.com/showthread.p...-1-26-12-2014)
      You can download the RFS here:
      http://www.file-upload.net/download-...1_RFS.zip.html
      And the kernel/initramFS here:
      http://www.file-upload.net/download-...ernel.zip.html
      Please use the at the download link...
      RK3288 Devices
      - Overview BOX (LINK !)
      - Overview STICK (Dongle) (LINK !)

      MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
      UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
      Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
      Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

      RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
      Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

      Comment


        #33
        Imposible

        thanks, but no ethernet works in rikomagic 902II with either distribucioned linux . someone has made the work GROUNDED ethernet cable in the rikomagic 902II ? I'm already desperate will try and have given up ...

        Comment


          #34
          freeze at login gui

          Hello Linuxium,

          First of all, thank you to provide linux images to the community.

          I try to use your linux image with my TV01II without success.

          The flash of the bootloader is OK, i can now boot from microSD card but your linux images don't work with my rk3288 box.

          If i use the 14.10 image or the 12.04 LTS images, when the boot is complete the system freeze at the login gui (the prompt stop to blink in the login frame and i can't do anything mouse and keyboard don't work too).

          without the sdcard, the box boot on the stock android and the system is working fine (mouse and keyboard too). i tryed 2 different microsd card ( noname 8 GB class 4, ans samsung evo 16 GB class 10 ) with no change.

          Do you already had this kind of problem ?
          What can i do to know why the linux freeze at login gui ?

          thank you
          Last edited by KrissFR; 01-20-2015, 22:00. Reason: add information about sdcard

          Comment


            #35
            Originally posted by raubtier View Post
            Hello cemento, hello no_spam_for_me and maybe linuxium (aka Ian Morrisson)

            @ no_spam_for_me

            Which box do you have? I tried a lof of other android-images form other HTC-Board-Boxes
            to get resource.img and kernel.img. But all these Images are freezing at boot.
            I don't think you have HTC 3288 Device.

            @cemento

            I think your problem is similar to my problem with eth0. You and I can't really manage bigger network packages
            with our devices.

            @all

            It would be fine to get eth0 full working, but my dream is to connect via wifi (ap6330=HTC-Boxes) to the web.

            I'am very new to this little arm-tv-boxes and I'am very surprised about there performance. I bought my first box
            last week. My first try with arm-boxes was the odroid-c1 at the beginning of this year, which I like very much.
            But the perfomance of the rk3288 chip is incredible for the price (89 Euro). It would be very nice to get a functional
            (w)lan linux, which fully works on the HTC-3288-devices. And I don't think, that it is a long way, because the wonderful work from linuxium is only one step away for these boxes.

            I realized the firefly-developments, which ar a good starting point to get background about this topic. But I need a little
            advice and a few good links to look inside the development-sources for rk3288-devices and the way to use them.
            For example, I saw the sources for rk3188 from linuxium on git but not for rk3288. Maybe someone can show me
            the link for the rk3288-sources from linuxium.

            It looks like rikomagic builds his on linux-Version for this box (rkm 902iile), but I don't find a firmware in the net.
            Maybe someone can help with such a firmware.

            It would be nice to get help

            Wolfgang
            The device can you see at my sig

            kernel
            at dmesg:
            Code:
            [    0.000000] Linux version 3.10.0 ([email protected]) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Tue Dec 2 15:43:26 EST 2014
            WiFi
            at dmesg:
            Code:
            [    1.078666] [BT_RFKILL]: ap6335 device registered.
            at my netxeon pcb which use the AP6210...
            I know linuxium own an Orion Meta R28 which is the 2/16GB version of the netxeon pcb which use the AP6335...
            So I think his kernel only supports AP6335...
            Also at the 12.04 I only find older modules at
            /lib/modules/
            (also only 3.0.36+)

            git
            I have the same problem that I couldn't find the rk3288 kernel at linuxiums git, but I find
            http://www.freaktab.com/showthread.p...188-and-RK3288
            and here some infos
            http://www.freaktab.com/showthread.p...l=1#post157646

            Of course you have to use another CMD...
            At the SD you find at
            x400000 (HEX)
            the actual parameter
            Code:
            FIRMWARE_VER:1.0.0
            #MACHINE_MODEL:rk30sdk
            MACHINE_MODEL:linuxium-sdcard-parameter
            MACHINE_ID:007
            MANUFACTURER:RK30SDK
            MAGIC: 0x5041524B
            ATAG: 0x60000800
            MACHINE: 3288
            CHECK_MASK: 0x80
            PWR_HLD: 0,0,A,0,1
            #KERNEL_IMG: 0x62008000
            #FDT_NAME: rk-kernel.dtb
            #RECOVER_KEY: 1,1,0,20,0
            #CMDLINE:console=tty0 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:[email protected](resource),[email protected](kernel),[email protected](boot)
            CMDLINE:init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:[email protected](resource),[email protected](kernel),[email protected](boot)
            at
            x1800000
            the actual kernel bin
            and at
            x2800000
            the actual initramFS
            (btw: if loops to find a 'linuxroot')

            I extracted the first 139265*512 byte of the image/SD to get a 'loader' for a SD so I can use the RFS at USB...
            sudo dd if=/dev/mmcblk1 of=SD139265.img bs=512 count=139265

            and create any partition after that (with fdisk)
            First sector (2048-15431679, default 2048): 139265
            (I use the rest as vfat so I can use the rest of the 8GB card which I use also at windows...)
            RK3288 Devices
            - Overview BOX (LINK !)
            - Overview STICK (Dongle) (LINK !)

            MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
            UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
            Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
            Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

            RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
            Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

            Comment


              #36
              Source and wifi configuration

              I compiled the kernel directly from the Firefly source (as it stood back in October) configured for a AP6335 wifi. The one I included in the script had with sound as RK1000 (from memory) although I had another version with sound as RK-HDMI. It was meant as a generic RK3288 Linux kernel rather than targeting a specific device as it was included with scripts that allowed one to substitute their own kernel/resource image for their device. As the source and instructions were all available on the Firefly site and were being maintained, there was no reason to take a snapshot and put on my github. As Beelink, Tronsmart, Rikomagic, Ugoos et al were not releasing publicly their GPL licensed kernel I didn't make specific device images.

              Comment


                #37
                THX
                Meanwhile I had read about your experiences in October using the firefly kernel (at your page) but found out that this kernel is different than the October-kernel (bin-compare)...
                RK3288 Devices
                - Overview BOX (LINK !)
                - Overview STICK (Dongle) (LINK !)

                MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
                UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
                Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
                Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

                RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
                Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

                Comment


                  #38
                  Inspired by your eMMC/NAND performance test (https://plus.google.com/+IanMORRISON/posts/MicuuyJdbak) I had done the same at my UBOX with 8GB chip...
                  Code:
                  iozone
                                                                      random   random
                     kB  reclen    write  rewrite    read    reread     read    write
                  51200       4     2802     2241     7863     7669     5166     2031
                  51200     512    11321     7389    34326    34687    34114     7489
                  51200   16384    13594    12551    41565    42211    42215    13925
                   
                  su
                  1.  First I set the governor to 'performance'
                  echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
                  2.  For the write test I use the command 
                  dd if=/dev/zero of=speedtest bs=1M count=1000 oflag=direct conv=fdatasync
                  3.  For the read test I use 
                  dd of=/dev/null if=speedtest bs=1M count=1000 iflag=direct
                   
                  write  3 times
                    6.5 / 6.5 / 6.5
                  read  3 times
                    42.5 / 42.6 / 42.9
                  especially the write/rewrite are not really nice so because of that the dd writes are also not really nice...



                  I also wanted to find out, which USB port maybe is the fastest using the same dd's...

                  Samsung EVO microSD 32GB at a 'Transcend TS-RDF5K'
                  Port 1
                  Code:
                  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                  Bus 003 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
                  Bus 003 Device 003: ID 8564:4000
                  write 3 times
                    17,2 / 15,4 / 16,2 MB/s
                  read 3 times
                    37,4 / 35,9 / 35,6 MB/s
                  Port 2
                  Code:
                  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                  Bus 003 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
                  Bus 003 Device 003: ID 8564:4000
                  write 3 times
                    15,7 / 15,5 / 15,7 MB/s
                  read 3 times
                    39,1 / 38,8 / 38,7 MB/s
                  Port 3 (OTG)
                  Code:
                  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                  Bus 002 Device 002: ID 8564:4000
                  write 3 times
                    16,3 / 16,0 / 16,6 MB/s
                  read 3 times
                    41,0 / 41,3 / 41,0 MB/s
                  Port 4
                  Code:
                  Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                  Bus 003 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB
                  Bus 003 Device 003: ID 8564:4000
                  write 3 times
                    15,3 / 15,8 / 16,0 MB/s
                  read 3 times
                    39,7 / 39,4 / 37,7 MB/s
                  I don't know, why there also exists
                  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
                  if they handle all the full size USB ports via the internal HUB and also why seems port 1 (the first at the side) not as stable as the other two full size USB-ports at this internal HUB...
                  But now I know why netxeon recommends to use the OTG if there are issues with the keyboard
                  RK3288 Devices
                  - Overview BOX (LINK !)
                  - Overview STICK (Dongle) (LINK !)

                  MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
                  UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
                  Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
                  Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

                  RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
                  Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

                  Comment


                    #39
                    Originally posted by linuxium View Post
                    I compiled the kernel directly from the Firefly source (as it stood back in October) configured for a AP6335 wifi. The one I included in the script had with sound as RK1000 (from memory) although I had another version with sound as RK-HDMI. It was meant as a generic RK3288 Linux kernel rather than targeting a specific device as it was included with scripts that allowed one to substitute their own kernel/resource image for their device. As the source and instructions were all available on the Firefly site and were being maintained, there was no reason to take a snapshot and put on my github. As Beelink, Tronsmart, Rikomagic, Ugoos et al were not releasing publicly their GPL licensed kernel I didn't make specific device images.
                    I can open the whole SDK for you,linuxium.

                    Write me an email with your id_rsa.pub,we have a private git repo.
                    Easy way to catch LOG -> Search 'Syslog' in Google Play,then install it and catch log

                    Comment


                      #40
                      Originally posted by oman View Post
                      I can open the whole SDK for you,linuxium.

                      Write me an email with your id_rsa.pub,we have a private git repo.
                      Hopefully linuxium got back to you, would be interesting to see what he come sup with SDK access.

                      Comment


                        #41
                        Having it boot up no issues for the mk902ii. I Tried both ver. the screen is off set in both any quick command to correct that? No network or wifi for either of these builds makes it useless. I know why Ricomagic not release is because they develop box for strickly Linux and sell that they feel loss those sales if they release. kinda making them fall behind the 8 ball on this for the mk902ii.hopefully I can find one that works with wifi and networking sounds like all of these still in build as video poor in even the ugoos ver.
                        Many devices now mk902ii/Shield/Mk68 /Ugoos/neox5/minix5 (yes they still work lol) mk80 no it doesnt work lol.

                        Comment


                          #42
                          Interesting read.. On Mali drivers


                          http://developer.t-firefly.com/en/vi...9f876f8684339f
                          Many devices now mk902ii/Shield/Mk68 /Ugoos/neox5/minix5 (yes they still work lol) mk80 no it doesnt work lol.

                          Comment


                            #43
                            kernel modules

                            Anybody have kernel modules for kernel from this image ?
                            Or at lest kernel source codes so I can build them

                            Comment


                              #44
                              Have a look at post #36
                              RK3288 Devices
                              - Overview BOX (LINK !)
                              - Overview STICK (Dongle) (LINK !)

                              MINIX NEO: Z64 W/A - (Intel Z3735F); X8-H Plus - (Amlogic S812H); A2 Lite (sponsored by minix.com.hk)
                              UGOOS UT3S (4/32GB with fan) - FW 2.0.6 - (RK3288) (sponsored by GearBest.com)
                              Tronsmart Draco AW80 Meta (2/16GB) - FW v2.0rc3 - (Allwinner A80) (sponsored by GeekBuying.com)
                              Beelink / UBOX R89 - FW 111k4110_1219 - (RK3288) (sponsored by Netxeon (Beelink))

                              RK3188: pcb => "CH001 1332 TN-BX09_V2.1" (K-R42 / CS918...) => wasser KK 1.0.3 (old rev)
                              Fly Mouse Mini Wireless Keyboard with 2 mode learning IR remote 'iPazzPort KP-810-16'

                              Comment


                                #45
                                Originally posted by no_spam_for_me View Post
                                Have a look at post #36
                                thx
                                And what about dts files?
                                https://github.com/TeeFirefly/linux-...h/arm/boot/dts

                                Do I need to care?

                                Comment

                                Working...
                                X