and specifically this statement from bluez:
So is there a way to run the ubifs commands in at91bootstrap so you don't have to use Uboot? Commands like the following:The modern preference is to utilize the filesystem capabilities of U-Boot (e.g. ubifsmount and ubifsload), and store the kernel and dtb images as files within the Linux root filesystem (i.e. the /boot directory), which is presumably in a NAND partition/volume.
Ideally you want as much of the NAND flash to be part of the filesystem (or UBI volume) as possible (rather than as raw partitions) so that wear-leveling (and bad-block management) can be more effective.
Code: Select all
ubifsmount ubi0:rootfs, ubifsload 0x22000000 /boot/zImage, ubifsload 0x21000000 /boot/sama5d3.dtb