mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Cannot update barebox 2018.04.0 anymore
@ 2018-11-14 10:38 Mihaita Ivascu
  2018-11-14 13:24 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Mihaita Ivascu @ 2018-11-14 10:38 UTC (permalink / raw)
  To: barebox

Hello,

    I have updated my barebox image on a imx6ul board and since then I
cannot update it again.
I think I might have left something out in the barebox config last
time but I do not know what.
    I try to do the following:

barebox_update -y -t /mnt/disk0.0/barebox.bin
ocotp0.permanent_write_enable=1
mw -l -d /dev/imx-ocotp 0x14 x00000093
mw -l -d /dev/imx-ocotp 0x18 0x00000010
mw -l 0x20D8004 0x00000093
mw -l -d /dev/imx-ocotp 0x14 0x00000093
mw -l -d /dev/imx-ocotp 0x18 0x00000010
md 0x20D8004+4

and the output is:

  Image Metadata:
  build: #1 Fri Nov 9 03:15:37 PST 2018
  release: 2018.04.0
  parameter: memsize=512
imx-bbu-nand-fcb: imx_bbu_nand_update: No FCB device!
barebox_update: No such device
ocotp0: reloading shadow registers...
ocotp0: reloading shadow registers...
020d8004: 00000093                                           ....
barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/ ls /dev/
cs0                         disk0
disk0.0                     eeprom0
full                        imx-ocotp
mdio0-phy01                 mem
nand0                       nand0.bb
nand0.nand-env              nand0.nand-env.bb
nand0.nand-factory          nand0.nand-factory.bb
nand0.nand-fit1             nand0.nand-fit1.bb
nand0.nand-fit2             nand0.nand-fit2.bb
nand0.nand-fsbl-uboot       nand0.nand-fsbl-uboot.bb
nand0.nand-maker            nand0.nand-maker.bb
nand0.oob                   nand0.raw
netconsole-1                null
prng                        ram0
serial0-1                   zero
barebox@Phytec phyCORE-i.MX6 Ultra Lite SOM:/

  What could the reason for the bolded error messages?

Thanks,
      Mihaita

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Cannot update barebox 2018.04.0 anymore
  2018-11-14 10:38 Cannot update barebox 2018.04.0 anymore Mihaita Ivascu
@ 2018-11-14 13:24 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2018-11-14 13:24 UTC (permalink / raw)
  To: Mihaita Ivascu; +Cc: barebox

Hi Mihaita,

On Wed, Nov 14, 2018 at 11:38:49AM +0100, Mihaita Ivascu wrote:
> Hello,
> 
>     I have updated my barebox image on a imx6ul board and since then I
> cannot update it again.
> I think I might have left something out in the barebox config last
> time but I do not know what.
>     I try to do the following:
> 
> barebox_update -y -t /mnt/disk0.0/barebox.bin
> ocotp0.permanent_write_enable=1
> mw -l -d /dev/imx-ocotp 0x14 x00000093
> mw -l -d /dev/imx-ocotp 0x18 0x00000010
> mw -l 0x20D8004 0x00000093
> mw -l -d /dev/imx-ocotp 0x14 0x00000093
> mw -l -d /dev/imx-ocotp 0x18 0x00000010
> md 0x20D8004+4
> 
> and the output is:
> 
>   Image Metadata:
>   build: #1 Fri Nov 9 03:15:37 PST 2018
>   release: 2018.04.0
>   parameter: memsize=512
> imx-bbu-nand-fcb: imx_bbu_nand_update: No FCB device!

I remember there was a problem, but I can't find any commit pointing to
it at the moment. Are just just interested in coming over this
situation? If yes you can bootm the new barebox image and update from
that one.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-11-14 13:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-14 10:38 Cannot update barebox 2018.04.0 anymore Mihaita Ivascu
2018-11-14 13:24 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox