diff options
56 files changed, 2904 insertions, 1 deletions
@@ -1 +1,4 @@ -/platformconfig.old +/platform-energymicro-efm32gg-dk3750 +/selected_platformconfig +/selected_ptxconfig +/selected_toolchain @@ -0,0 +1,78 @@ +build instructions +================== + +install board firmware +---------------------- + +The only board firmware currently known to support ethernet is version +0v9p9b909 available from: + + http://forum.energymicro.com/topic/151-dk3550-dk3650-dk3750-firmware-099-beta/ + +The newer firmware 0v9p10b929 does not work. + +install toolchain +----------------- + +This BSP is created for OSELAS.Toolchain-2012.12. You can build it +yourself using the following commands: + + wget http://www.pengutronix.de/oselas/toolchain/download/OSELAS.Toolchain-2012.12.0.tar.bz2 + wget http://www.ptxdist.org/software/ptxdist/download/ptxdist-2012.12.0.tar.bz2 + +Then install ptxdist: + + tar xjf ptxdist-2012.12.0.tar.bz2 + cd ptxdist-2012.12.0 + ./configure + +if ptxdist is missing some packages on your system, install them and restart configure + + make + sudo make install + +This installs ptxdist to /usr/local. + +For building the toolchain, fakeroot is needed: + + sudo apt-get install fakeroot + +Then build the toolchain + + tar xf OSELAS.Toolchain-2012.12.0.tar.bz2 + cd OSELAS.Toolchain-2012.12.0 + ln -sf /usr/local/bin/ptxdist-2012.12.0 p + ./p select ptxconfigs/arm-cortexm3-uclinuxeabi_gcc-4.7.2_uclibc-0.9.33.2_binutils-2.22_kernel-3.6-sanitized.ptxconfig + ./p go + +Now go and get you a cup of coffee. + +install ptxdist 2013.01.0 +------------------------- + + wget http://ptxdist.de/software/ptxdist/download/ptxdist-2013.01.0.tar.bz2 + tar xjf ptxdist-2013.01.0.tar.bz2 + cd ptxdist-2013.01.0 + ./configure && make + sudo make install + +building +-------- + + cd /path/to/OSELAS.BSP-EnergyMicro-Gecko + ln -s /usr/local/bin/ptxdist-2013.01.0 p + ./p select configs/ptxconfig + ./p platform configs/platform-energymicro-efm32gg-dk3750/platformconfig + ./p toolchain /opt/OSELAS.Toolchain-2012.12.0/arm-cortexm3-uclinuxeabi/gcc-4.7.2-uclibc-0.9.33.2-binutils-2.22-kernel-3.6-sanitized/bin + ./p images + + This takes some time now. After ptxdist completed and you plugged your Gecko + board to your maschine, first make sure that the debug mode is set to "MCU". + (Press the "CFG" button under the display, then select "MCU" for "Debug + Control" and save.) Then you can do + + ./p test flash + + to write the built images into the Gecko's flash and boot into Linux. + Note that this uses Energymicro's eACommander which needs 32-bit Qt + installed. diff --git a/configs/.gitignore b/configs/.gitignore new file mode 100644 index 0000000..852c0ab --- /dev/null +++ b/configs/.gitignore @@ -0,0 +1 @@ +/ptxconfig.old diff --git a/configs/platform-energymicro-efm32gg-dk3750/.gitignore b/configs/platform-energymicro-efm32gg-dk3750/.gitignore new file mode 100644 index 0000000..a8415dd --- /dev/null +++ b/configs/platform-energymicro-efm32gg-dk3750/.gitignore @@ -0,0 +1 @@ +/platformconfig.old diff --git a/kernelconfig-3.12-rc4 b/configs/platform-energymicro-efm32gg-dk3750/kernelconfig-3.12-rc4 index 1bd5889..1bd5889 100644 --- a/kernelconfig-3.12-rc4 +++ b/configs/platform-energymicro-efm32gg-dk3750/kernelconfig-3.12-rc4 diff --git a/patches/energyAwareTools_25052012/fix-for-ptxdist.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/energyAwareTools_25052012/fix-for-ptxdist.patch index a0bb4b1..a0bb4b1 100644 --- a/patches/energyAwareTools_25052012/fix-for-ptxdist.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/energyAwareTools_25052012/fix-for-ptxdist.patch diff --git a/patches/energyAwareTools_25052012/series b/configs/platform-energymicro-efm32gg-dk3750/patches/energyAwareTools_25052012/series index 64fb196..64fb196 100644 --- a/patches/energyAwareTools_25052012/series +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/energyAwareTools_25052012/series diff --git a/patches/linux-3.12-rc4/0001-ARM-v7-M-drop-using-mach-entry-macro.S.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0001-ARM-v7-M-drop-using-mach-entry-macro.S.patch index b52a045..b52a045 100644 --- a/patches/linux-3.12-rc4/0001-ARM-v7-M-drop-using-mach-entry-macro.S.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0001-ARM-v7-M-drop-using-mach-entry-macro.S.patch diff --git a/patches/linux-3.12-rc4/0002-ARM-deprecate-mach-timex.h-for-ARCH_MULTIPLATFORM.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0002-ARM-deprecate-mach-timex.h-for-ARCH_MULTIPLATFORM.patch index 3f6d54b..3f6d54b 100644 --- a/patches/linux-3.12-rc4/0002-ARM-deprecate-mach-timex.h-for-ARCH_MULTIPLATFORM.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0002-ARM-deprecate-mach-timex.h-for-ARCH_MULTIPLATFORM.patch diff --git a/patches/linux-3.12-rc4/0003-ARM-make-mach-xyz-Makefile.boot-optional-for-ARCH_MU.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0003-ARM-make-mach-xyz-Makefile.boot-optional-for-ARCH_MU.patch index 7112f22..7112f22 100644 --- a/patches/linux-3.12-rc4/0003-ARM-make-mach-xyz-Makefile.boot-optional-for-ARCH_MU.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0003-ARM-make-mach-xyz-Makefile.boot-optional-for-ARCH_MU.patch diff --git a/patches/linux-3.12-rc4/0004-ARM-new-platform-for-Energy-Micro-s-EFM32-Cortex-M3-.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0004-ARM-new-platform-for-Energy-Micro-s-EFM32-Cortex-M3-.patch index 762a3c1..762a3c1 100644 --- a/patches/linux-3.12-rc4/0004-ARM-new-platform-for-Energy-Micro-s-EFM32-Cortex-M3-.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0004-ARM-new-platform-for-Energy-Micro-s-EFM32-Cortex-M3-.patch diff --git a/patches/linux-3.12-rc4/0005-ARM-call-of_clk_init-from-default-time_init-handler.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0005-ARM-call-of_clk_init-from-default-time_init-handler.patch index a02a493..a02a493 100644 --- a/patches/linux-3.12-rc4/0005-ARM-call-of_clk_init-from-default-time_init-handler.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0005-ARM-call-of_clk_init-from-default-time_init-handler.patch diff --git a/patches/linux-3.12-rc4/0006-ARM-DEBUG_LL-on-efm32-SoCs.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0006-ARM-DEBUG_LL-on-efm32-SoCs.patch index 142cb90..142cb90 100644 --- a/patches/linux-3.12-rc4/0006-ARM-DEBUG_LL-on-efm32-SoCs.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0006-ARM-DEBUG_LL-on-efm32-SoCs.patch diff --git a/patches/linux-3.12-rc4/0007-spi-efm32-drop-unused-struct-and-fix-size-check.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0007-spi-efm32-drop-unused-struct-and-fix-size-check.patch index 7a0cc07..7a0cc07 100644 --- a/patches/linux-3.12-rc4/0007-spi-efm32-drop-unused-struct-and-fix-size-check.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0007-spi-efm32-drop-unused-struct-and-fix-size-check.patch diff --git a/patches/linux-3.12-rc4/0008-ARM-drop-ARCH_MULTIPLATFORM-dependency-of-XIP_KERNEL.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0008-ARM-drop-ARCH_MULTIPLATFORM-dependency-of-XIP_KERNEL.patch index 8461305..8461305 100644 --- a/patches/linux-3.12-rc4/0008-ARM-drop-ARCH_MULTIPLATFORM-dependency-of-XIP_KERNEL.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0008-ARM-drop-ARCH_MULTIPLATFORM-dependency-of-XIP_KERNEL.patch diff --git a/patches/linux-3.12-rc4/0009-ARM-allow-MULTIPLATFORM-on-no-MMU-machines.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0009-ARM-allow-MULTIPLATFORM-on-no-MMU-machines.patch index 064332b..064332b 100644 --- a/patches/linux-3.12-rc4/0009-ARM-allow-MULTIPLATFORM-on-no-MMU-machines.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0009-ARM-allow-MULTIPLATFORM-on-no-MMU-machines.patch diff --git a/patches/linux-3.12-rc4/0010-RFC-ARM-prepare-ARMv7-M-for-MULTIPLATFORM-use.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0010-RFC-ARM-prepare-ARMv7-M-for-MULTIPLATFORM-use.patch index c90155e..c90155e 100644 --- a/patches/linux-3.12-rc4/0010-RFC-ARM-prepare-ARMv7-M-for-MULTIPLATFORM-use.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0010-RFC-ARM-prepare-ARMv7-M-for-MULTIPLATFORM-use.patch diff --git a/patches/linux-3.12-rc4/0011-clocksource-Provide-timekeeping-for-efm32-SoCs.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0011-clocksource-Provide-timekeeping-for-efm32-SoCs.patch index 49a9d7e..49a9d7e 100644 --- a/patches/linux-3.12-rc4/0011-clocksource-Provide-timekeeping-for-efm32-SoCs.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0011-clocksource-Provide-timekeeping-for-efm32-SoCs.patch diff --git a/patches/linux-3.12-rc4/0012-clk-new-driver-for-efm32-SoC.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0012-clk-new-driver-for-efm32-SoC.patch index 8fef20e..8fef20e 100644 --- a/patches/linux-3.12-rc4/0012-clk-new-driver-for-efm32-SoC.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0012-clk-new-driver-for-efm32-SoC.patch diff --git a/patches/linux-3.12-rc4/0013-ARM-device-trees-for-Energy-Micro-s-EFM32-Cortex-M3-.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0013-ARM-device-trees-for-Energy-Micro-s-EFM32-Cortex-M3-.patch index 5dd2036..5dd2036 100644 --- a/patches/linux-3.12-rc4/0013-ARM-device-trees-for-Energy-Micro-s-EFM32-Cortex-M3-.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0013-ARM-device-trees-for-Energy-Micro-s-EFM32-Cortex-M3-.patch diff --git a/patches/linux-3.12-rc4/0014-ARM-efm32-some-more-stuff.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0014-ARM-efm32-some-more-stuff.patch index c6cd381..c6cd381 100644 --- a/patches/linux-3.12-rc4/0014-ARM-efm32-some-more-stuff.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0014-ARM-efm32-some-more-stuff.patch diff --git a/patches/linux-3.12-rc4/0015-gpio-new-driver-for-Energy-Micro-s-GPIO-component.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0015-gpio-new-driver-for-Energy-Micro-s-GPIO-component.patch index a33add0..a33add0 100644 --- a/patches/linux-3.12-rc4/0015-gpio-new-driver-for-Energy-Micro-s-GPIO-component.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0015-gpio-new-driver-for-Energy-Micro-s-GPIO-component.patch diff --git a/patches/linux-3.12-rc4/0016-efm-board-controller-driver.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0016-efm-board-controller-driver.patch index 3aded06..3aded06 100644 --- a/patches/linux-3.12-rc4/0016-efm-board-controller-driver.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0016-efm-board-controller-driver.patch diff --git a/patches/linux-3.12-rc4/0017-hwmon-efm32-adc-new-driver.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0017-hwmon-efm32-adc-new-driver.patch index 0e7b231..0e7b231 100644 --- a/patches/linux-3.12-rc4/0017-hwmon-efm32-adc-new-driver.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0017-hwmon-efm32-adc-new-driver.patch diff --git a/patches/linux-3.12-rc4/0018-ARM-v7m-add-trivial-suspend-support.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0018-ARM-v7m-add-trivial-suspend-support.patch index 0ad4b16..0ad4b16 100644 --- a/patches/linux-3.12-rc4/0018-ARM-v7m-add-trivial-suspend-support.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0018-ARM-v7m-add-trivial-suspend-support.patch diff --git a/patches/linux-3.12-rc4/0019-ARM-efm32-add-trivial-suspend-support.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0019-ARM-efm32-add-trivial-suspend-support.patch index 89f91da..89f91da 100644 --- a/patches/linux-3.12-rc4/0019-ARM-efm32-add-trivial-suspend-support.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0019-ARM-efm32-add-trivial-suspend-support.patch diff --git a/patches/linux-3.12-rc4/0020-ARM-efm32gg-dk3750-add-simple-framebuffer.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0020-ARM-efm32gg-dk3750-add-simple-framebuffer.patch index a713354..a713354 100644 --- a/patches/linux-3.12-rc4/0020-ARM-efm32gg-dk3750-add-simple-framebuffer.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0020-ARM-efm32gg-dk3750-add-simple-framebuffer.patch diff --git a/patches/linux-3.12-rc4/0021-HACK-ARM-allow-a-bootloader-to-be-embedded-and-do-it.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0021-HACK-ARM-allow-a-bootloader-to-be-embedded-and-do-it.patch index a7366a3..a7366a3 100644 --- a/patches/linux-3.12-rc4/0021-HACK-ARM-allow-a-bootloader-to-be-embedded-and-do-it.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0021-HACK-ARM-allow-a-bootloader-to-be-embedded-and-do-it.patch diff --git a/patches/linux-3.12-rc4/0022-HACK-don-t-reserve-memory-for-device-tree-if-it-s-be.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0022-HACK-don-t-reserve-memory-for-device-tree-if-it-s-be.patch index 3106b9c..3106b9c 100644 --- a/patches/linux-3.12-rc4/0022-HACK-don-t-reserve-memory-for-device-tree-if-it-s-be.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0022-HACK-don-t-reserve-memory-for-device-tree-if-it-s-be.patch diff --git a/patches/linux-3.12-rc4/0023-HACK-make-stack-dumps-provoked-by-BUG-a-bit-more-hel.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0023-HACK-make-stack-dumps-provoked-by-BUG-a-bit-more-hel.patch index 1b4874b..1b4874b 100644 --- a/patches/linux-3.12-rc4/0023-HACK-make-stack-dumps-provoked-by-BUG-a-bit-more-hel.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0023-HACK-make-stack-dumps-provoked-by-BUG-a-bit-more-hel.patch diff --git a/patches/linux-3.12-rc4/0024-HACK-ARM-increase-TASK_SIZE-for-MMU.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0024-HACK-ARM-increase-TASK_SIZE-for-MMU.patch index 123c76a..123c76a 100644 --- a/patches/linux-3.12-rc4/0024-HACK-ARM-increase-TASK_SIZE-for-MMU.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0024-HACK-ARM-increase-TASK_SIZE-for-MMU.patch diff --git a/patches/linux-3.12-rc4/0025-HACK-work-around-for-big-images.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0025-HACK-work-around-for-big-images.patch index 87266ef..87266ef 100644 --- a/patches/linux-3.12-rc4/0025-HACK-work-around-for-big-images.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0025-HACK-work-around-for-big-images.patch diff --git a/patches/linux-3.12-rc4/0026-HACK-make-printhex-and-printch-work-on-efm32-with-XI.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0026-HACK-make-printhex-and-printch-work-on-efm32-with-XI.patch index f00e428..f00e428 100644 --- a/patches/linux-3.12-rc4/0026-HACK-make-printhex-and-printch-work-on-efm32-with-XI.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0026-HACK-make-printhex-and-printch-work-on-efm32-with-XI.patch diff --git a/patches/linux-3.12-rc4/0027-wip-i2c.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0027-wip-i2c.patch index 90cea51..90cea51 100644 --- a/patches/linux-3.12-rc4/0027-wip-i2c.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0027-wip-i2c.patch diff --git a/patches/linux-3.12-rc4/0028-RFC-framebuffer-provide-generic-get_fb_unmapped_area.patch b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0028-RFC-framebuffer-provide-generic-get_fb_unmapped_area.patch index cebdc48..cebdc48 100644 --- a/patches/linux-3.12-rc4/0028-RFC-framebuffer-provide-generic-get_fb_unmapped_area.patch +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/0028-RFC-framebuffer-provide-generic-get_fb_unmapped_area.patch diff --git a/patches/linux-3.12-rc4/series b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/series index 69b5736..69b5736 100644 --- a/patches/linux-3.12-rc4/series +++ b/configs/platform-energymicro-efm32gg-dk3750/patches/linux-3.12-rc4/series diff --git a/platformconfig b/configs/platform-energymicro-efm32gg-dk3750/platformconfig index 1347a11..1347a11 100644 --- a/platformconfig +++ b/configs/platform-energymicro-efm32gg-dk3750/platformconfig diff --git a/configs/ptxconfig b/configs/ptxconfig new file mode 100644 index 0000000..bd94e56 --- /dev/null +++ b/configs/ptxconfig @@ -0,0 +1,1519 @@ +# +# Automatically generated file; DO NOT EDIT. +# PTXdist 2013.07.1 +# +PTXCONF_MODULES=y +PTXCONF_GECKOBOOT=y +PTXCONF_HOST_ENERGYAWARETOOLS=y +PTXCONF_INIT=y + +# +# ------------------------------------ +# + +# +# Project Name & Version +# + +# +# Project Name & Version +# +PTXCONF_PROJECT_VENDOR="EnergyMicro" +PTXCONF_PROJECT="Gecko" +PTXCONF_PROJECT_VERSION="-2012.10.0+" + +# +# ------------------------------------ +# +PTXCONF_PROJECT_BUILD_DEVEL=y +# PTXCONF_PROJECT_BUILD_PRODUCTION is not set + +# +# ------------------------------------ +# +# PTXCONF_PROJECT_USE_PRODUCTION is not set +# PTXCONF_PROJECT_USE_LOCAL_PLATFORM is not set +# PTXCONF_PROJECT_CREATE_DEVPKGS is not set +# PTXCONF_PROJECT_USE_DEVPKGS is not set +PTXCONF_RUNTIME=y +PTXCONF_BUILDTIME=y +PTXCONF_CONFIGFILE_VERSION="2013.07.1" +PTXCONF__ptxconfig_MAGIC__=y + +# +# --------- Host Options ------------- +# + +# +# PTXdist Options +# +# PTXCONF_ALLYES is not set +# PTXCONF_BROKEN is not set +PTXCONF_FIX_PERMISSIONS=y + +# +# Host Tools +# +PTXCONF_HOST_PACKAGE_MANAGEMENT_IPKG=y +# PTXCONF_HOST_PACKAGE_MANAGEMENT_OPKG is not set +PTXCONF_HOST_PACKAGE_MANAGEMENT="ipkg" +# PTXCONF_HOST_QEMU is not set +# PTXCONF_HOST_TESTFRAMEWORK is not set +PTXCONF_HOST_ACL=y +# PTXCONF_HOST_APACHE2 is not set +# PTXCONF_HOST_APR_UTIL is not set +# PTXCONF_HOST_APR is not set +PTXCONF_HOST_ATTR=y +PTXCONF_HOST_AUTOTOOLS_AUTOCONF=y +PTXCONF_HOST_AUTOTOOLS_AUTOMAKE=y +PTXCONF_HOST_AUTOTOOLS_LIBTOOL=y +# PTXCONF_HOST_BZIP2 is not set +# PTXCONF_HOST_CDRKIT is not set +# PTXCONF_HOST_CHECKPOLICY is not set +# PTXCONF_HOST_CHRPATH is not set +# PTXCONF_HOST_CKERMIT is not set +# PTXCONF_HOST_CMAKE is not set +# PTXCONF_HOST_CRAMFS is not set +# PTXCONF_HOST_DBUS_GLIB is not set +# PTXCONF_HOST_DBUS is not set +# PTXCONF_HOST_DIRECTFB is not set +# PTXCONF_HOST_DOSFSTOOLS is not set +# PTXCONF_HOST_E2FSPROGS is not set +# PTXCONF_HOST_EGGDBUS is not set +PTXCONF_HOST_ELF_H_COMPAT=y +# PTXCONF_HOST_EXPAT is not set +PTXCONF_HOST_FAKEROOT=y +PTXCONF_HOST_FIGLET=y +# PTXCONF_HOST_FLEX is not set +# PTXCONF_HOST_FONTCONFIG is not set +# PTXCONF_HOST_FREETYPE is not set +# PTXCONF_HOST_GENEXT2FS is not set +# PTXCONF_HOST_GENIMAGE is not set +# PTXCONF_HOST_GENPART is not set +# PTXCONF_HOST_GETTEXT_DUMMY is not set +# PTXCONF_HOST_GETTEXT is not set +# PTXCONF_HOST_GPERF is not set +# PTXCONF_HOST_ICU is not set +# PTXCONF_HOST_INTLTOOL is not set +PTXCONF_HOST_IPKG_UTILS=y +PTXCONF_HOST_IPKG=y +# PTXCONF_HOST_LIBBLKID is not set +# PTXCONF_HOST_LIBCAP_NG is not set +# PTXCONF_HOST_LIBCAP is not set +# PTXCONF_HOST_LIBCGROUP is not set +# PTXCONF_HOST_LIBCONFUSE is not set +# PTXCONF_HOST_LIBGD is not set +# PTXCONF_HOST_LIBICONV is not set +# PTXCONF_HOST_LIBLZO is not set +# PTXCONF_HOST_LIBPCRE is not set +# PTXCONF_HOST_LIBPNG is not set +# PTXCONF_HOST_LIBPTHREAD_STUBS is not set +# PTXCONF_HOST_LIBSELINUX is not set +# PTXCONF_HOST_LIBSEMANAGE is not set +# PTXCONF_HOST_LIBSEPOL is not set +# PTXCONF_HOST_LIBSIGCPP is not set +# PTXCONF_HOST_LIBUSB is not set +# PTXCONF_HOST_LIBUUID is not set +# PTXCONF_HOST_LIBXCB is not set +# PTXCONF_HOST_LIBXML2 is not set +# PTXCONF_HOST_LIBXSLT is not set +PTXCONF_HOST_LNDIR=y +# PTXCONF_HOST_LOCALEDEF is not set +# PTXCONF_HOST_LRZSZ is not set +# PTXCONF_HOST_LZOP is not set +# PTXCONF_HOST_MAKEDEPEND is not set +# PTXCONF_HOST_MKELFIMAGE is not set +# PTXCONF_HOST_MTD_UTILS is not set +# PTXCONF_HOST_MTOOLS is not set +# PTXCONF_HOST_MYSQL is not set +# PTXCONF_HOST_NCURSES is not set +# PTXCONF_HOST_OPENSSL is not set +# PTXCONF_HOST_OPKG_UTILS is not set +# PTXCONF_HOST_OPKG is not set +PTXCONF_HOST_PKG_CONFIG=y +# PTXCONF_HOST_POLICYCOREUTILS is not set +# PTXCONF_HOST_QOOXDOO is not set +# PTXCONF_HOST_QT4 is not set +# PTXCONF_HOST_SQUASHFS_TOOLS is not set +# PTXCONF_HOST_SWIG is not set +PTXCONF_HOST_SYSTEM_PERL=y +# PTXCONF_HOST_TIMEOUT is not set +# PTXCONF_HOST_U_BOOT_TOOLS is not set +PTXCONF_HOST_UNFS3=y +# PTXCONF_HOST_USPLASH is not set +# PTXCONF_HOST_USTR is not set +# PTXCONF_HOST_UTIL_LINUX_NG is not set +# PTXCONF_HOST_XCB_PROTO is not set +# PTXCONF_HOST_XL_TOOLS is not set +# PTXCONF_HOST_XORG_APP_BDFTOPCF is not set +# PTXCONF_HOST_XORG_APP_MKFONTDIR is not set +# PTXCONF_HOST_XORG_APP_MKFONTSCALE is not set +# PTXCONF_HOST_XORG_APP_XKBCOMP is not set +# PTXCONF_HOST_XORG_FONT_UTIL is not set +# PTXCONF_HOST_XORG_LIB_X11 is not set +# PTXCONF_HOST_XORG_LIB_XAU is not set +# PTXCONF_HOST_XORG_LIB_XFONT is not set +# PTXCONF_HOST_XORG_LIB_FONTENC is not set +# PTXCONF_HOST_XORG_LIB_XKBFILE is not set +# PTXCONF_HOST_XORG_LIB_XTRANS is not set +# PTXCONF_HOST_XORG_PROTO_BIGREQS is not set +# PTXCONF_HOST_XORG_PROTO_FONTS is not set +# PTXCONF_HOST_XORG_PROTO_INPUT is not set +# PTXCONF_HOST_XORG_PROTO_KB is not set +PTXCONF_HOST_XORG_PROTO_X=y +# PTXCONF_HOST_XORG_PROTO_XCMISC is not set +# PTXCONF_HOST_XORG_PROTO_XEXT is not set +# PTXCONF_HOST_XORG_SERVER is not set +# PTXCONF_HOST_XORG_UTIL_MACROS is not set +# PTXCONF_HOST_XZ is not set +# PTXCONF_HOST_YASM is not set +# PTXCONF_HOST_ZLIB is not set + +# +# Cross Tools +# +PTXCONF_CROSS_DUMMY_STRIP=y +PTXCONF_CROSS_PKG_CONFIG_WRAPPER=y + +# +# Debug Tools +# +# PTXCONF_BINUTILS is not set +# PTXCONF_BOOTCHART is not set +# PTXCONF_CPPUNIT is not set +# PTXCONF_CROSS_INSIGHT is not set +# PTXCONF_FAILMALLOC is not set + +# +# gdb +# +# PTXCONF_GDB is not set +# PTXCONF_GDBSERVER is not set +# PTXCONF_LDD is not set +# PTXCONF_LTRACE is not set +# PTXCONF_LTT_CONTROL is not set +# PTXCONF_MEMTEST is not set +# PTXCONF_MEMTEST86P is not set +# PTXCONF_MEMTESTER is not set +# PTXCONF_OPROFILE is not set +# PTXCONF_POWERTOP is not set +# PTXCONF_PRELINK is not set +# PTXCONF_RRDTOOL is not set +# PTXCONF_RTPS is not set +# PTXCONF_SP_OOPS_EXTRACT is not set +# PTXCONF_STRACE is not set +# PTXCONF_SYSSTAT is not set +# PTXCONF_TRACE_CMD is not set +# PTXCONF_VALGRIND is not set + +# +# ------------------------------------ +# + +# +# Root Filesystem +# +# PTXCONF_FAKE_OVERLAYFS is not set +# PTXCONF_INITMETHOD is not set +PTXCONF_OS_RELEASE=y + +# +# directories in rootfs +# +PTXCONF_ROOTFS=y +PTXCONF_ROOTFS_DEV=y +PTXCONF_ROOTFS_DEV_INITIAL=y +# PTXCONF_ROOTFS_HOME is not set +PTXCONF_ROOTFS_HOME_ROOT=y +# PTXCONF_ROOTFS_MEDIA is not set +# PTXCONF_ROOTFS_MNT is not set +PTXCONF_ROOTFS_PROC=y +# PTXCONF_ROOTFS_RUN is not set +PTXCONF_ROOTFS_SYS=y +PTXCONF_ROOTFS_TMP=y +# PTXCONF_ROOTFS_VAR is not set + +# +# files in rootfs +# +# PTXCONF_ROOTFS_PASSWD is not set +# PTXCONF_ROOTFS_SHADOW is not set +# PTXCONF_ROOTFS_GROUP is not set +# PTXCONF_ROOTFS_GSHADOW is not set +# PTXCONF_ROOTFS_FSTAB is not set +# PTXCONF_ROOTFS_MTAB_FILE is not set +# PTXCONF_ROOTFS_MTAB_LINK_MOUNTS is not set +PTXCONF_ROOTFS_MTAB_LINK_SELF_MOUNTS=y +# PTXCONF_ROOTFS_MTAB_LINK_VAR is not set +# PTXCONF_ROOTFS_HOSTNAME is not set +# PTXCONF_ROOTFS_HOSTS is not set +PTXCONF_ROOTFS_ISSUE=y +# PTXCONF_ROOTFS_MODPROBE_CONF is not set +# PTXCONF_ROOTFS_NSSWITCH_CONF is not set +# PTXCONF_ROOTFS_PROFILE is not set +# PTXCONF_ROOTFS_PROTOCOLS is not set +# PTXCONF_ROOTFS_RESOLV_FILE is not set +# PTXCONF_ROOTFS_RESOLV_LINK is not set +# PTXCONF_ROOTFS_RESOLV_RUN is not set +PTXCONF_ROOTFS_RESOLV_NONE=y +# PTXCONF_ROOTFS_SERVICES is not set + +# +# Core (libc, locales) +# +PTXCONF_BASE=y +# PTXCONF_GLOBAL_SELINUX is not set + +# +# gcc libraries +# +# PTXCONF_GCCLIBS_GCC_S is not set +# PTXCONF_GCCLIBS_CXX is not set +# PTXCONF_GCCLIBS_GCJ is not set +# PTXCONF_ICONV is not set +# PTXCONF_GLOBAL_IPV6 is not set +# PTXCONF_KERNEL_HEADER is not set +PTXCONF_GLOBAL_LARGE_FILE=y +# PTXCONF_LIBC is not set +PTXCONF_LIBC_NSS_DNS=y +PTXCONF_LIBC_NSS_FILES=y +PTXCONF_NO_LIBC=y +# PTXCONF_CORE_INITRAMFS is not set + +# +# ------------------------------------ +# + +# +# Shell & Console Tools +# +# PTXCONF_ACPID is not set +# PTXCONF_AT is not set +# PTXCONF_ATOP is not set +# PTXCONF_BASH is not set +# PTXCONF_BC is not set +PTXCONF_BUSYBOX=y +# PTXCONF_BUSYBOX_HWCLOCK_STARTSCRIPT is not set + +# +# --- +# + +# +# --- +# +PTXCONF_BUSYBOX_HAVE_DOT_CONFIG=y + +# +# Busybox Settings +# + +# +# General Configuration +# +# PTXCONF_BUSYBOX_DESKTOP is not set +# PTXCONF_BUSYBOX_EXTRA_COMPAT is not set +# PTXCONF_BUSYBOX_INCLUDE_SUSv2 is not set +# PTXCONF_BUSYBOX_USE_PORTABLE_CODE is not set +PTXCONF_BUSYBOX_PLATFORM_LINUX=y +PTXCONF_BUSYBOX_FEATURE_BUFFERS_USE_MALLOC=y +# PTXCONF_BUSYBOX_FEATURE_BUFFERS_GO_ON_STACK is not set +# PTXCONF_BUSYBOX_FEATURE_BUFFERS_GO_IN_BSS is not set +# PTXCONF_BUSYBOX_SHOW_USAGE is not set +# PTXCONF_BUSYBOX_FEATURE_INSTALLER is not set +PTXCONF_BUSYBOX_INSTALL_NO_USR=y +# PTXCONF_BUSYBOX_LOCALE_SUPPORT is not set +# PTXCONF_BUSYBOX_UNICODE_SUPPORT is not set +# PTXCONF_BUSYBOX_LONG_OPTS is not set +PTXCONF_BUSYBOX_FEATURE_DEVPTS=y +# PTXCONF_BUSYBOX_FEATURE_CLEAN_UP is not set +# PTXCONF_BUSYBOX_FEATURE_UTMP is not set +# PTXCONF_BUSYBOX_FEATURE_PIDFILE is not set +# PTXCONF_BUSYBOX_FEATURE_SUID is not set +# PTXCONF_BUSYBOX_SELINUX is not set +# PTXCONF_BUSYBOX_FEATURE_PREFER_APPLETS is not set +PTXCONF_BUSYBOX_BUSYBOX_EXEC_PATH="/proc/self/exe" +# PTXCONF_BUSYBOX_FEATURE_SYSLOG is not set +# PTXCONF_BUSYBOX_FEATURE_HAVE_RPC is not set + +# +# Build Options +# +PTXCONF_BUSYBOX_STATIC=y +PTXCONF_BUSYBOX_NOMMU=y +PTXCONF_BUSYBOX_LFS=y +PTXCONF_BUSYBOX_CROSS_COMPILER_PREFIX="" +PTXCONF_BUSYBOX_SYSROOT="" +PTXCONF_BUSYBOX_EXTRA_CFLAGS="" +PTXCONF_BUSYBOX_EXTRA_LDFLAGS="" +PTXCONF_BUSYBOX_EXTRA_LDLIBS="" + +# +# Debugging Options +# +# PTXCONF_BUSYBOX_DEBUG is not set +# PTXCONF_BUSYBOX_WERROR is not set +PTXCONF_BUSYBOX_NO_DEBUG_LIB=y +# PTXCONF_BUSYBOX_DMALLOC is not set +# PTXCONF_BUSYBOX_EFENCE is not set + +# +# Installation Options ("make install" behavior) +# +PTXCONF_BUSYBOX_INSTALL_APPLET_SYMLINKS=y +# PTXCONF_BUSYBOX_INSTALL_APPLET_HARDLINKS is not set +# PTXCONF_BUSYBOX_INSTALL_APPLET_SCRIPT_WRAPPERS is not set +# PTXCONF_BUSYBOX_INSTALL_APPLET_DONT is not set +PTXCONF_BUSYBOX_PREFIX="./_install" + +# +# Busybox Library Tuning +# +# PTXCONF_BUSYBOX_FEATURE_SYSTEMD is not set +# PTXCONF_BUSYBOX_FEATURE_RTMINMAX is not set +PTXCONF_BUSYBOX_PASSWORD_MINLEN=6 +PTXCONF_BUSYBOX_MD5_SMALL=3 +PTXCONF_BUSYBOX_SHA3_SMALL=1 +# PTXCONF_BUSYBOX_FEATURE_FAST_TOP is not set +# PTXCONF_BUSYBOX_FEATURE_ETC_NETWORKS is not set +PTXCONF_BUSYBOX_FEATURE_EDITING=y +PTXCONF_BUSYBOX_FEATURE_EDITING_MAX_LEN=1024 +# PTXCONF_BUSYBOX_FEATURE_EDITING_VI is not set +PTXCONF_BUSYBOX_FEATURE_EDITING_HISTORY=255 +# PTXCONF_BUSYBOX_FEATURE_EDITING_SAVEHISTORY is not set +PTXCONF_BUSYBOX_FEATURE_TAB_COMPLETION=y +# PTXCONF_BUSYBOX_FEATURE_USERNAME_COMPLETION is not set +PTXCONF_BUSYBOX_FEATURE_EDITING_FANCY_PROMPT=y +# PTXCONF_BUSYBOX_FEATURE_EDITING_ASK_TERMINAL is not set +PTXCONF_BUSYBOX_FEATURE_NON_POSIX_CP=y +# PTXCONF_BUSYBOX_FEATURE_VERBOSE_CP_MESSAGE is not set +PTXCONF_BUSYBOX_FEATURE_COPYBUF_KB=4 +# PTXCONF_BUSYBOX_FEATURE_SKIP_ROOTFS is not set +# PTXCONF_BUSYBOX_MONOTONIC_SYSCALL is not set +# PTXCONF_BUSYBOX_IOCTL_HEX2STR_ERROR is not set +# PTXCONF_BUSYBOX_FEATURE_HWIB is not set + +# +# Applets +# + +# +# Archival Utilities +# +# PTXCONF_BUSYBOX_FEATURE_SEAMLESS_XZ is not set +# PTXCONF_BUSYBOX_FEATURE_SEAMLESS_LZMA is not set +# PTXCONF_BUSYBOX_FEATURE_SEAMLESS_BZ2 is not set +# PTXCONF_BUSYBOX_FEATURE_SEAMLESS_GZ is not set +# PTXCONF_BUSYBOX_FEATURE_SEAMLESS_Z is not set +# PTXCONF_BUSYBOX_AR is not set +# PTXCONF_BUSYBOX_BUNZIP2 is not set +# PTXCONF_BUSYBOX_BZIP2 is not set +# PTXCONF_BUSYBOX_CPIO is not set +# PTXCONF_BUSYBOX_DPKG is not set +# PTXCONF_BUSYBOX_DPKG_DEB is not set +# PTXCONF_BUSYBOX_GUNZIP is not set +# PTXCONF_BUSYBOX_GZIP is not set +# PTXCONF_BUSYBOX_LZOP is not set +# PTXCONF_BUSYBOX_RPM2CPIO is not set +# PTXCONF_BUSYBOX_RPM is not set +# PTXCONF_BUSYBOX_TAR is not set +# PTXCONF_BUSYBOX_UNCOMPRESS is not set +# PTXCONF_BUSYBOX_UNLZMA is not set +# PTXCONF_BUSYBOX_UNXZ is not set +# PTXCONF_BUSYBOX_UNZIP is not set + +# +# Coreutils +# +# PTXCONF_BUSYBOX_BASENAME is not set +PTXCONF_BUSYBOX_CAT=y +PTXCONF_BUSYBOX_DATE=y +# PTXCONF_BUSYBOX_FEATURE_DATE_ISOFMT is not set +# PTXCONF_BUSYBOX_FEATURE_DATE_NANO is not set +# PTXCONF_BUSYBOX_FEATURE_DATE_COMPAT is not set +# PTXCONF_BUSYBOX_HOSTID is not set +# PTXCONF_BUSYBOX_ID is not set +PTXCONF_BUSYBOX_GROUPS=y +PTXCONF_BUSYBOX_TEST=y +# PTXCONF_BUSYBOX_FEATURE_TEST_64 is not set +# PTXCONF_BUSYBOX_TOUCH is not set +# PTXCONF_BUSYBOX_TR is not set +# PTXCONF_BUSYBOX_BASE64 is not set +# PTXCONF_BUSYBOX_CAL is not set +# PTXCONF_BUSYBOX_CATV is not set +# PTXCONF_BUSYBOX_CHGRP is not set +# PTXCONF_BUSYBOX_CHMOD is not set +# PTXCONF_BUSYBOX_CHOWN is not set +# PTXCONF_BUSYBOX_CHROOT is not set +# PTXCONF_BUSYBOX_CKSUM is not set +# PTXCONF_BUSYBOX_COMM is not set +PTXCONF_BUSYBOX_CP=y +# PTXCONF_BUSYBOX_CUT is not set +# PTXCONF_BUSYBOX_DD is not set +# PTXCONF_BUSYBOX_DF is not set +# PTXCONF_BUSYBOX_DIRNAME is not set +# PTXCONF_BUSYBOX_DOS2UNIX is not set +# PTXCONF_BUSYBOX_DU is not set +PTXCONF_BUSYBOX_ECHO=y +# PTXCONF_BUSYBOX_FEATURE_FANCY_ECHO is not set +# PTXCONF_BUSYBOX_ENV is not set +# PTXCONF_BUSYBOX_EXPAND is not set +# PTXCONF_BUSYBOX_EXPR is not set +PTXCONF_BUSYBOX_FALSE=y +# PTXCONF_BUSYBOX_FOLD is not set +# PTXCONF_BUSYBOX_FSYNC is not set +# PTXCONF_BUSYBOX_HEAD is not set +# PTXCONF_BUSYBOX_INSTALL is not set +PTXCONF_BUSYBOX_LN=y +# PTXCONF_BUSYBOX_LOGNAME is not set +PTXCONF_BUSYBOX_LS=y +# PTXCONF_BUSYBOX_FEATURE_LS_FILETYPES is not set +# PTXCONF_BUSYBOX_FEATURE_LS_FOLLOWLINKS is not set +# PTXCONF_BUSYBOX_FEATURE_LS_RECURSIVE is not set +# PTXCONF_BUSYBOX_FEATURE_LS_SORTFILES is not set +PTXCONF_BUSYBOX_FEATURE_LS_TIMESTAMPS=y +# PTXCONF_BUSYBOX_FEATURE_LS_USERNAME is not set +# PTXCONF_BUSYBOX_MD5SUM is not set +PTXCONF_BUSYBOX_MKDIR=y +# PTXCONF_BUSYBOX_MKFIFO is not set +PTXCONF_BUSYBOX_MKNOD=y +PTXCONF_BUSYBOX_MV=y +# PTXCONF_BUSYBOX_NICE is not set +# PTXCONF_BUSYBOX_NOHUP is not set +# PTXCONF_BUSYBOX_OD is not set +# PTXCONF_BUSYBOX_PRINTENV is not set +# PTXCONF_BUSYBOX_PRINTF is not set +# PTXCONF_BUSYBOX_PWD is not set +# PTXCONF_BUSYBOX_READLINK is not set +# PTXCONF_BUSYBOX_REALPATH is not set +PTXCONF_BUSYBOX_RM=y +PTXCONF_BUSYBOX_RMDIR=y +# PTXCONF_BUSYBOX_SEQ is not set +# PTXCONF_BUSYBOX_SHA1SUM is not set +# PTXCONF_BUSYBOX_SHA256SUM is not set +# PTXCONF_BUSYBOX_SHA512SUM is not set +# PTXCONF_BUSYBOX_SHA3SUM is not set +PTXCONF_BUSYBOX_SLEEP=y +# PTXCONF_BUSYBOX_FEATURE_FANCY_SLEEP is not set +# PTXCONF_BUSYBOX_SORT is not set +# PTXCONF_BUSYBOX_SPLIT is not set +# PTXCONF_BUSYBOX_STAT is not set +# PTXCONF_BUSYBOX_STTY is not set +# PTXCONF_BUSYBOX_SUM is not set +# PTXCONF_BUSYBOX_SYNC is not set +# PTXCONF_BUSYBOX_TAC is not set +# PTXCONF_BUSYBOX_TAIL is not set +# PTXCONF_BUSYBOX_TEE is not set +PTXCONF_BUSYBOX_TRUE=y +# PTXCONF_BUSYBOX_TTY is not set +PTXCONF_BUSYBOX_UNAME=y +# PTXCONF_BUSYBOX_UNEXPAND is not set +# PTXCONF_BUSYBOX_UNIQ is not set +# PTXCONF_BUSYBOX_USLEEP is not set +# PTXCONF_BUSYBOX_UUDECODE is not set +# PTXCONF_BUSYBOX_UUENCODE is not set +# PTXCONF_BUSYBOX_WC is not set +# PTXCONF_BUSYBOX_WHOAMI is not set +# PTXCONF_BUSYBOX_YES is not set + +# +# Common options for cp and mv +# +PTXCONF_BUSYBOX_FEATURE_PRESERVE_HARDLINKS=y + +# +# Common options for ls, more and telnet +# +# PTXCONF_BUSYBOX_FEATURE_AUTOWIDTH is not set + +# +# Common options for df, du, ls +# +# PTXCONF_BUSYBOX_FEATURE_HUMAN_READABLE is not set + +# +# Console Utilities +# +# PTXCONF_BUSYBOX_CHVT is not set +# PTXCONF_BUSYBOX_FGCONSOLE is not set +PTXCONF_BUSYBOX_CLEAR=y +# PTXCONF_BUSYBOX_DEALLOCVT is not set +# PTXCONF_BUSYBOX_DUMPKMAP is not set +# PTXCONF_BUSYBOX_KBD_MODE is not set +# PTXCONF_BUSYBOX_LOADFONT is not set +# PTXCONF_BUSYBOX_LOADKMAP is not set +# PTXCONF_BUSYBOX_OPENVT is not set +# PTXCONF_BUSYBOX_RESET is not set +# PTXCONF_BUSYBOX_RESIZE is not set +# PTXCONF_BUSYBOX_SETCONSOLE is not set +# PTXCONF_BUSYBOX_SETFONT is not set +# PTXCONF_BUSYBOX_SETKEYCODES is not set +# PTXCONF_BUSYBOX_SETLOGCONS is not set +# PTXCONF_BUSYBOX_SHOWKEY is not set + +# +# Debian Utilities +# +# PTXCONF_BUSYBOX_MKTEMP is not set +# PTXCONF_BUSYBOX_PIPE_PROGRESS is not set +# PTXCONF_BUSYBOX_RUN_PARTS is not set +# PTXCONF_BUSYBOX_START_STOP_DAEMON is not set +# PTXCONF_BUSYBOX_WHICH is not set + +# +# Editors +# +# PTXCONF_BUSYBOX_PATCH is not set +# PTXCONF_BUSYBOX_VI is not set +# PTXCONF_BUSYBOX_AWK is not set +# PTXCONF_BUSYBOX_CMP is not set +# PTXCONF_BUSYBOX_DIFF is not set +# PTXCONF_BUSYBOX_ED is not set +# PTXCONF_BUSYBOX_SED is not set + +# +# Finding Utilities +# +PTXCONF_BUSYBOX_FIND=y +PTXCONF_BUSYBOX_FEATURE_FIND_PRINT0=y +PTXCONF_BUSYBOX_FEATURE_FIND_MTIME=y +PTXCONF_BUSYBOX_FEATURE_FIND_MMIN=y +PTXCONF_BUSYBOX_FEATURE_FIND_PERM=y +PTXCONF_BUSYBOX_FEATURE_FIND_TYPE=y +PTXCONF_BUSYBOX_FEATURE_FIND_XDEV=y +PTXCONF_BUSYBOX_FEATURE_FIND_MAXDEPTH=y +PTXCONF_BUSYBOX_FEATURE_FIND_NEWER=y +PTXCONF_BUSYBOX_FEATURE_FIND_INUM=y +PTXCONF_BUSYBOX_FEATURE_FIND_EXEC=y +PTXCONF_BUSYBOX_FEATURE_FIND_USER=y +PTXCONF_BUSYBOX_FEATURE_FIND_GROUP=y +PTXCONF_BUSYBOX_FEATURE_FIND_NOT=y +PTXCONF_BUSYBOX_FEATURE_FIND_DEPTH=y +PTXCONF_BUSYBOX_FEATURE_FIND_PAREN=y +PTXCONF_BUSYBOX_FEATURE_FIND_SIZE=y +PTXCONF_BUSYBOX_FEATURE_FIND_PRUNE=y +PTXCONF_BUSYBOX_FEATURE_FIND_DELETE=y +PTXCONF_BUSYBOX_FEATURE_FIND_PATH=y +PTXCONF_BUSYBOX_FEATURE_FIND_REGEX=y +PTXCONF_BUSYBOX_FEATURE_FIND_LINKS=y +PTXCONF_BUSYBOX_GREP=y +PTXCONF_BUSYBOX_FEATURE_GREP_EGREP_ALIAS=y +PTXCONF_BUSYBOX_FEATURE_GREP_FGREP_ALIAS=y +PTXCONF_BUSYBOX_FEATURE_GREP_CONTEXT=y +# PTXCONF_BUSYBOX_XARGS is not set + +# +# Init Utilities +# +# PTXCONF_BUSYBOX_BOOTCHARTD is not set +# PTXCONF_BUSYBOX_HALT is not set +# PTXCONF_BUSYBOX_INIT is not set +# PTXCONF_BUSYBOX_MESG is not set + +# +# Login/Password Management Utilities +# +# PTXCONF_BUSYBOX_ADD_SHELL is not set +# PTXCONF_BUSYBOX_REMOVE_SHELL is not set +# PTXCONF_BUSYBOX_FEATURE_SHADOWPASSWDS is not set +# PTXCONF_BUSYBOX_USE_BB_PWD_GRP is not set +# PTXCONF_BUSYBOX_USE_BB_CRYPT is not set +# PTXCONF_BUSYBOX_ADDUSER is not set +# PTXCONF_BUSYBOX_ADDGROUP is not set +# PTXCONF_BUSYBOX_DELUSER is not set +# PTXCONF_BUSYBOX_DELGROUP is not set +# PTXCONF_BUSYBOX_GETTY is not set +# PTXCONF_BUSYBOX_LOGIN is not set +# PTXCONF_BUSYBOX_PASSWD is not set +# PTXCONF_BUSYBOX_CRYPTPW is not set +# PTXCONF_BUSYBOX_CHPASSWD is not set +# PTXCONF_BUSYBOX_SU is not set +# PTXCONF_BUSYBOX_SULOGIN is not set +# PTXCONF_BUSYBOX_VLOCK is not set + +# +# Linux Ext2 FS Progs +# +# PTXCONF_BUSYBOX_CHATTR is not set +# PTXCONF_BUSYBOX_FSCK is not set +# PTXCONF_BUSYBOX_LSATTR is not set +# PTXCONF_BUSYBOX_TUNE2FS is not set + +# +# Linux Module Utilities +# +# PTXCONF_BUSYBOX_MODINFO is not set +# PTXCONF_BUSYBOX_MODPROBE_SMALL is not set +# PTXCONF_BUSYBOX_INSMOD is not set +# PTXCONF_BUSYBOX_RMMOD is not set +# PTXCONF_BUSYBOX_LSMOD is not set +# PTXCONF_BUSYBOX_MODPROBE is not set +# PTXCONF_BUSYBOX_DEPMOD is not set + +# +# Options common to multiple modutils +# + +# +# Linux System Utilities +# +# PTXCONF_BUSYBOX_BLOCKDEV is not set +# PTXCONF_BUSYBOX_MDEV is not set +# PTXCONF_BUSYBOX_REV is not set +# PTXCONF_BUSYBOX_ACPID is not set +# PTXCONF_BUSYBOX_BLKID is not set +PTXCONF_BUSYBOX_DMESG=y +# PTXCONF_BUSYBOX_FEATURE_DMESG_PRETTY is not set +# PTXCONF_BUSYBOX_FBSET is not set +# PTXCONF_BUSYBOX_FDFLUSH is not set +# PTXCONF_BUSYBOX_FDFORMAT is not set +# PTXCONF_BUSYBOX_FDISK is not set +# PTXCONF_BUSYBOX_FINDFS is not set +# PTXCONF_BUSYBOX_FLOCK is not set +# PTXCONF_BUSYBOX_FREERAMDISK is not set +# PTXCONF_BUSYBOX_FSCK_MINIX is not set +# PTXCONF_BUSYBOX_MKFS_EXT2 is not set +# PTXCONF_BUSYBOX_MKFS_MINIX is not set +# PTXCONF_BUSYBOX_MKFS_REISER is not set +# PTXCONF_BUSYBOX_MKFS_VFAT is not set +# PTXCONF_BUSYBOX_GETOPT is not set +# PTXCONF_BUSYBOX_HEXDUMP is not set +PTXCONF_BUSYBOX_HWCLOCK=y +# PTXCONF_BUSYBOX_FEATURE_HWCLOCK_ADJTIME_FHS is not set +# PTXCONF_BUSYBOX_IPCRM is not set +# PTXCONF_BUSYBOX_IPCS is not set +# PTXCONF_BUSYBOX_LOSETUP is not set +# PTXCONF_BUSYBOX_LSPCI is not set +# PTXCONF_BUSYBOX_LSUSB is not set +# PTXCONF_BUSYBOX_MKSWAP is not set +# PTXCONF_BUSYBOX_MORE is not set +PTXCONF_BUSYBOX_MOUNT=y +# PTXCONF_BUSYBOX_FEATURE_MOUNT_FAKE is not set +# PTXCONF_BUSYBOX_FEATURE_MOUNT_VERBOSE is not set +# PTXCONF_BUSYBOX_FEATURE_MOUNT_HELPERS is not set +# PTXCONF_BUSYBOX_FEATURE_MOUNT_LABEL is not set +# PTXCONF_BUSYBOX_FEATURE_MOUNT_NFS is not set +# PTXCONF_BUSYBOX_FEATURE_MOUNT_CIFS is not set +# PTXCONF_BUSYBOX_FEATURE_MOUNT_FLAGS is not set +PTXCONF_BUSYBOX_FEATURE_MOUNT_FSTAB=y +# PTXCONF_BUSYBOX_PIVOT_ROOT is not set +# PTXCONF_BUSYBOX_RDATE is not set +# PTXCONF_BUSYBOX_RDEV is not set +# PTXCONF_BUSYBOX_READPROFILE is not set +# PTXCONF_BUSYBOX_RTCWAKE is not set +# PTXCONF_BUSYBOX_SCRIPT is not set +# PTXCONF_BUSYBOX_SCRIPTREPLAY is not set +# PTXCONF_BUSYBOX_SETARCH is not set +# PTXCONF_BUSYBOX_SWAPONOFF is not set +# PTXCONF_BUSYBOX_SWITCH_ROOT is not set +# PTXCONF_BUSYBOX_UMOUNT is not set + +# +# Common options for mount/umount +# +# PTXCONF_BUSYBOX_FEATURE_MOUNT_LOOP is not set +# PTXCONF_BUSYBOX_FEATURE_MTAB_SUPPORT is not set +# PTXCONF_BUSYBOX_VOLUMEID is not set + +# +# Miscellaneous Utilities +# +# PTXCONF_BUSYBOX_CONSPY is not set +# PTXCONF_BUSYBOX_LESS is not set +# PTXCONF_BUSYBOX_NANDWRITE is not set +# PTXCONF_BUSYBOX_NANDDUMP is not set +# PTXCONF_BUSYBOX_SETSERIAL is not set +# PTXCONF_BUSYBOX_UBIATTACH is not set +# PTXCONF_BUSYBOX_UBIDETACH is not set +# PTXCONF_BUSYBOX_UBIMKVOL is not set +# PTXCONF_BUSYBOX_UBIRMVOL is not set +# PTXCONF_BUSYBOX_UBIRSVOL is not set +# PTXCONF_BUSYBOX_UBIUPDATEVOL is not set +# PTXCONF_BUSYBOX_ADJTIMEX is not set +# PTXCONF_BUSYBOX_BBCONFIG is not set +# PTXCONF_BUSYBOX_BEEP is not set +# PTXCONF_BUSYBOX_CHAT is not set +# PTXCONF_BUSYBOX_CHRT is not set +# PTXCONF_BUSYBOX_CROND is not set +# PTXCONF_BUSYBOX_CRONTAB is not set +# PTXCONF_BUSYBOX_DC is not set +# PTXCONF_BUSYBOX_DEVFSD is not set +# PTXCONF_BUSYBOX_FEATURE_DEVFS is not set +# PTXCONF_BUSYBOX_DEVMEM is not set +# PTXCONF_BUSYBOX_EJECT is not set +# PTXCONF_BUSYBOX_FBSPLASH is not set +# PTXCONF_BUSYBOX_FLASHCP is not set +# PTXCONF_BUSYBOX_FLASH_LOCK is not set +# PTXCONF_BUSYBOX_FLASH_UNLOCK is not set +# PTXCONF_BUSYBOX_FLASH_ERASEALL is not set +# PTXCONF_BUSYBOX_IONICE is not set +# PTXCONF_BUSYBOX_INOTIFYD is not set +# PTXCONF_BUSYBOX_HDPARM is not set +# PTXCONF_BUSYBOX_MAKEDEVS is not set +# PTXCONF_BUSYBOX_MAN is not set +# PTXCONF_BUSYBOX_MICROCOM is not set +# PTXCONF_BUSYBOX_MOUNTPOINT is not set +# PTXCONF_BUSYBOX_MT is not set +# PTXCONF_BUSYBOX_RAIDAUTORUN is not set +# PTXCONF_BUSYBOX_READAHEAD is not set +# PTXCONF_BUSYBOX_RFKILL is not set +# PTXCONF_BUSYBOX_RX is not set +# PTXCONF_BUSYBOX_SETSID is not set +# PTXCONF_BUSYBOX_STRINGS is not set +# PTXCONF_BUSYBOX_TASKSET is not set +# PTXCONF_BUSYBOX_TIME is not set +# PTXCONF_BUSYBOX_TIMEOUT is not set +# PTXCONF_BUSYBOX_TTYSIZE is not set +# PTXCONF_BUSYBOX_VOLNAME is not set +# PTXCONF_BUSYBOX_WATCHDOG is not set + +# +# Networking Utilities +# +# PTXCONF_BUSYBOX_NAMEIF is not set +# PTXCONF_BUSYBOX_NBDCLIENT is not set +# PTXCONF_BUSYBOX_NC is not set +# PTXCONF_BUSYBOX_PING is not set +# PTXCONF_BUSYBOX_WHOIS is not set +# PTXCONF_BUSYBOX_FEATURE_IPV6 is not set +# PTXCONF_BUSYBOX_FEATURE_UNIX_LOCAL is not set +# PTXCONF_BUSYBOX_VERBOSE_RESOLUTION_ERRORS is not set +# PTXCONF_BUSYBOX_ARP is not set +# PTXCONF_BUSYBOX_ARPING is not set +# PTXCONF_BUSYBOX_BRCTL is not set +# PTXCONF_BUSYBOX_DNSD is not set +# PTXCONF_BUSYBOX_ETHER_WAKE is not set +# PTXCONF_BUSYBOX_FAKEIDENTD is not set +# PTXCONF_BUSYBOX_FTPD is not set +# PTXCONF_BUSYBOX_FTPGET is not set +# PTXCONF_BUSYBOX_FTPPUT is not set +# PTXCONF_BUSYBOX_HOSTNAME is not set +# PTXCONF_BUSYBOX_HTTPD is not set +PTXCONF_BUSYBOX_IFCONFIG=y +PTXCONF_BUSYBOX_FEATURE_IFCONFIG_STATUS=y +PTXCONF_BUSYBOX_FEATURE_IFCONFIG_SLIP=y +PTXCONF_BUSYBOX_FEATURE_IFCONFIG_MEMSTART_IOADDR_IRQ=y +PTXCONF_BUSYBOX_FEATURE_IFCONFIG_HW=y +PTXCONF_BUSYBOX_FEATURE_IFCONFIG_BROADCAST_PLUS=y +# PTXCONF_BUSYBOX_IFENSLAVE is not set +# PTXCONF_BUSYBOX_IFPLUGD is not set +# PTXCONF_BUSYBOX_IFUPDOWN is not set +# PTXCONF_BUSYBOX_INETD is not set +# PTXCONF_BUSYBOX_IP is not set +# PTXCONF_BUSYBOX_IPCALC is not set +# PTXCONF_BUSYBOX_NETSTAT is not set +# PTXCONF_BUSYBOX_NSLOOKUP is not set +# PTXCONF_BUSYBOX_NTPD is not set +# PTXCONF_BUSYBOX_PSCAN is not set +# PTXCONF_BUSYBOX_ROUTE is not set +# PTXCONF_BUSYBOX_SLATTACH is not set +# PTXCONF_BUSYBOX_TCPSVD is not set +# PTXCONF_BUSYBOX_TELNET is not set +# PTXCONF_BUSYBOX_TELNETD is not set +# PTXCONF_BUSYBOX_TFTP is not set +# PTXCONF_BUSYBOX_TFTPD is not set +# PTXCONF_BUSYBOX_TRACEROUTE is not set +# PTXCONF_BUSYBOX_TUNCTL is not set +# PTXCONF_BUSYBOX_UDHCPD is not set +# PTXCONF_BUSYBOX_UDHCPC is not set +# PTXCONF_BUSYBOX_UDPSVD is not set +# PTXCONF_BUSYBOX_VCONFIG is not set +# PTXCONF_BUSYBOX_WGET is not set +# PTXCONF_BUSYBOX_ZCIP is not set + +# +# Print Utilities +# +# PTXCONF_BUSYBOX_LPD is not set +# PTXCONF_BUSYBOX_LPR is not set +# PTXCONF_BUSYBOX_LPQ is not set + +# +# Mail Utilities +# +# PTXCONF_BUSYBOX_MAKEMIME is not set +# PTXCONF_BUSYBOX_POPMAILDIR is not set +# PTXCONF_BUSYBOX_REFORMIME is not set +# PTXCONF_BUSYBOX_SENDMAIL is not set + +# +# Process Utilities +# +# PTXCONF_BUSYBOX_IOSTAT is not set +# PTXCONF_BUSYBOX_LSOF is not set +# PTXCONF_BUSYBOX_MPSTAT is not set +# PTXCONF_BUSYBOX_NMETER is not set +# PTXCONF_BUSYBOX_PMAP is not set +# PTXCONF_BUSYBOX_POWERTOP is not set +# PTXCONF_BUSYBOX_PSTREE is not set +# PTXCONF_BUSYBOX_PWDX is not set +# PTXCONF_BUSYBOX_SMEMCAP is not set +# PTXCONF_BUSYBOX_TOP is not set +# PTXCONF_BUSYBOX_UPTIME is not set +PTXCONF_BUSYBOX_FREE=y +# PTXCONF_BUSYBOX_FUSER is not set +PTXCONF_BUSYBOX_KILL=y +# PTXCONF_BUSYBOX_KILLALL is not set +# PTXCONF_BUSYBOX_KILLALL5 is not set +# PTXCONF_BUSYBOX_PGREP is not set +# PTXCONF_BUSYBOX_PIDOF is not set +# PTXCONF_BUSYBOX_PKILL is not set +# PTXCONF_BUSYBOX_PS is not set +# PTXCONF_BUSYBOX_RENICE is not set +# PTXCONF_BUSYBOX_BB_SYSCTL is not set +# PTXCONF_BUSYBOX_WATCH is not set + +# +# Runit Utilities +# +# PTXCONF_BUSYBOX_RUNSV is not set +# PTXCONF_BUSYBOX_RUNSVDIR is not set +# PTXCONF_BUSYBOX_SV is not set +# PTXCONF_BUSYBOX_SVLOGD is not set +# PTXCONF_BUSYBOX_CHPST is not set +# PTXCONF_BUSYBOX_SETUIDGID is not set +# PTXCONF_BUSYBOX_ENVUIDGID is not set +# PTXCONF_BUSYBOX_ENVDIR is not set +# PTXCONF_BUSYBOX_SOFTLIMIT is not set + +# +# Shells +# +# PTXCONF_BUSYBOX_CTTYHACK is not set +PTXCONF_BUSYBOX_HUSH=y +# PTXCONF_BUSYBOX_HUSH_BASH_COMPAT is not set +# PTXCONF_BUSYBOX_HUSH_HELP is not set +PTXCONF_BUSYBOX_HUSH_INTERACTIVE=y +PTXCONF_BUSYBOX_HUSH_JOB=y +# PTXCONF_BUSYBOX_HUSH_TICK is not set +PTXCONF_BUSYBOX_HUSH_IF=y +PTXCONF_BUSYBOX_HUSH_LOOPS=y +PTXCONF_BUSYBOX_HUSH_CASE=y +PTXCONF_BUSYBOX_HUSH_FUNCTIONS=y +PTXCONF_BUSYBOX_HUSH_LOCAL=y +# PTXCONF_BUSYBOX_HUSH_RANDOM_SUPPORT is not set +# PTXCONF_BUSYBOX_HUSH_EXPORT_N is not set +PTXCONF_BUSYBOX_HUSH_MODE_X=y +# PTXCONF_BUSYBOX_MSH is not set +PTXCONF_BUSYBOX_FEATURE_SH_IS_HUSH=y +# PTXCONF_BUSYBOX_FEATURE_SH_IS_NONE is not set +# PTXCONF_BUSYBOX_FEATURE_BASH_IS_HUSH is not set +PTXCONF_BUSYBOX_FEATURE_BASH_IS_NONE=y +# PTXCONF_BUSYBOX_SH_MATH_SUPPORT is not set +PTXCONF_BUSYBOX_FEATURE_SH_EXTRA_QUIET=y +# PTXCONF_BUSYBOX_FEATURE_SH_HISTFILESIZE is not set + +# +# System Logging Utilities +# +# PTXCONF_BUSYBOX_SYSLOGD is not set +# PTXCONF_BUSYBOX_KLOGD is not set +# PTXCONF_BUSYBOX_LOGGER is not set +# PTXCONF_BZIP2 is not set +# PTXCONF_CONSOLEKIT is not set +# PTXCONF_COREUTILS is not set +# PTXCONF_CPUFREQUTILS is not set +# PTXCONF_DAEMONIZE is not set +# PTXCONF_DASH is not set + +# +# devicekit conflicts with BusyBox' mount! +# + +# +# devicekit conflicts with BusyBox' umount! +# +# PTXCONF_DFU_UTIL is not set +# PTXCONF_DIALOG is not set +# PTXCONF_DIFFUTILS is not set +# PTXCONF_FIGLET is not set +# PTXCONF_FILE is not set +# PTXCONF_FINDUTILS is not set +# PTXCONF_GAWK is not set + +# +# BusyBox' grep is selected! +# +# PTXCONF_GZIP is not set +# PTXCONF_HAL is not set +# PTXCONF_HTOP is not set +# PTXCONF_I2C_TOOLS is not set +# PTXCONF_INITNG is not set +# PTXCONF_KBD is not set +# PTXCONF_KEXEC_TOOLS is not set +# PTXCONF_KILLPROC is not set +# PTXCONF_LATENCYTOP is not set +# PTXCONF_LESS is not set +# PTXCONF_LM_SENSORS is not set +# PTXCONF_LSHW is not set +# PTXCONF_LSOF is not set +# PTXCONF_LSUIO is not set +# PTXCONF_MC is not set +# PTXCONF_MEMEDIT is not set +# PTXCONF_MEMSTAT is not set +# PTXCONF_MINICOM is not set +# PTXCONF_MODULE_INIT_TOOLS is not set +# PTXCONF_MTD_OOPSLOG is not set +# PTXCONF_MTD_UTILS is not set +# PTXCONF_NANOCOM is not set +# PTXCONF_P7ZIP is not set +# PTXCONF_PARTED is not set +# PTXCONF_PCIUTILS is not set +# PTXCONF_PCMCIAUTILS is not set +# PTXCONF_PNPUTILS is not set +# PTXCONF_PROCPS is not set +# PTXCONF_PS3_UTILS is not set +# PTXCONF_PSMISC is not set +# PTXCONF_PV is not set +# PTXCONF_SCHED_SWITCH is not set +# PTXCONF_SCHEDTOOL is not set +# PTXCONF_SCREEN is not set +# PTXCONF_SED is not set +# PTXCONF_SETSERIAL is not set +# PTXCONF_SMARTMONTOOLS is not set +# PTXCONF_SUDO is not set +# PTXCONF_SYSTEMD is not set +# PTXCONF_TAR is not set +# PTXCONF_TIMEOUT is not set +# PTXCONF_TMUX is not set +# PTXCONF_TREE is not set +# PTXCONF_U_BOOT_TOOLS is not set +# PTXCONF_UDEV is not set + +# +# udisks conflicts with BusyBox' mount! +# + +# +# udisks conflicts with BusyBox' umount! +# +# PTXCONF_UPSTART is not set +# PTXCONF_USB_MODESWITCH is not set +# PTXCONF_USBUTILS is not set +# PTXCONF_UTIL_LINUX_NG is not set +# PTXCONF_WATCHDOG is not set +# PTXCONF_WHICH is not set +# PTXCONF_XMLSTARLET is not set + +# +# Scripting Languages +# +# PTXCONF_CBMBASIC is not set +# PTXCONF_GMAKE is not set +# PTXCONF_JS is not set +# PTXCONF_LUA_FILESYSTEM is not set +# PTXCONF_LUA is not set +# PTXCONF_LUAEXPAT is not set +# PTXCONF_PERL is not set +# PTXCONF_PHP5 is not set +# PTXCONF_PYTHON is not set + +# +# python Extra Modules +# +# PTXCONF_DBUS_PYTHON is not set +# PTXCONF_FLUP is not set +# PTXCONF_LIBV4L2_PYTHON is not set +# PTXCONF_PYGOBJECT is not set +# PTXCONF_PYSERIAL is not set +# PTXCONF_PYTHON_IMAGING is not set +# PTXCONF_PYTHON3 is not set + +# +# Bytecode Engines / VMs +# +# PTXCONF_CLASSPATH is not set +# PTXCONF_FRODO is not set +# PTXCONF_JAMVM is not set +# PTXCONF_MONO is not set +# PTXCONF_SUN_JAVA6_JRE is not set +# PTXCONF_TCL is not set + +# +# Networking Tools +# +# PTXCONF_APACHE2 is not set +# PTXCONF_APACHE2_MOD_PYTHON is not set +# PTXCONF_APR_UTIL is not set +# PTXCONF_APR is not set +# PTXCONF_AVAHI is not set +# PTXCONF_BING is not set +# PTXCONF_BOA is not set +# PTXCONF_BRIDGE_UTILS is not set +# PTXCONF_CANFESTIVAL is not set +# PTXCONF_CHRONY is not set +# PTXCONF_COMGT is not set +# PTXCONF_CONNMAN is not set +# PTXCONF_CRDA is not set +# PTXCONF_DHCP is not set +# PTXCONF_DIBBLER is not set +# PTXCONF_DNSMASQ is not set +# PTXCONF_DROPBEAR is not set +# PTXCONF_ETHERWAKE is not set +# PTXCONF_ETHTOOL is not set +# PTXCONF_FCGI is not set +# PTXCONF_GNUTLS is not set +# PTXCONF_HASERL is not set +# PTXCONF_HPING is not set +# PTXCONF_IFPLUGD is not set +# PTXCONF_INADYN is not set +# PTXCONF_INETUTILS is not set +# PTXCONF_IPROUTE2 is not set +# PTXCONF_IPTABLES is not set +# PTXCONF_IW is not set +# PTXCONF_JSON_DBUS_BRIDGE is not set +# PTXCONF_LIBCGI is not set +# PTXCONF_LIBCGIC is not set +# PTXCONF_LIBCGICC is not set +# PTXCONF_LIBCURL is not set +# PTXCONF_LIBMICROHTTPD is not set +# PTXCONF_LIBNET is not set +# PTXCONF_LIBNETFILTER_CONNTRACK is not set +# PTXCONF_LIBNETFILTER_LOG is not set +# PTXCONF_LIBNETFILTER_QUEUE is not set +# PTXCONF_LIBNFNETLINK is not set +# PTXCONF_LIBPCAP is not set +# PTXCONF_LIBSOUP is not set +# PTXCONF_LIBSSH2 is not set +# PTXCONF_LIGHTTPD is not set +# PTXCONF_LINKS is not set +# PTXCONF_LOWPAN_TOOLS is not set +# PTXCONF_LSH is not set +# PTXCONF_MEMCACHED is not set +# PTXCONF_MICROCOM is not set +# PTXCONF_MII_DIAG is not set +# PTXCONF_MSMTP is not set +# PTXCONF_MTR is not set +# PTXCONF_NCFTP is not set +# PTXCONF_NET_SNMP is not set +# PTXCONF_NETCAT is not set +# PTXCONF_NETKIT_FTP is not set +# PTXCONF_NETTLE is not set +# PTXCONF_NETWORKMANAGER is not set +# PTXCONF_NFSUTILS is not set +# PTXCONF_NMAP is not set +# PTXCONF_NSS_MDNS is not set +# PTXCONF_NTP is not set +# PTXCONF_NTPCLIENT is not set +# PTXCONF_OPENLDAP is not set +# PTXCONF_OPENNTPD is not set +# PTXCONF_OPENSSH is not set +# PTXCONF_OPENSSL is not set +# PTXCONF_OPENVPN is not set +# PTXCONF_PORTMAP is not set +# PTXCONF_PPP is not set +# PTXCONF_PROFTPD is not set +# PTXCONF_PUREFTPD is not set +# PTXCONF_RSYNC is not set +# PTXCONF_RSYNC3 is not set +# PTXCONF_RSYSLOG is not set +# PTXCONF_SITECOPY is not set +# PTXCONF_STRONGSWAN is not set +# PTXCONF_SYSLOGNG is not set +# PTXCONF_TCPDUMP is not set +# PTXCONF_TCPWRAPPER is not set +# PTXCONF_THTTPD is not set +# PTXCONF_TOMCAT is not set +# PTXCONF_URSHD is not set +# PTXCONF_UTELNETD is not set +# PTXCONF_WAVEMON is not set +# PTXCONF_WGET is not set +# PTXCONF_WIRELESS is not set +# PTXCONF_WIRESHARK is not set +# PTXCONF_WPA_SUPPLICANT is not set +# PTXCONF_ZSYNC is not set + +# +# IPv4 -> IPv6 Transition Tools +# +# PTXCONF_PTRTD is not set +# PTXCONF_TOTD is not set + +# +# Disk and File Utilities +# +# PTXCONF_ACL is not set +# PTXCONF_ATTR is not set +# PTXCONF_CIFS_UTILS is not set +# PTXCONF_DDRESCUE is not set +# PTXCONF_DOSFSTOOLS is not set +# PTXCONF_E2FSPROGS is not set +# PTXCONF_FAM is not set +# PTXCONF_FUSE is not set +# PTXCONF_HDPARM is not set +# PTXCONF_IPKG is not set +# PTXCONF_LIBLOCKFILE is not set +# PTXCONF_LOGROTATE is not set +# PTXCONF_LVM2 is not set +# PTXCONF_OPKG is not set +# PTXCONF_QUOTA_TOOLS is not set +# PTXCONF_SAMBA is not set +# PTXCONF_SDPARM is not set +# PTXCONF_SQUASHFS_TOOLS is not set +# PTXCONF_UNZIP is not set +# PTXCONF_XFSPROGS is not set +# PTXCONF_XZ is not set +# PTXCONF_ZIP is not set + +# +# Communication Utilities +# +# PTXCONF_BERLIOS_CAN_UTILS is not set +# PTXCONF_BLUEZ is not set +# PTXCONF_CANUTILS is not set +# PTXCONF_CKERMIT is not set +# PTXCONF_EFAX is not set +# PTXCONF_IRSSI is not set +# PTXCONF_LIBMATTHEW_JAVA is not set +# PTXCONF_LIBSOCKETCAN is not set +# PTXCONF_LRZSZ is not set +# PTXCONF_MGETTY is not set +# PTXCONF_POP3SPAM is not set +# PTXCONF_RXTX is not set +# PTXCONF_SJINN is not set +# PTXCONF_SMTPCLIENT is not set +# PTXCONF_SSMTP is not set + +# +# Applications +# +# PTXCONF_CVS is not set +# PTXCONF_GNUPG is not set +# PTXCONF_LPC21ISP is not set + +# +# Editors +# +# PTXCONF_DHEX is not set +# PTXCONF_ED is not set +# PTXCONF_HEXEDIT is not set +# PTXCONF_JED is not set +# PTXCONF_JOE is not set +# PTXCONF_NANO is not set +# PTXCONF_VIM is not set + +# +# System Libraries +# +# PTXCONF_ALSA_LIB is not set +# PTXCONF_ARGTABLE2 is not set +# PTXCONF_BOOST is not set +# PTXCONF_COMMONCPP2 is not set +# PTXCONF_DB is not set +# PTXCONF_DCONF is not set +# PTXCONF_EXPAT is not set +# PTXCONF_FLEX is not set +# PTXCONF_GETTEXT_DUMMY is not set +# PTXCONF_GETTEXT is not set +# PTXCONF_GPM is not set +# PTXCONF_GPSD is not set +# PTXCONF_ICU is not set +# PTXCONF_INOTIFY_TOOLS is not set +# PTXCONF_JSON_C is not set +# PTXCONF_LCMS is not set +# PTXCONF_LIBARCHIVE is not set +# PTXCONF_LIBASSUAN is not set +# PTXCONF_LIBCAP_NG is not set +# PTXCONF_LIBCAP is not set +# PTXCONF_LIBCGROUP is not set +# PTXCONF_LIBCONFUSE is not set +# PTXCONF_LIBDAEMON is not set +# PTXCONF_LIBEDIT is not set +# PTXCONF_LIBELF is not set +# PTXCONF_LIBEVENT is not set +# PTXCONF_LIBEZV24 is not set +# PTXCONF_LIBFFI is not set +# PTXCONF_LIBFTDI is not set +# PTXCONF_LIBFTDI1 is not set +# PTXCONF_LIBGCRYPT is not set +# PTXCONF_LIBGD is not set +# PTXCONF_LIBGMP is not set +# PTXCONF_LIBGPG_ERROR is not set +# PTXCONF_LIBGSF is not set +# PTXCONF_LIBGSLOOP is not set +# PTXCONF_LIBICAL is not set +# PTXCONF_LIBIODBC is not set +# PTXCONF_LIBJPEG is not set +# PTXCONF_LIBKMOD is not set +# PTXCONF_LIBKSBA is not set +# PTXCONF_LIBLIST is not set +# PTXCONF_LIBLTDL is not set +# PTXCONF_LIBLZO is not set +# PTXCONF_LIBMD is not set +# PTXCONF_LIBMEMCACHE is not set +# PTXCONF_LIBMEMCACHED is not set +# PTXCONF_LIBMNG is not set +# PTXCONF_LIBMXML is not set +# PTXCONF_LIBNETPBM is not set +# PTXCONF_LIBNIH is not set +# PTXCONF_LIBNL is not set +# PTXCONF_LIBNL3 is not set +# PTXCONF_LIBOIL is not set +# PTXCONF_LIBOOP is not set +# PTXCONF_LIBOSIP2 is not set +# PTXCONF_LIBPCRE is not set +# PTXCONF_LIBPIPELINE is not set +# PTXCONF_LIBPNG is not set +# PTXCONF_LIBPOPT is not set +# PTXCONF_LIBRN is not set +# PTXCONF_LIBSIGCPP is not set +# PTXCONF_LIBSYSFS is not set +# PTXCONF_LIBTASN1 is not set +# PTXCONF_LIBUCDAEMON is not set +# PTXCONF_LIBURCU is not set +# PTXCONF_LIBUSB_COMPAT is not set +# PTXCONF_LIBUSB is not set +# PTXCONF_LIBX86 is not set +# PTXCONF_LIBXML2 is not set +# PTXCONF_LIBXMLCONFIG is not set +# PTXCONF_LIBXSLT is not set +# PTXCONF_LOG4CPLUS is not set +# PTXCONF_MYODBC is not set +# PTXCONF_MYSQL is not set +# PTXCONF_NCURSES is not set +# PTXCONF_NICKEL is not set + +# +# owfs conflicts with BusyBox' mount! +# + +# +# owfs conflicts with BusyBox' umount! +# +# PTXCONF_POCO is not set +# PTXCONF_POLICYKIT is not set +# PTXCONF_POLKIT is not set +# PTXCONF_PROTOBUF is not set +# PTXCONF_READLINE is not set +# PTXCONF_SERDISPLIB is not set +# PTXCONF_SLANG is not set +# PTXCONF_SPARSEHASH is not set +# PTXCONF_SQLITE is not set +# PTXCONF_TERMCAP is not set +# PTXCONF_USTR is not set +# PTXCONF_XERCES is not set +# PTXCONF_ZLIB is not set + +# +# Security +# + +# +# SELinux +# +# PTXCONF_IMA_EVM_UTILS is not set +# PTXCONF_KEYUTILS is not set +# PTXCONF_LIBSELINUX is not set +# PTXCONF_LIBSEMANAGE is not set +# PTXCONF_LIBSEPOL is not set +# PTXCONF_POLICYCOREUTILS is not set +# PTXCONF_SEPOLGEN is not set +# PTXCONF_TOMOYO_TOOLS is not set + +# +# Middleware +# +# PTXCONF_BUSTLE is not set +# PTXCONF_DBUS_GLIB is not set +# PTXCONF_DBUS_JAVA is not set +# PTXCONF_DBUS is not set +# PTXCONF_EGGDBUS is not set +# PTXCONF_XMLRPC_C is not set + +# +# Scientific Apps +# +# PTXCONF_FFTW is not set +# PTXCONF_GNUPLOT is not set +# PTXCONF_LIBMODBUS is not set +# PTXCONF_LIBMODBUS3 is not set +# PTXCONF_LIBPV is not set + +# +# Web Applications +# +# PTXCONF_JVISU is not set + +# +# Test Suites +# +# PTXCONF_ARM_MEMSPEED is not set +# PTXCONF_BONNIEXX is not set +# PTXCONF_CALIBRATOR is not set +# PTXCONF_DBENCH is not set +# PTXCONF_DT is not set +# PTXCONF_EVTEST is not set +# PTXCONF_FLASHBENCH is not set +# PTXCONF_HACKBENCH is not set +# PTXCONF_HOST_PELTS is not set +# PTXCONF_IOZONE is not set +# PTXCONF_IPERF is not set +# PTXCONF_LMBENCH is not set +# PTXCONF_MBW is not set +# PTXCONF_PELTS_TESTS is not set +# PTXCONF_RT_TESTS is not set +# PTXCONF_TIOBENCH is not set + +# +# Games +# +# PTXCONF_MMPONG is not set +# PTXCONF_SCUMMVM is not set +# PTXCONF_SUPERTUX is not set +# PTXCONF_UTTT is not set + +# +# Graphics & Multimedia +# + +# +# directfb & friends +# +# PTXCONF_DIRECTFB_EXAMPLES is not set +# PTXCONF_DIRECTFB is not set +# PTXCONF_LITE is not set +# PTXCONF_MENU_XORG_FONTS is not set + +# +# framebuffer +# +# PTXCONF_FBGRAB is not set +# PTXCONF_FBSET is not set +# PTXCONF_FBTERM is not set +PTXCONF_FBTEST=y +# PTXCONF_FBUTILS is not set +# PTXCONF_FBV is not set +# PTXCONF_SPLASHUTILS is not set +# PTXCONF_USPLASH is not set + +# +# gstreamer 0.10 +# +# PTXCONF_GST_PLUGINS_BAD is not set +# PTXCONF_GST_PLUGINS_BASE is not set +# PTXCONF_GST_PLUGINS_FSL_VPU is not set +# PTXCONF_GST_PLUGINS_GL is not set +# PTXCONF_GST_PLUGINS_GOOD is not set +# PTXCONF_GST_PLUGINS_UGLY is not set +# PTXCONF_GSTREAMER is not set +# PTXCONF_LIBFSL_VPU is not set + +# +# gstreamer 1.0 +# +# PTXCONF_GST_PLUGINS_BAD1 is not set +# PTXCONF_GST_PLUGINS_BASE1 is not set +# PTXCONF_GST_PLUGINS_GOOD1 is not set +# PTXCONF_GST_PLUGINS_UGLY1 is not set +# PTXCONF_GSTREAMER1 is not set + +# +# gtk+ & friends +# +# PTXCONF_ATK is not set +# PTXCONF_ATKMM is not set +# PTXCONF_CAIRO is not set +# PTXCONF_CAIROMM is not set +# PTXCONF_GDK_PIXBUF is not set +# PTXCONF_GLADE is not set +# PTXCONF_GLADEMM is not set +# PTXCONF_GLIB is not set +# PTXCONF_GLIBMM is not set +# PTXCONF_GTK_ENGINES is not set +# PTXCONF_GTK is not set +# PTXCONF_GTKMM is not set +# PTXCONF_LIBCROCO is not set +# PTXCONF_LIBGEE is not set +# PTXCONF_LIBRSVG is not set +# PTXCONF_PANGO is not set +# PTXCONF_PANGOMM is not set +# PTXCONF_POPPLER is not set +# PTXCONF_MPLAYER is not set + +# +# qt +# +# PTXCONF_ARORA is not set +# PTXCONF_LIBQXT is not set +# PTXCONF_PYSIDE is not set +# PTXCONF_QT4_DEMOS is not set +# PTXCONF_QT4_EXAMPLES is not set +# PTXCONF_QT4 is not set +# PTXCONF_QWT is not set +# PTXCONF_SHIBOKEN is not set + +# +# sdl +# +# PTXCONF_SDL_GFX is not set +# PTXCONF_SDL_TTF is not set +# PTXCONF_SDL is not set +# PTXCONF_SDL_IMAGE is not set +# PTXCONF_SDL_MIXER is not set + +# +# sound +# +# PTXCONF_ALSA_UTILS is not set +# PTXCONF_AUMIX is not set +# PTXCONF_LAME is not set +# PTXCONF_LIBID3TAG is not set +# PTXCONF_LIBMAD is not set +# PTXCONF_LIBMIKMOD is not set +# PTXCONF_MADPLAY is not set +# PTXCONF_MPG123 is not set +# PTXCONF_RAWREC is not set +# PTXCONF_SETMIXER is not set +# PTXCONF_TWOLAME is not set +# PTXCONF_VORBIS_TOOLS is not set +# PTXCONF_TK is not set + +# +# tools +# +# PTXCONF_FONTCONFIG is not set +# PTXCONF_I915RESOLUTION is not set +# PTXCONF_MEDIA_CTL is not set +# PTXCONF_XAWTV is not set + +# +# libs +# +# PTXCONF_AUDIOFILE is not set +# PTXCONF_FLAC is not set +# PTXCONF_FREETYPE is not set +# PTXCONF_LIBAO is not set +# PTXCONF_LIBCACA is not set +# PTXCONF_LIBDMTX is not set +# PTXCONF_LIBDRM is not set +# PTXCONF_LIBMPEG2 is not set +# PTXCONF_LIBOGG is not set +# PTXCONF_LIBSNDFILE is not set +# PTXCONF_LIBTHEORA is not set +# PTXCONF_LIBVORBIS is not set +# PTXCONF_LIBXKBCOMMON is not set +# PTXCONF_MTDEV is not set +# PTXCONF_OPUS is not set +# PTXCONF_ORC is not set +# PTXCONF_PIXMAN is not set +# PTXCONF_RTMPDUMP is not set +# PTXCONF_SPEEX is not set +# PTXCONF_SVGALIB is not set +# PTXCONF_TSLIB is not set +# PTXCONF_V4L_UTILS is not set +# PTXCONF_VO_AACENC is not set +# PTXCONF_XORG is not set + +# +# wayland +# +# PTXCONF_WAYLAND is not set + +# +# ------------------------------------ +# + +# +# Bare Metal +# +# PTXCONF_STELLARIS is not set diff --git a/local_src/geckoboot-2013.01.0/.gitignore b/local_src/geckoboot-2013.01.0/.gitignore new file mode 100644 index 0000000..e8993d1 --- /dev/null +++ b/local_src/geckoboot-2013.01.0/.gitignore @@ -0,0 +1,2 @@ +/geckoboot.bin +/geckoboot.o diff --git a/local_src/geckoboot-2013.01.0/Makefile b/local_src/geckoboot-2013.01.0/Makefile new file mode 100644 index 0000000..534c0dd --- /dev/null +++ b/local_src/geckoboot-2013.01.0/Makefile @@ -0,0 +1,15 @@ +all: geckoboot.bin + +ASFLAGS += -Wa,-mimplicit-it=always + +%.bin: %.o + $(OBJCOPY) -O binary $< $@ + +clean: + -rm geckoboot.bin + -rm geckoboot.o + +install: + +.PHONY: all clean install +.PRECIOUS: geckoboot.o diff --git a/local_src/geckoboot-2013.01.0/geckoboot.S b/local_src/geckoboot-2013.01.0/geckoboot.S new file mode 100644 index 0000000..709996f --- /dev/null +++ b/local_src/geckoboot-2013.01.0/geckoboot.S @@ -0,0 +1,604 @@ +#define UARTBASE 0x4000e400 +#define UARTLOCATION 2 +#define DTB_SRC 0x80000 +#define DTB_DST 0x10000000 +#define LINUX_ENTRY 0x8c000000 + +#define BC_REGISTER 0x80000000 + + .syntax unified + .thumb + .int 0x10020000 @ Initial SP value + .int reset + 1 + +#define UARTn_STATUS 0x0010 +#define UARTn_STATUS_TXC 0x0020 +#define UARTn_STATUS_TXBL 0x0040 + +#define UARTn_TXDATA 0x0034 + + @ load UART base address into \rx + .macro addruart, rx, tmp + ldr \rx, =(0x4000e400) + .endm + + @ send char \rd with \rx holding the UART base address + .macro senduart, rd, rx + strb \rd, [\rx, #UARTn_TXDATA] + .endm + + @ wait for the UART to become ready to take another char + .macro waituart, rd, rx +1001: ldr \rd, [\rx, #UARTn_STATUS] + tst \rd, #UARTn_STATUS_TXBL + beq 1001b + .endm + + @ wait for the fifo and shifter to become idle + .macro busyuart, rd, rx +1001: ldr \rd, [\rx, #UARTn_STATUS] + tst \rd, #UARTn_STATUS_TXC + bne 1001b + .endm + +/* printascii and printch are mostly copied from Linux v3.12, arch/arm/kernel/debug.S */ + +@ prints a zero-terminated string pointed to by r0 +printascii: + addruart r3, r1 + b 2f +1: /* send char in r1 */ + waituart r2, r3 + senduart r1, r3 + teq r1, #'\n' + moveq r1, #'\r' + beq 1b +2: /* load next char from r0 */ + teq r0, #0 + ldrbne r1, [r0], #1 + teqne r1, #0 + bne 1b + busyuart r2, r3 + bx lr + +@ prints a single char contained in r0 +printch: + addruart r3, r1 + mov r1, r0 + mov r0, #0 + b 1b + + .macro putc, val, cond=al + push {r0-r4} + mrs r4, APSR /* save cond flags */ + mov r0, \val + bl\cond printch + msr APSR_nzcvq, r4 /* restore cond flags */ + pop {r0-r4} + .endm + +reset: + /* init external RAM, serial port, EBI and stuff */ + adr r0, reginit + ldr r5, =(reginit_end) +1: + ldr r1, [r0] + ldr r2, [r0, #4] + str r2, [r1] + add r0, r0, #8 + cmp r0, r5 + blo 1b + + /* init some BC registers */ + adr r0, bcinit + ldr r5, =(bcinit_end) +1: + ldrh r1, [r0] + ldrh r2, [r0, #2] + add r1, r1, #BC_REGISTER + strh r2, [r1] + add r0, r0, #4 + cmp r0, r5 + blo 1b + + /* give mux some time to enable the level shifter */ + ldr r0, =0x4000 +1: subs r0, r0, #1 + bne 1b + + /* First sign of life */ + putc #'G' + + /* if PB1 is pressed setup for SWO */ + ldr r0, =(BC_REGISTER) + ldr r1, [r0, #8] @ BC_REGISTER->UIF_PB + tst r1, #1 + putc #'e', ne + bne wait_boot_linux + putc #'E' + + /* poll for CMU_STATUS_AUXHFRCORDY */ + ldr r0, =(0x400c8000) +1: + ldr r1, [r0, 0x2c] @ CMU_STATUS + tst r1, #0x20 + beq 1b + + adr r0, swoinit + ldr r5, =(swoinit_end) +1: + ldmia r0!, {r1, r2, r3} /* load addr, mask, value */ + teq r2, #0xffffffff + ldrne r4, [r1] + bicne r4, r2 + orrne r3, r4 + str r3, [r1] + cmp r0, r5 + blo 1b + +wait_boot_linux: +#ifdef CONFIG_WAIT_FOR_PB2 + putc #'C' + /* only boot into Linux when PB2 is pressed */ + ldr r0, =(BC_REGISTER) +1: ldr r1, [r0, #8] @ BC_REGISTER->UIF_PB + tst r1, #2 + bne 1b +#else + putc #'c' +#endif +/* TFT setup */ + /*wait for AEM button*/ + ldr r0, =(BC_REGISTER) + putc #'\r' + putc #'\n' +wait: + putc #'P' + putc #'r' + putc #'e' + putc #'s' + putc #'s' + putc #' ' + putc #'t' + putc #'h' + putc #'e' + putc #' ' + putc #'A' + putc #'E' + putc #'M' + putc #' ' + putc #'b' + putc #'u' + putc #'t' + putc #'t' + putc #'o' + putc #'n' + putc #'!' + putc #'\r' + putc #'\n' + /*pause*/ + ldr r1, =0x700000 +1: + ldrh r2, [r0, 0xe] + cmp r2, #1 + beq aempress + subs r1, r1, #1 + bne 1b + b wait + +aempress: + putc #'O' + putc #'K' + putc #'\r' + putc #'\n' + adr r0, tft1 + ldr r5, =(tft1_end) +1: + ldrh r1, [r0] + ldrh r2, [r0, #2] + add r1, r1, #BC_REGISTER + strh r2, [r1] + add r0, r0, 4 + cmp r0, r5 + blo 1b + /*pause*/ + ldr r0, =0x75400 +1: subs r0, r0, #1 + bne 1b + + adr r0, tft2 + ldr r5, =(tft2_end) +1: + ldrh r1, [r0] + ldrh r2, [r0, #2] + add r1, r1, #BC_REGISTER + strh r2, [r1] + add r0, r0, 4 + cmp r0, r5 + blo 1b + + adr r0, tft3 + ldr r5, =(tft3_end) +1: + ldr r1, [r0] + ldr r2, [r0, #4] + str r2, [r1] + add r0, r0, #8 + cmp r0, r5 + blo 1b + + adr r0, tft4 + ldr r5, =(tft4_end) +spi: + ldr r1, [r0] + ldr r2, [r0, #4] + /*start with a pause*/ + ldr r3, =0x20000 +1: subs r3, r3, #1 + bne 1b + /*clear port D of GPIO to enable chip select*/ + ldr r3, =0x40006080 + ldr r4, =0x8 + str r4, [r3] + /*select register*/ + ldr r3, =0x4000C400 + ldr r3, [r3] + bic r3, r3, #0x200000 + ldr r4, =0x4000C400 + str r3, [r4] + /*write register on Tx*/ + str r1, [r4, #0x34] + /*check that transmit buffer is empty*/ + bl checkt + /*read data from Rx*/ + ldr r3, [r4, #0x1c] + /*check that read buffer is empty*/ + bl checkr + /*write data*/ + ldr r3, [r4] + orr r3, r3, #0x200000 + str r3, [r4] + /*write data high on Tx*/ + lsr r3, r2, #8 + str r3, [r4, #0x34] + bl checkt + /*read data from Rx*/ + ldr r3, [r4, #0x1c] + bl checkr + /*write data low on Tx*/ + mov r3, r2 + uxtb r3, r3 + str r3, [r4, #0x34] + bl checkt + /*read data from Rx*/ + ldr r3, [r4, #0x1c] + bl checkr + /*set port D of GPIO to enable chip select*/ + ldr r3, =0x4000607C + ldr r4, =0x8 + str r4, [r3] + add r0, r0, #8 + cmp r0, r5 + blo spi + + adr r0, tft5 + ldr r5, =(tft5_end) +1: + ldr r1, [r0] + ldr r2, [r0, #4] + str r2, [r1] + add r0, r0, #8 + cmp r0, r5 + blo 1b + + /*clear display*/ + ldr r0, =0x883da000 + ldr r1, =0x0000 + ldr r2, =0x12C00 +1: + strh r1, [r0] + add r0, r0, #2 + subs r2, r2, #1 + bne 1b + +boot_linux: + putc #'k' + putc #'\r' + putc #'\n' + + /* Copy oftree to RAM */ + ldr r0, =(DTB_DST) + ldr r1, =(DTB_SRC) + ldr r2, [r1, #4] + rev r2, r2 + + bl memcpy + + putc #'o' + putc #'\r' + putc #'\n' + + /* boot Linux */ + mov r0, #0 + ldr r1, =#0xf11 + ldr r2, =(DTB_DST) + mov r3, #0 + mov r4, #0 + mov r5, #0 + mov r6, #0 + + ldr r7, =(LINUX_ENTRY + 1) + bx r7 + +memcpy: + @ copies r2 bytes from r1 to r0 with r2 > 0 + ldrb r3, [r1], #1 + strb r3, [r0], #1 + subs r2, r2, #1 + bhi memcpy + bx lr + + /*check that transmit buffer is empty*/ +checkt: + ldr r3, [r4, #0x10] + tst r3, #0x40 + beq checkt + bx lr + + /*check that read buffer is empty*/ +checkr: + ldr r3, [r4, #0x10] + tst r3, #0x80 + beq checkr + bx lr + + .ltorg + + .align 3 + .type reginit, %object +reginit: + .int 0x400c8020, 0x00000014 @ CMU_OSCENCMD = HFXOEN | AUXHFRCOEN + + .int 0x400c8008, 0x00000100 @ CMU_HFPERCLKDIV, reset default + .int 0x43900814, 0x00000001 @ CMU_HFCORECLKEN0 |= EBI via bitband + .int 0x439008b4, 0x00000001 @ CMU_HFPERCLKEN0 |= GPIO via bitband + .int 0x43900890, 0x00000001 @ CMU_HFPERCLKEN0 |= UART1 via bitband + + /* pinmuxing */ + /* A0: EBI_AD09 + * A1: EBI_AD10 + * A2: EBI_AD11 + * A3: EBI_AD12 + * A4: EBI_AD13 + * A5: EBI_AD14 + * A6: EBI_AD15 + * A15: EBI_AD08 + */ + .int 0x40006014, 0x0000807f @ GPIO_PA_DOUTCLR + .int 0x40006004, 0x04444444 @ GPIO_PA_MODEL + .int 0x40006008, 0x40000000 @ GPIO_PA_MODEH + + /* B0: EBI_A16 + * B1: EBI_A17 + * B2: EBI_A18 + * B3: EBI_A19 + * B4: EBI_A20 + * B5: EBI_A21 + * B6: EBI_A22 + * B9: UART1_TX#2 + * B10: UART1_RX#2 + * B15: MCU_EBI_CONNECT, output, 0 + */ + .int 0x40006038, 0x0000807f @ GPIO_PB_DOUTCLR + .int 0x40006034, 0x00000200 @ GPIO_PB_DOUTSET; set UART_TX to avoid false start + .int 0x40006028, 0x04444444 @ GPIO_PB_MODEL + .int 0x4000602c, 0x40000140 @ GPIO_PB_MODEH + + /* C11: EBI_ALE + */ + .int 0x4000605c, 0x00000800 @ GPIO_PC_DOUTCLR + .int 0x40006050, 0x00004000 @ GPIO_PC_MODEH + + /* D0: USART1_TX#1 -> Ethernet (KSZ8851SNL) + * D1: USART1_RX#1 + * D2: USART1_CLK#1 + * D3: USART1_CS#1 + * D9: EBI_CS0 + * D10: EBI_CS1 + * D11: EBI_CS2 + * D12: EBI_CS3 + * D13: #MCU_SPI_CONNECT, output, 1 + * D14: I2C0_SDA#3 + * D15: I2C0_SCL#3 + */ + .int 0x4000607c, 0x0000fe08 @ GPIO_PD_DOUTSET + .int 0x40006080, 0x00000007 @ GPIO_PD_DOUTCLR + .int 0x40006070, 0x00004414 @ GPIO_PD_MODEL + .int 0x40006074, 0x88444440 @ GPIO_PD_MODEH + + /* E0: irq line from Board controller + * E4: USART0_CS#1 -> Micro SD + * E5: USART0_CLK#1 + * E6: USART0_RX#1 + * E7: USART0_TX#1 + * E8: EBI_AD00 + * E9: EBI_AD01 + * E10: EBI_AD02 + * E11: EBI_AD03 + * E12: EBI_AD04 + * E13: EBI_AD05 + * E14: EBI_AD06 + * E15: EBI_AD07 + */ + .int 0x400060a0, 0x00000011 @ GPIO_PE_DOUTSET + .int 0x400060a4, 0x0000ffe0 @ GPIO_PE_DOUTCLR + .int 0x40006094, 0x41440002 @ GPIO_PE_MODEL + .int 0x40006098, 0x44444444 @ GPIO_PE_MODEH + + /* F6: EBI_BL0 + * F7: EBI_BL1 + * F8: EBI_WEn + * F9: EBI_REn + */ + .int 0x400060c8, 0x000003c0 @ GPIO_PF_DOUTCLR + .int 0x400060b8, 0x44000000 @ GPIO_PF_MODEL + .int 0x400060bc, 0x00000044 @ GPIO_PF_MODEH + + .int 0x40006100, 0x00000004 @ GPIO_EXTIPSELL: select port E for irq 0 + .int 0x4000610c, 0x00000001 @ GPIO_EXTIFALL: trigger for falling FPGA irq line + .int 0x4000611c, 0x0000ffff @ GPIO_IFC: clear all irqs + .int 0x40006110, 0x00000001 @ GPIO_IEN: enable irq 0 + + /* EBI */ + .int 0x40008000, 0x4f00d051 @ EBI_CTRL, enable ITS, mode0=mode2=mode3=D16A16ALE, bl0-3, noidle[023] + /* EBI PSRAM */ + .int 0x40008028, 0x10000000 @ EBI_ADDRTIMING2; HALFALE + .int 0x4000802c, 0x20000400 @ EBI_RDTIMING2; Prefetch, StrobeCycles = 4, HoldCycles = SetupCycles = 0 + .int 0x40008030, 0x00000200 @ EBI_WRTIMING2; StrobeCycles = 2, HoldCycles = SetupCycles = 0 + .int 0x40008034, 0x00000008 @ EBI_POLARITY2, ARDY_, ALE, WE_, RE_, CS_, BL_ + + /* Board Control FPGA */ + .int 0x40008004, 0x10000303 @ EBI_ADDRTIMING; HALFALE, HoldCycles = SetupCycles = 3 + .int 0x40008008, 0x00030703 @ EBI_RDTIMING; StrobeCycles = 7, HoldCycles = SetupCycles = 3 + .int 0x4000800c, 0x00030703 @ EBI_WRTIMING; StrobeCycles = 7, HoldCycles = SetupCycles = 3 + .int 0x40008010, 0x00000008 @ EBI_POLARITY, ARDY_, ALE, WE_, RE_, CS_, BL_ + + /* external NOR flash */ + .int 0x40008038, 0x10000000 @ EBI_ADDRTIMING3; HALFALE, HoldCycles = SetupCycles = 0 +#define PRE +#ifdef PRE + .int 0x4000803c, 0x00000700 @ EBI_RDTIMING3; StrobeCycles = 7, HoldCycles = SetupCycles = 0 + .int 0x40008040, 0x00000200 @ EBI_WRTIMING3; StrobeCycles = 2, HoldCycles = SetupCycles =0 +#else + /* reference: kits/common/bsp/bsp_dk_3201.c: 5 strobe cycles, hold=setup=0 */ + .int 0x4000803c, 0x00000700 @ EBI_RDTIMING3; StrobeCycles = 7, HoldCycles = SetupCycles = 0 + .int 0x40008040, 0x00000700 @ EBI_WRTIMING3; StrobeCycles = 7, HoldCycles = SetupCycles =0 +#endif + .int 0x40008044, 0x00000008 @ EBI_POLARITY3, ARDY_, ALE, WE_, RE_, CS_, BL_ + + .int 0x40008014, 0x105e00bb @ EBI_ROUTE, location=1 + .int 0x40008000, 0x4f00dd51 @ EBI_CTRL, enable ITS, mode0=mode2=mode3=D16A16ALE, bl0-3, noidle[023], bank[023]en + + .int UARTBASE + 0x00, 0x00000000 @ UART1_CTRL + .int UARTBASE + 0x04, 0x00001005 @ UART1_FRAME + .int UARTBASE + 0x14, 0x00001900 @ UART1_CLKDIV + .int UARTBASE + 0x0c, 0x00000c04 @ UART1_CMD + .int UARTBASE + 0x54, 0x00000003 + (UARTLOCATION << 8) @ UART1_ROUTE + .int 0x400c8024, 0x00000002 @ CMU_CMD = HFCLKSEL_HFXO + +reginit_end: + .size reginit, . - reginit + + .align 3 + .type bcinit, %object +bcinit: + .short 0x0018, 0x1701 @ enable UART mux, I2C, ETH and spi + .short 0x0014, 0x0001 @ / + .short 0x001a, 0x0001 @ ETH + .short 0x0042, 0x0010 @ workaround bug in BC's irq detection + .short 0x0040, 0x0010 + +bcinit_end: + .size bcinit, . - bcinit + + .align 3 + .type swoinit, %object +swoinit: + .int 0x40006120, 0x00000304, 0x00000004 @ GPIO_ROUTE: SWOPEN + LOCATION = 0 + .int 0x400060b8, 0x00000f00, 0x00000400 @ configure F2 as pushpull output + .int 0xe000edf0, 0x00000001, 0x00000001 @ CoreDebug->DHCSR |= 1 + .int 0xe000edfc, 0x01000000, 0x01000000 @ CoreDebug->DEMCR |= CoreDebug_DEMCR_TRCENA_Msk + .int 0xe0001000, 0xffffffff, 0x400113ff @ Enable PC and IRQ sampling output + .int 0xe0040010, 0xffffffff, 0x0000000f @ Set TPIU prescaler to 16. + .int 0xe00400f0, 0xffffffff, 0x00000002 @ Set protocol to NRZ + .int 0xe0000fb0, 0xffffffff, 0xc5acce55 @ Unlock ITM + .int 0xe0000e80, 0xffffffff, 0x00010009 @ output data +swoinit_end: + .size swoinit, . - swoinit + + .align 3 + .type tft1, %object +tft1: + .short 0x001a, 0x0002 @ Enable SPI to SSD2119 + .short 0x0018, 0x1701 @ enable UART mux, ETH and spi + .short 0x0016, 0x0001 @ BSP_DisplayControl(BSP_Display_EBI) + .short 0x0012, 0x0002 @ BSP_DisplayControl(BSP_Display_ResetAssert) +tft1_end: + .size tft1, . - tft1 + + .align 3 + .type tft2, %object +tft2: + .short 0x0012, 0x0006 @ BSP_DisplayControl(BSP_Display_ModeGeneric) + .short 0x0012, 0x0007 @ BSP_DisplayControl(BSP_Display_PowerEnable) + .short 0x0012, 0x0005 @ BSP_DisplayControl(BSP_Display_ResetRelease) + .short 0x0012, 0x0005 @ BSP_DisplayControl(BSP_Display_ResetRelease) +tft2_end: + .size tft2, . - tft2 + + .align 3 + .type tft3, %object +tft3: + .int 0x40006014, 0x00008f7f @ GPIO_PA_DOUTCLR; EBI AD8..11 set dataout to 1 + .int 0x40006008, 0x40004444 @ GPIO_PA_MODEH; EBI AD8..11 set mode=pushpull + /*CMU clock*/ + .int 0x43900120, 0x00000001 @ CMU_ClockEnable(cmuClock_HFPER, true) + .int 0x43900884, 0x00000001 @ CMU_ClockEnable(cmuClock_USART1, true) + .int 0x439008B4, 0x00000001 @ CMU_ClockEnable(cmuClock_GPIO, true) + /*GPIO_PinModeSet(gpioPortD)*/ + .int 0x40006080, 0x00000007 @ GPIO_PD_DOUTCLR, ETH_SPI_{TX, RX, CLK} + .int 0x4000607c, 0x0000fe08 @ GPIO_PD_DOUTSET, EBI CS0-3, spiconnect set dataout to 1; ETH_SPI_#CS (D3) + .int 0x40006070, 0x00004414 @ GPIO_PD_MODEL; ETH_SPI_ + /*USART_Reset(USART1)*/ + .int 0x4000C40C, 0x00000eaa @ USART1->CMD = USART_CMD_RXDIS | USART_CMD_TXDIS | USART_CMD_MASTERDIS | USART_CMD_RXBLOCKDIS | USART_CMD_TXTRIDIS | USART_CMD_CLEARTX | USART_CMD_CLEARRX + .int 0x4000C400, 0x00000000 @ USART1->CTRL = _USART_CTRL_RESETVALUE + .int 0x4000C404, 0x00001005 @ USART1->FRAME = _USART_FRAME_RESETVALUE + .int 0x4000C408, 0x00000000 @ USART1->TRIGCTRL = _USART_TRIGCTRL_RESETVALUE + .int 0x4000C414, 0x00000000 @ USART1->CLKDIV = _USART_CLKDIV_RESETVALUE + .int 0x4000C44C, 0x00000000 @ USART1->IEN = _USART_IEN_RESETVALUE + .int 0x4000C448, 0x00001ff9 @ USART1->IFC = _USART_IFC_MASK + .int 0x4000C454, 0x00000000 @ USART1->ROUTE = _USART_ROUTE_RESETVALUE; + .int 0x4000C458, 0x00000000 @ USART1->INPUT = _USART_INPUT_RESETVALUE; + .int 0x4000C45C, 0x00000000 @ USART1->I2SCTRL = _USART_I2SCTRL_RESETVALUE + /*USART_InitSync(USART1, &inittft)*/ + .int 0x4000C400, 0x00000701 @ USART1->CTRL |= (USART_CTRL_SYNC) | ((uint32_t)init->clockMode) | (init->msbf ? USART_CTRL_MSBF : 0) + .int 0x4000C404, 0x00001006 @ USART1->FRAME = ((uint32_t)(init->databits)) | (USART_FRAME_STOPBITS_DEFAULT) | (USART_FRAME_PARITY_DEFAULT) + .int 0x4000C414, 0x00001700 @ USART_BaudrateSyncSet(USART1, init->refFreq, init->baudrate) + .int 0x4000C40C, 0x00000015 @ USART1->CMD = USART_CMD_MASTEREN; USART1->CMD = (uint32_t)(init->enable) + .int 0x4000C454, 0x0000010b @ USART1->ROUTE = USART_ROUTE_TXPEN | USART_ROUTE_RXPEN | USART_ROUTE_CLKPEN | USART_ROUTE_LOCATION_LOC1 +tft3_end: + .size tft3, . - tft3 + + .align 3 + .type tft4, %object +tft4: + .int 0x00000028, 0x00000006 @ DMD_SSD2119_VCOM_OTP_1 + .int 0x00000007, 0x00000023 @ DMD_SSD2119_DISPLAY_CONTROL + .int 0x00000010, 0x00000000 @ DMD_SSD2119_SLEEP_MODE_1 + .int 0x00000007, 0x00000033 @ DMD_SSD2119_DISPLAY_CONTROL + .int 0x00000011, 0x00006730 @ DMD_SSD2119_ENTRY_MODE + .int 0x00000001, 0x000030ef @ DMD_SSD2119_DRIVER_OUTPUT_CONTROL + .int 0x00000002, 0x00000600 @ DMD_SSD2119_LCD_AC_CONTROL + .int 0x00000022, 0x000000ff @ DMD_SSD2119_ACCESS_DATA +tft4_end: + .size tft4, . - tft4 + + .align 3 + .type tft5, %object +tft5: + /*Configure EBI TFT direct drive*/ + .int 0x40008064, 0x003da000 @ EBI_TFTFrameBaseSet(ebiTFTInit->addressOffset) + .int 0x4000806C, 0x00EF013F @ EBI_TFTSizeSet(ebiTFTInit->hsize, ebiTFTInit->vsize) + .int 0x40008070, 0x00780101 @ EBI_TFTHPorchSet(ebiTFTInit->hPorchFront, ebiTFTInit->hPorchBack, ebiTFTInit->hPulseWidth) + .int 0x40008074, 0x00100101 @ EBI_TFTVPorchSet(ebiTFTInit->vPorchFront, ebiTFTInit->vPorchBack, ebiTFTInit->vPulseWidth) + .int 0x40008078, 0x00000008 @ EBI_TFTTimingSet(ebiTFTInit->dclkPeriod, ebiTFTInit->startPosition, ebiTFTInit->setupCycles, ebiTFTInit->holdCycles) + .int 0x42100F80, 0x00000000 @ EBI_PolaritySet(ebiLineTFTCS, ebiTFTInit->csPolarity) + .int 0x42100F84, 0x00000001 @ EBI_PolaritySet(ebiLineTFTDClk, ebiTFTInit->dclkPolarity) + .int 0x42100F88, 0x00000000 @ EBI_PolaritySet(ebiLineTFTDataEn, ebiTFTInit->dataenPolarity) + .int 0x42100F90, 0x00000000 @ EBI_PolaritySet(ebiLineTFTVSync, ebiTFTInit->vsyncPolarity) + .int 0x42100F8C, 0x00000000 @ EBI_PolaritySet(ebiLineTFTHSync, ebiTFTInit->hsyncPolarity) + .int 0x4000805C, 0x00210002 @ EBI->TFTCTRL = ctrl modified + .int 0x40008014, 0x115e00bf @ EBI->ROUTE |= (EBI_ROUTE_TFTPEN) + .int 0x40008068, 0x00000000 @ EBI_TFTHStrideSet((V_WIDTH - D_WIDTH) * 2) +tft5_end: + .size tft5, . - tft5 diff --git a/platforms/Kconfig b/platforms/Kconfig new file mode 100644 index 0000000..b776517 --- /dev/null +++ b/platforms/Kconfig @@ -0,0 +1,56 @@ +# +# platforms/Kconfig: main menu structure for platform configuration +# + +mainmenu "PTXdist $PLATFORMCONFIG_VERSION" + +source "platforms/ptxdist-version.in" +source "rules/ptxdist-dgen.in" + +config _platformconfig_MAGIC__ + bool + default y + + +comment "------------------------------------" +comment "Target Platform Configuration " +comment "------------------------------------" + +config PLATFORM + prompt "platform name" + string + help + This string identifies the platform. You should give a concise name + here. But if you do not have multiple platforms in this project and + you want a ptxdist-1 behaviour (less or more flat directories), keep + this entry empty. + +config PLATFORM_VERSION + prompt "platform version" + string + default "-trunk" + help + This is the revision of the platform. + The string is supposed to start with an "-". + +source "platforms/architecture.in" +source "workspace/platforms/kernel.in" +source "platforms/dtc.in" +source "platforms/console.in" + +menu "extra kernel " +source "generated/kernel.in" +endmenu + +menu "bootloaders " +source "generated/bootloader.in" +endmenu + + +source "platforms/flash.in" + +menu "image creation options " +source "generated/image.in" +endmenu + +source "workspace/platforms/hosttools.in" diff --git a/platforms/host-genromfs.in b/platforms/host-genromfs.in new file mode 100644 index 0000000..2de25b6 --- /dev/null +++ b/platforms/host-genromfs.in @@ -0,0 +1,9 @@ +## SECTION=hosttools_noprompt + +config HOST_GENROMFS + tristate + default ALLYES + help + You need it to build a romfs filesystem. romfs is a small, + read-only filesystem intended for installation/rescue disks + or "embedded" applications. diff --git a/platforms/hosttools.in b/platforms/hosttools.in new file mode 100644 index 0000000..7c3ceff --- /dev/null +++ b/platforms/hosttools.in @@ -0,0 +1,31 @@ +source "rules/cross-nasm.in" +source "rules/host-bzip2.in" +source "rules/host-cdrkit.in" +source "rules/host-cmake.in" +source "rules/host-cramfs.in" +source "rules/host-dosfstools.in" +source "rules/host-e2fsprogs.in" +source "rules/host-genext2fs.in" +source "rules/host-genimage.in" +source "rules/host-genpart.in" +source "rules/host-gettext.in" +source "rules/host-libblkid.in" +source "rules/host-libcap.in" +source "rules/host-libconfuse.in" +source "rules/host-libiconv.in" +source "rules/host-libkmod.in" +source "rules/host-liblzo.in" +source "rules/host-libuuid.in" +source "rules/host-lzop.in" +source "rules/host-mkelfImage.in" +source "rules/host-mtd-utils.in" +source "rules/host-mtools.in" +source "rules/host-openssl.in" +source "rules/host-squashfs-tools.in" +source "rules/host-u-boot-tools.in" +source "rules/host-util-linux-ng.in" +source "rules/host-xl-tools.in" +source "rules/host-xz.in" +source "rules/host-zlib.in" + +source "workspace/platforms/host-genromfs.in" diff --git a/platforms/image_romfs.in b/platforms/image_romfs.in new file mode 100644 index 0000000..9e090e5 --- /dev/null +++ b/platforms/image_romfs.in @@ -0,0 +1,21 @@ +## SECTION=image + +menuconfig IMAGE_ROMFS + bool + select HOST_GENROMFS + prompt "Generate images/root.romfs " + help + Build a romfs image of the root filesystem. This image can be stored + linearly into target's flash device at the start of the desired + partition. + +if IMAGE_ROMFS + +config IMAGE_ROMFS_EXTRA_ARGS + string + default "" + prompt "extra arguments passed to genromfs" + help + You can add extra arguments for mkromfs here + +endif diff --git a/platforms/kernel.in b/platforms/kernel.in new file mode 100644 index 0000000..acc25f2 --- /dev/null +++ b/platforms/kernel.in @@ -0,0 +1,275 @@ +menuconfig KERNEL + bool + default y + select IMAGE_KERNEL + select HOST_U_BOOT_TOOLS if KERNEL_IMAGE_U + select HOST_XZ if KERNEL_XZ + select HOST_LZOP if KERNEL_LZOP + select HOST_LIBKMOD if KERNEL_MODULES + prompt "Linux kernel " + +if KERNEL + +config KERNEL_INSTALL + bool + prompt "install kernel into /boot" + +config KERNEL_MODULES + bool + default y + prompt "build kernel-modules" + +config KERNEL_MODULES_INSTALL + bool + default y + prompt "Install modules into /lib/modules" + depends on KERNEL_MODULES + +config KERNEL_MODULES_BUILD + depends on KERNEL_MODULES + string + default "modules" + +config KERNEL_VERSION + prompt "kernel version" + string + default "2.6.33" + +config KERNEL_MD5 + prompt "kernel source md5sum" + string + +choice + prompt "kernel architecture " + depends on ARCH_PPC || ARCH_X86 + default KERNEL_ARCH_POWERPC if ARCH_PPC + default KERNEL_ARCH_X86 if ARCH_X86 + help + For x86 and PowerPC there are different possibilities to set the kernel + architecture: + + - The old variant for PowerPC is ppc, the newer one is powerpc. + - The old variant for x86 is i386 for 32 bit and x86_64 for 64 bit, + kernels later than 2.6.24 use x86. + + config KERNEL_ARCH_PPC + bool + depends on ARCH_PPC + prompt "ppc " + + config KERNEL_ARCH_POWERPC + bool + depends on ARCH_PPC + prompt "powerpc" + + config KERNEL_ARCH_X86 + bool + depends on ARCH_X86 + prompt "x86 " + + config KERNEL_ARCH_I386 + bool + depends on ARCH_X86 + prompt "i386 " + + config KERNEL_ARCH_X86_64 + bool + depends on ARCH_X86 + prompt "x86_64 " + +endchoice + +config KERNEL_ARCH_STRING + string + default "arm" if ARCH_ARM + default "armnommu" if ARCH_ARM && !HAS_MMU + default "alpha" if ARCH_ALPHA + default "avr32" if ARCH_AVR32 + default "blackfin" if ARCH_BLACKFIN + default "m68k" if ARCH_M68K + default "sparc" if ARCH_SPARC + default "microblaze" if ARCH_MICROBLAZE + default "mips" if ARCH_MIPS + default "mips" if ARCH_MIPSEL + default "cris" if ARCH_CRIS + default "parisc" if ARCH_PARISC + default "sh" if ARCH_SH + + default "ppc" if KERNEL_ARCH_PPC + default "powerpc" if KERNEL_ARCH_POWERPC + default "x86" if KERNEL_ARCH_X86 + default "i386" if KERNEL_ARCH_I386 + default "x86_64" if KERNEL_ARCH_X86_64 + +choice + prompt "Image Type " + default KERNEL_IMAGE_BZ + + config KERNEL_IMAGE_BZ + bool + prompt "bzImage" + help + This usually is the target to be used on ia32 platforms. It + is not limited in size (to be more precise: Limited up to 4MiB). + + config KERNEL_IMAGE_Z + bool + prompt "zImage " + help + This usually is a target to be used on ia32 platforms, it + is the older format and limited to about 500k in size due to + low memory size restrictions. + + config KERNEL_IMAGE_XIP + bool + prompt "xipImage" + help + Create eXecute In Place Image + + config KERNEL_IMAGE_U + bool + prompt "uImage " + help + This is the target for most non ia32 platforms like PowerPC + and ARM architectures. Its a compressed image with additional + embedded information. + + config KERNEL_IMAGE_VM + bool + prompt "vmImage" + help + This is the target for non ia32 platforms like blackfin + architectures. + + config KERNEL_IMAGE_VMLINUX + bool + prompt "vmlinux" + help + This is the target to get the kernel image as an ELF. Mostly + used for debugging purposes. + + config KERNEL_IMAGE_RAW + bool + prompt "Image" + 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 + default "zImage" if KERNEL_IMAGE_Z + default "xipImage" if KERNEL_IMAGE_XIP + default "uImage" if KERNEL_IMAGE_U + 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 && KERNEL_ARCH_POWERPC + default "simpleImage.${PTXCONF_KERNEL_IMAGE_SIMPLE_TARGET}" if KERNEL_IMAGE_SIMPLE && ARCH_MICROBLAZE + +config KERNEL_DTC + bool + +config KERNEL_XZ + prompt "build xz-utils hosttool" + bool + help + Select this if you're going to build your kernel compressed + with lzma and your host system is lacking the proper tools. + ("xz-utils" or the deprecated "lzma" package) + + Select this if you're unsure, as it won't hurt. It just + increases the build time. + +config KERNEL_LZOP + prompt "build lzop hosttool" + bool + help + Select this if you're going to build your kernel compressed + with lzo and your host system is lacking the proper tools. + (the "lzop" package) + + Select this if you're unsure, as it won't hurt. It just + increases the build time. + + +menu "patching & configuration " + +config KERNEL_SERIES + prompt "patch series file" + string + default "series" + help + This entry specifies a patch series file which has to live in + the kernel patches directory: + + The series file contains lines with names of patch files which + are then being applied to the kernel. + +config KERNEL_CONFIG + prompt "kernel config file" + string + default "kernelconfig-${PTXCONF_KERNEL_VERSION}" + help + this entry specifies the .config file used to compile your kernel + +endmenu + + +comment "Development features" + +config KERNEL_EXTRA_MAKEVARS + string + default "CONFIG_DEBUG_SECTION_MISMATCH=y" + prompt "Additional kbuild options" + help + Specify extra parameters for the kernel build system here. Useful + options include: + + * CONFIG_DEBUG_SECTION_MISMATCH=y + Enable this feature if you want kernel's builsystem to check for + section mismatches (__devinit/__devexit, __init/__exit). This + entry is valid for 2.6.25 kernels and above. Previous kernel versions + do this check automatically. Enabling this feature is recommended + for kernel development. + Changing this entry will rebuild the whole kernel. + + * C=1 + Run sparse when compiling + + * V=1 + Increase verbosity when compiling + +endif # KERNEL diff --git a/projectroot/linuxrc b/projectroot/linuxrc new file mode 100644 index 0000000..a2452ed --- /dev/null +++ b/projectroot/linuxrc @@ -0,0 +1,10 @@ +#!/bin/sh + +cat /etc/issue + +# redirect error messages to /dev/null to suppress the error message if PROC is +# disabled in the kernel +mount -t proc proc /proc 2>/dev/null +mount -t sysfs sys /sys + +exec /bin/sh diff --git a/rules/geckoboot.in b/rules/geckoboot.in new file mode 100644 index 0000000..d0dc7d5 --- /dev/null +++ b/rules/geckoboot.in @@ -0,0 +1,7 @@ +## SECTION=project_specific + +config GECKOBOOT + tristate + prompt "geckoboot" + help + FIXME diff --git a/rules/geckoboot.make b/rules/geckoboot.make new file mode 100644 index 0000000..74c8af5 --- /dev/null +++ b/rules/geckoboot.make @@ -0,0 +1,49 @@ +# -*-makefile-*- +# +# Copyright (C) 2013 by Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_GECKOBOOT) += geckoboot + +# +# Paths and names +# +GECKOBOOT_VERSION := 2013.01.0 +GECKOBOOT := geckoboot-$(GECKOBOOT_VERSION) +GECKOBOOT_DIR := $(BUILDDIR)/$(GECKOBOOT) +GECKOBOOT_SUFFIX := +GECKOBOOT_URL := file://$(PTXDIST_WORKSPACE)/local_src/$(GECKOBOOT) +GECKOBOOT_LICENSE := unknown + +GECKOBOOT_CONF_TOOL := NO +GECKOBOOT_MAKE_ENV := $(CROSS_ENV) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/geckoboot.targetinstall: + @$(call targetinfo) + + @$(call install_init, geckoboot) + @$(call install_fixup, geckoboot,PRIORITY,optional) + @$(call install_fixup, geckoboot,SECTION,base) + @$(call install_fixup, geckoboot,AUTHOR,"Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>") + @$(call install_fixup, geckoboot,DESCRIPTION,missing) + +# @$(call install_copy, geckoboot, 0, 0, 0755, $(GECKOBOOT_DIR)/foobar, /dev/null) + + @$(call install_finish, geckoboot) + + @install -D -m 644 $(GECKOBOOT_DIR)/geckoboot.bin $(IMAGEDIR)/geckoboot-image + + @$(call touch) + diff --git a/rules/host-energyAwareTools.in b/rules/host-energyAwareTools.in new file mode 100644 index 0000000..e37ba40 --- /dev/null +++ b/rules/host-energyAwareTools.in @@ -0,0 +1,9 @@ +## SECTION=project_specific + +config HOST_ENERGYAWARETOOLS + tristate + prompt "energyawaretools" + help + Tools to work with the EnergyMicro GiantGecko developmentboard. + Actually used here is only eACommander to write kernel and rootfs via + USB into the GiantGecko's flash. diff --git a/rules/host-energyAwareTools.make b/rules/host-energyAwareTools.make new file mode 100644 index 0000000..b11f025 --- /dev/null +++ b/rules/host-energyAwareTools.make @@ -0,0 +1,90 @@ +# -*-makefile-*- +# +# Copyright (C) 2012 by Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_ENERGYAWARETOOLS) += host-energyawaretools + +# +# Paths and names +# +HOST_ENERGYAWARETOOLS_VERSION := 25052012 +HOST_ENERGYAWARETOOLS_MD5 := e6e6c9b52a5e41235242bdc04e5faa02 +HOST_ENERGYAWARETOOLS := energyAwareTools_$(HOST_ENERGYAWARETOOLS_VERSION) +HOST_ENERGYAWARETOOLS_SUFFIX := tgz +HOST_ENERGYAWARETOOLS_URL := http://cdn.energymicro.com/dl/packages/$(HOST_ENERGYAWARETOOLS).$(HOST_ENERGYAWARETOOLS_SUFFIX) +HOST_ENERGYAWARETOOLS_SOURCE := $(SRCDIR)/$(HOST_ENERGYAWARETOOLS).$(HOST_ENERGYAWARETOOLS_SUFFIX) +HOST_ENERGYAWARETOOLS_DIR := $(HOST_BUILDDIR)/$(HOST_ENERGYAWARETOOLS) + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +#$(HOST_ENERGYAWARETOOLS_SOURCE): +# @$(call targetinfo) +# @$(call get, HOST_ENERGYAWARETOOLS) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +#HOST_ENERGYAWARETOOLS_CONF_ENV := $(HOST_ENV) + +# +# autoconf +# +#HOST_ENERGYAWARETOOLS_CONF_TOOL := autoconf +#HOST_ENERGYAWARETOOLS_CONF_OPT := $(HOST_AUTOCONF) + +#$(STATEDIR)/host-energyawaretools.prepare: +# @$(call targetinfo) +# @$(call clean, $(HOST_ENERGYAWARETOOLS_DIR)/config.cache) +# cd $(HOST_ENERGYAWARETOOLS_DIR) && \ +# $(HOST_ENERGYAWARETOOLS_PATH) $(HOST_ENERGYAWARETOOLS_ENV) \ +# ./configure $(HOST_ENERGYAWARETOOLS_CONF_OPT) +# @$(call touch) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-energyawaretools.compile: + @$(call targetinfo) +# void + @$(call touch) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/host-energyawaretools.install: + @$(call targetinfo) + for f in eACommander nandflashloader.bin; do \ + install -D "$(HOST_ENERGYAWARETOOLS_DIR)/bin/$$f" "$(HOST_ENERGYAWARETOOLS_PKGDIR)/lib/energyAwareTools/$$f"; \ + done + + for f in libjlinkarm.so.4; do \ + install -D "$(HOST_ENERGYAWARETOOLS_DIR)/lib/$$f" "$(HOST_ENERGYAWARETOOLS_PKGDIR)/lib/energyAwareTools/$$f"; \ + done + + install -D "$(HOST_ENERGYAWARETOOLS_DIR)/eACommander.sh" "$(HOST_ENERGYAWARETOOLS_PKGDIR)/bin/eACommander" + + @$(call touch) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +#$(STATEDIR)/host-energyawaretools.clean: +# @$(call targetinfo) +# @$(call clean_pkg, HOST_ENERGYAWARETOOLS) + +# vim: syntax=make diff --git a/rules/host-genromfs.make b/rules/host-genromfs.make new file mode 100644 index 0000000..7d56a39 --- /dev/null +++ b/rules/host-genromfs.make @@ -0,0 +1,35 @@ +# -*-makefile-*- +# +# Copyright (C) 2011 by Marc Kleine-Budde <mkl@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +HOST_PACKAGES-$(PTXCONF_HOST_GENROMFS) += host-genromfs + +# +# Paths and names +# +HOST_GENROMFS_VERSION := 0.5.2 +HOST_GENROMFS_MD5 := 2a91463c56f9e042edc330c063a0cf5a +HOST_GENROMFS := genromfs-$(HOST_GENROMFS_VERSION) +HOST_GENROMFS_SUFFIX := tar.gz +HOST_GENROMFS_URL := $(PTXCONF_SETUP_SFMIRROR)/romfs/$(HOST_GENROMFS).$(HOST_GENROMFS_SUFFIX) +HOST_GENROMFS_SOURCE := $(SRCDIR)/$(HOST_GENROMFS).$(HOST_GENROMFS_SUFFIX) +HOST_GENROMFS_DIR := $(HOST_BUILDDIR)/$(HOST_GENROMFS) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +HOST_GENROMFS_CONF_TOOL := NO +HOST_GENROMFS_MAKE_OPT := $(HOST_ENV_CC) +HOST_GENROMFS_INSTALL_OPT := prefix= PREFIX=$(HOST_GENROMFS_PKGDIR) install + +# vim: syntax=make diff --git a/rules/init.in b/rules/init.in new file mode 100644 index 0000000..360f9e5 --- /dev/null +++ b/rules/init.in @@ -0,0 +1,7 @@ +## SECTION=project_specific + +config INIT + tristate + prompt "init" + help + FIXME diff --git a/rules/init.make b/rules/init.make new file mode 100644 index 0000000..d727e4a --- /dev/null +++ b/rules/init.make @@ -0,0 +1,45 @@ +# -*-makefile-*- +# +# Copyright (C) 2011 by Marc Kleine-Budde <mkl@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_INIT) += init + +INIT_VERSION := 1.0.0 + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/init.install: + @$(call targetinfo) + @$(call touch) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/init.targetinstall: + @$(call targetinfo) + + @$(call install_init, init) + @$(call install_fixup,init,PRIORITY,optional) + @$(call install_fixup,init,SECTION,base) + @$(call install_fixup,init,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>") + @$(call install_fixup,init,DESCRIPTION,missing) + + @$(call install_alternative, init, 0, 0, 0755, /linuxrc) + + @$(call install_finish,init) + + @$(call touch) + +# vim: syntax=make diff --git a/rules/post/image_romfs.make b/rules/post/image_romfs.make new file mode 100644 index 0000000..c6972de --- /dev/null +++ b/rules/post/image_romfs.make @@ -0,0 +1,28 @@ +# -*-makefile-*- +# +# Copyright (C) 2003-2010 by the ptxdist project <ptxdist@pengutronix.de> +# 2011 by Marc Kleine-Budde <mkl@pengutronix.de> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +ifdef PTXCONF_IMAGE_ROMFS +images: $(IMAGEDIR)/root.romfs +endif + +$(IMAGEDIR)/root.romfs: $(STATEDIR)/image_working_dir $(STATEDIR)/host-genromfs.install.post + @echo -n "Creating $(notdir $(@)) from $(notdir $(<))..." + @cd $(image/work_dir); \ + (awk -F: $(DOPERMISSIONS) $(image/permissions) && \ + ( \ + echo -n "genromfs "; \ + echo -n $(PTXCONF_IMAGE_ROMFS_EXTRA_ARGS); \ + echo -n "-d $(image/work_dir) "; \ + echo -n "-f $@" ) \ + ) | $(FAKEROOT) -- + @echo "done." + +# vim: syntax=make diff --git a/tests/flash b/tests/flash new file mode 100755 index 0000000..b2811fe --- /dev/null +++ b/tests/flash @@ -0,0 +1,8 @@ +#! /bin/sh + +eACommander >&2 -r \ + --address 0x00000000 -f "${PTXDIST_PLATFORMDIR}/images/geckoboot-image" \ + --address 0x00080000 -f "${PTXDIST_PLATFORMDIR}/images/efm32gg-dk3750.dtb" \ + --address 0x8c000000 -f "${PTXDIST_PLATFORMDIR}/images/linuximage" \ + --address 0x8c400000 -f "${PTXDIST_PLATFORMDIR}/images/root.romfs" \ + -r |