The lastest release(2013) Linux version is 2.6 in TI website,now we need to update linux kernel, the solution is using linux 4.19 which was released in OMAPL138(ti-processor-sdk-linux-omapl138-lcdk-06.03.00.106 ), after download the kernel into board,it shows:
cpufreq: __target_index: Failed to change cpu frequency: -22
Description:
hardware environment:
1: UBL : AM1808’s UBL
2: u-boot: u-boot2013.01.01
3: PC: ubuntu18.04
4: SDK: ti-processor-sdk-linux-omapl138-lcdk-06.03.00.106
5: board: ourself board using AM1808E ZWT (456)
Code changes:(just kernel code in ti-processor-sdk-linux-omapl138-lcdk-06.03.00.106)
change device tree file:
1 arch/arm/boot/dts/da850-lcdk.dts:
comment three node: dsp_memory_region,sound and &dsp.
2 arch/arm/boot/dts/da850.dtsi:
comment two node: aliases and dsp: dsp@11800000 .
Others:
no change
Phenomenon:
when board start up and into uboot,download kernel , ramdisk and dtb into DDR by tftpboot command,and using bootm kernelAddr ramdiskAddr dtbAddr to start kernel,and kernel can start up and entry ramdisk,but it always shown:
quary with command: cat /sys/devices/systrm/cpu/cpu0/cpufreq/
current running frequency (cpuinfo_cur_freq): 384MHZ
max support frequency (cpuinfo_max_freq ): 300MHZ
min support frequency ( cpuinfo_min_freq ):96MHZ
scaling_cur_freq: 96MHZ
kernel configuration:
if turn off [CPU Frequency scaling], then NO ERR display, but I think it should to set the MAX/MIN frequency limit,and I don't know where should I change,so my question is:
1, I used AM1808 UBL + uboot2013.01.01 + OAMPL1388 Linux kernel, Is there a problem with this plan?Could it be that the UBoot version doesn't match?
2, How should I do to change the MAX/MIN frequency limit?
Thanks very much.