diff options
author | Tim Sander <tim01@vlsi.informatik.tu-darmstadt.de> | 2010-03-04 00:27:45 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-03-13 23:44:50 +0100 |
commit | 6d5f138ca95b0ee76297bd2c511e76c2e65cacf4 (patch) | |
tree | b92da99c82dc162b468350eda3d301337996e9eb /platforms | |
parent | 00e8c1233a3e25de74001cb73e397f27b63f9059 (diff) | |
download | ptxdist-6d5f138ca95b0ee76297bd2c511e76c2e65cacf4.tar.gz ptxdist-6d5f138ca95b0ee76297bd2c511e76c2e65cacf4.tar.xz |
[kernel] simpleImage Linux plattform support
Here's another patch for ptxdist which
adds support for "simpleImages" as a possible build target.
I'm using it for the Xilinx XUP board together with the previously
posted toolchain description.
The config options where partially taken from:
http://www.aclevername.com/articles/linux-xilinx-tutorial/building-linux.html
Signed-off-by: Tim Sander <tim01@vlsi.informatik.tu-darmstadt.de>
[mkl: ported to mainline]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/kernel.in | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/platforms/kernel.in b/platforms/kernel.in index f681589cb..423fedb8e 100644 --- a/platforms/kernel.in +++ b/platforms/kernel.in @@ -141,8 +141,38 @@ choice help This is the target to get the kernel image as an raw uncompressed binary file. + config KERNEL_IMAGE_SIMPLE + bool + prompt "simpleImage" + help + Create a simple Image with embedded DTB endchoice +if KERNEL_IMAGE_SIMPLE + +config KERNEL_IMAGE_SIMPLE_TARGET + prompt "name of simple image" + string + default "virtex405-xup" + help + Name of created simple kernel image e.g. + the "virtex405-xup" of "simpleImage.virtex405-xup.elf" + +config KERNEL_IMAGE_SIMPLE_DTS + prompt "path to DTS file" + string + default "${PTXDIST_PLATFORMCONFIGDIR}/simpleImage.dts" + help + This specifies the "dts" file used to create your simple + image. + + The default is "${PTXDIST_PLATFORMCONFIGDIR}/simpleImage.dts" + + The path "${PTXDIST_PLATFORMCONFIGDIR}" is the directory + where your platformconfig file is located. + +endif + config KERNEL_IMAGE string default "bzImage" if KERNEL_IMAGE_BZ @@ -151,7 +181,7 @@ config KERNEL_IMAGE default "vmImage" if KERNEL_IMAGE_VM default "vmlinux" if KERNEL_IMAGE_VMLINUX default "Image" if KERNEL_IMAGE_RAW - + default "simpleImage.${PTXCONF_KERNEL_IMAGE_SIMPLE_TARGET}.elf" if KERNEL_IMAGE_SIMPLE config KERNEL_XZ prompt "build xz-utils hosttool" |