Add nextthing boards

add chip, chippro and pocketchip
This commit is contained in:
Guilhem Baccialone 2024-10-15 23:00:08 +02:00 committed by GitHub
parent 1372ebb073
commit e5f3a21383
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 12876 additions and 0 deletions

View file

@ -0,0 +1,20 @@
#!/bin/bash
IMAGES_DIR=$1
BUILDROOT_DIR=${IMAGES_DIR%/}
BUILDROOT_DIR=${BUILDROOT_DIR%/*/*}
echo "IMAGES_DIR=${IMAGES_DIR}"
echo "BUILDROOT_DIR=${BUILDROOT_DIR}"
mk_buildroot_images -N nand_configs/Toshiba-SLC-4G-TC58NVG2S0H.config -d "${IMAGES_DIR}" "${BUILDROOT_DIR}"
pushd "${IMAGES_DIR}"
ln -sf "spl-40000-1000-100.bin" "flash-spl.bin"
ln -sf "uboot-40000.bin" "flash-uboot.bin"
ln -sf "uboot-env-400000.bin" "flash-uboot-env.bin"
ln -sf "chip-40000-1000.ubi.sparse" "flash-rootfs.bin"
cp "${BUILDROOT_DIR}/board/nextthing/chippro/flash.sh" "${IMAGES_DIR}/flash"
popd