problem with env in NOR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

on my PXA270 I put a splash image into the environment. The env image
with the splash image covers more than one flash sector. (The flash
sector size is 256 KiB.)

Loading the environment fails:

uboot:/ loadenv /dev/env0
loading environment from /dev/env0
read: error -262116

(This fails during boot, too.)

[frogger@hardanger:barebox (dev/pxa270)]$ grep CFI .config
CONFIG_HAS_CFI=y
CONFIG_DRIVER_CFI=y
# CONFIG_DRIVER_CFI_NEW is not set
CONFIG_DRIVER_CFI_OLD=y
CONFIG_CFI_BUFFER_WRITE=y

Sascha it's probably the problem we discussed the other day, that the
cfi driver doesn't handle the offset correct. I haven't looked at the
code though.

Cheers, Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |

Attachment: signature.asc
Description: OpenPGP digital signature

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

[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux