Skip to content

Commit 51bc99a

Browse files
Spenser309tpetazzoni
authored andcommitted
configs: bump zedboard to 2014.1
Bump zedboard defconfig to version 2014.1. This makes it possible to use uboot-spl instead of the xilinx specific fsbl. However, the result is kinda hacky due to the licensing state of ps7_init.{c,h} needed for building uboot spl. Directions for building a proper boot.bin using the new methodolgy is included in the readme.txt. Signed-off-by: Spenser Gilliland <[email protected]> Signed-off-by: Thomas Petazzoni <[email protected]>
1 parent feacc29 commit 51bc99a

File tree

2 files changed

+19
-24
lines changed

2 files changed

+19
-24
lines changed

board/avnet/zedboard/readme.txt

+14-12
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,21 @@ to the sdcard:
1010
zynq-zed.dtb -> devicetree.dtb
1111
rootfs.cpio.gz.uboot -> uramdisk.image.gz
1212
uImage -> uImage
13+
boot.bin -> boot.bin
1314

14-
Uboot Support
15+
U-Boot SPL Support
1516
-------------
1617

17-
Uboot is installed in a wrapper file called BOOT.BIN located on the root of
18-
the SD card. To create the BOOT.BIN file do the following.
18+
Due to licensing issues, the files ps7_init.c/h are not able to be
19+
distributed with the U-Boot source code. These files are required to make a
20+
boot.bin file.
21+
22+
If you already have the Xilinx tools installed, the follwing sequence will
23+
unpack, patch and build the rfs, kernel, uboot, and uboot-spl.
24+
25+
make zedboard_defconfig
26+
make uboot-patch
27+
cp ${XILINX}/ISE_DS/EDK/sw/lib/hwplatform_templates/zed_hw_platform/ps7_init.{c,h} \
28+
output/build/uboot-xilinx-v2014.1/boards/xilinx/zynq/
29+
make
1930

20-
source <path/to/xilinx/settings.sh>
21-
cat <<EOF > boot.bif
22-
{
23-
[bootloader]<path/to/fsbl.elf>
24-
<path/to/system.bit>
25-
<path/to/uboot.elf>
26-
}
27-
EOF
28-
bootgen -image boot.bif -o i BOOT.BIN

configs/zedboard_defconfig

+5-12
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,26 @@
11
BR2_arm=y
22
BR2_cortex_a9=y
33
BR2_ARM_ENABLE_NEON=y
4-
5-
# Lock to 3.8 headers as the kernel is based off 3.8
64
BR2_KERNEL_HEADERS_VERSION=y
75
BR2_DEFAULT_KERNEL_VERSION="3.8"
86
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_8=y
9-
107
BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0"
11-
12-
# Kernel
138
BR2_LINUX_KERNEL=y
149
BR2_LINUX_KERNEL_CUSTOM_GIT=y
1510
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://github.com/Xilinx/linux-xlnx.git"
16-
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v14.5"
11+
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v2014.1"
1712
BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq"
1813
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000"
1914
BR2_LINUX_KERNEL_DTS_SUPPORT=y
2015
BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zed"
21-
22-
# Root filesystem
2316
BR2_TARGET_ROOTFS_CPIO=y
2417
BR2_TARGET_ROOTFS_CPIO_GZIP=y
2518
BR2_TARGET_ROOTFS_CPIO_UIMAGE=y
26-
27-
# Bootloader
2819
BR2_TARGET_UBOOT=y
2920
BR2_TARGET_UBOOT_BOARDNAME="zynq_zed"
3021
BR2_TARGET_UBOOT_CUSTOM_GIT=y
3122
BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/Xilinx/u-boot-xlnx.git"
32-
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v14.5"
33-
BR2_TARGET_UBOOT_FORMAT_ELF=y
23+
BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v2014.1"
24+
BR2_TARGET_UBOOT_FORMAT_IMG=y
25+
BR2_TARGET_UBOOT_SPL=y
26+
BR2_TARGET_UBOOT_SPL_NAME="boot.bin"

0 commit comments

Comments
 (0)