How to change the CPU frequency from 800Mhz to 1GHz ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to change the CPU frequency from 800Mhz to 1GHz ?

2,610 Views
hrushinale
Contributor III

Hello Everyone,

                           We have our custom board which is based on i-MX6 SabreSD refernce design. In that CPU supports upto 1GHz frequency but by default its running on 800Mhz. Now, I want to change this frequency from 800Mhz to 1Ghz, Please suggest the solution  for that.

Labels (1)
0 Kudos
Reply
4 Replies

1,837 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Please use Chapter 23 [CPU Frequency Scaling (CPUFREQ) Driver]

of ''i.MX_Linux_Reference_Manual.pdf".

http://www.nxp.com/webapp/Download?colCode=L4.1.15_1.1.0_LINUX_DOCS&Parent_nodeId=133769948107170617...

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,837 Views
hrushinale
Contributor III

Thanks For Reply.

                             I read the documents but its only related to kernel part. I want to change the Frequency in U-boot part.

0 Kudos
Reply

1,837 Views
Yuri
NXP Employee
NXP Employee

Hello,

The U-boot does not provide standard procedure to change CPU frequency, since

it affects other modules.

Regards,

Yuri.

1,837 Views
hrushinale
Contributor III

HI ,

                          I am also facing the problem related to serial console . The default console given for our board is at UART1 bu I change it to UART 2.For that I made the below changes:

#define CONFIG_MXC_UART_BASE    UART2_BASE

#define CONFIG_CONSOLE_DEV        "ttymxc1"

also configured the UART in customboard.c file like

iomux_v3_cfg_t const uart2_pads[] = {

    MX6_PAD_SD3_DAT5__UART2_TX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),

    MX6_PAD_SD3_DAT4__UART2_RX_DATA | MUX_PAD_CTRL(UART_PAD_CTRL),

    MX6_PAD_SD3_CMD__UART2_RTS_B | MUX_PAD_CTRL(UART_PAD_CTRL),

    MX6_PAD_SD3_CLK__UART2_CTS_B | MUX_PAD_CTRL(UART_PAD_CTRL),

};

static void setup_iomux_uart(void)

{

    imx_iomux_v3_setup_multiple_pads(uart1_pads, ARRAY_SIZE(uart1_pads));

    imx_iomux_v3_setup_multiple_pads(uart2_pads, ARRAY_SIZE(uart2_pads));

}

int board_early_init_f(void)

{

    setup_iomux_uart();

}

After doing all these changes when we connect the board its showing garbage value. Please Suggest the solution.

Regards,

hrushi

0 Kudos
Reply