BeagleBoard X15: new board
PATCH 1/1 BeagleBoard X15: new board
From: Theo Debrouwere <[email protected]>
This configuration provides a basic setup for using Buildroot to create a sd-card image a BeagleBoard X15 board.
The same image can also be used the boot the AM57XX-EVM's.
--- board/beagleboardx15/genimage.cfg | 27 ++ board/beagleboardx15/linux-4.4.config | 579 ++++++++++++++++++++++++++++++++++ board/beagleboardx15/post-image.sh | 18 ++ board/beagleboardx15/readme.txt | 52 +++ board/beagleboardx15/uEnv.txt | 9 + configs/beagleboardx15_defconfig | 33 ++ 6 files changed, 718 insertions(+) create mode 100644 board/beagleboardx15/genimage.cfg create mode 100644 board/beagleboardx15/linux-4.4.config create mode 100755 board/beagleboardx15/post-image.sh create mode 100644 board/beagleboardx15/readme.txt create mode 100644 board/beagleboardx15/uEnv.txt create mode 100644 configs/beagleboardx15_defconfig
board/beagleboardx15/genimage.cfg new file +27 -0
@@ -0,0 +1,27 @@ +image boot.vfat { + vfat { + files = { + "MLO", + "u-boot.img", + "uEnv.txt" + } + } + size = 4M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 1G + } +}
board/beagleboardx15/linux-4.4.config new file +579 -0
579 lines not on this page · raw message
board/beagleboardx15/post-image.sh new file +18 -0
@@ -0,0 +1,18 @@ +#!/bin/sh + +BOARD_DIR="$(dirname $0)" + +# copy example uEnv.txt +cp board/beagleboardx15/uEnv.txt $BINARIES_DIR/uEnv.txt + +GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg" +GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" + +rm -rf "${GENIMAGE_TMP}" + +genimage \ + --rootpath "${TARGET_DIR}" \ + --tmppath "${GENIMAGE_TMP}" \ + --inputpath "${BINARIES_DIR}" \ + --outputpath "${BINARIES_DIR}" \ + --config "${GENIMAGE_CFG}"
board/beagleboardx15/readme.txt new file +52 -0
52 lines not on this page · raw message
board/beagleboardx15/uEnv.txt new file +9 -0
@@ -0,0 +1,9 @@ +# This uEnv.txt file can contain additional environment settings that you +# want to set in U-Boot at boot time. This can be simple variables such +# as the serverip or custom variables. The format of this file is: +# variable=value +# NOTE: This file will be evaluated after the bootcmd is run and the +# bootcmd must be set to load this file if it exists (this is the +# default on all newer U-Boot images. This also means that some +# variables such as bootdelay cannot be changed by this file since +# it is not evaluated until the bootcmd is run.
configs/beagleboardx15_defconfig new file +33 -0
@@ -0,0 +1,33 @@ +BR2_arm=y +BR2_cortex_a15=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y +BR2_TARGET_GENERIC_HOSTNAME="beagleboardx15" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS2" +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/beagleboardx15/post-image.sh" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.ti.com/processor-sdk/processor-sdk-linux.git" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="db0b54cdadef2d754ef7c2d8dd7300ef085985ef" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/beagleboardx15/linux-4.4.config" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-evm am57xx-evm-reva3" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.ti.com/ti-u-boot/ti-u-boot.git" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="2f757e5b2c6b260c647a8a1bb295537f07c3a8b9" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am57xx_evm" +BR2_TARGET_UBOOT_NEEDS_DTC=y +# BR2_TARGET_UBOOT_FORMAT_BIN is not set +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="spl/u-boot-spl.bin" +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="MLO" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y
Signature · 1 line
2.9.3
PATCH 1/1 BeagleBoard X15: new board
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Theo" == Theo Debrouwere <[email protected]> writes:
From: Theo Debrouwere <[email protected]> This configuration provides a basic setup for using Buildroot to create a sd-card image a BeagleBoard X15 board.
The same image can also be used the boot the AM57XX-EVM's.
Signed-off-by Theo Debrouwere <[email protected]>
Nice. It looks good to me, but I have a few questions (see below)
Quoted 6 lines
board/beagleboardx15/uEnv.txt new file +0
-0
board/beagleboardx15/uEnv.txt line 9
Quoted 9 lines
board/beagleboardx15/uEnv.txt new file +9
-0@@ -0,0 +1,9 @@ +# This uEnv.txt file can contain additional environment settings that you +# want to set in U-Boot at boot time. This can be simple variables such +# as the serverip or custom variables. The format of this file is: +# variable=value +# NOTE: This file will be evaluated after the bootcmd is run and the +# bootcmd must be set to load this file if it exists (this is the +# default on all newer U-Boot images. This also means that some +# variables such as bootdelay cannot be changed by this file since +# it is not evaluated until the bootcmd is run.
Is this file really needed if it only contains comments?
configs/beagleboardx15_defconfig line 5
Quoted 11 lines
configs/beagleboardx15_defconfig new file +5
-0@@ -0,0 +1,33 @@ +BR2_arm=y +BR2_cortex_a15=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y +BR2_TARGET_GENERIC_HOSTNAME="beagleboardx15" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS2"
Does the kernel not boot with console=ttyS2,.. ? If so, then the default of /dev/console should work as well.
Quoted 8 lines
configs/beagleboardx15_defconfig new file +8
-0+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/beagleboardx15/post-image.sh" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.ti.com/processor-sdk/processor-sdk-linux.git" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="db0b54cdadef2d754ef7c2d8dd7300ef085985ef" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/beagleboardx15/linux-4.4.config" +BR2_LINUX_KERNEL_DTS_SUPPORT=y
configs/beagleboardx15_defconfig line 23
Quoted 10 lines
configs/beagleboardx15_defconfig new file +10
-0+BR2_LINUX_KERNEL_INTREE_DTS_NAME="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-evm am57xx-evm-reva3" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.ti.com/ti-u-boot/ti-u-boot.git" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="2f757e5b2c6b260c647a8a1bb295537f07c3a8b9" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am57xx_evm"
Are the custom repos needed? I see that mainline u-boot and Linux atleast has "some" support for this defconfig / dts'es.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 BeagleBoard X15: new board
Quoted 9 lines
Quoted 9 lines
board/beagleboardx15/uEnv.txt new file +3
-0@@ -0,0 +1,9 @@ +# This uEnv.txt file can contain additional environment settings that you +# want to set in U-Boot at boot time. This can be simple variables such +# as the serverip or custom variables. The format of this file is:
Quoted 8 lines
board/beagleboardx15/uEnv.txt line 9
Quoted 6 lines
board/beagleboardx15/uEnv.txt new file +6
-0+# variable=value +# NOTE: This file will be evaluated after the bootcmd is run and the +# bootcmd must be set to load this file if it exists (this is the +# default on all newer U-Boot images. This also means that some +# variables such as bootdelay cannot be changed by this file since +# it is not evaluated until the bootcmd is run.Is this file really needed if it only contains comments?
No, it isn't necessary. I just wanted to provide a sample file on the sd-card image. Should I remove it?
Quoted 16 lines
configs/beagleboardx15_defconfig line 5
Quoted 12 lines
configs/beagleboardx15_defconfig new file +5
-0@@ -0,0 +1,33 @@ +BR2_arm=y +BR2_cortex_a15=y +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y +BR2_TARGET_GENERIC_HOSTNAME="beagleboardx15" +BR2_TARGET_GENERIC_GETTY_PORT="ttyS2"Does the kernel not boot with console=ttyS2,.. ? If so, then the default of
/dev/consoleshould work as well.
U-boot (both ti's release & mainline) currently contains 'console=ttyO2', but the kernel 'changes' it to ttyS2.
*snip*
[ 0.000772] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2' [ 0.000779] This ensures that you still see kernel messages. Please [ 0.000784] update your kernel commandline.
*snip*
This can be fixed with this config line, although I can also provide a patch. Or fix it inside the uEnv.txt
Quoted 13 lines
Quoted 13 lines
configs/beagleboardx15_defconfig new file +13
-0+BR2_ROOTFS_POST_IMAGE_SCRIPT="board/beagleboardx15/post-image.sh" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.ti.com/processor-sdk/processor-sdk-linux.git" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="db0b54cdadef2d754ef7c2d8dd7300ef085985ef" +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/beagleboardx15/linux-4.4.config" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-evm am57xx-evm-reva3" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_UBOOT=y
Quoted 8 lines
configs/beagleboardx15_defconfig line 23
Quoted 5 lines
configs/beagleboardx15_defconfig new file +5
-0+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.ti.com/ti-u-boot/ti-u-boot.git" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="2f757e5b2c6b260c647a8a1bb295537f07c3a8b9" +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am57xx_evm"Are the custom repos needed? I see that mainline u-boot and Linux atleast has "some" support for this defconfig / dts'es.
I haven't checked if mainline has the same level of board support as TI's trees.
Let me check that.
PATCH 1/1 BeagleBoard X15: new board
Hello,
Quoted 11 lines · Theo Debrouwere
U-boot (both ti's release & mainline) currently contains 'console=ttyO2', but the kernel 'changes' it to ttyS2.
*snip*
[ 0.000772] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2' [ 0.000779] This ensures that you still see kernel messages. Please [ 0.000784] update your kernel commandline.*snip*
This can be fixed with this config line, although I can also provide a patch. Or fix it inside the uEnv.txt
Then I think it makes sense to provide your own uEnv.txt to fix this.
It's somewhat odd that the U-Boot defconfig provided by TI doesn't match the Linux kernel provided by TI in terms of UART naming.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
PATCH 1/1 BeagleBoard X15: new board
Quoted 14 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Hello,
Quoted 9 lines · Theo Debrouwere
U-boot (both ti's release & mainline) currently contains 'console=ttyO2', but the kernel 'changes' it to ttyS2.
*snip*
[ 0.000772] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2' [ 0.000779] This ensures that you still see kernel messages. Please [ 0.000784] update your kernel commandline.*snip*
Quoted 4 lines
Quoted 2 lines
This can be fixed with this config line, although I can also provide a patch. Or fix it inside the uEnv.txt
Then I think it makes sense to provide your own uEnv.txt to fix this.
I had a look, and it is from:
commit 61929cf0169d91366fd3f30d6ee60681b037bc19
Author: Sebastian Andrzej Siewior <[email protected]> Date: Mon Sep 29 20:06:39 2014 +0200
tty: serial: Add 8250-core based omap driver
This patch provides a 8250-core based UART driver for the internal OMAP UART. The long term goal is to provide the same functionality as the current OMAP uart driver and DMA support.
I tried to merge omap-serial code together with the 8250-core code. There should should be hardly a noticable difference. The trigger levels are different compared to omap-serial:
- omap serial
TX: Interrupt comes after TX FIFO has room for 16 bytes.
TX of 4096 bytes in one go results in 256 interrupts
RX: Interrupt comes after there is on byte in the FIFO.
RX of 4096 bytes results in 4096 interrupts.
- this driver
TX: Interrupt comes once the TX FIFO is empty.
TX of 4096 bytes results in 65 interrupts. That means there will be gaps on the line while the driver reloads the FIFO.
RX: Interrupt comes once there are 48 bytes in the FIFO or less over
"longer" time frame. We have
1 / 11520 * 10^3 * 16 => 1.38? ms
1.38ms to react and purge the FIFO on 115200,8N1. Since the other driver fired after each byte it had ~5.47ms time to react. This _may_ cause problems if one relies on no missing bytes and has no flow control. On the other hand we get only 85 interrupts for the same amount of data.
It has been only tested as console UART on am335x-evm, dra7-evm and beagle bone. I also did some longer raw-transfers to meassure the load.
The device name is ttyS based instead of ttyO. If a ttyO based node name is required please ask udev for it. If both driver are activated (this and omap-serial) then this serial driver will take control over the device due to the link order
The old omap-serial driver (which uses ttyOx) is still available, so one workaround is simply to disable CONFIG_SERIAL_8250_OMAP (and enable CONFIG_SERIAL_OMAP).
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 BeagleBoard X15: new board
In reply to Theo DebrouwereFrom: Theo Debrouwere <[email protected]>
This configuration provides a basic setup for using Buildroot to create a sd-card image a BeagleBoard X15 board.
--- board/beagleboardx15/genimage.cfg | 26 ++++++++++++++++++++ board/beagleboardx15/post-image.sh | 15 ++++++++++++ board/beagleboardx15/readme.txt | 49 ++++++++++++++++++++++++++++++++++++++ configs/beagleboardx15_defconfig | 23 ++++++++++++++++++ 4 files changed, 113 insertions(+) create mode 100644 board/beagleboardx15/genimage.cfg create mode 100755 board/beagleboardx15/post-image.sh create mode 100644 board/beagleboardx15/readme.txt create mode 100644 configs/beagleboardx15_defconfig
board/beagleboardx15/genimage.cfg new file +26 -0
@@ -0,0 +1,26 @@ +image boot.vfat { + vfat { + files = { + "MLO", + "u-boot.img" + } + } + size = 4M +} + +image sdcard.img { + hdimage { + } + + partition u-boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 1G + } +}
board/beagleboardx15/post-image.sh new file +15 -0
@@ -0,0 +1,15 @@ +#!/bin/sh + +BOARD_DIR="$(dirname $0)" + +GENIMAGE_CFG="${BOARD_DIR}/genimage.cfg" +GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" + +rm -rf "${GENIMAGE_TMP}" + +genimage \ + --rootpath "${TARGET_DIR}" \ + --tmppath "${GENIMAGE_TMP}" \ + --inputpath "${BINARIES_DIR}" \ + --outputpath "${BINARIES_DIR}" \ + --config "${GENIMAGE_CFG}"
board/beagleboardx15/readme.txt new file +49 -0
49 lines not on this page · raw message
configs/beagleboardx15_defconfig new file +23 -0
@@ -0,0 +1,23 @@ +BR2_arm=y +BR2_cortex_a15=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/beagleboardx15/post-image.sh" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="am57xx-beagle-x15 am57xx-beagle-x15-revb1" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="am57xx_evm" +BR2_TARGET_UBOOT_NEEDS_DTC=y +# BR2_TARGET_UBOOT_FORMAT_BIN is not set +BR2_TARGET_UBOOT_FORMAT_IMG=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM=y +BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="spl/u-boot-spl.bin" +BR2_TARGET_UBOOT_SPL=y +BR2_TARGET_UBOOT_SPL_NAME="MLO" +BR2_PACKAGE_HOST_DOSFSTOOLS=y +BR2_PACKAGE_HOST_GENIMAGE=y +BR2_PACKAGE_HOST_MTOOLS=y
Signature · 1 line
2.9.3
PATCH 1/1 BeagleBoard X15: new board
Oops. I forgot to add some new comments.
PK proposed that I would split the config into 2.
* One pure beagleboard x15 config, using mainline linux/uboot.
* A seperate AM5728evm config, using TI's linux/uboot.
This patch contains the first config.
Theo
Quoted 4 lines · Theo Debrouwere
From: Theo Debrouwere <[email protected]>
This configuration provides a basic setup for using Buildroot to create a sd-card image a BeagleBoard X15 board.
PATCH 1/1 BeagleBoard X15: new board
In reply to Theo DebrouwereQuoted 24 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Theo" == Theo Debrouwere <[email protected]> writes:
From: Theo Debrouwere <[email protected]> This configuration provides a basic setup for using Buildroot to create a sd-card image a BeagleBoard X15 board.
Signed-off-by Theo Debrouwere <[email protected]>--- board/beagleboardx15/genimage.cfg | 26 ++++++++++++++++++++ board/beagleboardx15/post-image.sh | 15 ++++++++++++ board/beagleboardx15/readme.txt | 49 ++++++++++++++++++++++++++++++++++++++ configs/beagleboardx15_defconfig | 23 ++++++++++++++++++ 4 files changed, 113 insertions(+) create mode 100644 board/beagleboardx15/genimage.cfg create mode 100755 board/beagleboardx15/post-image.sh create mode 100644 board/beagleboardx15/readme.txt create mode 100644 configs/beagleboardx15_defconfigboard/beagleboardx15/genimage.cfg new file +0
-0
board/beagleboardx15/genimage.cfg line 5
Quoted 5 lines
board/beagleboardx15/genimage.cfg new file +5
-0@@ -0,0 +1,26 @@ +image boot.vfat { + vfat { + files = { + "MLO", + "u-boot.img"
No dtbs? Does it get them from mmc0:2/boot?
Quoted 9 lines
board/beagleboardx15/genimage.cfg new file +9
-0+ } + } + size = 4M +} + +image sdcard.img { + hdimage { + } +
board/beagleboardx15/genimage.cfg line 24
Quoted 10 lines
board/beagleboardx15/genimage.cfg new file +10
-0+ partition u-boot { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 1G
All our other genimage.cfg files use 512M, so I've changed it to that as well.
Quoted 7 lines
configs/beagleboardx15_defconfig new file +1
-0@@ -0,0 +1,23 @@ +BR2_arm=y
configs/beagleboardx15_defconfig line 11
Quoted 10 lines
configs/beagleboardx15_defconfig new file +10
-0+BR2_cortex_a15=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/beagleboardx15/post-image.sh" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="am57xx-beagle-x15 am57xx-beagle-x15-revb1" +BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_UBOOT=y
You forgot to lock the kernel and u-boot versions for reproducable builds. I've changed it to explicitly select linux 4.9 and u-boot 2016.11 and committed, thanks!
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 BeagleBoard X15: new board
Peter,
Quoted 7 lines
board/beagleboardx15/genimage.cfg line 5
Quoted 5 lines
board/beagleboardx15/genimage.cfg new file +5
-0+image boot.vfat { + vfat { + files = { + "MLO", + "u-boot.img"No dtbs? Does it get them from mmc0:2/boot?
Correct. Kernel & dtb's are located on the second partition.
Quoted 7 lines
board/beagleboardx15/genimage.cfg line 24
Quoted 4 lines
board/beagleboardx15/genimage.cfg new file +4
-0+ partition rootfs { + partition-type = 0x83 + image = "rootfs.ext4" + size = 1GAll our other genimage.cfg files use 512M, so I've changed it to that as well.
Ok. I wasn't aware of this.
Quoted 14 lines
Quoted 14 lines
configs/beagleboardx15_defconfig new file +7
-0@@ -0,0 +1,23 @@ +BR2_arm=y +BR2_cortex_a15=y +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/beagleboardx15/post-image.sh" +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_DEFCONFIG="omap2plus" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="am57xx-beagle-x15 am57xx-beagle-x15-revb1"
Quoted 8 lines
configs/beagleboardx15_defconfig line 11
Quoted 4 lines
configs/beagleboardx15_defconfig new file +4
-0+BR2_LINUX_KERNEL_INSTALL_TARGET=y +BR2_TARGET_ROOTFS_EXT2=y +BR2_TARGET_ROOTFS_EXT2_4=y +BR2_TARGET_UBOOT=yYou forgot to lock the kernel and u-boot versions for reproducable builds. I've changed it to explicitly select linux 4.9 and u-boot 2016.11 and committed, thanks!
Ok.