Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

products:sbc:edge2:troubleshooting:windows-install

This is an old revision of the document!


Edge2 Windows install

Build on Linux host

  • eMMC driver was injected to the windows installation
  • Windows can bootup from eMMC same as from USB
  • WIP… preparing oowow demo

WIP: preparing custom scripts for building image

https://github.com/hyphop/edge2-win-tools

UEFI bootload on eMMC

WIP:

write-uefi-bootloader-to-emmc
EFI=edge2_UEFI_Release_v0.7.1.img
wget https://github.com/edk2-porting/edk2-rk3588/releases/download/v0.7.1/$EFI
DISK=${DISK:-/dev/mmcblk0}
dd skip=2048 seek=$((0x4000)) count=$((0x4000)) of=$DISK if=$EFI conv=fsync,notrunc

workli

doesn't work well

mkdir -p ~/edge2-win 
cd ~/edge2-win
git clone https://github.com/buddyjojo/workli
cd workli
sudo bash ./workli.sh

boot from USB only

Shift+F10 type oobe\bypassnro press Enter to reboot and skip network request

WOR-flasher

doesn't work well

Make installation disk /dev/sdX, Windows 11 latest id BID=22621.1702

create windows installation disk for edge2
mkdir -p ~/edge2-win 
cd ~/edge2-win
git clone https://github.com/Botspot/wor-flasher
 
[ -d ~/wor-flasher-files/driverpackage/dwcsdhc ] || \
( # add eMMC driver to ..
mkdir -p ~/wor-flasher-files/driverpackage/dwcsdhc
cd ~/wor-flasher-files/driverpackage/dwcsdhc
wget https://github.com/worproject/Rockchip-Windows-Drivers/files/11454708/dwcsdhc.zip
unzip dwcsdhc.zip
cabextract dwcsdhc.cab
mv driver/* .
rm *.zip *.cab
echo 'dwcsdhc\dwcsdhc.inf' >> ../critical
)
 
DEVICE=/dev/sdX \
BID=22621.1702 \
CAN_INSTALL_ON_SAME_DRIVE=1 \
RPI_MODEL=4 \
WIN_LANG=en-us \
bash ./install-wor.sh

edge2-win-install-emmc-disks.jpg

Last modified: 2023/08/28 02:29 by hyphop