on enviromen

Omar Pighi pighi at selea.com
Mon Apr 18 09:15:49 EDT 2011

some problems on enviroment loading. (imx25 3stack board)
ad the startup first time i have :
devfs: wrong magic on /dev/env0
if i perform a saveenv then reset:
wrong crc on env...
something wrong ... if i try to update_kernel it say that it cannot find
the nand.kernel partition..
but i can see the partition on dev directory...

in menuconfig->generalsettings i checked only "compile in default


Dott. Ing. Omar Pighi
R&D Selea s.r.l.
Via A.Moro 69
46015 Cicognara (MN)
tel +39-0375-889091
fax +39-0375-889080

Il 18/04/2011 11:44, Greg Topmiller ha scritto:
> Thank you for your response.
> Is there any way we can put code in u-boot to handle the abort?
> Thanks,
> Greg
> ________________________________________
> From: Sascha Hauer [s.hauer at pengutronix.de]
> Sent: Monday, April 18, 2011 3:29 AM
> To: Greg Topmiller
> Cc: barebox at lists.infradead.org
> Subject: Re: Imx51 processor hangs when we do an md 0xf0000000 (memory display) in u-boot
> On Sat, Apr 16, 2011 at 11:14:13AM -0700, Greg Topmiller wrote:
>> We're are using the Freescale release L2.6.31_MX51_SDK_0912_Image and
>> it will do this on a Freescale Babbage board and our design.  It also
>> does the same thing in Linux when we mmap the address 0xf0000000 and
>> try to read from it.  It does not hang on the Redboot.bin image
>> supplied with the Freescale SDK.  The Redboot dump command displays
>> some data.  On the Freescale 3Stack board we get an illegal address
>> error in Redboot, but it will hang in u-boot.  We realize this is a
>> reserved physical address but would hope that an error of some kind
>> would occur rather than locking up the CPU.  Could it be some sort of
>> MMU initialization difference between Redboot and u-boot?
> I have no idea how redboot maps the memory in the mmu, but barebox and
> u-boot use a 1:1 mapping which results in the behaviour you see.
> Accessing reserved memory can result in a abort.
> 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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

More information about the barebox mailing list