I am trying to update the u-boot on my iMX6 board without having to open the packaging. I have access to unit via network and the android adb tool so I can get console access and can stage the u-boot binary in the mounted MMC partition.
I see that the u-boot is programmed into the /dev/block/mmcblk0boot0 and /dev/block/mmcblk0boot1 block devices. However, when I try to dd the new image to those partitions I get the following response:
# dd if=/sdcard/uboot.bin of=/dev/block/mmcblk0boot0 seek=1024
/dev/block/mmcblk0boot0: write error: Operation not permitted
1+0 records in
0+0 records out
I tried opening up the permissions on the /dev/block/mmcblk0boot0 device with no luck.
Is this even possible? Do I need to change something in how the kernel image is built or how it is initially programmed?