This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TDA2E: vision SDK 3.02 DRA72x use kernel_menuconfig set A15 freqency

Other Parts Discussed in Thread: TDA2E

art Number: TDA2E

Tool/software: Linux

Hi 

I try to use make kernel_menuconfig to set governors is Performance.

But I use omapconf show opp to check freqency is still 1000HZ.

System also show can not find scaling_governor file message.

Did I less some procedure or DRA72x  can not use kernel_menuconfig set A15  freqency?

thanks

Yumei

  • Hi Yumei Hang,

    Selecting cpufreq governor from menuconfig should work.
    Could you share the full Kernel boot log and your kernel ".config" file (after you have built Kernel)? 

    Regards,
    Vishal

  • Hi Vishal

    There are my .config file and procedure message when I run sd card.

    Is MPU max freqency 800?

    Because I see tda2ex file table is show 800,but mpu default freqency is 1000.

     

    thanks

    Yumei

    U-Boot SPL 2016.05-00008-g1fbee98-dirty (Jul 18 2019 - 10:37:17)
    DRA722-GP ES2.0
    *** Warning - bad CRC, using default environment
    
    Trying to boot from MMC1
    reading dra7-ipu2-fw.lzop
    reading dra7-dsp1-fw.lzop
    spl: falcon_args_file not set in environment, falling back to default
    reading single-stage-boot.dtb
    reading uImage
    reading uImage
    [    0.000000] Booting Linux on physical CPU 0x0
    
    [    0.000000] Initializing cgroup subsys cpuset
    
    [    0.000000] Initializing cgroup subsys cpu
    
    [    0.000000] Initializing cgroup subsys cpuacct
    
    [    0.000000] Linux version 4.4.84-00018-gd326d64-dirty (autorad@autorad-VirtualBox) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #9 SMP PREEMPT Thu Aug 2 15:33:26 CST 2018
    
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    
    [    0.000000] Machine model: TI DRA722 Rev C EVM
    
    [    0.000000] bootconsole [earlycon0] enabled
    
    
    Welcome to Arago 2016.12!
    
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Created slice System Slice.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket.
             Starting Journal Service...
             Starting Create list of required st... nodes for the current kernel...
    		�
             Starting Remount Root and Kernel File Systems...
             Starting Load Kernel Modules...
             Mounting Temporary Directory...
             Mounting POSIX Message Queue File System...
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Reached target Swap.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [  OK  ] Listening on udev Control Socket.
             Starting Setup Virtual Console...
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory.
    [  OK  ] Started Journal Service.
    [  OK  ] Started Create list of required sta...ce nodes for the current kernel.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [FAILED] Failed to start Load Kernel Modules.
    
    See 'systemctl status systemd-modules-load.service' for details.
    
    [  OK  ] Started Setup Virtual Console.
             Starting Apply Kernel Variables...
             Starting udev Coldplug all Devices...
             Starting Load/Save Random Seed...
             Starting Create Static Device Nodes in /dev...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Static Device Nodes in /dev.
    �
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
    [  OK  ] Mounted /media/ram.
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Reached target Local File Systems.
    
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Reached target Basic System.
             Starting rc.pvr.service...
             Starting Permit User Sessions...
             Starting Login Service...
             Starting avm service...
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started rc.pvr.service.
    [  OK  ] Started Login Service.
    
             Starting weston.service...
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Reached target Login Prompts.
    [  OK  ] Started weston.service.
    
     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_ 
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            
    
    Arago Project http://arago-project.org dra7xx-evm ttyS0
    
    Arago 2016.12 dra7xx-evm ttyS0

    5775.config.txt

  • Hi,

    The Linux Kernel by default has 1000 MHz as the value for OPP_NOM.

    Regards,
    Vishal

  • Below e2e posts shows examples on how to update u-boot and Kernel to change the OPP_NOM values.
    (Below examples are for 600 MHz, but similar change can be done for 800 MHz)

    u-boot change:
    https://e2e.ti.com/support/processors/f/791/p/619772/2286496#2286496

    Kernel change:
    https://e2e.ti.com/support/processors/f/791/p/619772/2283850#2283850

    Regards,
    Vishal

  • Hi Vishal

    I use u-boot change freqency successfully.

    Can I chane OPP_NOW to OPP_OD or OPP_HIGH?

    Has default OPP_NOW 1000 MHz to belong overclocking condition?

    So I use Kernel change freqency unsuccessfully Because DRA72x is just one OPP?

    thanks 

    Yumei

  • Hi Yumei

    Recommend you to remain with OPP_NOM for TDA2Ex and 800 MHz as per the datasheet to avoid having higher leakage power than necessary.

    http://www.ti.com/document-viewer/TDA2E/datasheet/voltage-and-core-clock-specifications-voltage-core-clock-specs#SPRT637-1342

    The 1000 MHz is for DRA72x device which is very similar to TDA2ex but supports different frequencies/OPPs: Kindly refer: http://www.ti.com/document-viewer/DRA726/datasheet/voltage-and-core-clock-specifications-voltage-core-clock-specs#SPRT637-1342

    Thanks and Regards,

    Piyali