configs/engicam_px30_core_defconfig: new defconfig
Add initial support for Engicam PX30 SOM board with below features: - U-Boot 2024.01 - Linux 6.12.19 - Default packages from buildroot px30 ctouch2 with 10 inches display https://www.engicam.com/vis-prod/C-Touch-2-0-Carrier-Board/ Signed-off-by: Meena Murthy <meena.murthy@amarulasolutions.com> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> [Julien: - fix linux-6.12.19 hash - add missing BR2_TARGET_UBOOT_NEEDS_GNUTLS=y ] Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
5cab9ee224
commit
6e6bd098c3
@@ -2384,6 +2384,10 @@ F: package/libtraceevent/
|
||||
F: package/libtracefs
|
||||
F: package/linux-tools/linux-tool-rtla.mk.in
|
||||
|
||||
N: Meena Murthy <meena.murthy@amarulasolutions.com>
|
||||
F: board/engicam/px30core/
|
||||
F: configs/engicam_px30_core_defconfig
|
||||
|
||||
N: Michael Durrant <mdurrant@arcturusnetworks.com>
|
||||
F: board/arcturus/
|
||||
F: configs/arcturus_ucp1020_defconfig
|
||||
|
||||
4
board/engicam/px30core/extlinux.conf
Normal file
4
board/engicam/px30core/extlinux.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
label Engicam-EDIMM linux
|
||||
kernel /boot/Image
|
||||
devicetree /boot/px30-engicam-px30-core-ctouch2-of10.dtb
|
||||
append earlycon=uart8250,mmio32,0xff160000 root=/dev/mmcblk1p1 rootwait
|
||||
22
board/engicam/px30core/genimage.cfg
Normal file
22
board/engicam/px30core/genimage.cfg
Normal file
@@ -0,0 +1,22 @@
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot-tpl-spl-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "idbloader.img"
|
||||
offset = 32K
|
||||
}
|
||||
|
||||
partition u-boot-dtb {
|
||||
in-partition-table = "no"
|
||||
image = "u-boot.itb"
|
||||
offset = 8M
|
||||
size = 30M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
}
|
||||
}
|
||||
1
board/engicam/px30core/patches/linux-headers/linux-headers.hash
Symbolic link
1
board/engicam/px30core/patches/linux-headers/linux-headers.hash
Symbolic link
@@ -0,0 +1 @@
|
||||
../linux/linux.hash
|
||||
2
board/engicam/px30core/patches/linux/linux.hash
Normal file
2
board/engicam/px30core/patches/linux/linux.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v6.x/sha256sums.asc
|
||||
sha256 d73bf057bec04434b169d1b61641936f7d0c97ceb923a281f32e35dd4dcc6531 linux-6.12.19.tar.xz
|
||||
2
board/engicam/px30core/patches/uboot/uboot.hash
Normal file
2
board/engicam/px30core/patches/uboot/uboot.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 b99611f1ed237bf3541bdc8434b68c96a6e05967061f992443cb30aabebef5b3 u-boot-2024.01.tar.bz2
|
||||
5
board/engicam/px30core/post-build.sh
Executable file
5
board/engicam/px30core/post-build.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
BOARD_DIR="$(dirname "$0")"
|
||||
|
||||
install -m 0644 -D "$BOARD_DIR"/extlinux.conf "$TARGET_DIR"/boot/extlinux/extlinux.conf
|
||||
60
board/engicam/px30core/readme.txt
Normal file
60
board/engicam/px30core/readme.txt
Normal file
@@ -0,0 +1,60 @@
|
||||
ENGICAM PX30-EDIMM2.2 carrier board
|
||||
===================================
|
||||
|
||||
Build:
|
||||
|
||||
$ make engicam_px30_core_defconfig
|
||||
$ make
|
||||
|
||||
Files created in output directory
|
||||
---------------------------------
|
||||
|
||||
output/images
|
||||
|
||||
├── bl31.elf
|
||||
├── idbloader.img
|
||||
├── Image
|
||||
├── px30-engicam-px30-core-ctouch2-of10.dtb
|
||||
├── rootfs.ext2
|
||||
├── rootfs.ext4 -> rootfs.ext2
|
||||
├── rootfs.tar
|
||||
├── sdcard.img
|
||||
├── u-boot.bin
|
||||
└── u-boot.itb
|
||||
|
||||
How to connect the board and get started:
|
||||
-----------------------------------------
|
||||
Ensure that the power supply is stable and provides enough current to handle
|
||||
the board's needs, especially when peripherals are connected.
|
||||
|
||||
Insert micro SD card on the board micro SD slot J17
|
||||
|
||||
Creating bootable SD card:
|
||||
--------------------------
|
||||
sudo dd if=output/images/sdcard.img of=/dev/sdX && sync
|
||||
|
||||
/dev/sdX is the path in host via which SD card is detected
|
||||
Where X is your SD card device
|
||||
|
||||
Connect UART port on the board J26
|
||||
|
||||
Serial console
|
||||
--------------
|
||||
Launch minicom at host with 1152008N1
|
||||
|
||||
Power on the kit using J4
|
||||
|
||||
Refer link on checking board booting
|
||||
|
||||
Program eMMC
|
||||
------------
|
||||
Connect USB otg cable A-type to host pc, Micro USB end to board.
|
||||
|
||||
Close Jumper JM5.
|
||||
|
||||
Boot the Kit with SD boot.
|
||||
|
||||
Program eMMC in U-Boot. (Refer link for the steps)
|
||||
|
||||
Wiki link:
|
||||
https://wiki.amarulasolutions.com/bsp/rockchip/px30/engicam-px30-edimm2.2.html
|
||||
45
configs/engicam_px30_core_defconfig
Normal file
45
configs/engicam_px30_core_defconfig
Normal file
@@ -0,0 +1,45 @@
|
||||
BR2_aarch64=y
|
||||
BR2_cortex_a35=y
|
||||
BR2_TOOLCHAIN_EXTERNAL=y
|
||||
BR2_GLOBAL_PATCH_DIR="board/engicam/px30core/patches"
|
||||
BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
|
||||
BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200=y
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="board/engicam/px30core/post-build.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT_ARGS="-c board/engicam/px30core/genimage.cfg"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.12.19"
|
||||
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/px30-engicam-px30-core-ctouch2-of10"
|
||||
BR2_LINUX_KERNEL_INSTALL_TARGET=y
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
BR2_TARGET_ROOTFS_EXT2_4=y
|
||||
BR2_TARGET_ROOTFS_EXT2_SIZE="150M"
|
||||
BR2_TARGET_ROOTFS_EXT2_MKFS_OPTIONS="-O 64bit"
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION=y
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_VERSION_VALUE="lts-v2.12.1"
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="px30"
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_IMAGES=""
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_NEEDS_ARM32_TOOLCHAIN=y
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2025.01"
|
||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="px30-core-ctouch2-of10-px30"
|
||||
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
||||
BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
|
||||
BR2_TARGET_UBOOT_NEEDS_GNUTLS=y
|
||||
BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y
|
||||
BR2_TARGET_UBOOT_NEEDS_ATF_BL31_ELF=y
|
||||
BR2_TARGET_UBOOT_USE_BINMAN=y
|
||||
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
|
||||
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb"
|
||||
BR2_TARGET_UBOOT_SPL=y
|
||||
BR2_TARGET_UBOOT_SPL_NAME="idbloader.img"
|
||||
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
||||
BR2_PACKAGE_HOST_GENIMAGE=y
|
||||
BR2_PACKAGE_HOST_MTOOLS=y
|
||||
Reference in New Issue
Block a user