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

    #91
    This is from OmegaMoons mk908 source .config file

    Default kernel command string :
    Code:
    console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init
    Isnt there supposed to be more here?
    Buy me a beer with
    DogeCoin: D6EeoEKcZJL234UhVFRV8Uy6HnfNurBS2y
    or
    BitCoin 17iQsUv7RoWVmDynfBS9qF88NxT4ETvhUn

    Comment


      #92
      Aha!!!

      I think I've got it.

      Well, not really, but I know what the problem is.

      I edited the init file in the initramfs.cpio file and rebuilt it with this little line snuck in:
      Code:
      grep -q '\<quiet\>' /proc/cmdline || echo "Loading, please wait..."
      [B]sleep 200[/B]
      # Note that this only becomes /dev on the real filesystem if udev's scripts
      So if it WAS running the init it would hang for 200 seconds.

      And it didnt!!!

      So it means the kernel is effing up before it gets there, or its simply not detecting the initramfs.cpio file.
      Buy me a beer with
      DogeCoin: D6EeoEKcZJL234UhVFRV8Uy6HnfNurBS2y
      or
      BitCoin 17iQsUv7RoWVmDynfBS9qF88NxT4ETvhUn

      Comment


        #93
        ok, try this one:

        Comment


          #94
          Originally posted by mmm123 View Post
          Is that a whole recovery image to flash?

          No dice. Monitors backlight stays on, but nothing on the screen at all.

          Note: this is from the config in OmegaMoon's kernel source for the mk908.
          Code:
          CONFIG_LCDC_RK3188=y
          CONFIG_LCDC0_RK3188=y
          # CONFIG_LCDC0_IO_18V is not set
          # CONFIG_LCDC1_RK3188 is not set
          What did you attempt to change?
          Buy me a beer with
          DogeCoin: D6EeoEKcZJL234UhVFRV8Uy6HnfNurBS2y
          or
          BitCoin 17iQsUv7RoWVmDynfBS9qF88NxT4ETvhUn

          Comment


            #95
            Originally posted by tyeo098 View Post
            Aha!!!
            So if it WAS running the init it would hang for 200 seconds.
            next time build it with "/bin/sh", so you can type commands even if you don't see output

            Anyway, google-tv logo is probably built-in into your bootloader, which means it is different from bootloader in my stick. This means it is possible that it doesn't like recovery image. Do you by any chance keep copy of your original recovery image?

            Comment


              #96
              Originally posted by tyeo098 View Post
              What did you attempt to change?
              I changed exactly what you mentioned above

              Comment


                #97
                Originally posted by mmm123 View Post
                next time build it with "/bin/sh", so you can type commands even if you don't see output

                Do you by any chance keep copy of your original recovery image?
                Link to stock f/w http://www.mediafire.com/download/3f...0802update.rar

                Anyway, google-tv logo is probably built-in into your bootloader, which means it is different from bootloader in my stick. This means it is possible that it doesn't like recovery image.
                I dont think so. The GoogleTV logo only shows up when I try to boot this kernel. Otherwise its shows the Tronsmart logo.

                Like in this neat video I took lol: http://s154.photobucket.com/user/tye...5ed30.mp4.html
                Buy me a beer with
                DogeCoin: D6EeoEKcZJL234UhVFRV8Uy6HnfNurBS2y
                or
                BitCoin 17iQsUv7RoWVmDynfBS9qF88NxT4ETvhUn

                Comment


                  #98
                  Want to try again? try this:
                  http://data.a41z.net/X9fG54/recovery-test2.img

                  It is android kernel with my initrd. I doubt, that it will do any good, but lets check if there is at least difference from other kernel.

                  Comment


                    #99
                    The text says different than what the link is.

                    http://data.a41z.net/X9fG54/recovery-test2.img

                    Points to

                    Buy me a beer with
                    DogeCoin: D6EeoEKcZJL234UhVFRV8Uy6HnfNurBS2y
                    or
                    BitCoin 17iQsUv7RoWVmDynfBS9qF88NxT4ETvhUn

                    Comment


                      WHOA.

                      WHAT.
                      THE.
                      TRUCK.

                      IT BOOTED MY SD-FS.

                      Sat at a black screen for all of 30 seconds. Almost gave up.... AND BAM XFCE LOGIN WINDOW!

                      What did you do?!
                      Buy me a beer with
                      DogeCoin: D6EeoEKcZJL234UhVFRV8Uy6HnfNurBS2y
                      or
                      BitCoin 17iQsUv7RoWVmDynfBS9qF88NxT4ETvhUn

                      Comment


                        he he, sorry about that - looks like copy & paste forun links is not good idea

                        Comment


                          Originally posted by mmm123 View Post
                          he he, sorry about that - looks like copy & paste forun links is not good idea
                          http://data.a41z.net/X9fG54/recovery-test2.img
                          I figured as much lol. So I punched in the correct URL and it works!
                          Buy me a beer with
                          DogeCoin: D6EeoEKcZJL234UhVFRV8Uy6HnfNurBS2y
                          or
                          BitCoin 17iQsUv7RoWVmDynfBS9qF88NxT4ETvhUn

                          Comment


                            Originally posted by tyeo098 View Post
                            What did you do?!
                            He he, as I said it is kernel from android packed with slightly modified initd (it doesn't really read command line from /proc/cmdline but from /cmdline, which contains root=LABEL=linuxroot)
                            This is because in this kernel command line is built into kernel, not passed as parameter.
                            Anyway, I doubt it would be very useful this way, because of specific android options built into kernel - most likely you won't be able to use network from users other that root. But on the other side, you can copy .modules from android and have really working GPU driver.

                            Comment


                              So I guess my


                              Default kernel command string :
                              Code:
                              console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init
                              Is wrong afterall.
                              Buy me a beer with
                              DogeCoin: D6EeoEKcZJL234UhVFRV8Uy6HnfNurBS2y
                              or
                              BitCoin 17iQsUv7RoWVmDynfBS9qF88NxT4ETvhUn

                              Comment


                                Originally posted by tyeo098 View Post
                                So I guess my

                                Default kernel command string :
                                Code:
                                console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init
                                Is wrong afterall.
                                if you get this from linux, as I said it is just ignored in this modified initrd image.
                                Working command line string should be
                                initrd=0x62000000,0x00210000 init=/sbin/init root=LABEL=linuxroot

                                Comment

                                Working...
                                X