On 08/05/2014 06:27 AM, Simon Glass wrote:
On 4 August 2014 12:04, Stephen Warren <swar...@wwwdotorg.org> wrote:
On 08/04/2014 04:13 AM, Simon Glass wrote:
As to the question of HW description, I'm not sure I follow. The
devices that are attached to the hardware presumably appear in the DT,
the partition is fixed anyway, all you need to know is whether it is a
bootable device or not. What part of the description is not related to
the hardware?
The concept of bootable, and the order in which bootable devices should be
searched, are SW policy, not HW definition.
So that is it? I wonder whether if this is the only configuration
option, we might eventually write this feature in C as a new U-Boot
command, with an environment variable listing the devices in order?
It would certainly be possible to do that.
In some ways I prefer implementing this all as user-accessible macros.
That way, if the user wants to tweak them, it's as simple as editing the
macro and re-saving the environment, rather than rebuilding the
bootloader from source.
Obviously, if someone changes something it may not work in the same way
as originally intended, but it's not everybody's goal to boot a
"standard" distro in a "standard" way - rather they may want to play
around with their own custom ideas.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot