Hi ALL,
I am trying to Boot Beagle bone Black from U-boot. I would Like your Guidance in this Activity.
Initially I have written A Python Script for UART Loop-back test on Host side to test data Transmission & reception.
Loopback TX-RX with GUI :
from Tkinter import *
from tkFileDialog import askopenfilename
import serial
import sys
serobj = serial.Serial(baudrate=115000,timeout=5,port=21)
def callback():
filename = askopenfilename()
with open(filename, "rb") as f:
TX = f.read(1)
while TX:
TX = f.read(1)
if TX:
serobj.write(TX)#transmit users input
RX=serobj.read()#read other device
sys.stdout.write(RX)#display to user
else:
serobj.close();
print "File Closed"
a = Button(text='Browse File', command=callback)
a.pack()
mainloop()
This code performs Loading of Binary file to iRAM.
1. More functionality to added to this : waiting for Boot packet from target processor i.e Locking UART.
Please let me know how can i start ahead with this.
thanks and regard's
Hrishikesh.