i have tried all of the above how ever non of them worked, when i try to lsblk the SD card ,it shows partions with (ada0) not mmcblk0px i have also made the partions using the ./create_sdcard_from_flashlayout.sh script and then flash it normaly how ever it still desn’t work properly.
the file output of this script is
This file describe How to update manually the partition of SDCARD: 1. SDCARD schema of partition 2. How to populate each partition 3. How to update the kernel/devicetree 1. SDCARD schema of partition: ------------------------------ ================================================================================================================================================ = = = = = = = = = = = = = fsbl1 = fsbl2 = metadata1 = metadata2 = fip-a = fip-b = u-boot-env = bootfs = vendorfs = rootfs = userfs = = = = = = = = = = = = = = mmcblk0p1 = mmcblk0p2 = mmcblk0p3 = mmcblk0p4 = mmcblk0p5 = mmcblk0p6 = mmcblk0p7 = mmcblk0p8 = mmcblk0p9 = mmcblk0p10 = mmcblk0p11 = = (1 ) = (2 ) = (3 ) = (4 ) = (5 ) = (6 ) = (7 ) = (8 ) = (9 ) = (10) = (11) = = = = = = = = = = = = = ================================================================================================================================================ (1): Device: /dev/mmcblk0p1 Label: fsbl1 Image: arm-trusted-firmware/tf-a-stm32mp157c-osd32mp1-brk-sdcard.stm32 (2): Device: /dev/mmcblk0p2 Label: fsbl2 Image: arm-trusted-firmware/tf-a-stm32mp157c-osd32mp1-brk-sdcard.stm32 (3): Device: /dev/mmcblk0p3 Label: metadata1 Image: arm-trusted-firmware/metadata.bin (4): Device: /dev/mmcblk0p4 Label: metadata2 Image: arm-trusted-firmware/metadata.bin (5): Device: /dev/mmcblk0p5 Label: fip-a Image: fip/fip-stm32mp157c-osd32mp1-brk-trusted.bin (6): Device: /dev/mmcblk0p6 Label: fip-b Image: none (7): Device: /dev/mmcblk0p7 Label: u-boot-env Image: none (8): Device: /dev/mmcblk0p8 Label: bootfs Image: st-image-bootfs-openstlinux-weston-osd32mp1-brk.ext4 (9): Device: /dev/mmcblk0p9 Label: vendorfs Image: st-image-vendorfs-openstlinux-weston-osd32mp1-brk.ext4 (10): Device: /dev/mmcblk0p10 Label: rootfs Image: octavo-image-weston-openstlinux-weston-osd32mp1-brk.ext4 (11): Device: /dev/mmcblk0p11 Label: userfs Image: st-image-userfs-openstlinux-weston-osd32mp1-brk.ext4 2. How to populate each partition --------------------------------- - Populate partition fsbl1 (/dev/mmcblk0p1) dd if=arm-trusted-firmware/tf-a-stm32mp157c-osd32mp1-brk-sdcard.stm32 of=/dev/mmcblk0p1 bs=1M conv=fdatasync status=progress - Populate partition fsbl2 (/dev/mmcblk0p2) dd if=arm-trusted-firmware/tf-a-stm32mp157c-osd32mp1-brk-sdcard.stm32 of=/dev/mmcblk0p2 bs=1M conv=fdatasync status=progress - Populate partition metadata1 (/dev/mmcblk0p3) dd if=arm-trusted-firmware/metadata.bin of=/dev/mmcblk0p3 bs=1M conv=fdatasync status=progress - Populate partition metadata2 (/dev/mmcblk0p4) dd if=arm-trusted-firmware/metadata.bin of=/dev/mmcblk0p4 bs=1M conv=fdatasync status=progress - Populate partition fip-a (/dev/mmcblk0p5) dd if=fip/fip-stm32mp157c-osd32mp1-brk-trusted.bin of=/dev/mmcblk0p5 bs=1M conv=fdatasync status=progress - Populate partition fip-b (/dev/mmcblk0p6) dd if=none of=/dev/mmcblk0p6 bs=1M conv=fdatasync status=progress - Populate partition u-boot-env (/dev/mmcblk0p7) dd if=none of=/dev/mmcblk0p7 bs=1M conv=fdatasync status=progress - Populate partition bootfs (/dev/mmcblk0p8) dd if=st-image-bootfs-openstlinux-weston-osd32mp1-brk.ext4 of=/dev/mmcblk0p8 bs=1M conv=fdatasync status=progress - Populate partition vendorfs (/dev/mmcblk0p9) dd if=st-image-vendorfs-openstlinux-weston-osd32mp1-brk.ext4 of=/dev/mmcblk0p9 bs=1M conv=fdatasync status=progress - Populate partition rootfs (/dev/mmcblk0p10) dd if=octavo-image-weston-openstlinux-weston-osd32mp1-brk.ext4 of=/dev/mmcblk0p10 bs=1M conv=fdatasync status=progress - Populate partition userfs (/dev/mmcblk0p11) dd if=st-image-userfs-openstlinux-weston-osd32mp1-brk.ext4 of=/dev/mmcblk0p11 bs=1M conv=fdatasync status=progress 3. How to update the kernel/devicetree -------------------------------------- The kernel and devicetree are present on "boot" partition. To change kernel and devicetree, you can copy the file on this partitions: - plug SDCARD on your PC - copy kernel uImage on SDCARD sudo cp uImage /media/$USER/bootfs/ - copy devicetree uImage on SDCARD sudo cp stm32mp1*.dtb /media/$USER/bootfs/ - umount partitions of SDCARD sudo umount /media/$USER/bootfs/ (dont't forget to umount the other partitions of SDCARD: sudo umountlsblk --list | grep mmcblk0 | grep part | gawk '{ print $7 }' | tr '\n' ' '
)
So the parth should be ” dev/mmcblk0p10″ in this case it Doesn’t work.
Octavo Systems LLC all rights reserved
OCTAVO is registered in the U.S. Patent and Trademark Office. OSD, C-SiP, and the Octavo Logo are trademarks of Octavo Systems LLC.
"*" indicates required fields
"*" indicates required fields
"*" indicates required fields
"*" indicates required fields
Notifications