2023年8月17日 星期四

Reduce Petalinux Boot Time

 Set u-boot delay time to 0

$ petalinux-config -c u-boot

select

(4) delay in seconds before automatically booting

and set value to 0


Remove udhcpc service when boot

remove “ifup -a” in /etc/init.d/networking

after login, use command ifup -a to get IP address



Python Tkinter First Example

import tkinter as tk def on_closing():     root.destroy() class MainWindow(tk.Tk):     def __init__(self, *args, **kwargs):         tk.Tk.__...