Skip to content

add support for rk3566 based tvbox: x96-x6

Peter,

I'm trying to add support for rk3566 based tvbox (x96 x6) in my project (MiniMyth2).

I'm using yous uboot - and it looks ir reads SDcard correctly & loads kernel. Box is already booting linux kernel - but i have issue with accessing rootfs.

I have this issue on mainline 5.16-rc8 and as well on your linux-next (7ace6af7).

Initially I was thinking issue is related to different sdcard CD pin my tvbox is using so i added in DT &sdmmc0 broken-cd; but this not helps. Pls see attached boot log.

SDcard part layout is:

part /loader --ondisk mmcblk --label loader --offset 64s    --size 7M
part /uboot  --ondisk mmcblk --label uboot  --offset 16384s --size 7M
part /env    --ondisk mmcblk --label env    --offset 32768s --size 15M
part /efi    --source bootimg-partition  --ondisk mmcblk --fstype=vfat --label BOOT --active --offset 65536s --size 512
part /       --source rootfs             --ondisk mmcblk --fstype=ext4 --label ROOT          --align 1024    --extra-space 512

Bootlog: x96-x6-boot.log

Maybe you have some pointers here?

Edited by Piotr Oniszczuk