[U-Boot] [PATCH v1 1/3] Make mmc init come before env_relocate
Konrad Mattheis
mattheis at ukma.de
Wed Sep 23 09:28:03 CEST 2009
Dear Wolfgang Denk,
> I'm biased. I understand that you do this because you need it for the
> next patch, which reads the environment from MMC card. But then MMC is
> just one out of many storage devices, and with the same right we would
> h ave to move the SCSI or DoC or S-ATA initialization up, because we
> could implement storing the environment on such devices, too.
> This has not been done so far, because it suffers from the fundamental
> problem your code is suffering from, too: you cannot access the
> environment early enough, so for example your board boots with a
> hard-wird, unchangable console baud rate, despite that you suggest to
> the user he could change it.
>I don't like that, and therefore tend to NAK the whole approach.
I understand why you would like to NAK the approach, but this is not
only interesting for this type of ARM. And more and more ARM devices
allow direct boot from SD-Card,... and so everybody ask for that I need
another storage just for the environment variables. In the production
you also have to program this storage. So I think you will get
this question more and more. Or more and more patches that are not
in the mainline.
For me the question is if where a good way to implement this feature?
Do you have a good suggestion for solving the problem of initializations
steps?
I would really like to help to get this problem solved, because
I'm building at the moment an G20/G45 board that doing the same thing.
bye
Konrad Mattheis
More information about the U-Boot
mailing list