Skip to content

Instantly share code, notes, and snippets.

@PeterCxy
PeterCxy / boot.txt
Last active March 30, 2023 14:46
U-BOOT boot.txt for booting RaspberryPi kernel on ArchLinxuARM aarch64
# After modifying, run ./mkscr
# Set root partition to the second partition of boot device
part uuid ${devtype} ${devnum}:2 uuid
setenv bootargs console=tty1 root=PARTUUID=${uuid} rw rootwait smsc95xx.macaddr="${usbethaddr}"
load ${devtype} ${devnum}:${bootpart} ${kernel_addr_r} /Image
load ${devtype} ${devnum}:${bootpart} ${ramdisk_addr_r} /initramfs-linux.img
booti ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdtcontroladdr};
@tallero
tallero / default.prop
Created April 23, 2020 18:37
HOW TO: Modify boot.img to allow usb debugging from recovery adb
ro.secure=0
ro.allow.mock.location=1
ro.debuggable=1
persist.sys.usb.config=adb
ro.adb.secure=0
@gohilbhagirath90
gohilbhagirath90 / wifiTest
Created May 19, 2015 09:25
How to test WLAN function via command line
When a PCB back from product line without LCD, how to test WIFI basic function?
We can usually use below commands in adb shell with root permission
//Check if wlan.ko was loaded
lsmod
//If not, please install it
insmod /system/lib/modules/wlan.ko
//Check if it correctly installed