PythonQ 248-8XX Spécifications Page 69

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 210
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 68
testnode {
};
=>
5.9.7.5. fdt set - set node properties
Now, let's create a property at the newly created node; again we'll use fdt list for verification:
=> fdt set /testnode testprop testvalue
=> fdt list /testnode
testnode {
testprop = "testvalue";
};
=>
5.9.7.6. fdt rm - remove nodes or properties
The fdt rm command is used to remove nodes and properties. Let's delete the test property created in the
previous paragraph and verify the results:
=> fdt rm /testnode testprop
=> fdt list /testnode
testnode {
};
=> fdt rm /testnode
=> fdt list /
/ {
#address-cells = <0x1>;
#size-cells = <0x1>;
interrupt-parent = <0x1>;
model = "DENX M28EVK";
compatible = "denx,m28evk", "fsl,imx28";
chosen {
};
aliases {
};
memory {
};
cpus {
};
apb@80000000 {
};
ahb@80080000 {
};
regulators {
};
sound {
};
};
=>
5.9.7.7. fdt move - move FDT blob to new address
To move the blob from one memory location to another we will use the fdt move command. Besides
moving the blob, it makes the new address the "active" one - similar to fdt addr:
=> fdt move ${fdt_addr_r} 0x42000000
=> fdt list /
/ {
#address-cells = <0x1>;
#size-cells = <0x1>;
5.9.7.4. fdt mknode - create new nodes 69
Vue de la page 68
1 2 ... 64 65 66 67 68 69 70 71 72 73 74 ... 209 210

Commentaires sur ces manuels

Pas de commentaire