Failing to load Barebox Environment

Gaurav Singh gausinghnsit at gmail.com
Wed Sep 29 05:14:24 EDT 2010


Hi Juergen,

You are right offcourse But this is not the problem. Sorry I forgot to
mention that I used a different Barebox version for the kernel boot
part - one in which I had not defined any nand partitions statically
using devfs_add_partition :).

Thanks
Regards
Gaurav

On Wed, Sep 29, 2010 at 2:38 PM, Juergen Beisert <jbe at pengutronix.de> wrote:
> Just a note:
>
> You configure:
>
>> >> devfs_add_partition("nand0", 0x00000, 0x200000, PARTITION_FIXED,
>> >> "self_raw"); dev_add_bb_dev("self_raw", "self0");
>> >> devfs_add_partition("nand0", 0x200000, 0x200000, PARTITION_FIXED,
>> >> "env_raw"); dev_add_bb_dev("env_raw", "env0");
>
> And then:
>
>> EVB2065> addpart /dev/nand0 4M(barebox)ro,2M(kernel)ro,-(root)
>
> Both must match!
>
> Try instead:
>
> EVB2065> addpart /dev/nand0 256k(barebox)ro,256k(env),2M(kernel)ro,-(root)
>
> jbe
>
> --
> Pengutronix e.K.                              | Juergen Beisert             |
> Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
> Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
> Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |
>



More information about the barebox mailing list