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

doesn't boot from eMMC

Windows failed to start. A recent hardware or software change might be the
cause. To fix the problem: 

  1. Insert your Windows installation disc and restart your computer.
  2. Choose your language settings, and then click "Next."
  3. Click "Repair your computer."

If you do not have this disc, contact your system administrator or computer
manufacturer for assistance. 

    File: \EFI\Microsoft\Boot\BCD

    Status: 0xc000000d

    Info: The Boot Configuration Data for your PC is missing or contains    
          errors.                                                           
                                                                           
                                                    ESC=UEFI Firmware Settings 

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=RK3588_NOR_FLASH_REL.img
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

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
)
 
DEVICE=/dev/sdX \
BID=22621.1702 \
CAN_INSTALL_ON_SAME_DRIVE=1 \
RPI_MODEL=4 \
WIN_LANG=en-us \
bash ./install-wor.sh
Last modified: 2023/08/14 23:12 by hyphop