parameters: (self, filename)
docstring: Autogenerate DTB. Arguments are the folder where the DTB
          will be stored, and the name of the DTB file.
docstring_summary: Autogenerate DTB. Arguments are the folder where the DTB
          will be stored, and the name of the DTB file.
docstring_tokens: Autogenerate DTB . Arguments are the folder where the DTB will be stored and the name of the DTB file .
function: def generateDtb(self, filename):
          """
          Autogenerate DTB. Arguments are the folder where the DTB
          will be stored, and the name of the DTB file.
          """
          state = FdtState(addr_cells=2, size_cells=2, cpu_cells=1)
          rootNode = self.generateDeviceTree(state)
  
          fdt = Fdt()
          fdt.add_rootnode(rootNode)
          fdt.writeDtbFile(filename)
function_tokens: def generateDtb ( self , filename ) : state = FdtState ( addr_cells = 2 , size_cells = 2 , cpu_cells = 1 ) rootNode = self . generateDeviceTree ( state ) fdt = Fdt ( ) fdt . add_rootnode ( rootNode ) fdt . writeDtbFile ( filename )