Announcement

Collapse
No announcement yet.

Marvin - automated multi device kernel build tool

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

    Originally posted by phjanderson View Post
    Could you try the different combinations again after removing the duplicate line?
    static struct rfkill_rk_platform_data rfkill_rk_platdata = {
    .type = RFKILL_TYPE_BLUETOOTH,
    .poweron_gpio = { // BT_REG_ON
    #ifdef CONFIG_RFKILL_RK_POWERON_PIN3_PD1
    .io = RK30_PIN3_PD1,
    #else
    .io = INVALID_GPIO, //SAW - RK30_PIN3_PD1, //RK30_PIN3_PC7,
    #endif
    .io = INVALID_GPIO, //SAW - RK30_PIN3_PD1, //RK30_PIN3_PC7,
    .enable = GPIO_HIGH,
    .iomux = {
    ...


    According to other MK802IV AP6210 source trees it really does need to be like this:
    CONFIG_ACT8846_LDO6_18V=y
    CONFIG_RFKILL_RK_POWERON_PIN3_PD1=y
    CONFIG_RFKILL_RK_RESET_INVALID_GPIO=y
    CONFIG_RFKILL_RK_WAKE_PIN3_PC7=y
    CONFIG_RFKILL_RK_WAKE_HOST_PIN3_PC6=y

    The only difference with marvin's current tree is that duplicate line.
    Ok, so I tried it with CONFIG_RFKILL_RK_POWERON_PIN3_PD1=y and it makes the BT icon disappear from the statusbar, and BT is not resurrectable.

    So the only working config for me and my CX919 with WIFI and BT is the current settings in the CX919 device config file.

    Comment


      Changing kernel compression?

      Anyone know how to change the kernel compression to something other than lzo?

      I tried in init/Kconfig changing the default to something else, but apparently that was not it.

      Ideas?

      Cheers,
      /J

      Comment


        Originally posted by JugsteR View Post
        Anyone know how to change the kernel compression to something other than lzo?

        I tried in init/Kconfig changing the default to something else, but apparently that was not it.

        Ideas?

        Cheers,
        /J
        Nevermind, I did it wrong.
        It is working now.

        Cheers,
        /J

        Comment


          I am searching for kernel with low CPU clock which can fit MK802IV with rk3188-t. Do you think it is possible to limit CPU clock using your kernel builder by command ./marvin config mk802iv cpu1400 1080p ?
          Janusz

          Comment


            Originally posted by jp.mk802 View Post
            I am searching for kernel with low CPU clock which can fit MK802IV with rk3188-t. Do you think it is possible to limit CPU clock using your kernel builder by command ./marvin config mk802iv cpu1400 1080p ?
            Janusz

            use the cpufreq-set util:

            cpufreq-set -r --max 1.4GHz

            Comment


              Originally posted by dkcm View Post
              use the cpufreq-set util:

              cpufreq-set -r --max 1.4GHz
              Thank you for advice,
              Can I to run the command within the script?

              ./marvin cpufreq-set -r --max 1.4GHz

              or shoud I download the utility:

              sudo aptitude install cpufrequtils (or similar)

              and run in terminal when system is loaded (the problem is that kernel when loaded frequently freezes when running simple commands)

              cpufreq-set -r --max 1.4GHz

              I will try it tonight and will get back, JP

              Comment


                Originally posted by jp.mk802 View Post
                Do you think it is possible to limit CPU clock using your kernel builder by command ./marvin config mk802iv cpu1400 1080p?
                Just configure a kernel without the 'cpu' parameter and manually unset the 1608MHz speed from the generated .config file.
                NVidia Shield TV 2015 16 GB || Stock
                NVidia Shield TV 2017 16 GB || Stock
                Buy me a beer?

                Comment


                  cpufreq

                  Originally posted by Molle View Post
                  Just configure a kernel without the 'cpu' parameter and manually unset the 1608MHz speed from the generated .config file.
                  Well, setting the cpu freq did not resolved problems with screen blinking although the system seems to be more stable. May be the problems lies in voltage table assigned to given cup. I have little understanding whether cpufreq-set regulate the global cpu clock (kernel and system programs) or just for programs. I have a kernel that works stable but I will have to extract it from larger ROM image.

                  Comment


                    Neo X7 kernel.img

                    Hi all,

                    I have a Neo X7 and I want to put the kernel.img made with marvin in a firmware
                    to flash in my Neo X7, how can I do this?

                    I have a procedure to insert the right drivers for an usb touchscreen and I need to test the new kernel in the firmware.

                    I can share the doc for the procedure.

                    Thanks in advance,
                    Max.
                    Last edited by massimilianos; 03-22-2014, 11:06.

                    Comment


                      CX-921 GPIO pin settings

                      Hi guys,

                      I am having a serious battle here. I am using marvin and tried using the GPIO scripts, I got dmesg results, but clearly don't know what to do with the data correctly(attached files).

                      I am trying to integrate a U-Blox 3G modem into the CX-921 for a project I am working on, but it requires a source kernel build because of this in their instructions:

                      Device Drivers
                      USB Support
                      <*>USB Modem (CDC ACM) support

                      needing to be checked in make menuconfig. So I do that and compile the kernel andw0b0.txtw0b1.txtw1b0.txtw1b1.txt it boots but wifi and Lan dont work so I need to change the GPIO pins correct? and then recompile.

                      So many hurdles already and I have not even got to the integrating of the RIL into the source yet for the system and boot Sheeesh...

                      Any help on this would be much appreciated or a patch of an existing kernel even better....

                      Comment


                        anyone tried this on a mk908ii 3188T stick?

                        Has anyone tried this to build a kernel for a MK908ii? I'd like to build compile a kernel with some modes to support my multitouch monitor. Would appreciate knowing beforehand if this is working fine on a mk908ii 3188-T model. Thanks

                        https://github.com/phjanderson/Kernel-3188

                        Comment


                          Where to add GPIO LED in the Kernel Source?

                          I would like to turn of the blue front led from CX-921 at sleep mode, but can't find where to add and what to change in the kernel source. I'm not shure if i'm on the right way, would like to get some help.

                          I got the following values from gpio dump utility and found some promising values at line 216 (GPIO gpio1 216 cx-led):

                          [ 2618.476994] User Mode GPIO Driver: 1.00
                          [ 2662.844084] GPIO gpio0 160 poweronpin
                          [ 2662.844115] GPIO gpio0 161 NULL
                          [ 2662.844131] GPIO gpio0 162 ?
                          [ 2662.844146] GPIO gpio0 163 ?
                          [ 2662.844161] GPIO gpio0 164 play


                          [ 2662.844226] GPIO gpio0 168 ?
                          [ 2662.844241] GPIO gpio0 169 (null)
                          [ 2662.844257] GPIO gpio0 170 remotectl
                          [ 2662.844276] GPIO gpio0 171 (null)
                          [ 2662.844293] GPIO gpio0 172 (null)
                          [ 2662.844309] GPIO gpio0 173 rtc gpio


                          [ 2662.844424] GPIO gpio0 180 ap_ready
                          [ 2662.844440] GPIO gpio0 181 bp_wakeup_ap
                          [ 2662.844458] GPIO gpio0 182 modem_power_en
                          [ 2662.844477] GPIO gpio0 183 modem_usb_en


                          [ 2662.844577] GPIO gpio0 189 camera flash


                          [ 2662.845017] GPIO gpio1 216 cx-led


                          [ 2662.845612] GPIO gpio2 252 modem_uart_en
                          [ 2662.845631] GPIO gpio2 253 modem_power


                          [ 2662.845697] GPIO gpio3 257 sdmmc-power
                          [ 2662.845714] GPIO gpio3 258 mmc0-clk
                          [ 2662.845731] GPIO gpio3 259 mmc0-cmd
                          [ 2662.845747] GPIO gpio3 260 mmc0-data0
                          [ 2662.845765] GPIO gpio3 261 mmc0-data1
                          [ 2662.845782] GPIO gpio3 262 mmc0-data2
                          [ 2662.845799] GPIO gpio3 263 mmc0-data3
                          [ 2662.845817] GPIO gpio3 264 (null)
                          [ 2662.845833] GPIO gpio3 265 (null)
                          [ 2662.845848] GPIO gpio3 266 ?
                          [ 2662.845862] GPIO gpio3 267 (null)
                          [ 2662.845880] GPIO gpio3 268 camera powerdown
                          [ 2662.845898] GPIO gpio3 269 camera powerdown
                          [ 2662.845917] GPIO gpio3 270 (null)
                          [ 2662.845934] GPIO gpio3 271 (null)
                          [ 2662.845950] GPIO gpio3 272 mmc1-cmd
                          [ 2662.845966] GPIO gpio3 273 mmc1-data0
                          [ 2662.845983] GPIO gpio3 274 mmc1-data1
                          [ 2662.846001] GPIO gpio3 275 mmc1-data2
                          [ 2662.846019] GPIO gpio3 276 mmc1-data3
                          [ 2662.846036] GPIO gpio3 277 mmc1-clk
                          [ 2662.846053] GPIO gpio3 278 (null)
                          [ 2662.846069] GPIO gpio3 279 (null)
                          [ 2662.846085] GPIO gpio3 280 wifi_power
                          [ 2662.846102] GPIO gpio3 281 (null)
                          [ 2662.846118] GPIO gpio3 282 (null)
                          [ 2662.846135] GPIO gpio3 283 NULL
                          [ 2662.846150] GPIO gpio3 284 rk1000 reset
                          [ 2662.846168] GPIO gpio3 285 ?
                          [ 2662.846182] GPIO gpio3 286 (null)
                          [ 2662.846199] GPIO gpio3 287 (null)

                          Hope anybody can help me!
                          Donations are welcome and will be shared with other devs:

                          DONATIONS

                          CX-921 TV-Box without Bluetooth (RK3188 / RTL8188 Wifi), CX-921b TV-Box (RK3188T / AP6210 Wifi), T428 TV Stick (RK3188 / AP6330 Wifi), CX919 TV Stick (RK3188 / AP6210 Wifi)

                          Comment


                            I am a designer of code39 of Word barcode.I am a greenhand of this field.

                            After attempting to write a simple char device driver I now wish to write a char device driver to access the GPIO pins on a embedded linux board such as a Beagleboard. I am interested in writing a module "mygpiomodule" which when loaded must appear in /dev/mygpiomodule such that read, write from user space accesses the GPIO. I do not wish to access GPIO from user space. I want to do it as my first attempt towards writing a module that can interface with some peripheral. I want to stick some LEDs into the port and attempt to turn them on or off.

                            How should I attempt doing this?

                            Comment

                            Working...
                            X