Changes between Version 6 and Version 7 of FlattenedDeviceTree


Ignore:
Timestamp:
Nov 10, 2009, 12:06:08 PM (14 years ago)
Author:
Nicolas Pouillon
Comment:

chosen

Legend:

Unmodified
Added
Removed
Modified
  • FlattenedDeviceTree

    v6 v7  
    100100
    101101Here the ICU device for `/tty@0` is `/icu@0` (device at address 0x20600000), which in turn references `/cpus/Mips,32@0` as its ICU device.
     102
     103== The /chosen node ==
     104
     105The `/chosen` node contains informations about the global system peripherals and configuration. In MutekH, we use the `/chosen` node to reference preipherals:
     106 `timer`::
     107  Select the global timer device
     108 `root`::
     109  Select the root file system device
     110 `console`::
     111  Select the console tty
     112
     113Referencing the correct devices does not implicitly make their drivers available. You still have to select the driver in your configuration file.
     114
     115Example:
     116{{{
     117        chosen {
     118                console = &{/tty@0};
     119                root = &{/ramdisk@0};
     120        };
     121}}}
    102122
    103123== Parameter structure construction for calling `_init` functions ==