This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA821U-Q1: sdk10 and sdk11, rootfs issue

Part Number: DRA821U-Q1
Other Parts Discussed in Thread: DRA821

Tool/software:

DRA821, evm, SDK10 sdk11, create the sd card with defualt wic.xz file

boot system with sdcard mode.

it always use emmc dev/mmcblk0p2 as rootfs, 

--------------------------------

root@j7200-evm:/dev# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
mtdblock0 31:0 0 1M 0 disk
mtdblock1 31:1 0 2M 0 disk
mtdblock2 31:2 0 4M 0 disk
mtdblock3 31:3 0 256K 0 disk
mtdblock4 31:4 0 256K 0 disk
mtdblock5 31:5 0 55.8M 0 disk
mtdblock6 31:6 0 256K 0 disk
mmcblk0 179:0 0 14.8G 0 disk
|-mmcblk0p1 179:1 0 128M 0 part /run/media/boot-mmcblk0p1
`-mmcblk0p2 179:2 0 14.7G 0 part /
mmcblk0boot0 179:32 0 31.5M 1 disk
mmcblk0boot1 179:64 0 31.5M 1 disk
mmcblk1 179:96 0 59.5G 0 disk
|-mmcblk1p1 179:97 0 128M 0 part /run/media/boot-mmcblk1p1
`-mmcblk1p2 179:98 0 8.9G 0 part /run/media/root-mmcblk1p2
root@j7200-evm:/dev#
root@j7200-evm:/dev#

---------------------

not understand why?

root@j7200-evm:/dev# cat /proc/cmdline
console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=PARTUUID=076c4a2a-02 rw rootfstype=ext4 rootwait

root@j7200-evm:/dev# lsblk -o NAME,PARTUUID
NAME PARTUUID
mtdblock0
mtdblock1
mtdblock2
mtdblock3
mtdblock4
mtdblock5
mtdblock6
mmcblk0
|-mmcblk0p1 076c4a2a-01
`-mmcblk0p2 076c4a2a-02
mmcblk0boot0
mmcblk0boot1
mmcblk1
|-mmcblk1p1 076c4a2a-01
`-mmcblk1p2 076c4a2a-02
root@j7200-evm:/dev#

-------------------------------------

customer think the sd card mode should use mmcblk1p2 as rootfs

Regards

   Semon

  • Hi Semon,

    Just a couple of questions to ask:

    • Can you give more info on the bootflow they are using?
    • Is u-boot being used in their bootflow?
      • If yes
        • Enter into u-boot and execute the following command:
          >setenv args_mmc "run finduuid;setenv bootargs console=ttyS2,115200n8  root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait"
          >boot

    Regards

    Gokul