IMX8MN-EVK EMMC Partition from UUU tool

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

IMX8MN-EVK EMMC Partition from UUU tool

16,857件の閲覧回数
vinothkumars
Senior Contributor IV

Dear NXP,

 

We are trying to create EMMC partition by using UUU tool for custom board to flash u-boot, kernel, dtb, rootfs, application and data separately on particular partition. But, we are struggling to create proper partition for UUU tool almost a week.

Please find the EMMC partition layout,

vinothkumars_1-1608632257391.png

 

 

 

 

 

 

 

 

 

 

Currently, by default, we are using the following UUU command to flash which is have two partition (bootloader and all) and this is the default script.

.\uuu.exe -b emmc_all .\imx-boot .\imx-image

 

In android we have partition.img but, in Linux we don't have any image like that. Is there any possible to make EMMC partition from u-boot from UUU tool or is there any possible way to make partition.img for Linux

 

 

Regards,
Vinothkumar Sekar
ラベル(3)
タグ(2)
0 件の賞賛
返信
31 返答(返信)

14,889件の閲覧回数
vinothkumars
Senior Contributor IV

I able to create the EMMC partition in Yocto Source by adding new partition in WKS file and using WIC image

Regards,
Vinothkumar Sekar
0 件の賞賛
返信

14,736件の閲覧回数
karensimeon
Contributor I

Hi @vinothkumars, can you please give more details how did you do it?

Currently, I am partitioning our eMMC storage using fdisk and formatting the partitions to EXT4.

I want to understand how it can be done using UUU. Thank you very much.

0 件の賞賛
返信

14,703件の閲覧回数
vinothkumars
Senior Contributor IV

I able to do it from Yocto source,

 

Please find the patch,

 

diff --git a/sources/meta-freescale/wic/imx-imx-boot-bootpart.wks.in b/sources/meta-freescale/wic/imx-imx-boot-bootpart.wks.in
index b50364d1..631974bb 100644
--- a/sources/meta-freescale/wic/imx-imx-boot-bootpart.wks.in
+++ b/sources/meta-freescale/wic/imx-imx-boot-bootpart.wks.in
@@ -17,4 +17,21 @@ part u-boot --source rawcopy --sourceparams="file=imx-boot" --ondisk mmcblk --no
part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 8192 --size 64
part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 8192

+#part 3
+part /rescue --source rootfs --ondisk mmcblk --fstype=ext4 --label rootfs1 --align 8192 --size 1M
+#part 3
+part /fit1 --ondisk mmcblk --fstype=ext3 --label fit1 --align 8192 --size 10M
+#part 6
+part /fit2 --ondisk mmcblk --fstype=ext3 --label fit2 --align 8192 --size 10M
+#part 7
+part /rootfs1 --ondisk mmcblk --fstype=ext3 --label rootfs1 --align 8192 --size 10M
+#part 8
+part /rootfs2 --ondisk mmcblk --fstype=ext3 --label rootfs2 --align 8192 --size 10M
+#part 9
+part /data --source rootfs --ondisk mmcblk --fstype=ext4 --label data --align 8192 --fixed-size 1024M
+#part 10
+part /app --source rootfs --ondisk mmcblk --fstype=ext4 --label app --align 8192 --fixed-size 1024M
+#part 11
+part /zone --source rootfs --ondisk mmcblk --fstype=ext4 --label zone --align 8192 --fixed-size 1024M

Regards,
Vinothkumar Sekar

14,962件の閲覧回数
weidong_sun
NXP TechSupport
NXP TechSupport

Hi,
Your requirements for partitioning are quite special. Here are two ideas for you. Please try it:
No.1 idea --- modify the uuu script:
In example_kernel_emmc.uuu, the partition command is here:
# dd to clear the possible MBR
FBK: ucmd mmc=`cat /tmp/mmcdev`; dd if=/dev/zero of=/dev/mmcblk${mmc} bs=512 count=1
# create partition
FBK: ucmd mmc=`cat /tmp/mmcdev`; PARTSTR=$'10M,500M,0c\n600M,,83\n'; echo "$PARTSTR" | sfdisk --force /dev/mmcblk${mmc}

FBK: ucmd mmc=`cat /tmp/mmcdev`; dd if=/dev/zero of=/dev/mmcblk${mmc} bs=1k seek=4096 count=1
FBK: ucmd sync
You can try to modify the partition method according to your own needs.

No.2 idea---add your partition command to fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot
1. Write a partition script, which can achieve your partition requirements.
2. Add this script to initramfs to make this script run automatically. The following are the steps of how to add the script and how to repackage it back.

-----------------Below is an example for i.MX6UL-----

1. Extract files from initramfs
# cd ~/
# mkdir test
# cp ~/fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot ~/test
# cd test
# dd if=fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot of=ramdisk.img.gz skip=64 bs=1
# gunzip ramdisk.img.gz

# mkdir ramdisk
# cd ramdisk
# cpio -i < ../ramdisk.img

Then initramfs will be decompressed completely in the directory, like below:
-----------------------------------------------------
weidong@ubuntu:~/test/ramdisk$ ls
bin boot dev etc fat home init lib linuxrc media mnt proc run sbin sys tmp usr var
-----------------------------------------------------

Now you can add your application to related files or directories.


2. Make all files of initfamfs be fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot using cpio command


# cd ~/test/ramdisk
# rm ../ramdisk.img (delete orginal one)
# find . | cpio --create --format='newc' | gzip > ../ramdisk.img (recreate a new ramdisk.img)
# mkimage -A arm -O linux -T ramdisk -C none -a 0x100080002 -n "iMX6ULL RAMDISK" -d ../ramdisk.img ./uramdisk.img (LOADADDRESS: 0x100080002 for i.MX6UL)
#
----------------------------------------------------
Image Name: iMX6ULL RAMDISK
Created: Mon Dec 14 22:58:24 2020
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 9142246 Bytes = 8927.97 KiB = 8.72 MiB
Load Address: 00080002
Entry Point: 00080002
----------------------------------------------------
# ls
weidong@ubuntu:~/test/ramdisk$ ls
bin dev fat init linuxrc mnt run sys uramdisk.img var
boot etc home lib media proc sbin tmp usr
weidong@ubuntu:~/test/ramdisk$
(using cpio to compress uramdisk.img: fsl-image-mfgtool-initramfs-imx_mfgtools.cpio)
# find uramdisk.img | cpio -o -H newc > fsl-image-mfgtool-initramfs-imx_mfgtools.cpio
(Using gzip to get fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz)
# gzip fsl-image-mfgtool-initramfs-imx_mfgtools.cpio
(Using cp command to get fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.u-boot)
# cp fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.uboot

Now we get a new initramfs file: fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.uboot

 

Hope this information is helpful to you.

Have a nice day!

B.R,

Weidong

 

0 件の賞賛
返信

14,218件の閲覧回数
shaoxiao_guo_dn
Contributor I

No.1 idea --- modify the uuu script:
......
FBK: ucmd mmc=`cat /tmp/mmcdev`; PARTSTR=$'10M,500M,0c\n600M,,83\n'; echo "$PARTSTR" | sfdisk --force /dev/mmcblk${mmc}

......

 

As you said above, we can do the partition with uuu.

But the example only show an example for 2 partitions.

We want add more partitions, more than 4, how can we do that?

Because Linux only support 4 primary partitions, or 3 primary partitions plus 1 extended partition. If we want to add more partitions, we must use extended partition.

 

I can do it with fdisk in command line, but I don't know how to do it with this script in uuu.

Please show us an example.

We all appreciate that, please.

0 件の賞賛
返信

14,941件の閲覧回数
vinothkumars
Senior Contributor IV

Thank you @weidong_sun for the quick reply.

Regards,
Vinothkumar Sekar
0 件の賞賛
返信

14,958件の閲覧回数
vinothkumars
Senior Contributor IV

Thank you @weidong_sun for the quick reply.

 

No.1 idea --- modify the uuu script:

I already tried those commands and FBK seems not working

 

No.2 idea---add your partition command to fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot

Will you please more info regarding IMX8MN if it possible

 

 

Regards,
Vinothkumar Sekar
0 件の賞賛
返信

14,197件の閲覧回数
BiyongSUN
NXP Employee
NXP Employee

actually, the uuu already support write the GPT table image. 

 

FB: flash gpt partition-table.img

 

Here is the script. 

 

uuu_version 1.2.39

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f imx-boot-imx8qxpmek-sd.bin-flash

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f imx-boot-imx8qxpmek-sd.bin-flash

# These commands will be run when use SPL and will be skipped if no spl
# SDPU will be deprecated. please use SDPV instead of SDPU
# {
SDPU: delay 1000
SDPU: write -f imx-boot-imx8qxpmek-sd.bin-flash -offset 0x57c00
SDPU: jump
# }

# These commands will be run when use SPL and will be skipped if no spl
# if (SPL support SDPV)
# {
SDPV: delay 1000
SDPV: write -f imx-boot-imx8qxpmek-sd.bin-flash -skipspl
SDPV: jump
# }

FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev 1
FB: ucmd mmc dev 1
FB: flash gpt partition-table.img
FB: done

 

Untitled.png

0 件の賞賛
返信

14,184件の閲覧回数
BiyongSUN
NXP Employee
NXP Employee

Here is solution:

1. dump gpt table from sdcard or scard mirror 

sgdisk --backup=gpt.bak /dev/sdd 

or  

sgdisk --backup=gpt.bak abc.sdcard 

or  

sgdisk --backup=gpt.bak abc.wic 

2. create gpt table image  from gpt back file.

    mkgpt(mkgpt.zip attached)

mkdir out

./mkgpt -i gpt.bak -a out/

you will find  gpt_both.bin  in out directory.

3. uuu to flash 

 

uuu_version 1.2.39

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f imx-boot-imx8qxpmek-sd.bin-flash

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f imx-boot-imx8qxpmek-sd.bin-flash

# These commands will be run when use SPL and will be skipped if no spl
# SDPU will be deprecated. please use SDPV instead of SDPU
# {
SDPU: delay 1000
SDPU: write -f imx-boot-imx8qxpmek-sd.bin-flash -offset 0x57c00
SDPU: jump
# }

# These commands will be run when use SPL and will be skipped if no spl
# if (SPL support SDPV)
# {
SDPV: delay 1000
SDPV: write -f imx-boot-imx8qxpmek-sd.bin-flash -skipspl
SDPV: jump
# }

FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash gpt gpt_both.bin
FB: done

 

 

0 件の賞賛
返信

14,181件の閲覧回数
BiyongSUN
NXP Employee
NXP Employee

actually, I don't think it is good to run time create or apply partition table(MBR or GPT) for linux.

Android has lots of reason using this way. 

For mass production, it is slow. 

For development stage, it is not necessary and it is inconvenient.

It is just to show "can do", nothing above that. 

0 件の賞賛
返信

14,227件の閲覧回数
BiyongSUN
NXP Employee
NXP Employee

1. u-boot has gpt command for ucmd (FB)

GUID Partition Table
<command> <interface> <dev> <partitions_list>
- GUID partition table restoration and validity check
Restore or verify GPT information on a device connected
to interface
Example usage:
gpt write mmc 0 $partitions
gpt verify mmc 0 $partitions
read <interface> <dev>
- read GPT into a data structure for manipulation
guid <interface> <dev>
- print disk GUID
guid <interface> <dev> <varname>
- set environment variable to disk GUID
Example usage:
gpt guid mmc 0
gpt guid mmc 0 varname

gpt partition renaming commands
gpt swap <interface> <dev> <name1> <name2>
- change all partitions named name1 to name2
and vice-versa
gpt rename <interface> <dev> <part> <name>
- rename the specified partition\n"
Example usage:
gpt swap mmc 0 foo bar
gpt rename mmc 0 3 foo

 2. you can cross compile gptfdisk for (FBK)

     you don't have to change cpio ramdisk, just to the gptfdisk and run it. 

FBK: ucp gptfdisk_arm64.tar t:/tmp/gptfdisk_arm64.tar

FBK: ucmd tar -xf /tmp/gptfdisk_arm64.tar -C /tmp

 


FBK: ucp gptfdisk_arm64.tar t:/tmp/gptfdisk_arm64.tar
#FBK: ucmd ls -l /tmp/
FBK: ucmd tar -xf /tmp/gptfdisk_arm64.tar -C /tmp
#FBK: ucmd pwd ; ls -l

FBK: ucmd dd if=/dev/zero of=/dev/mmcblk0 bs=1M count=1

# create partition
#FBK: ucmd mmc=`cat /tmp/mmcdev`; PARTSTR=$'10M,500M,0c\n600M,2400M,83\n3100M,800M,83\n4000M,40000M,5\n4100M,400M,83\n4600M,400M,83\n'; echo "$PARTSTR" | sfdisk --force /dev/mmcblk${mmc}


FBK: ucmd sgdisk -Z /dev/mmcblk0;sgdisk -n 0:10M:+500M -t 0:0700 -c 0:"boot" -p /dev/mmcblk0
#FBK: ucmd sgdisk -n 0:0:0 -c 0:"rootfs" -p /dev/mmcblk0
FBK: ucmd sgdisk -n 0:0:+2600M -c 0:"rootfs" -p /dev/mmcblk0
FBK: ucmd sgdisk -n 0:0:+610M -c 0:"data1" -p /dev/mmcblk0
FBK: ucmd sgdisk -n 0:0:+650M -c 0:"data2" -p /dev/mmcblk0
FBK: ucmd sgdisk -n 0:0:+700M -c 0:"data3" -p /dev/mmcblk0
FBK: ucmd sgdisk -n 0:0:+800M -c 0:"data4" -p /dev/mmcblk0
FBK: ucmd sgdisk -p /dev/mmcblk0
FBK: ucmd gdisk -l /dev/mmcblk0

3. enable  CONFIG_IS_ENABLED(EFI_PARTITION, then you use gpt partition table mirror as you mentioned android u-boot does.

0 件の賞賛
返信

14,220件の閲覧回数
shaoxiao_guo_dn
Contributor I

FBK: ucmd mmc=`cat /tmp/mmcdev`; PARTSTR=$'10M,500M,0c\n600M,2400M,83\n3100M,800M,83\n4000M,40000M,5\n4100M,400M,83\n4600M,400M,83\n'; echo "$PARTSTR" | sfdisk --force /dev/mmcblk${mmc}

This works for me.

Thanks a lot, really.

0 件の賞賛
返信

13,970件の閲覧回数
mallibeerala
Contributor III

Hi shaoxiao_guo_dn,

I am trying to do partitions to my SD card, while running above mentioned command, I am facing Issue "cat: /tmp/mmcdev: No such file or directory", please help me to resolve this Issue.

Note: I connected my host PC to I.MX8QM board, Initially no Image is available in board.

0 件の賞賛
返信

13,961件の閲覧回数
shaoxiao_guo_dn
Contributor I

I am not in office now.

But are you using uuu? and which script are you using?

How about the flash.bin, Image&dtb? Do they work for your board?

0 件の賞賛
返信

13,957件の閲覧回数
mallibeerala
Contributor III

Yes I am using uuu.

Currently no Image is available in I.MX8QM board, After Creation of partitions I have to load flash.bin, Image & dtb files.

While I am using following uuu command sudo ./uuu -b sd_all <imx-boot-imx8qmmek-sd.bin-flash> <fsl-image-validation-imx-imx8qmmek.sdcard>.sdcard, bootup is happening properly.

0 件の賞賛
返信

13,904件の閲覧回数
shaoxiao_guo_dn
Contributor I

I don't know which script you are using, but in example_kernel_emmc.uuu, there is line used to find EMMC dev number for your board:

FBK: ucmd dev=`ls /dev/mmcblk*boot*`; dev=($dev); dev=${dev[0]}; dev=${dev#/dev/mmcblk}; dev=${dev%boot*}; echo $dev > /tmp/mmcdev;

So maybe your kernel or dtb is not working.

Also, uuu -b sd_all is different. This command uses uboot to flash the EMMC, you know that?

example_kernel_emmc.uuu uses kernel to flash the EMMC.

 

0 件の賞賛
返信

13,888件の閲覧回数
mallibeerala
Contributor III

I am using uuu.xen attached script file, Initially no data is available in SD card, While running script file boot loader Image is loaded successfully into board but after running following command FB: acmd booti ${loadaddr} ${initrd_addr} ${fdt_addr}, kernel panic is happening due to rootfs is not found.

Please find the attached (uuu.xen) scipt file and kernel_panic log file.

0 件の賞賛
返信

13,876件の閲覧回数
BiyongSUN
NXP Employee
NXP Employee

 

1. example_kernel_emmc.uuu says 

# serach emmc device number, if your platform have more than two emmc chip, please echo dev number >/tmp/mmcdev
FBK: ucmd dev=`ls /dev/mmcblk*boot*`; dev=($dev); dev=${dev[0]}; dev=${dev#/dev/mmcblk}; dev=${dev%boot*}; echo $dev > /tmp/mmcdev;

 

FBK: ucmd echo 1 > /tmp/mmcdev;

 

You can do it with X86/X64 linux, you can do with uuu script. 

All you need is linux shell knowledge. 

no difference. 

Just uuu need FB:  or FBK: 

you also can use uuu -s  to use shell mode as you type the command on the uart debug port. just prefix  FB:  or FBK: 

 

Just define the sdcard number for the script. 

 

2. here is the test i.MX8MM EVK + L4.14.98_2.0.0_ga_images_MX8MMEVK binary release. 

uuu_version 1.2.39

# Please Replace below items with actually file names
# @_flash.bin | boot loader
# @_Image | kernel image, arm64 is Image, arm32 it is zImage
# @_board.dtb | board dtb file
# @_initramfs.cpio.gz.uboot | mfgtool init ramfs
# @_rootfs.tar.bz2 | rootfs
# @_uTee.tar | optee image

# This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ
SDP: boot -f imx-boot-imx8mmevk-sd.bin-flash_evk

# This command will be run when ROM support stream mode
# i.MX8QXP, i.MX8QM
SDPS: boot -f imx-boot-imx8mmevk-sd.bin-flash_evk

# These commands will be run when use SPL and will be skipped if no spl
# SDPU will be deprecated. please use SDPV instead of SDPU
# {
SDPU: delay 1000
SDPU: write -f imx-boot-imx8mmevk-sd.bin-flash_evk -offset 0x57c00
SDPU: jump
# }

# These commands will be run when use SPL and will be skipped if no spl
# if (SPL support SDPV)
# {
SDPV: delay 1000
SDPV: write -f imx-boot-imx8mmevk-sd.bin-flash_evk -skipspl
SDPV: jump
# }

# use uboot burn bootloader to eMMC
# becaue difference chip, offset is difference
# you can use kernel to do that for specific boards
FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${sd_dev}
FB: flash bootloader imx-boot-imx8mmevk-sd.bin-flash_evk


FB: ucmd setenv fastboot_buffer ${loadaddr}
FB: download -f Image-imx8mmevk.bin
FB: ucmd setenv fastboot_buffer ${fdt_addr}
FB: download -f Image-fsl-imx8mm-evk.dtb
FB: ucmd setenv fastboot_buffer ${initrd_addr}
FB: download -f fsl-image-mfgtool-initramfs-imx_mfgtools.cpio.gz.u-boot
#FB: ucmd setenv bootargs console=${console},${baudrate} earlycon=${earlycon},${baudrate}
FB: acmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr}


FBK: ucmd echo 1 > /tmp/mmcdev;


FBK: ucmd mmc=`cat /tmp/mmcdev`; dd if=/dev/zero of=/dev/mmcblk${mmc} bs=1k seek=4096 count=1
FBK: ucmd sync

FBK: ucmd dd if=/dev/zero of=/dev/mmcblk{mmc} bs=1M count=1

# create partition
FBK: ucmd mmc=`cat /tmp/mmcdev`; PARTSTR=$'10M,500M,0c\n600M,2400M,83\n3100M,800M,83\n4000M,40000M,5\n4100M,400M,83\n4600M,400M,83\n'; echo "$PARTSTR" | sfdisk --force /dev/mmcblk${mmc}

 

 

# you can enable below command to write boot partition. but offset is difference at difference platform
#FBK: ucmd mmc=`cat /tmp/mmcdev`; echo 0 > /sys/block/mmcblk${mmc}boot0/force_ro
#FBK: ucp _flash.bin t:/tmp
#FBK: ucmd mmc=`cat /tmp/mmcdev`; dd if=/tmp/_flash.bin of=/dev/mmc${mmc}boot0 bs=1K seek=32
#FBK: ucmd mmc=`cat /tmp/mmcdev`; echo 1 > /sys/block/mmcblk${mmc}boot0/force_ro
FBK: ucmd mmc=`cat /tmp/mmcdev`; while [ ! -e /dev/mmcblk${mmc}p1 ]; do sleep 1; done
FBK: ucmd mmc=`cat /tmp/mmcdev`; mkfs.vfat /dev/mmcblk${mmc}p1
FBK: ucmd mmc=`cat /tmp/mmcdev`; mkdir -p /mnt/fat
FBK: ucmd mmc=`cat /tmp/mmcdev`; mount -t vfat /dev/mmcblk${mmc}p1 /mnt/fat
FBK: ucp Image-imx8mmevk.bin t:/mnt/fat/Image
FBK: ucp Image-fsl-imx8mm-evk.dtb t:/mnt/fat/fsl-imx8mm-evk.dtb
#FBK: ucp _uTee.tar t:/tmp/op.tar
#FBK: ucmd tar -xf /tmp/op.tar -C /mnt/fat
FBK: ucmd umount /mnt/fat
FBK: ucmd mmc=`cat /tmp/mmcdev`; mkfs.ext4 -F -E nodiscard /dev/mmcblk${mmc}p2
FBK: ucmd mmc=`cat /tmp/mmcdev`; mkfs.ext4 -F -E nodiscard /dev/mmcblk${mmc}p6
FBK: ucmd mkdir -p /mnt/ext4
FBK: ucmd mmc=`cat /tmp/mmcdev`; mount /dev/mmcblk${mmc}p2 /mnt/ext4
FBK: acmd export EXTRACT_UNSAFE_SYMLINKS=1; tar -x -C /mnt/ext4
FBK: ucp rootfs.tar t:-
FBK: Sync
FBK: ucmd umount /mnt/ext4
FBK: DONE

boot after flash:

 

fdisk -l /dev/mmcblk1
Disk /dev/mmcblk1: 14.9 GiB, 15931539456 bytes, 31116288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x9210050e

Device Boot Start End Sectors Size Id Type
/dev/mmcblk1p1 20480 1044479 1024000 500M c W95 FAT32 (LBA)
/dev/mmcblk1p2 1228800 6143999 4915200 2.4G 83 Linux
/dev/mmcblk1p3 6348800 7987199 1638400 800M 83 Linux
/dev/mmcblk1p4 8192000 31116287 22924288 11G 5 Extended
/dev/mmcblk1p5 8396800 9215999 819200 400M 83 Linux
/dev/mmcblk1p6 9420800 10239999 819200 400M 83 Linux
root@imx8qxpmek:~# [ 147.814549] random: crng init done
[ 147.817963] random: 7 urandom warning(s) missed due to ratelimiting

 

0 件の賞賛
返信

13,863件の閲覧回数
mallibeerala
Contributor III

After execution of attached uuu script I am getting following error. "[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)".

In Script file instead of FB: acmd ${kboot} ${loadaddr} ${initrd_addr} ${fdt_addr} command I am using FB: acmd ${kboot} ${loadaddr} - ${fdt_addr} command, because I am unable to find initramfs file for I.MX8 Quad max board.

Please find the attached documents for script file, script file execution status and kernel panic file.

Note: I.MX8 Quad max board I kept in serial download mode and Initially I formatted SD card in Ext4 format.

Thanks & Regards,

Mallikarjuna B.

0 件の賞賛
返信

13,806件の閲覧回数
BiyongSUN
NXP Employee
NXP Employee

could not figure out what's the problem on your side. 

In my mind, just change some file name in script. 

 

Untitled.png

0 件の賞賛
返信