Message ID | 1391724285-23135-1-git-send-email-thomas.petazzoni@free-electrons.com |
---|---|
State | Accepted |
Commit | 12106fc69ba66c335f7d5f2960c45df8c7c3bffb |
Headers | show |
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes: > From: Spenser Gilliland <spenser@gillilanding.com> > [Thomas: update to recent Buildroot which had renamed several > Config.in options, lock down kernel headers version] > Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Committed, thanks. > +++ b/board/avnet/zedboard/readme.txt > @@ -0,0 +1,13 @@ > +This is the buildroot board support for the Avnet Zedboard. The Zedboard is > +a development board based on the Xilinx Zynq-7000 based All-Programmable > +System-On-Chip. > + > +Zedboard information including schematics, reference designs, and manuals are > +available from http://www.zedboard.org . > + > +To boot the Zedboard using a buildroot generated image copy the following files > +to the sdcard: > + zynq-zed.dtb -> devicetree.dtb > + rootfs.cpio.gz.uboot -> uramdisk.image.gz > + uImage -> uImage What about u-boot? > +# Bootloader > +BR2_TARGET_UBOOT=y > +BR2_TARGET_UBOOT_BOARDNAME="zynq_zed" > +BR2_TARGET_UBOOT_CUSTOM_GIT=y > +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/Xilinx/u-boot-xlnx.git" > +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v14.5" > +BR2_TARGET_UBOOT_FORMAT_ELF=y
On Thu, Feb 6, 2014 at 4:10 PM, Peter Korsgaard <jacmet@uclibc.org> wrote: >>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes: > > > From: Spenser Gilliland <spenser@gillilanding.com> > > [Thomas: update to recent Buildroot which had renamed several > > Config.in options, lock down kernel headers version] > > > Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> > > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> > > Committed, thanks. > > > +++ b/board/avnet/zedboard/readme.txt > > @@ -0,0 +1,13 @@ > > +This is the buildroot board support for the Avnet Zedboard. The Zedboard is > > +a development board based on the Xilinx Zynq-7000 based All-Programmable > > +System-On-Chip. > > + > > +Zedboard information including schematics, reference designs, and manuals are > > +available from http://www.zedboard.org . > > + > > +To boot the Zedboard using a buildroot generated image copy the following files > > +to the sdcard: > > + zynq-zed.dtb -> devicetree.dtb > > + rootfs.cpio.gz.uboot -> uramdisk.image.gz > > + uImage -> uImage > > What about u-boot? Building u-boot for the zed board is not difficult the problem is the convoluted wrapper which requires the XIlinx tools in order to install it. I can add directions to the readme. The basic process is. source <path/to/xilinx/settings.sh> cat <<EOF > boot.bif { [bootloader]<path/to/fsbl.elf> <path/to/system.bit> <path/to/uboot.elf> } bootgen -image boot.bif -o i BOOT.BIN This file then needs to be placed on the SD Card. > > > +# Bootloader > > +BR2_TARGET_UBOOT=y > > +BR2_TARGET_UBOOT_BOARDNAME="zynq_zed" > > +BR2_TARGET_UBOOT_CUSTOM_GIT=y > > +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/Xilinx/u-boot-xlnx.git" > > +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v14.5" > > +BR2_TARGET_UBOOT_FORMAT_ELF=y > > -- > Bye, Peter Korsgaard > _______________________________________________ > buildroot mailing list > buildroot@busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot
Dear Spenser Gilliland, On Thu, 6 Feb 2014 16:28:03 -0600, Spenser Gilliland wrote: > > What about u-boot? > > Building u-boot for the zed board is not difficult the problem is the > convoluted wrapper which requires the XIlinx tools in order to install > it. I can add directions to the readme. > > The basic process is. > > source <path/to/xilinx/settings.sh> > cat <<EOF > boot.bif > { > [bootloader]<path/to/fsbl.elf> > <path/to/system.bit> > <path/to/uboot.elf> > } > bootgen -image boot.bif -o i BOOT.BIN > > This file then needs to be placed on the SD Card. Since we're building u-boot, I believe it makes sense to indicate in the README how to use it. Could you send a followup patch, now that the initial board support has been merged? Thanks! Thomas
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes: >> This file then needs to be placed on the SD Card. > Since we're building u-boot, I believe it makes sense to indicate in > the README how to use it. Could you send a followup patch, now that the > initial board support has been merged? Just what I was going to suggest - Thanks!
diff --git a/board/avnet/zedboard/readme.txt b/board/avnet/zedboard/readme.txt new file mode 100644 index 0000000..b869066 --- /dev/null +++ b/board/avnet/zedboard/readme.txt @@ -0,0 +1,13 @@ +This is the buildroot board support for the Avnet Zedboard. The Zedboard is +a development board based on the Xilinx Zynq-7000 based All-Programmable +System-On-Chip. + +Zedboard information including schematics, reference designs, and manuals are +available from http://www.zedboard.org . + +To boot the Zedboard using a buildroot generated image copy the following files +to the sdcard: + zynq-zed.dtb -> devicetree.dtb + rootfs.cpio.gz.uboot -> uramdisk.image.gz + uImage -> uImage + diff --git a/configs/zedboard_defconfig b/configs/zedboard_defconfig new file mode 100644 index 0000000..2a67fdd --- /dev/null +++ b/configs/zedboard_defconfig @@ -0,0 +1,32 @@ +BR2_arm=y +BR2_cortex_a9=y +BR2_ARM_ENABLE_NEON=y + +# Lock to 3.8 headers as the kernel is based off 3.8 +BR2_KERNEL_HEADERS_VERSION=y +BR2_DEFAULT_KERNEL_VERSION="3.8" + +BR2_TARGET_GENERIC_GETTY_PORT="ttyPS0" + +# Kernel +BR2_LINUX_KERNEL=y +BR2_LINUX_KERNEL_CUSTOM_GIT=y +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://github.com/Xilinx/linux-xlnx.git" +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="xilinx-v14.5" +BR2_LINUX_KERNEL_DEFCONFIG="xilinx_zynq" +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x8000" +BR2_LINUX_KERNEL_DTS_SUPPORT=y +BR2_LINUX_KERNEL_INTREE_DTS_NAME="zynq-zed" + +# Root filesystem +BR2_TARGET_ROOTFS_CPIO=y +BR2_TARGET_ROOTFS_CPIO_GZIP=y +BR2_TARGET_ROOTFS_CPIO_UIMAGE=y + +# Bootloader +BR2_TARGET_UBOOT=y +BR2_TARGET_UBOOT_BOARDNAME="zynq_zed" +BR2_TARGET_UBOOT_CUSTOM_GIT=y +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://github.com/Xilinx/u-boot-xlnx.git" +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="xilinx-v14.5" +BR2_TARGET_UBOOT_FORMAT_ELF=y