Unable to update barebox on imx6ul

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

Unable to update barebox on imx6ul

1,505件の閲覧回数
mihaitaivascu
Contributor III

Hello,

    I am not able to update the new barebox image on the im6xul target:

barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ barebox_update -y barebox-phytec-phycore-imx6ul-512mb.img
Image Metadata:
build: #2 Fri Jun 8 03:05:46 PDT 2018
release: 2016.11.0
parameter: memsize=512
imx-bbu-nand-fcb: Uncorrectable error at block 0
imx-bbu-nand-fcb: Cannot read fcb
imx-bbu-nand-fcb: Uncorrectable error at block 0
imx-bbu-nand-fcb: Cannot read fcb
imx-bbu-nand-fcb: Uncorrectable error at block 0
imx-bbu-nand-fcb: Cannot read fcb
imx-bbu-nand-fcb: Uncorrectable error at block 0
imx-bbu-nand-fcb: Cannot read fcb
imx-bbu-nand-fcb: Not enough space for update
barebox_update: No space left on device

    Any ideas what can I do to investigate?

Thanks,

      Mihaita  

0 件の賞賛
返信
3 返答(返信)

1,139件の閲覧回数
gusarambula
NXP TechSupport
NXP TechSupport

Hello Mihaita,

I’m not familiar with this PhyCore board, however, the documentation for it would be a good place to start.

On the documentation (link below) if looks like the right command for NAND is barebox_update ‐t nand. I’m not sure if you need to always indicate this as it looks like it is trying to reach the NAND anyways but perhaps it would be good to give it a try.

http://www.phytec.de/fileadmin/user_upload/images/content/1.Products/SOMs/phyCORE-i.MX6/L-814e_2.pdf

Perhaps contacting Phytec support could also help.

Regards,

0 件の賞賛
返信

1,139件の閲覧回数
mihaitaivascu
Contributor III

Hello,

    Thanks for you response. I tried that:

barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ barebox_update -t nand /mnt/mmc/barebox.bin
Image Metadata:
build: #2 Fri Jun 8 03:05:46 PDT 2018
release: 2016.11.0
parameter: memsize=512
imx-bbu-nand-fcb: Uncorrectable error at block 0
imx-bbu-nand-fcb: Cannot read fcb
imx-bbu-nand-fcb: Uncorrectable error at block 0
imx-bbu-nand-fcb: Cannot read fcb
imx-bbu-nand-fcb: Uncorrectable error at block 0
imx-bbu-nand-fcb: Cannot read fcb
imx-bbu-nand-fcb: Uncorrectable error at block 0
imx-bbu-nand-fcb: Cannot read fcb
imx-bbu-nand-fcb: Not enough space for update
barebox_update: No space left on device

No idea what it complains about not enough space. I try to do the update from a SD card

Regards,

     Mihaita

0 件の賞賛
返信

1,139件の閲覧回数
mihaitaivascu
Contributor III

I will close this topic. I had to increase size of barebox partition on NAND as for safety reasons barebox_update is storing 2 copies of barebox image(old and new) at the same time until the update process is completed

0 件の賞賛
返信