Beispiel #1
0
    def check_bct(self):
        if os.path.isfile(ac100_bct_dump()):
            return 0

        print "AC100 generate BCT DUMP"
        res = init()
        if res != 0:
            return res

        res = get_raw_data(0, 2, ac100_bct_dump())
        if res != 0:
            return res

        return 0
Beispiel #2
0
	def check_bct(self):
		if os.path.isfile(ac100_bct_dump()):
			return 0

		print "AC100 generate BCT DUMP"
		res = init()
		if res != 0:
			return res

		res = get_raw_data(0, 2, ac100_bct_dump())
		if res != 0:
			return res

		return 0
Beispiel #3
0
def uboot_sos():
	res = init(externals() + "uboot-sos.img")
	print "Sos image downloaded with code %d" % res
	return res
Beispiel #4
0
def uboot_sos():
    res = init(externals() + "uboot-sos.img")
    print "Sos image downloaded with code %d" % res
    return res