Skip to content

Commit

Permalink
board/linksprite/pcduino: switch to extlinux
Browse files Browse the repository at this point in the history
Switch to extlinux instead of U-Boot boot script. Drop custom
boot script and genimage config. Instead use common orangepi
files from board/orangepi/common.

Signed-off-by: Sergey Matyukevich <[email protected]>
Reviewed-by: Giulio Benetti <[email protected]>
Tested-by: Giulio Benetti <[email protected]>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
  • Loading branch information
geomatsi authored and arnout committed Mar 10, 2022
1 parent fbca462 commit 5bfc400
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 83 deletions.
8 changes: 0 additions & 8 deletions board/linksprite/pcduino/boot.cmd

This file was deleted.

43 changes: 0 additions & 43 deletions board/linksprite/pcduino/genimage.cfg

This file was deleted.

11 changes: 0 additions & 11 deletions board/linksprite/pcduino/post-build.sh

This file was deleted.

16 changes: 0 additions & 16 deletions board/linksprite/pcduino/post-image.sh

This file was deleted.

9 changes: 4 additions & 5 deletions configs/linksprite_pcduino_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ BR2_TARGET_GENERIC_GETTY=y
BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"

# SD image scripts
BR2_ROOTFS_POST_BUILD_SCRIPT="board/linksprite/pcduino/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/linksprite/pcduino/post-image.sh"
BR2_ROOTFS_POST_BUILD_SCRIPT="board/orangepi/common/post-build.sh"
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
BR2_ROOTFS_POST_SCRIPT_ARGS="-c $(BINARIES_DIR)/genimage.cfg"

# For kernel modules autoloading
BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
Expand All @@ -29,6 +30,7 @@ BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun4i-a10-pcduino"
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/linksprite/pcduino/linux-extras.config"
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
BR2_LINUX_KERNEL_INSTALL_TARGET=y

# Filesystem
BR2_TARGET_ROOTFS_EXT2=y
Expand All @@ -49,10 +51,7 @@ BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"

# Host packages
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_GENIMAGE=y
BR2_PACKAGE_HOST_MTOOLS=y
BR2_PACKAGE_HOST_UBOOT_TOOLS=y

# Target packages: wireless support for pcduino-lite-wifi
BR2_PACKAGE_IW=y
Expand Down

0 comments on commit 5bfc400

Please sign in to comment.