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
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 This file describe How to update manually the partition of SDCARD:1. SDCARD schema of partition2. How to populate each partition3. How to update the kernel/devicetree1. 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/mmcblk0p1Label: fsbl1Image: arm-trusted-firmware/tf-a-stm32mp157c-osd32mp1-brk-sdcard.stm32(2):Device: /dev/mmcblk0p2Label: fsbl2Image: arm-trusted-firmware/tf-a-stm32mp157c-osd32mp1-brk-sdcard.stm32(3):Device: /dev/mmcblk0p3Label: metadata1Image: arm-trusted-firmware/metadata.bin(4):Device: /dev/mmcblk0p4Label: metadata2Image: arm-trusted-firmware/metadata.bin(5):Device: /dev/mmcblk0p5Label: fip-aImage: fip/fip-stm32mp157c-osd32mp1-brk-trusted.bin(6):Device: /dev/mmcblk0p6Label: fip-bImage: none(7):Device: /dev/mmcblk0p7Label: u-boot-envImage: none(8):Device: /dev/mmcblk0p8Label: bootfsImage: st-image-bootfs-openstlinux-weston-osd32mp1-brk.ext4(9):Device: /dev/mmcblk0p9Label: vendorfsImage: st-image-vendorfs-openstlinux-weston-osd32mp1-brk.ext4(10):Device: /dev/mmcblk0p10Label: rootfsImage: octavo-image-weston-openstlinux-weston-osd32mp1-brk.ext4(11):Device: /dev/mmcblk0p11Label: userfsImage: st-image-userfs-openstlinux-weston-osd32mp1-brk.ext42. 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=progress3. 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 SDCARDsudo cp uImage /media/$USER/bootfs/- copy devicetree uImage on SDCARDsudo cp stm32mp1*.dtb /media/$USER/bootfs/- umount partitions of SDCARDsudo umount /media/$USER/bootfs/(dont't forget to umount the other partitions of SDCARD:sudo umount <code>lsblk --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