This shows you the differences between two versions of the page.
ass:laboratoare:04:tasks:01 [2024/08/09 18:12] florin.stancu [01. Preparation] |
ass:laboratoare:04:tasks:01 [2024/08/09 18:48] (current) florin.stancu [01. Preparation] |
||
---|---|---|---|
Line 250: | Line 250: | ||
# copy FIT image (without ramdisk!) to FAT32 partition | # copy FIT image (without ramdisk!) to FAT32 partition | ||
[student@host ~/staging]$ sudo mount /dev/sdb1 /mnt | [student@host ~/staging]$ sudo mount /dev/sdb1 /mnt | ||
- | [student@host ~/staging]$ sudo cp linux.itb | + | [student@host ~/staging]$ sudo cp linux.itb /mnt |
[student@host ~/staging]$ sudo umount /mnt | [student@host ~/staging]$ sudo umount /mnt | ||
Line 273: | Line 273: | ||
<code bash> | <code bash> | ||
- | # place the FIP onto the eMMC at 33KB offset from the start | + | # place the FIP onto the eMMC at 32KB offset from the start |
- | [student@host ~/imx-mkimage/iMX8M]$ dd if=flash.bin of=/dev/sda bs=1024 seek=33 conv=fsync oflag=direct status=progress | + | # NOTE: for other ARMv8 platforms, this offset could be 33KB; check the datasheet |
+ | [student@host ~/imx-mkimage/iMX8M]$ dd if=flash.bin of=/dev/sda bs=1024 seek=32 conv=fsync oflag=direct status=progress | ||
</code> | </code> | ||