On Thu, Apr 16, 2009 at 5:01 PM, Richard Retanubun
<[email protected]> wrote:
> I've tried extracting the information at board_early_init_r (because I need
> to initialize MAC address later using this information also)
> and store the information using setenv("partnum" "extracted_board_id");
>
> However, the resulting printenv after boot only contains "pa" with no data,
> so obviously I am doing something wrong (calling setenv too early?)
Can you post some of your code? Maybe there's a bug.
> Is there a recommended way/examples of doing this?
Depends on the kind of initialization you're trying to do.
--
Timur Tabi
Linux kernel developer at Freescale
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot