Ppogram u-boot, image to NAND use Host Server

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Ppogram u-boot, image to NAND use Host Server

ソリューションへジャンプ
1,946件の閲覧回数
eugenevolkov
Contributor IV

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!

ラベル(1)
0 件の賞賛
返信
1 解決策
1,688件の閲覧回数
eugenevolkov
Contributor IV

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.

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,688件の閲覧回数
eugenevolkov
Contributor IV

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

0 件の賞賛
返信
1,689件の閲覧回数
eugenevolkov
Contributor IV

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.

0 件の賞賛
返信
1,688件の閲覧回数
CarlosCasillas
NXP Employee
NXP Employee

Hi Eugene,

Thanks for sharing your solution with the Community!

Best regards!

/Carlos

0 件の賞賛
返信