[U-Boot] recommended place to identify hardware using i2c-eeprom data.
Timur Tabi
timur at freescale.com
Fri Apr 17 00:04:14 CEST 2009
On Thu, Apr 16, 2009 at 5:01 PM, Richard Retanubun
<RichardRetanubun at ruggedcom.com> 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
More information about the U-Boot
mailing list