Hi. I would like to load u-boot and image to NAND use NFS.
Is there a document that describes how to do it!
I use yocto relise 3.10.53 for my custom board (not sabreeAI)
I have u-boot, dtb, zimage, rootfs, and i can load board from NFS.
How do I load it all in NAND flash.
I can't use MFG_Tool, because it is a long way to go, because I need to make specific u-boot, image. And not the fact that this process will be successful,
as the full instructions allow to pass this way simply does not.
What is written, but it does not work!
Solved! Go to Solution.
Hi.
Maybe someone will be useful
# kobs-ng init -x -v /boot/u-boot.imx
# flash_erase /dev/mtd1 0 0
# nandwrite -p /dev/mtd1 -p /boot/zImage
# flash_erase /dev/mtd2 0 0
# nandwrite -p /dev/mtd1 -p /boot/imx6dl-sabreauto.dtb
# flash_erase /dev/mtd3 0 0
# ubiformat /dev/mtd3
# ubiattach /dev/ubi_ctrl -m 3
# ubimkvol /dev/ubi0 -Nrootfs -m
# mkdir -p /mnt/mtd3
# mount -t ubifs ubi0:rootfs /mnt/mtd3
# tar -C /mnt/mtd3 -jxvf /boot/core-image-minimal.tar.bz2
The whole process was successfully.
I got to download u- boot, use kobs-ng utility
kobs-ng init -x -v /boot/u-boot.imx
This is what I found on the forum.
But how do I load DTB file, and zimage file use kobs-ng?
I ask the experts Freescale to respond
Hi.
Maybe someone will be useful
# kobs-ng init -x -v /boot/u-boot.imx
# flash_erase /dev/mtd1 0 0
# nandwrite -p /dev/mtd1 -p /boot/zImage
# flash_erase /dev/mtd2 0 0
# nandwrite -p /dev/mtd1 -p /boot/imx6dl-sabreauto.dtb
# flash_erase /dev/mtd3 0 0
# ubiformat /dev/mtd3
# ubiattach /dev/ubi_ctrl -m 3
# ubimkvol /dev/ubi0 -Nrootfs -m
# mkdir -p /mnt/mtd3
# mount -t ubifs ubi0:rootfs /mnt/mtd3
# tar -C /mnt/mtd3 -jxvf /boot/core-image-minimal.tar.bz2
The whole process was successfully.
Hi Eugene,
Thanks for sharing your solution with the Community!
Best regards!
/Carlos