Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

MK908 v5 RK3188 CPU speed problem top speed 1200MHZ

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

    MK908 v5 RK3188 CPU speed problem top speed 1200MHZ

    I have a MK908 v5.
    I have tried the kernel from:

    also:


    The best the cpu does is 1200MHZ the governor is interactive.
    Config files were done via marvin + manual editing. Tried also https://github.com/phjanderson/rkpatchomatic but was not able to patch it.

    as far as i can see the voltages+speed are defined in the board-rk3188-box.c and cpufreq.c in teh config all is ok:

    CONFIG_RK_CPU_312=y
    CONFIG_RK_CPU_312_VOLT=900
    CONFIG_RK_CPU_504=y
    CONFIG_RK_CPU_504_VOLT=925
    CONFIG_RK_CPU_816=y
    CONFIG_RK_CPU_816_VOLT=1000
    CONFIG_RK_CPU_1008=y
    CONFIG_RK_CPU_1008_VOLT=1075
    CONFIG_RK_CPU_1200=y
    CONFIG_RK_CPU_1200_VOLT=1150
    CONFIG_RK_CPU_1416=y
    CONFIG_RK_CPU_1416_VOLT=1250
    CONFIG_RK_CPU_1608=y
    CONFIG_RK_CPU_1608_VOLT=1350
    CONFIG_RK_CPU_1704=y
    CONFIG_RK_CPU_1704_VOLT=1375
    CONFIG_RK_CPU_1800=y
    CONFIG_RK_CPU_1800_VOLT=1375

    also tied limiting the cpu to:
    CONFIG_RK_CPU_1800=y
    CONFIG_RK_CPU_1800_VOLT=1375
    only but to no luck.

    Also i suspect that the DDR freq are not ok.

    The governors are not ok...i get crashes when trying to switch it.

    /sys/devices/system/cpu/cpu(0-3)/cpufreq/cpuinfo_max_freq states 1800000
    if I change hispeed_freq from
    /sys/devices/system/cpu/cpufreq/interactive/
    to 1800000
    and go_hispeed_load to 1
    so that if the load is higher the 1 it should go to 1800Mhz i get a crash, if i change ot to 1200mhz all is ok.
    Any ideas ?

    #2
    Update

    Update:

    I found that the repo was tainted.
    I have built a kernel for T428 with cpu1800 it seems ok but..cpu goes from 312MHZ to 1800MHZ no intermediate freq. Governors are ok.

    Built for the mk908 with cpu1800 it just hangs so i activated the serial console.
    got a panic:
    [ 1.210624] DBUFF-64x8bytes Num_Chans-7 Num_Peri-20 Num_Evts-14
    [ 1.217645] lcdc0>>win0_display:y_addr:0x8d800000>>uv_addr:0x0
    [ 1.224757] Unable to handle kernel NULL pointer dereference at virtual address 0000000รข
    (attached log)
    disabled the lcdc got:
    [ 0.945587] rk3188 cpufreq version 2.0, suspend freq 816 MHz
    [ 0.952196] Loaded driver for PL330 DMAC-1 rk29-pl330
    [ 0.957994] DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
    [ 0.964947] Loaded driver for PL330 DMAC-2 rk29-pl330
    [ 0.970651] DBUFF-64x8bytes Num_Chans-7 Num_Peri-20 Num_Events-14
    [ 0.978041] Unable to handle kernel NULL pointer dereference at virtual address 00000018
    [ 0.987031] pgd = c0404000
    [ 0.990094] [00000018] *pgd=00000000
    [ 0.994117] Internal error: Oops: 5 [#1] PREEMPT SMP
    [ 0.999698] CPU: 1 Not tainted (3.0.36+ #11)
    [ 1.004922] PC is at clockevents_program_event+0x44/0xdc
    [ 1.010903] LR is at tick_dev_program_event+0x40/0x13c
    [ 1.016693] pc : [<c067c938>] lr : [<c067dc98>] psr: 60000093
    [ 1.016709] sp : ed069ed8 ip : 00000000 fp : 00000038
    [ 1.029601] r10: c0ba54c8 r9 : 00000000 r8 : 38074300
    [ 1.035468] r7 : 00000000 r6 : 00000000 r5 : 38074300 r4 : c2754040
    [ 1.042728] r3 : 00000000 r2 : 38074300 r1 : 00000000 r0 : c2754040
    [ 1.049998] Flags: nZCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
    [ 1.058212] Control: 10c5387d Table: 6040404a DAC: 00000015
    [ 1.064620]
    [ 1.064622] PC: 0xc067c8b8:
    [ 1.069490] c8b8 e3a03001 e59f000c e5843020 e3a01051 e8bd4

    sooo...no dice.
    Attached Files

    Comment

    Working...
    X