what are the right bootargs to boot up andriod11 for imx8qxpC0 ?

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

what are the right bootargs to boot up andriod11 for imx8qxpC0 ?

695 Views
jackey267
Contributor II

hello nxp 1 we are going to bootup andriod 11 using prebuild images: android-11.0.0_1.0.0_image_8qmek

2 but after downloaded image into SD card: it was stucked at u-boot: 

sudo ./uuu_imx_android_flash.sh -f imx8qxp -a -e -t sd -c 28 -u mek-c0-uuu
[sudo] password for zsh:
This script is validated with uuu 1.3.124 version, it is recommended to align with this version.
dtbo is supported
dual slot is supported
dynamic parttition is supported
vendor_boot parttition is supported
generate lines to flash u-boot-imx8qxp-mek-c0-uuu.imx to the partition of bootloader0
generate lines to flash partition-table-28GB.img to the partition of gpt
generate lines to flash dtbo-imx8qxp.img to the partition of dtbo_a
generate lines to flash boot.img to the partition of boot_a
generate lines to flash vendor_boot.img to the partition of vendor_boot_a
generate lines to flash vbmeta-imx8qxp.img to the partition of vbmeta_a
generate lines to flash super.img to the partition of super
uuu script generated, start to invoke uuu with the generated uuu script
uuu (Universal Update Utility) for nxp imx chips -- lib1.4.77

Success 1 Failure 0


1:10 20/20 [Done ] FB: done

 

3 the serail console was output this: 

U-Boot 2020.04 (Nov 17 2020 - 15:14:38 +0800)

CPU: NXP i.MX8QXP RevC A35 at 1200 MHz at 28C

Model: NXP i.MX8QXP MEK
Board: iMX8QXP MEK
Boot: SD1
DRAM: 3 GiB
TCPC: Vendor ID [0x1fc9], Product ID [0x5110], Addr [I2C1 0x50]
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... Run CMD11 1.8V switch
OK
In: serial
Out: serial
Err: serial

BuildInfo:
- SCFW 56682d58, SECO-FW 4f5b6919, IMX-MKIMAGE 8da5cd23, ATF 1555e5d
- U-Boot 2020.04

flash target is MMC:1
Run CMD11 1.8V switch
Net: eth0: ethernet@5b040000 [PRIME]
Warning: ethernet@5b050000 (eth1) using random MAC address - 82:65:d9:7d:00:53
, eth1: ethernet@5b050000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
=>  

 

 

4  those bootargs was set but seemed didn't work as we want: 

setenv bootargs console=ttyLP0,115200 earlycon init=/init

setenv bootargs androidboot.console=ttyLP0

setenv bootargs androidboot.hardware=nxp

setenv bootargs cma=928M@0x960M-0xfc0M

setenv bootargs androidboot.primary_display=imx-drm

setenv bootargs firmware_class.path=/vendor/firmware

setenv bootargs loop.max_part=7

setenv bootargs androidboot.vendor.sysrq=1

setenv bootargs transparent_hugepage=never

setenv bootargs androidboot.wificountrycode=CN

setenv bootargs moal.mod_para=wifi_mod_para.conf

setenv bootargs androidboot.lcd_density=240

saveenv

/**************************/

thanks.

 

0 Kudos
1 Reply

679 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

The procedure you have followed looks correct, I believe you’re trying to boot with dual LVDS-to-HDMI displays, please try by setting the bootargs as following:

U-Boot > setenv bootargs console=ttyLP0,115200 earlycon init=/init androidboot.console=ttyLP0 androidboot.hardware=nxp cma=1184M@0x960M-0xe00M androidboot.primary_display=imx-drm firmware_class.path=/vendor/firmware loop.max_part=7 androidboot.vendor.sysrq=1 transparent_hugepage=never androidboot.wificountrycode=CN androidboot.lcd_density=240

U-Boot > saveenv 

Also, a good way to check that you have set the bootargs correctly you may use the following command:

U-Boot > printenv bootargs

Best regards,
Aldo.

0 Kudos