Skip to content

Latest commit

 

History

History
85 lines (47 loc) · 2.06 KB

File metadata and controls

85 lines (47 loc) · 2.06 KB

Flashing Recipe

Asciinema Demo

Always do an Initial Flash From Bypassed & Erased SPI/eMMC

And Keep Ethernet Unplugged!

Bypass current SPI/eMMC, then boot into U-Boot Via SD with sdcard.img

Insert SD Card

Bypass SPI & eMMC

Power-on

Wait untill you see the environment fail to load from SPI

Ensure you see Trying to boot from MMC2

As well as Loading Environment from SPIFlash... jedec_spi_nor flash@0: unrecognized JEDEC id bytes: ff, ff, ff *** Warning - spi_flash_probe_bus_cs() failed, using default environment

Reconnect SPI

Stop Autoboot by hitting any key

sf probe

sf erase 0x0 0x1000000

reset

Stop Autoboot by hitting any key

ls mmc 1:1 /

load mmc 1:1 $kernel_addr_r u-boot-rockchip-spi.bin

sf probe

sf write $kernel_addr_r 0 $filesize

reset

Stop Autoboot by hitting any key

saveenv

reset

Check for Loading Environment from SPIFlash... SF: Detected gd25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB OK

Power-off

Installation

Insert installation ISO after adding OMNITECK's bootaa64.efi to the ESP patition & Keep the eMMC bypassed and ethernet unplugged during boot

Bypass eMMC

Power-on

Wait until Booting /\EFI\BOOT\BOOTAA64.EFI

Reconnect eMMC

Once at the grub boot menu hit e to edit:

Add autoinstall 'ds=nocloud-net;s=https://omniteck.com/' date=YYYYMMDDHHMM.SS to the kernel command line

setparams 'Try or Install Ubuntu'

    set gfxpayload=keep
    linux        /casper/vmlinuz $cmdline  --- autoinstall quiet splash console=tty0 'ds=nocloud-net;s=https://omniteck.com/' date=202522010000.00
    initrd       /casper/initrd
    $dtb

Reconnect ethernet

Hit CTRL + x to boot