Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Linux for RK3188 based TV boxes

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

    Ok, I will give your boot/kernel a chance by flashing them (instead of exisiting)...
    Is
    Code:
    CMDLINE:console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 root=LABEL=linuxroot mtdparts=rk29xxnand:.....
    OK???
    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


      Originally posted by no_spam_for_me View Post
      Ok, I will give your boot/kernel a chance by flashing them (instead of exisiting)...
      Is
      Code:
      CMDLINE:console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 root=LABEL=linuxroot mtdparts=rk29xxnand:.....
      OK???
      initrd=0x62000000,0x00210000 root=LABEL=linuxroot init=/sbin/init

      Comment


        But at the parameter of the "mmm123_dx05_sd_linux_1.1.1"
        'initrd=0x62000000,0x00800000 root=LABEL=linuxroot init=/sbin/init'
        ???
        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


          OK, with this it generally works (at the moment witch 16GB USB as sda without partiton)...
          Now i will try partions at sd...
          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


            First try without RFS:
            Code:
            linuxium@LINUXIUMONE:~$ ls /dev/mmc*
            /dev/mmcblk0  /dev/mmcblk0p1  /dev/mmcblk0p2  /dev/mmcblk0p3
            linuxium@LINUXIUMONE:~$ sudo cfdisk /dev/mmcblk0
             
            Disk has been changed.
             
            WARNING: If you have created or modified any
            DOS 6.x partitions, please see the cfdisk manual
            page for additional information.
            linuxium@LINUXIUMONE:~$ ls /dev/mmc*
            /dev/mmcblk0
            linuxium@LINUXIUMONE:~$ sudo cfdisk /dev/mmcblk0
             
            Disk has been changed.
             
            WARNING: If you have created or modified any
            DOS 6.x partitions, please see the cfdisk manual
            page for additional information.
            linuxium@LINUXIUMONE:~$ ls /dev/mmc*
            /dev/mmcblk0  /dev/mmcblk0p1  /dev/mmcblk0p2  /dev/mmcblk0p3
            linuxium@LINUXIUMONE:~$ sudo mkfs.ext4 /dev/mmcblk0p2
            mke2fs 1.42 (29-Nov-2011)
            Filesystem label=
            OS type: Linux
            Block size=4096 (log=2)
            Fragment size=4096 (log=2)
            Stride=0 blocks, Stripe width=0 blocks
            610800 inodes, 2441408 blocks
            122070 blocks (5.00%) reserved for the super user
            First data block=0
            Maximum filesystem blocks=2503999488
            75 block groups
            32768 blocks per group, 32768 fragments per group
            8144 inodes per group
            Superblock backups stored on blocks:
                    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
             
            Allocating group tables: done
            Writing inode tables: done
            Creating journal (32768 blocks): done
            Writing superblocks and filesystem accounting information: done
             
            linuxium@LINUXIUMONE:~$ sudo tune2fs -L linuxroot /dev/mmcblk0p2
            tune2fs 1.42 (29-Nov-2011)
            linuxium@LINUXIUMONE:~$ sudo dumpe2fs -h /dev/mmcblk0p2 | grep 'volume name' | cut -c27-100
            dumpe2fs 1.42 (29-Nov-2011)
            linuxroot
            linuxium@LINUXIUMONE: sudo reboot
            I also get:
            Code:
            [    1.873850] EXT4-fs (mmcblk0): error loading journal
            but after that I get:
            Code:
            mount: mounting /dev/disk/by-label/linuxroot on /root failed: Invalid argument
            I've never seen befor; and there are many more different messages, so I will save the dmesg and then give the mmcblk0p2 a rfs...
            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


              Ok, same procedure with a rfs, but I give you a log of the working 8GB_SD 3 partition at recovery.img too...
              Code:
              [   27.308097] EXT4-fs (mmcblk0p1): mounting ext2 file system using the ext4 subsystem
              it work with
              Code:
              sudo mount -o loop linuxium-ubuntu1204-desktop-rfs-BASIS.img ~/img
              sudo mount -t ext4 /dev/mmcblk0p1 ~/SD_part
              sudo cp -r -a ~/img/* ~/SD_part
              sudo umount ~/SD_part
              sudo umount ~/img
              Attached Files
              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


                USB 16GB (sda) and microSD 32GB (mmcblk0) without partition boots

                Code:
                linuxium@LINUXIUMONE:~$ sudo cfdisk /dev/mmcblk0
                [sudo] password for linuxium:
                 
                Disk has been changed.
                 
                WARNING: If you have created or modified any
                DOS 6.x partitions, please see the cfdisk manual
                page for additional information.
                linuxium@LINUXIUMONE:~$ sudo dd bs=4M if=linuxium-ubuntu1204-desktop-rfs-BASIS.img of=/dev/mmcblk0
                640+0 records in
                640+0 records out
                2684354560 bytes (2.7 GB) copied, 219.062 s, 12.3 MB/s
                BTW:
                What kind of MBR do you use?
                Generally there exist different types of partition table (Legacy-MBR with Master-Partitiontable (MPT) OR GUID with GPT-Partitionstable (GPT) or LVM)
                Ok, it say "MBR" and "msdos_partition" but perhaps there are different types too (e.g. DOS 6.x)???
                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


                  Originally posted by no_spam_for_me View Post
                  USB 16GB (sda) and microSD 32GB (mmcblk0) without partition boots

                  Code:
                  linuxium@LINUXIUMONE:~$ sudo cfdisk /dev/mmcblk0
                  [sudo] password for linuxium:
                   
                  Disk has been changed.
                   
                  WARNING: If you have created or modified any
                  DOS 6.x partitions, please see the cfdisk manual
                  page for additional information.
                  linuxium@LINUXIUMONE:~$ sudo dd bs=4M if=linuxium-ubuntu1204-desktop-rfs-BASIS.img of=/dev/mmcblk0
                  640+0 records in
                  640+0 records out
                  2684354560 bytes (2.7 GB) copied, 219.062 s, 12.3 MB/s
                  BTW:
                  What kind of MBR do you use?
                  Generally there exist different types of partition table (Legacy-MBR with Master-Partitiontable (MPT) OR GUID with GPT-Partitionstable (GPT) or LVM)
                  Ok, it say "MBR" and "msdos_partition" but perhaps there are different types too (e.g. DOS 6.x)???
                  type dd if=/dev/zero of=/dev/mmcblk0 bs=1k count=1k - this will clear any partition table
                  after that
                  type cfdisk /dev/mmcblk0
                  create new partition
                  write
                  exit cfdisk
                  format partition - mkfs.ext4 /dev/mmcblk0p1
                  change label, copy content of image to new partition - I already explained how (use tar)

                  Comment


                    Actualy this command:

                    Originally posted by no_spam_for_me View Post
                    linuxium@LINUXIUMONE:~$ sudo dd bs=4M if=linuxium-ubuntu1204-desktop-rfs-BASIS.img of=/dev/mmcblk0
                    640+0 records in
                    640+0 records out
                    2684354560 bytes (2.7 GB) copied, 219.062 s, 12.3 MB/s[/CODE]
                    destroys any partition table you created with fdisk
                    you should use
                    dd if=image of=/dev/mmcblk0p1 instead - e.g writing to partition, not whole disk

                    still using tar is better choice

                    Comment


                      Originally posted by mmm123 View Post
                      Actualy this command:



                      destroys any partition table you created with fdisk
                      you should use
                      dd if=image of=/dev/mmcblk0p1 instead - e.g writing to partition, not whole disk

                      still using tar is better choice
                      This was only the test: only dev without partiton, that boot correctly...

                      For partions I will try the steps at the post before...
                      but my way to copy works for the 8GB SD with 3 partition
                      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


                        linuxium@LINUXIUMONE:~$ sudo mount -o loop linuxium-ubuntu1204-desktop-rfs-BASIS.img ~/img
                        linuxium@LINUXIUMONE:~$ sudo mount -t ext4 /dev/mmcblk0p2 ~/SD_part
                        linuxium@LINUXIUMONE:~$ cd ~/img
                        linuxium@LINUXIUMONE:~/img$ sudo tar -cfps - . | ( cd ~/SD_part ; tar -xpvf - )
                        tar: -: Cannot stat: No such file or directory
                        ^C
                        linuxium@LINUXIUMONE:~/img$ sudo bash -login
                        root@LINUXIUMONE:~/img# tar -cfps - . | ( cd ~/SD_part ; tar -xpvf - )
                        tar: -: Cannot stat: No such file or directory
                        ^C
                        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


                          Really really fu**ing bullshitttttttttttttt
                          It works

                          I have misspent 3 days of my lifetime to this bullshittttttttt


                          First I have done:
                          Code:
                          linuxium@LINUXIUMONE:~$ [B]sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1k count=1k[/B]
                          [sudo] password for linuxium:
                          1024+0 records in
                          1024+0 records out
                          1048576 bytes (1.0 MB) copied, 0.388971 s, 2.7 MB/s
                          linuxium@LINUXIUMONE:~$ [B]sudo cfdisk /dev/mmcblk0[/B]
                           
                          Disk has been changed.
                           
                          WARNING: If you have created or modified any
                          DOS 6.x partitions, please see the cfdisk manual
                          page for additional information.
                          linuxium@LINUXIUMONE:~$ [B]sudo mkfs.ext4 /dev/mmcblk0p2[/B]
                          mke2fs 1.42 (29-Nov-2011)
                          Filesystem label=
                          OS type: Linux
                          Block size=4096 (log=2)
                          Fragment size=4096 (log=2)
                          Stride=0 blocks, Stripe width=0 blocks
                          610800 inodes, 2441408 blocks
                          122070 blocks (5.00%) reserved for the super user
                          First data block=0
                          Maximum filesystem blocks=2503999488
                          75 block groups
                          32768 blocks per group, 32768 fragments per group
                          8144 inodes per group
                          Superblock backups stored on blocks:
                                  32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
                           
                          Allocating group tables: done
                          Writing inode tables: done
                          Creating journal (32768 blocks): done
                          Writing superblocks and filesystem accounting information: done
                           
                          linuxium@LINUXIUMONE:~$ [B]sudo tune2fs -L linuxroot /dev/mmcblk0p2[/B]
                          tune2fs 1.42 (29-Nov-2011)
                          Then, because the tar did not work, I try to boot without rfs via recovery.img and get new unseen messages but not the "[ 1.873850] EXT4-fs (mmcblk0): error loading journal"...

                          OK, then I use my way to copy....
                          Code:
                          sudo mount -o loop linuxium-ubuntu1204-desktop-rfs-BASIS.img ~/img 
                          sudo mount -t ext4 /dev/mmcblk0p1 ~/SD_part 
                          sudo cp -r -a ~/img/* ~/SD_part 
                          sudo umount ~/SD_part sudo umount ~/img
                          reboot to recovery and the rfs starts up

                          AND because of this MBR/MPT bullshit, I've ordert yesterday a
                          ADATA Premier microSDHC Class 10 UHS-I U1 8GB
                          because the 8GB of my navi is soooooooo slowly..... f**k
                          OK, pimp up my navi ...



                          PS:
                          But what I do not understand is, why the dd with an image to the hole SD without a partition (mmcblk0) did not have the same effect as the dd with zero, but perhaps I never try cfdisk at linux after that (perhaps only first at windows with tools for partitioning the SD and then only via cfdisk without a dd to the hole SD between my attempts...)???
                          Last edited by no_spam_for_me; 03-10-2014, 23:16.
                          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


                            MK902 ethernet problem on Lubuntu/Picuntu

                            hello

                            I manage to install Lubuntu on my MK902 but ethernet is not working. The MAC addreess is 00 and I cannot connect on ethernet. Also the WiFi is not working, but I dont care. The startup page is show like in attach. Das anyone know how to solve this issue?
                            Regards
                            Attached Files

                            Comment


                              Originally posted by mikeme View Post
                              hello

                              I manage to install Lubuntu on my MK902 but ethernet is not working. The MAC addreess is 00 and I cannot connect on ethernet. Also the WiFi is not working, but I dont care. The startup page is show like in attach. Das anyone know how to solve this issue?
                              Regards
                              try this command:
                              ifconfig eth0 hw ether 00:00:00:00:00:01

                              if it works, add it to /etc/network/interfaces after eth0:
                              iface eth0 inet dhcp
                              pre-up ifconfig eth0 hw ether 00:00:00:00:00:01

                              Comment


                                CONFIG_INITRAMFS_SOURCE

                                Hi,

                                at the moment I try to compile a kernel base on your .config for recovery.img.
                                I only find instructions where the 'CONFIG_INITRAMFS_SOURCE' is set to the cpio and at mkbootimg there is a "fake"ramdisk gz...
                                But at your .config you use "" at 'CONFIG_INITRAMFS_SOURCE'.
                                Is it a different way and you use at mkbootimg the real cpio? Or how do you handle it?

                                THX
                                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

                                Working...
                                X