armbian-build/extensions
Ricardo Pardini 24db9fb2ec extensions: image-output-oowow: creates Khadas oowow compatible images
- requires `KHADAS_OOWOW_BOARD_ID` set in board file (see next commit)
- always produces xz-compressed images, so this automatically disables `COMPRESS_OUTPUTIMAGE`
- uses `xze` script from Khadas, forcing `IN` and `OUT` env vars so it's not confused by fd 1
- to use, add `EXT=image-output-oowow` parameter to build
- to get into oowow:
    - VIM3/VIM3L:
        - download oowow SD card image from Khadas:
            - VIM3: https://dl.khadas.com/products/oowow/system/vim3-oowow-latest-sd.img.gz
            - VIM3L: https://dl.khadas.com/products/oowow/system/vim3l-oowow-latest-sd.img.gz
        - write image to SD card, use BalenaEtcher or similar
        - insert SD card into board (and remove NVMe if present and bootable)
        - boot board into Upgrade mode, see https://docs.khadas.com/products/sbc/vim3/install-os/boot-into-upgrade-mode
        - oowow should be running now
        - recommended: go into Advanced and reset to factory defaults, so MCU, PCIe/USB3 etc is reset to defaults
    - VIM4/VIM4N/VIM1S/Edge2: those have oowow in SPI from factory, check out the manual
- there's a few ways to use these images with oowow:
    - Using External media
        - prepare media (USB), format it with ext4 or fat, copy produced oowow.img.xz to it
            - for ease of use, rename the image file, so it begins with the board-id (`vim1s-/vim4-/edge2-` etc)
        - boot board into oowow  (see oowow's manual)
        - insert media into board
        - exit wizard, use "Write image to eMMC", browse to "../"
            - change from "XXXX only" to "All" if you didn't rename the image
        - choose image file and write
        - (remove SD card if using one) and reboot
    - Via network (Ethernet or Wi-Fi)
        - boot board into oowow
        - plug in Ethernet cable or connect to Wi-Fi (see oowow's manual)
        - set the firewall mode to "allow" in oowow's Network Settings (see oowow's manual)
        - obtain the IP address of the board in oowow (usually shown on top of the screen, or see manual)
        - from a remote machine, use curl to upload and write the image to oowow's eMMC, example:
            - `curl -L <ip_address>/shell/write | sh -s - <image_filename>.oowow.img.xz`
        - reboot board
    - From the Internet (one day)
        - when Khadas publishes Armbian oowow images to their HTTP server
2023-08-15 18:53:55 +05:30
..
bluetooth-hciattach.sh bluetooth-hciattach: new generic extension to facilitate adding hciattach systemd service, given the correct params 2023-05-24 19:22:22 +02:00
c-plus-plus-compiler.sh extensions: don't export, declare -g 2023-04-15 22:43:06 +02:00
cleanup-space-final-image.sh cleanup-space-final-image: keep qcom and qed firmware (for thinkpad-x13s) 2023-06-26 13:47:00 +02:00
detect-unused-extensions.sh armbian-next: cleanup extensions logging, using display_alert new levels extensions (SHOW_EXTENSIONS=yes) and extensionstrace (SHOW_EXTENSIONS_TRACE=yes) 2023-02-18 07:39:54 -03:00
fake-vcgencmd.sh extension fake-vcgencmd 2023-05-03 15:10:18 +02:00
flash-kernel.sh Fix cryptroot setup with flash-kernel and ssh unlock on newer dropbear versions 2023-08-02 08:30:27 +02:00
fs-btrfs-support.sh armbian-next: core extensions for xfs / f2fs / brtfs / LUKS/cryptroot hostdeps; enable in main-config 2023-02-18 07:42:46 -03:00
fs-cryptroot-support.sh Fix cryptroot setup with flash-kernel and ssh unlock on newer dropbear versions 2023-08-02 08:30:27 +02:00
fs-f2fs-support.sh armbian-next: core extensions for xfs / f2fs / brtfs / LUKS/cryptroot hostdeps; enable in main-config 2023-02-18 07:42:46 -03:00
fs-nilfs2-support.sh Add support for nilfs2 fs based image 2023-05-16 08:51:05 +02:00
fs-xfs-support.sh armbian-next: core extensions for xfs / f2fs / brtfs / LUKS/cryptroot hostdeps; enable in main-config 2023-02-18 07:42:46 -03:00
gen-sample-extension-docs.sh extensions: don't export, declare -g 2023-04-15 22:43:06 +02:00
grub-riscv64.sh bcm2711/grub: add busybox (for initrd grep/sed) so initramfs-growroot works again on Debian 2023-04-28 21:32:52 +02:00
grub-sbc-media.sh extensions/grub: use array for pkg list 2023-04-15 22:43:06 +02:00
grub-with-dtb.sh grub: add hooks, fix GRUB font & wallpaper, introduce grub-with-dtb extension 2023-06-26 13:52:29 +02:00
grub.sh grub: add hooks, fix GRUB font & wallpaper, introduce grub-with-dtb extension 2023-06-26 13:52:29 +02:00
image-output-oowow.sh extensions: image-output-oowow: creates Khadas oowow compatible images 2023-08-15 18:53:55 +05:30
image-output-ovf.sh extensions: don't export, declare -g 2023-04-15 22:43:06 +02:00
image-output-qcow2.sh extensions: don't export, declare -g 2023-04-15 22:43:06 +02:00
image-output-utm.sh extensions: don't export, declare -g 2023-04-15 22:43:06 +02:00
lsmod.sh armbian-next: artifacts: firmware/rootfs and actual usage of artifacts during image build 2023-02-18 07:46:03 -03:00
marvell-tools.sh Add shebangs for shellcheck (#4493) 2022-11-27 21:44:50 +01:00
nicod-armbian-gaming.sh armbian-gaming customize launcher for @NicoD-SBC (v2) 2023-06-12 10:47:15 +02:00
nomod.sh armbian-next: artifacts: firmware/rootfs and actual usage of artifacts during image build 2023-02-18 07:46:03 -03:00
nvidia.sh extensions: don't export, declare -g 2023-04-15 22:43:06 +02:00
rkbin-tools.sh rkbin-tools: allow using custom rkbin RKBIN_GIT_BRANCH as well as RKBIN_GIT_URL 2023-07-01 14:49:49 +02:00
rkdevflash.sh rkdevflash: don't wait for "Loader" mode after sending spl_loader; show the loop counter 2023-07-01 14:50:20 +02:00
sunxi-tools.sh Only install gcc-or1k-bin package when building images with crust-firmware support 2023-06-26 20:54:55 +02:00
u-boot-menu.sh u-boot-menu: curb logging, no need to emit warn's here 2023-08-12 10:05:02 +02:00
v4l2loopback-dkms.sh extensions: add v4l2loopback-dkms, very similar to the zfs extension 2023-04-15 22:43:33 +02:00
vmware-vm.sh armbian-next: vmware-vm core extension: enables image-output-ovf and adds some cli and desktop packages to image list 2023-02-18 07:40:25 -03:00
zfs.sh extensions: don't export, declare -g 2023-04-15 22:43:06 +02:00