~~tag> Edge2 Windows install~~
====== Edge2 Windows install ARM UEFI ======
This document guides the installation of the Windows 11 Image for the Edge2.
This image is purely experimental and is not recommended for general use, and is currently only for testing purposes. \\
Please check the hardware support status [[gh>worproject/Rockchip-Windows-Drivers#hardware-support-status | here]]
As the USB 2.0 remains nonfunctional, you will need to use the USB 3.0 Type A and Type C ports adjacent to the Wi-Fi card for connecting peripherals and other devices. \\
We recommend using a standard USB 3.0 hub that has been verified to work on other Windows-on-arm devices to expand the number of available USB ports.
Wi-Fi and Bluetooth are also non functional, for networking you will need to rely on a USB network dongle.
===== OOWOW Online script =====
Simplest way to install Windows to eMMC by [[software/oowow/how-to/online-scripts]]
During the initial Windows Setup you will need to bypass the system enrollment,
* Start the Window 11 setup.
* When you see the Let's connect you to a network screen with the grayed-out Next button, press ''Shift + F10'' type ''oobe\bypassnro'' press ''Enter'' to reboot and skip network request.
* After you execute this command, your system will restart.
* https://www.google.com/search?q=Shift+F10+type+oobe+bypassnro
* https://www.reddit.com/r/computers/comments/12brgth/does_anyone_know_how_to_get_off_this_screen_i/
===== Build Installation disk =====
https://github.com/hyphop/edge2-win-tools
====== Links ======
* https://github.com/buddyjojo/workli
* https://worproject.com/guides/how-to-install/from-other-os
* https://worproject.com/guides/how-to-install/on-rockchip
* https://github.com/worproject/Rockchip-Windows-Drivers/releases
* https://github.com/Botspot/wor-flasher
* https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/arm64-device-manufacturing
* https://gist.github.com/TomCan/9644966
* https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/winpe-install-on-a-hard-drive--flat-boot-or-non-ram?view=windows-11
* https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/add-a-hardware-recovery-button-to-start-windows-re?view=windows-11
* https://unix.stackexchange.com/questions/667803/fixing-efi-windows-boot-from-linux
* https://woshub.com/how-to-rebuild-bcd-file-in-windows-10/
* https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/customize-windows-re?view=windows-11
* WIP:
* [[/products/sbc/edge2/troubleshooting/edge2-uboot-uefi]]
/*
===== UEFI bootload on eMMC =====
WIP:...
```sh 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
```sh
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''
```sh 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
```
{{local:dev:edge2:edge2-win-install-emmc-disks.jpg?w=640}}
*/