Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

MINIX X5 android 4.4.2 KitKat ROM (beta)

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

    Problem With My Kernel Boot

    Thanks to Karel's help and config file I may be making some forward progress on my attempt to run my own kernel (at a snail's pace). I ordered one of these and now I can watch output from the early stages of the boot process. Pretty cool!

    I have done the following:

    (a) make mrproper

    (b) copied Karel's x5_kk_kernel_met_spdif_passtrough_720p_defconfig to arch/arm/configs

    (c) make x5_kk_kernel_met_spdif_passtrough_720p_defconfig

    (d) make

    (e) make kernel.img

    I then flash the kernel.img and upon boot I get the following:

    980301 Starting kernel...@0x60408000

    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Linux version 3.0.36+ (davidw@megadude) (gcc version 4.6 20120106 (prerelease) (GCC) ) #1 SMP PREEMPT Sun Nov 9 15:27:45 PST 2014
    [ 0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Machine: RK30board
    [ 0.000000] ddr size = 1024 M, set ion_reserve_size size to 125829120
    [ 0.000000] memory reserve: Memory(base:0x98800000 size:120M) reserved for <ion>
    [ 0.000000] memory reserve: Memory(base:0x97d00000 size:11M) reserved for <fb0 buf>
    [ 0.000000] memory reserve: Memory(base:0x97500000 size:8M) reserved for <camera_ipp_mem>
    [ 0.000000] memory reserve: Total reserved 139M
    [ 0.000000] Memory policy: ECC disabled, Data cache writeback
    [ 0.000000] bootconsole [earlycon0] enabled
    [ 0.000000] CPU SRAM: copied sram code from c0c61000 to fef00010 - fef02308
    [ 0.000000] CPU SRAM: copied sram data from c0c632f8 to fef02308 - fef02e20
    [ 0.000000] sram_log: 2 ] = %[ M t9 1 m A ( Su{ H | %
    [ 0.000000] can't get a available nume and deno
    [ 0.000000] clk_frac_div can't get rate=49500000,uart0_frac_div
    [ 0.000000] rk30_dvfs_init
    [ 0.000000] L310 cache controller enabled
    [ 0.000000] l2x0: 16 ways, CACHE_ID 0x4100c0c8, AUX_CTRL 0x76050001, Cache size: 524288 B

    This is very similar to what I get when I just boot Karel's ROM kernel:

    958420 Starting kernel...@0x60408000

    [ 0.000000] Initializing cgroup subsys cpu
    [ 0.000000] Linux version 3.0.36+ (karel@karel-VirtualBox) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-16ubuntu4) ) #1 SMP PREEMPT Tue Jul 15 22:42:39 CEST 2014
    [ 0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
    [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Machine: RK30board
    [ 0.000000] ddr size = 1024 M, set ion_reserve_size size to 125829120
    [ 0.000000] memory reserve: Memory(base:0x98800000 size:120M) reserved for <ion>
    [ 0.000000] memory reserve: Memory(base:0x97d00000 size:11M) reserved for <fb0 buf>
    [ 0.000000] memory reserve: Memory(base:0x97500000 size:8M) reserved for <camera_ipp_mem>
    [ 0.000000] memory reserve: Total reserved 139M
    [ 0.000000] Memory policy: ECC disabled, Data cache writeback
    [ 0.000000] bootconsole [earlycon0] enabled
    [ 0.000000] CPU SRAM: copied sram code from c0c14000 to fef00010 - fef020a8
    [ 0.000000] CPU SRAM: copied sram data from c0c16098 to fef020a8 - fef02bc0
    [ 0.000000] sram_log: 2 : U = E[ M d= 1 m A ( SU I | %
    [ 0.000000] can't get a available nume and deno
    [ 0.000000] clk_frac_div can't get rate=49500000,uart0_frac_div
    [ 0.000000] rk30_dvfs_init
    [ 0.000000] L310 cache controller enabled
    [ 0.000000] l2x0: 16 ways, CACHE_ID 0x4100c0c8, AUX_CTRL 0x76050001, Cache size: 524288 B
    [ 0.000000] DDR DEBUG: version 1.00 20131106
    [ 0.000000] DDR DEBUG: DDR3 Device
    [ 0.000000] DDR DEBUG: Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Total Capability=1024MB
    [ 0.000000] DDR DEBUG: init success!!! freq=396MHz
    [ 0.000000] DDR DEBUG: DTONE=0x1, DTERR=0x0, DTIERR=0x0, DTPASS=0x4, DGSL=1 extra clock, DGPS=180
    [ 0.000000] DDR DEBUG: DTONE=0x1, DTERR=0x0, DTIERR=0x0, DTPASS=0x4, DGSL=1 extra clock, DGPS=180
    [ 0.000000] DDR DEBUG: DTONE=0x1, DTERR=0x0, DTIERR=0x0, DTPASS=0x3, DGSL=1 extra clock, DGPS=270
    [ 0.000000] DDR DEBUG: DTONE=0x1, DTERR=0x0, DTIERR=0x0, DTPASS=0x4, DGSL=1 extra clock, DGPS=180
    [ 0.000000] DDR DEBUG: ZERR=0, ZDONE=0, ZPD=0x0, ZPU=0x0, OPD=0x0, OPU=0x0
    [ 0.000000] DDR DEBUG: DRV Pull-Up=0xb, DRV Pull-Dwn=0xb
    [ 0.000000] DDR DEBUG: ODT Pull-Up=0x2, ODT Pull-Dwn=0x2
    [ 0.000000] rk30_iomux_init
    [ 0.000000] PERCPU: Embedded 7 pages/cpu @c1ed2000 s7040 r8192 d13440 u32768
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 224512
    [ 0.000000] Kernel command line: console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00150000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x 00006000@0x00004000(kernel),0x00006000@0x0000A000( boot),0x00010000@0x00010000(recovery),0x00020000@0 x00020000(backup),0x00040000@0x00040000(cache),0x0 1000000@0x00080000(userdata),0x00002000@0x01080000 (metadata),0x00002000@0x01082000(kpanic),0x0018000 0@0x01084000(system),-@0x01204000(user) bootver=2014-03-03#2.13 firmware_ver=4.4.2
    [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

    ... and so on to a Android home screen as one would expect.

    So what step am I missing? I note that Karel's kernel is compiled with gcc version 4.8.2 on Ubuntu while mine is with gcc version 4.6 20120106 (prerelease) and I am on Debian Wheezy. Could that be having an impact?

    Achh. Nothing is easy. But much easier thanks to Karel's help and config file.
    Last edited by davidw; 10 November 2014, 00:37.

    Comment


      MINIX X5 android 4.4.2 KitKat ROM (beta)

      Originally posted by davidw View Post
      So what step am I missing? I note that Karel's kernel is compiled with gcc version 4.8.2 on Ubuntu while mine is with gcc version 4.6 20120106 (prerelease) and I am on Debian Wheezy. Could that be having an impact?

      Achh. Nothing is easy. But much easier thanks to Karel's help and config file.
      I don't know for sure, but trying the compile on ubuntu with gcc 4.8.2 works on my side.

      Comment


        I have added the chromecast receiver app using this tutorial (system install). This litterly means that the android TV box gets the same features as the chromecast. I have tested it with youtube and Synology DS Audio and it works really well (android and IOS). So if you want you can add it to the 4.4.2 kitkat rom.

        Comment


          Originally posted by karel View Post
          I don't know for sure, but trying the compile on ubuntu with gcc 4.8.2 works on my side.
          Well your efforts certainly work well Karel. No doubt about that! I am wondering if it is my toolchain? I have been using one put together by Omegamoon. Did you put yours together yourself or did you just use a prebuilt one from somewhere? If the latter, perhaps I could try that. While I haven't been able to compile a workable kernel yet with my toolchain, I have been able to a few create kernel modules that work as expected on both 3.0.8+ and 3.0.36+ kernels from Finless. So I figured the same toolchain would work for the kernel itself. But I am certainly walking blind here. Thanks!

          PS - I have updated my toolchain to one of the version 4.8.1 prebuilts from linaro and I am still making no progress.
          Last edited by davidw; 11 November 2014, 02:14.

          Comment


            Originally posted by karel View Post
            I don't know for sure, but trying the compile on ubuntu with gcc 4.8.2 works on my side.
            Well, it seems that my compiled kernel attempts are failing due to something being off in memory addressing. I have been able to insert some code so that I can track more precisely where things go off the rails and it is happening in arch/arm/mach-rk30/ddr.c in ddr_adjust_config() where it calls the macro DDR_SAVE_SP(). This seems consistent with the differences between Karel's kernel and mine when they copy sram code and text and the offsets are different.

            After doing some reading it does seem that while some folks claim to build Android/kernels on Debian, the vast majority do like Karel and use Ubuntu. Additionally, I have found several references to this must be done on a 64-bit platform. My Debian is on a 32-bit machine and I don't have a 64-bit machine available.

            Oh well. Lots of work leads to a dead end. Thanks for all the effort and help.

            NOT A DEAD END AFTER ALL!

            I was able to get some space on an old, single core, AMD64 machine and installed Ubuntu 12. I initially could not manage to get clean builds. But finally, I decided to try the prebuilt toolchain mentioned here. This actually worked! OMG! So now I have a kernel that can replace Karel's (not that I want to other than for debugging purposes). Thanks to you Karel for making all of this possible. Now, on to trying to debug my TV problem.
            Last edited by davidw; 18 November 2014, 00:59.

            Comment


              Hi karel,

              at first I want to thank you for this great and stable Rom!

              I have a question. How to set SOUND OUTPUT DIVICES, reboot device every time the sound was set SPDIF PASSTHROUGH?

              Comment


                I have sold my X5 so don't expect any more development / roms from me.

                I now have a AFTV (non rooted) which works very well with Kodi and other sideloaded android apps. On the AFTV there is no need to patch Kodi (to get passthrough), because it works out of the box.

                Comment


                  So far no plans to exchange devices. With your software works much faster and more stable.


                  When I turn on my device "manager sound devices" is set to "modioter USB handset (Mele F10PRO)" and after a 10 secound automatically switches to the "RK-HDMI-12S"

                  Is it possible to do switches to SPDIF PASSTHROUGH ?

                  How to do it ?

                  Comment


                    How to do a backup

                    Hi All,

                    Karel, it's sad your sold your device but anyway thank a lot for this ROM. You did a really good job. This is the best ROM I ever use. This makes the unit really stable and working great with everything applications I use. Like lukaszsbv writes it’s working so well I don’t need to exchange my device anymore!

                    I would like to known if this version includes a kind of boot loader? I would like to do a full backup of my device. What is the best way to do a Backup?

                    I found this:

                    but it is Linux and quite complicated. What are you using for Backup?

                    Thanks

                    Comment


                      Originally posted by karel View Post
                      I have sold my X5 so don't expect any more development / roms from me.

                      I now have a AFTV (non rooted) which works very well with Kodi and other sideloaded android apps. On the AFTV there is no need to patch Kodi (to get passthrough), because it works out of the box.
                      Sad news for us. You are the last light of hope for the X5 users. I'm waiting for the Intel Nuc i5 2015 for do the change. Thank you for all the effor Karel

                      Comment


                        update

                        Hi. karel when have update, my orchestra haven't optical cable. Can you make kernel use headphones instead optical cable? Thanks

                        Comment


                          Nand space unusable

                          Hi Karel and guys

                          after updating the rom my neo x5 works great and super fast. thanks for the New Rom.

                          the problems i face now is
                          1. camera not working, which is discussed in this thread earlier.
                          2. since i am using 1080 p rom (0.8 version) most of the app space is filled and nand flash space is fully availabe and nothing is in there. not sure what went wrong. and dont knwo how to move stuff there.

                          can some one please help and provide some directions.

                          minix x5 4.4.2 beta rom with 1080p

                          Comment


                            hello everyoneI installed this rom , ethernet mac address keeps changing every time you restart the deviceI read that there is a script to fix the mac address but can not find it
                            -another thing : how do you to return to rom 4.2.2the device starts staying in recovery ... what is the solution ?

                            thank you

                            Comment


                              any help here?

                              Guys,

                              any help to my previous request to fully use the NAND flash ?

                              Originally posted by silver_minix View Post
                              Hi Karel and guys

                              after updating the rom my neo x5 works great and super fast. thanks for the New Rom.

                              the problems i face now is
                              1. camera not working, which is discussed in this thread earlier.
                              2. since i am using 1080 p rom (0.8 version) most of the app space is filled and nand flash space is fully availabe and nothing is in there. not sure what went wrong. and dont knwo how to move stuff there.

                              can some one please help and provide some directions.

                              minix x5 4.4.2 beta rom with 1080p

                              Comment


                                @karel

                                Hi U

                                I want up your ROMMINIX X5 android 4.4.2 KitKat ROM*.zip file from CWM, my device X5 error mini usb

                                Thanks

                                Comment

                                Working...
                                X