Skip to content

Instantly share code, notes, and snippets.

View goldstar611's full-sized avatar

goldstar611 goldstar611

  • There's something going on here.
View GitHub Profile
@goldstar611
goldstar611 / compile.sh
Created February 4, 2024 05:08
Compiling grub2 for Intel Bay Trail devices (bootia32.efi)
# https://github.com/hirotakaster/baytail-bootia32.efi/issues/2
sudo apt install git bison libopts25 libselinux1-dev autogen m4 autoconf help2man libopts25-dev flex libfont-freetype-perl automake autotools-dev libfreetype6-dev texinfo
sudo apt install make autopoint pkg-config libtool
sudo apt install gawk
sudo apt purge mawk
git clone git://git.savannah.gnu.org/grub.git --depth=1
./configure --with-platform=efi --target=i386 --program-prefix=""
@goldstar611
goldstar611 / openwrt_quirks.txt
Created February 5, 2024 20:24
openwrt_quirks.txt
# https://forum.openwrt.org/t/support-for-xiaomi-wifi-r3p-pro/20290/882
A short note here for those who (just like me) have problems with a UAS driver and USB3 external drives.
The symptoms are that the device is recognized and you can see it with lsusb -t command. The driver lists uas,
but the drive does not show up in /dev/sd*.
root@AndyNet:~# lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-mtk/2p, 480M