i.MX8 ULP Solo Emulation

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

i.MX8 ULP Solo Emulation

ソリューションへジャンプ
831件の閲覧回数
seah
Contributor III

We want to evaluate whether the performance of i.MX8 ULP Solo/Single Core is acceptable to run latest NXP Android 14 release. Is there a u-boot or adb/debug console commands that we can run in real time to enable single core mode in i.MX8ULP Evaluation Kit (which has dual core)?

0 件の賞賛
返信
1 解決策
800件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

please try "setenv append_bootargs maxcpus=1 "

元の投稿で解決策を見る

0 件の賞賛
返信
7 返答(返信)
696件の閲覧回数
raopdo
Contributor I

This save my time. Thanks for your info.

0 件の賞賛
返信
810件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

There is kernel parameter "maxcpus" which is maximum number of processors that kernel should use.

 

For more information, you could refer to the Table 11 in the Release Notes below.

i.MX Linux Release Notes (nxp.com)

0 件の賞賛
返信
808件の閲覧回数
seah
Contributor III

Thanks. That's for Linux. Does Android 14 has similar setting?

0 件の賞賛
返信
806件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

It should be the same as u-boot also is the bootloader in Android 14.

0 件の賞賛
返信
803件の閲覧回数
seah
Contributor III

On Android 14, Here is the uboot printenv

=> printenv
arch=arm
baudrate=115200
board=imx8ulp_evk
board_name=imx8ulp_evk
bootcmd=boota mmc0
bootdelay=2
cpu=armv8
emmc_dev=0
ethaddr=00:04:9f:08:73:f6
ethprime=FEC
fastboot_dev=mmc0
fdt_high=0xffffffffffffffff
fdtcontroladdr=a3de8210
initrd_high=0xffffffffffffffff
loadaddr=0x80400000
sd_dev=2
sec_boot=yes
serial#=5fe72827b1363228
soc=imx8ulp
soc_type=imx8ulp
splashimage=0x90000000
splashpos=m,m
vendor=freescale

Environment size: 409/8188 bytes

I try to "setenv maxcpus 1", and the android still boot up with 2 CPUs

130|evk_8ulp:/ $ cat /proc/cpuinfo
processor : 0
BogoMIPS : 2.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x1
CPU part : 0xd04
CPU revision : 0

processor : 1
BogoMIPS : 2.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x1
CPU part : 0xd04
CPU revision : 0

 

The way that android set kernel parameters seems different from that of Linux. Please advise.

0 件の賞賛
返信
801件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

please try "setenv append_bootargs maxcpus=1 "

0 件の賞賛
返信
747件の閲覧回数
seah
Contributor III

Thanks. It works!.

 


evk_8ulp:/ $ cat /proc/cpuinfo
processor : 0
BogoMIPS : 2.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x1
CPU part : 0xd04
CPU revision : 0

evk_8ulp:/

 

 

0 件の賞賛
返信