imx8mq android sound can not hear

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

imx8mq android sound can not hear

1,088 Views
ksw1
Contributor I

Now, I am using imx8mq EVK Board.

SW image : android_O8.1.0_1.3.0_8M

After booting, I played video file on android User Interface.

video screen is OK, but sound does not play (ear phone jack connected).

I can't not hear sound. (in yocto image, when aplay sample wave fie played OK)

Why android image sound is not played? 

How can I modify?

serial log below.

[  233.321566] alloc_contig_range: [ab300, aba72) PFNs busy
[  233.328334] alloc_contig_range: [ab400, abb72) PFNs busy
[  233.381175] type=1400 audit(1558066457.106:919): avc: denied { read write } for pid=3041 comm="writer" name="pcmC0D0p" dev="tmpfs" ino=182 scontext=u:r:hal_audio_default:s0 tcontext=u:object_r:acro_device:s0 tclass=chr_file permissive=0 duplicate messages suppressed
[  233.405499] binder: 3338:5669 transaction failed 29201/-1, size 124-8 line 3232
[  233.416819] type=1400 audit(1558066521.681:923): avc: denied { read } for pid=3338 comm="generic" path=2F6D6E742F6D656469615F72772F444144412D443545382F746573742FEB8F99EC9881EC83812F505359202D2047414E474E414D205354594C452028EAB095EB82A8EC8AA4ED8380EC9DBC29204D2D562E6D7034 dev="sda1" ino=74 scontext=u:r:mediaextractor:s0 tcontext=u:object_r:vfat:s0 tclass=file permissive=0

Labels (1)
0 Kudos
4 Replies

856 Views
ksw1
Contributor I

hello.

Please check above SD Card flashing?

when I use android_O8.1.0_1.3.0_8M, SD card flashing OK

But when sd flashing O8.1.0_2.0.0 image, i don't know why flashing error. 

0 Kudos

856 Views
ksw1
Contributor I

hello.

O8.1.0_2.0.0_GA_SOURCE full build OK!

But, when sd card(micro SD card size 16 GB) flashing, problem below.

how can I flashing SD card image?

android_build/out/target/product/evk_8mq$ sudo ./fsl-sdcard-partition.sh -f imx8mq /dev/sdb
imx8mq bootloader offset is: 33
make gpt partition for android: partition-table.img
17+0 레코드 들어옴
17+0 레코드 나감
17408 bytes (17 kB, 17 KiB) copied, 0.0127661 s, 1.4 MB/s
support_dtbo: 1

/dev/sdb:
 re-reading partition table
GPT fdisk (gdisk) version 1.0.1

Caution: invalid backup GPT header, but valid main header; regenerating
backup header from main header.

Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.

Warning! One or more CRCs don't match. You should repair the disk!

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: damaged

****************************************************************************
Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
verification and recovery are STRONGLY recommended.
****************************************************************************

Command (? for help):
Recovery/transformation command (? for help): Warning! This will probably do weird things if you've converted an MBR to
GPT form and haven't yet saved the GPT! Proceed? (Y/N):
Recovery/transformation command (? for help): Warning! Secondary header is placed too early on the disk! Do you want to
correct this problem? (Y/N): Have moved second header and partition table to correct location.

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to /dev/sdb.
The operation has completed successfully.
formating android images
format_partition: userdata:/dev/sdb12 ext4
mke2fs 1.42.13 (17-May-2015)
/dev/sdb12: Not enough space to build proposed filesystem while setting up superblock

Regards

0 Kudos

856 Views
ksw1
Contributor I

Hi.

I'm waiting response of my question.

please guide to me!

0 Kudos

856 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Sangwook,

Please download the O8.1.0_2.0.0_GA_SOURCE to avoid those issues with audio.

Regards

0 Kudos