def findLockersUnit(self): if not self.nandonly: return for i in xrange(96,128): for ce in xrange(self.nCEs): s, d = self.readBlockPage(ce, 1, i) if d and check_effaceable_header(d): print "Found effaceable lockers in ce %d block 1 page %d" % (ce,i) return d
def findLockersUnit(self): if not self.nandonly: return for i in xrange(96, 128): for ce in xrange(self.nCEs): s, d = self.readBlockPage(ce, 1, i) if d and check_effaceable_header(d): print "Found effaceable lockers in ce %d block 1 page %d" % (ce, i) return d
def findLockersUnit(self): if not self.nandonly: return for ce in xrange(0,self.nCEs): for block in xrange(4):#XXX: hax plog = self.partition_scheme.readPartitionBlock("plog", ce, block) for i in xrange(128): d = plog[i*self.bootloaderBytes:(i+1)*self.bootloaderBytes] if d and check_effaceable_header(d): print "Found effaceable lockers in ce %d block %d (XXX possibly remapped) page %d" % (ce,block,i) return d