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

eMMC driver was injected to windows installation and works but windows boot manager fail …

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 
info from oowow rescue system
root@edge2-00000:/1# df -T /1
Filesystem           Type       1K-blocks      Used Available Use% Mounted on
/dev/mmcblk0p1       vfat           99786     30760     69026  31% /1
 
root@edge2-00000:/1# find EFI | grep BCD\$
EFI/Microsoft/Boot/BCD
EFI/Microsoft/Recovery/BCD

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

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
Last modified: 2023/08/15 01:29 by hyphop