Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding DM3730 Eval SDK for Beagleboard and TI-EVM

  • Loading branch information...
commit 3ca74a074105e471e35340756f1ff6e2e29b9184 1 parent ae9313f
caguero authored
Showing with 125,269 additions and 0 deletions.
  1. +250 −0 Makefile
  2. +10 −0 bootloader/Config
  3. +56 −0 bootloader/Makefile
  4. +37 −0 bootloader/u-boot-2010.06/Config.template
  5. +149 −0 bootloader/u-boot-2010.06/Makefile
  6. +1 −0  bootloader/u-boot-2010.06/arch
  7. +1 −0  bootloader/u-boot-2010.06/mach
  8. +1 −0  bootloader/u-boot-2010.06/patches/arch
  9. +1 −0  bootloader/u-boot-2010.06/patches/mach
  10. +59 −0 bootloader/u-boot-2010.06/xloader/Makefile
  11. +13 −0 bootloader/u-boot-2010.06/xloader/patches/add_bit_error_correction.patch
  12. +1 −0  bootloader/u-boot-2010.06/xloader/patches/arch
  13. +1 −0  bootloader/u-boot-2010.06/xloader/patches/mach
  14. +13 −0 bootloader/u-boot-2010.06/xloader/patches/rrsdk_integration.patch
  15. +2 −0  bootloader/u-boot-2010.06/xloader/patches/series
  16. +37 −0 bootloader/u-boot-20110621c/Config.template
  17. +149 −0 bootloader/u-boot-20110621c/Makefile
  18. +1 −0  bootloader/u-boot-20110621c/arch
  19. +1 −0  bootloader/u-boot-20110621c/mach
  20. +1 −0  bootloader/u-boot-20110621c/patches/arch
  21. +1 −0  bootloader/u-boot-20110621c/patches/mach
  22. +59 −0 bootloader/u-boot-20110621c/xloader/Makefile
  23. +1 −0  bootloader/u-boot-20110621c/xloader/patches/arch
  24. +1 −0  bootloader/u-boot-20110621c/xloader/patches/mach
  25. +13 −0 bootloader/u-boot-20110621c/xloader/patches/rrsdk-integration.patch
  26. +1 −0  bootloader/u-boot-20110621c/xloader/patches/series
  27. +2 −0  bsp/.release
  28. +116 −0 bsp/.updinfo
  29. +199 −0 bsp/Config
  30. +120 −0 bsp/Makefile
  31. +31 −0 bsp/Makefile.extra
  32. +1 −0  bsp/arch
  33. +115 −0 bsp/arch-dm373x/Config
  34. +6 −0 bsp/arch-dm373x/Kconfig
  35. +5 −0 bsp/arch-dm373x/Make.defs
  36. +52 −0 bsp/arch-dm373x/apps/Makefile
  37. +5 −0 bsp/arch-dm373x/apps/base/Config
  38. +30 −0 bsp/arch-dm373x/apps/base/Makefile
  39. +10 −0 bsp/arch-dm373x/apps/base/etc/directfbrc
  40. +1 −0  bsp/arch-dm373x/apps/base/etc/hostname
  41. +3 −0  bsp/arch-dm373x/apps/base/etc/inittab
  42. +9 −0 bsp/arch-dm373x/apps/base/interfaces
  43. +2 −0  bsp/arch-dm373x/host.required
  44. +88 −0 bsp/arch-dm373x/patches/dvsdk-4_02_00_06/Rules.make.custom
  45. +468 −0 bsp/arch-dm373x/patches/dvsdk-4_02_00_06/Verbose.patch
  46. +18 −0 bsp/arch-dm373x/patches/dvsdk-4_02_00_06/basic-rrsdk-integration.patch
  47. +2 −0  bsp/arch-dm373x/patches/dvsdk-4_02_00_06/series
  48. +88 −0 bsp/arch-dm373x/patches/dvsdk-4_03_00_06/Rules.make.custom
  49. +497 −0 bsp/arch-dm373x/patches/dvsdk-4_03_00_06/Verbose.patch
  50. +18 −0 bsp/arch-dm373x/patches/dvsdk-4_03_00_06/basic-rrsdk-integration.patch
  51. +26 −0 bsp/arch-dm373x/patches/dvsdk-4_03_00_06/fix-dvtb.patch
  52. +3 −0  bsp/arch-dm373x/patches/dvsdk-4_03_00_06/series
  53. +76 −0 bsp/arch-dm373x/patches/graphics_sdk_4_04_00/Rules.make.in
  54. +29 −0 bsp/arch-dm373x/patches/gst-dmai-plugins/add-missing-parameters-initialization.patch
  55. +18 −0 bsp/arch-dm373x/patches/gst-dmai-plugins/enable-cmem-debug-dm37x.patch
  56. +13 −0 bsp/arch-dm373x/patches/gst-dmai-plugins/fix-build-issue-for-omaps.patch
  57. +765 −0 bsp/arch-dm373x/patches/gst-dmai-plugins/omapsinkSupport.patch
  58. +4 −0 bsp/arch-dm373x/patches/gst-dmai-plugins/series
  59. +17 −0 bsp/arch-dm373x/patches/gst-plugins-bad-0.10.21/0005_correct_postion_to_get_info_from_sps.patch
  60. +1 −0  bsp/arch-dm373x/patches/gst-plugins-bad-0.10.21/series
  61. +1,540 −0 bsp/arch-dm373x/patches/gst-plugins-base-0.10.32/rowstride.patch
  62. +1 −0  bsp/arch-dm373x/patches/gst-plugins-base-0.10.32/series
  63. +155 −0 ...rch-dm373x/patches/gst-plugins-good-0.10.25/0001-v4l2src-add-input-src-property-to-specify-capture-in.patch
  64. +72 −0 ...rch-dm373x/patches/gst-plugins-good-0.10.25/0002-v4l2src-keep-track-of-the-input-ID-that-will-be-used.patch
  65. +33 −0 ...rch-dm373x/patches/gst-plugins-good-0.10.25/0003-v4l2src-make-sure-capture-buffer-size-is-aligned-on-.patch
  66. +34 −0 bsp/arch-dm373x/patches/gst-plugins-good-0.10.25/0004-osssink-handle-all-supported-sample-rates.patch
  67. +690 −0 ...rch-dm373x/patches/gst-plugins-good-0.10.25/0005-v4l2src-add-support-for-DaVinci-platforms-using-MVL-.patch
  68. +843 −0 ...rch-dm373x/patches/gst-plugins-good-0.10.25/0006-v4l2src-support-NV12-capture-on-DM365-using-the-IPIP.patch
  69. +51 −0 ...rch-dm373x/patches/gst-plugins-good-0.10.25/0007-v4l2src-accept-EPERM-as-a-non-fatal-error-for-VIDIOC.patch
  70. +82 −0 ...rch-dm373x/patches/gst-plugins-good-0.10.25/0008-v4l2src-try-progressive-mode-first-for-component-inp.patch
  71. +48 −0 bsp/arch-dm373x/patches/gst-plugins-good-0.10.25/0009-v4l2src-add-support-for-NV16-colorspace.patch
  72. +62 −0 ...rch-dm373x/patches/gst-plugins-good-0.10.25/0010-v4l2src-set-bytesperline-and-sizeimage-before-callin.patch
  73. +62 −0 ...rch-dm373x/patches/gst-plugins-good-0.10.25/0011-v4l2src-update-gst_v4l2_get_norm-to-handle-DM6467T-a.patch
  74. +47 −0 ...rch-dm373x/patches/gst-plugins-good-0.10.25/0012-v4l2src-add-V4L2-ioctl-calls-to-initialize-capture-d.patch
  75. +27 −0 ...rch-dm373x/patches/gst-plugins-good-0.10.25/0013-v4l2src-disable-video-device-polling-by-default-on-D.patch
  76. +43 −0 bsp/arch-dm373x/patches/gst-plugins-good-0.10.25/0014-v4l2src-Skip-detection-of-private-controls.patch
  77. +44 −0 bsp/arch-dm373x/patches/gst-plugins-good-0.10.25/0015-v4l2src-Remove-short-circuit-of-VIDIOC_S_FMT-call.patch
  78. +189 −0 ...rch-dm373x/patches/gst-plugins-good-0.10.25/0016-v4l2src-add-feature-to-artifically-lower-framerate-b.patch
  79. +32 −0 bsp/arch-dm373x/patches/gst-plugins-good-0.10.25/0017-v4l2src-always-set-the-desired-framerate-on-DM365.patch
  80. +212 −0 bsp/arch-dm373x/patches/gst-plugins-good-0.10.25/add-cropping-property.patch
  81. +126 −0 bsp/arch-dm373x/patches/gst-plugins-good-0.10.25/add_property_to_unchain_ipipe.patch
  82. +145 −0 bsp/arch-dm373x/patches/gst-plugins-good-0.10.25/multifilesink-send-stream-headers-in-discont-mode.patch
  83. +21 −0 bsp/arch-dm373x/patches/gst-plugins-good-0.10.25/series
  84. +13 −0 bsp/arch-dm373x/patches/gst-plugins-good-0.10.25/support_for_latest_glib.patch
  85. +801 −0 bsp/arch-dm373x/patches/gstreamer-0.10.32/0001-add-GstQueryBuffers-query.patch
  86. +196 −0 bsp/arch-dm373x/patches/gstreamer-0.10.32/0002-gstevent-add-crop-event.patch
  87. +28 −0 bsp/arch-dm373x/patches/gstreamer-0.10.32/allow-reuse-of-gstparse.patch
  88. +3 −0  bsp/arch-dm373x/patches/gstreamer-0.10.32/series
  89. +91,983 −0 bsp/arch-dm373x/patches/linux-03.00.01.06/ocf-support.patch
  90. +2,068 −0 bsp/arch-dm373x/patches/linux-03.00.01.06/omap3-cryptohw-support.patch
  91. +2 −0  bsp/arch-dm373x/patches/linux-03.00.01.06/series
  92. +381 −0 bsp/arch-dm373x/patches/linux-2.6.37-psp04.02.00.07/isp_changes.patch
  93. +1 −0  bsp/arch-dm373x/patches/linux-2.6.37-psp04.02.00.07/series
  94. +1 −0  bsp/arch-dm373x/patches/ridgerun-ui-demo/series
  95. +135 −0 bsp/arch-dm373x/patches/ridgerun-ui-demo/support-dm3730.patch
  96. +31 −0 bsp/arch-dm373x/patches/u-boot-03.00.01.06/enable_reset_cmd.patch
  97. +3 −0  bsp/arch-dm373x/patches/u-boot-03.00.01.06/series
  98. +55 −0 bsp/arch-dm373x/patches/u-boot-03.00.01.06/skip_env_on_sd_boot.patch
  99. +2,826 −0 bsp/arch-dm373x/patches/u-boot-03.00.01.06/uboot_add_env_function.patch
  100. +1 −0  bsp/arch-dm373x/patches/u-boot-2010.06-psp04.02.00.07/series
  101. +2,839 −0 bsp/arch-dm373x/patches/u-boot-2010.06-psp04.02.00.07/uboot_add_env_function.patch
  102. +119 −0 bsp/arch-dm373x/patches/x-load-dm3730-dvsdk04_03_00_06/add_sign.patch
  103. +1 −0  bsp/arch-dm373x/patches/x-load-dm3730-dvsdk04_03_00_06/series
  104. +65 −0 bsp/arch-dm373x/t32-debug.cmm
  105. +69 −0 bsp/arch-dm373x/t32server-debug.cmm
  106. +3 −0  bsp/arch-dm373x/u-boot/Config
  107. +27 −0 bsp/arch-dm373x/u-boot/Makefile.rules
  108. +1 −0  bsp/autotools.defs
  109. +14 −0 bsp/bspc/.tmpconfig.h
  110. +195 −0 bsp/bspc/Makefile
  111. +12 −0 bsp/bspc/POTFILES.in
  112. +634 −0 bsp/bspc/conf.c
  113. +812 −0 bsp/bspc/confdata.c
  114. +1,106 −0 bsp/bspc/expr.c
  115. +202 −0 bsp/bspc/expr.h
  116. +1,632 −0 bsp/bspc/gconf.c
  117. +648 −0 bsp/bspc/gconf.glade
  118. +326 −0 bsp/bspc/images.c
  119. +379 −0 bsp/bspc/kconfig-language.txt
  120. +35 −0 bsp/bspc/kconfig_load.c
  121. +229 −0 bsp/bspc/kxgettext.c
  122. +2,357 −0 bsp/bspc/lex.zconf.c
  123. +2,355 −0 bsp/bspc/lex.zconf.c_shipped
  124. +159 −0 bsp/bspc/lkc.h
  125. +39 −0 bsp/bspc/lkc_defs.h
  126. +45 −0 bsp/bspc/lkc_proto.h
  127. +54 −0 bsp/bspc/lxdialog/.checklist.o.cmd
  128. +4 −0 bsp/bspc/lxdialog/.gitignore
  129. +54 −0 bsp/bspc/lxdialog/.inputbox.o.cmd
  130. +54 −0 bsp/bspc/lxdialog/.menubox.o.cmd
  131. +54 −0 bsp/bspc/lxdialog/.textbox.o.cmd
  132. +55 −0 bsp/bspc/lxdialog/.util.o.cmd
  133. +54 −0 bsp/bspc/lxdialog/.yesno.o.cmd
  134. +4 −0 bsp/bspc/lxdialog/BIG.FAT.WARNING
  135. +82 −0 bsp/bspc/lxdialog/check-lxdialog.sh
  136. +325 −0 bsp/bspc/lxdialog/checklist.c
  137. +230 −0 bsp/bspc/lxdialog/dialog.h
  138. +238 −0 bsp/bspc/lxdialog/inputbox.c
  139. +434 −0 bsp/bspc/lxdialog/menubox.c
  140. +391 −0 bsp/bspc/lxdialog/textbox.c
  141. +655 −0 bsp/bspc/lxdialog/util.c
  142. +114 −0 bsp/bspc/lxdialog/yesno.c
  143. +926 −0 bsp/bspc/mconf.c
  144. +453 −0 bsp/bspc/menu.c
Sorry, we could not display the entire diff because too many files (977) changed.
View
250 Makefile
@@ -0,0 +1,250 @@
+#$L$
+# Copyright (C) 2011 Ridgerun (http://www.ridgerun.com).
+#$L$
+
+export DEVDIR=${shell pwd}
+COMPONENTS = toolchain kernel fs bootloader installer
+
+include bsp/mach/Make.conf
+include bsp/classes/flags.defs
+
+# Used to the graphical output indexation
+TABINDEX ?= \040
+
+.PHONY: build config bspconfig bspconfig_batch preconfig chkconfig buildfs \
+clean prebuild header kernel bootloader fs update coreconfig \
+help help_targets help_parameters help_examples install
+
+build:: .oscheck header prebuild $(foreach COMP, $(COMPONENTS), $(COMP)_build)
+
+# Toolchain variable environment is required by bsp/oscheck/pkg
+export TOOLCHAIN
+
+# Goals that we need to know about
+build-goals-list := build fs kernel cmdline bootloader
+config-goals-list := config bspconfig coreconfig
+
+config-goals := $(filter $(config-goals-list), $(MAKECMDGOALS))
+build-goals := $(filter $(build-goals-list), $(MAKECMDGOALS))
+
+.oscheck:
+ $(V)cd bsp/oscheck && ./shellcheck && ./oscheck $(SCRIPT_DEBUG) && ./pkg -r $(SCRIPT_DEBUG)
+ $(V)touch .oscheck
+ifndef config-goals
+ ifndef build-goals
+ $(V)echo -e "\nRunning initial configuration to load default values...\n"
+ $(V)$(MAKE) bspconfig
+ endif
+endif
+
+header::
+ @$(ECHO) "\033[34mRidgerun Linux SDK\033[0m"
+ @$(ECHO) "Board configuration: \033[32m$(MACH_DESCRIPTION)\033[0m"
+ifneq ($(BSP_NCPU_TOTAL),1)
+ @$(ECHO) "Multi-core machine, using \033[34m$(BSP_NCPU)\033[0m out of $(BSP_NCPU_TOTAL) cores for building"
+endif
+ @$(ECHO)
+ @mkdir -p images
+
+prebuild::
+
+patch:: $(foreach COMP, $(COMPONENTS), $(COMP)_patch)
+
+buildfs:: $(foreach COMP, $(COMPONENTS), $(COMP)_buildfs)
+
+unpatch:: $(foreach COMP, $(COMPONENTS), $(COMP)_unpatch)
+
+clean:: .oscheck header $(foreach COMP, $(COMPONENTS), $(COMP)_clean)
+ @$(MAKE) -C bsp clean $(MAKE_CALL_PARAMS)
+ $(V)rm -rf images/*
+ $(V)rm .oscheck .system.id
+
+preconfig:: .oscheck header $(foreach COMP, $(COMPONENTS), $(COMP)_preconfig)
+
+config:: .oscheck header bspconfig
+
+bspconfig:: preconfig
+ @$(MAKE) -C bsp menuconfig $(MAKE_CALL_PARAMS)
+ @$(MAKE) -C fs defs $(MAKE_CALL_PARAMS)
+
+bspconfig_default:: .oscheck header preconfig
+ $(V) \
+ echo -e "\nThis will revert all previous configuration to the default vales" ; \
+ echo -n "Are you sure (yes/no) " ; \
+ read ANS ; \
+ if test "$$ANS" = "yes" ; then \
+ rm -Rf bsp/mach/bspconfig ; \
+ $(MAKE) -C bsp menuconfig $(MAKE_CALL_PARAMS) ; \
+ fi
+
+bspconfig_batch:: .oscheck header preconfig
+ @$(MAKE) -C bsp config $(MAKE_CALL_PARAMS)
+
+cmdline:: .oscheck header
+ $(V)$(MAKE) -C fs cmdline $(MAKE_CALL_PARAMS)
+
+update:
+ $(V)$(DEVDIR)/bsp/scripts/update $(if $(VERBOSE:0=),-d)
+
+showdirs=0
+revision=0
+getupdates=0
+show_updates: header
+ $(V)bsp/scripts/show_updates.pl --revision=$(revision) --showdirs=$(showdirs) --getUpdates=$(getupdates)
+
+env:
+ @echo "export DEVDIR=$(DEVDIR)"
+ @echo "export PATH=$(BSP_PATH)"
+
+ifndef board
+board=""
+endif
+ifndef toolchain
+toolchain=""
+endif
+ifndef bootloader
+bootloader=""
+endif
+ifndef kernel
+kernel=""
+endif
+
+coreconfig: .oscheck header
+ $(V)bsp/scripts/coreconfig $(board) $(toolchain) $(bootloader) $(kernel)
+
+doc: .oscheck header
+ $(V) DOXVER=`doxygen --version` ;\
+ DOXMAJOR=`echo $$DOXVER | cut -d. -f1`; \
+ DOXMINOR=`echo $$DOXVER | cut -d. -f2`; \
+ if ! [ $$DOXMAJOR -gt 1 -o \
+ \( $$DOXMAJOR -eq 1 -a $$DOXMINOR -ge 7 \) \
+ ] ; then \
+ $(ECHO) "$(ERROR_COLOR)ERROR:$(NORMAL_COLOR) You need doxygen 1.7 or up to build the documentation. Either Doxygen isn't installed in this system, or it is outdated.\n" ; \
+ exit 255; \
+ fi;
+ $(V) echo -n -e " Generating SDK Documentation..."
+ $(V) cd documentation ; doxygen doxygen.conf $(QOUT) $(ERRQOUT)
+ $(V) $(ECHO) "done\n\n"
+
+prelink: .oscheck header $(DEVDIR)/bsp/local/sbin/prelink
+ $(V) $(ECHO) "\n Prelinking the root filesystem...\n"
+ $(V) $(DEVDIR)/bsp/local/sbin/prelink --root fs/fs -v -all -m $(PRELINK_PARAMS)
+
+$(DEVDIR)/bsp/local/sbin/prelink:
+ $(V) if [ ! -d fs/host-apps/prelink-cross ] ; then \
+ $(ECHO) "$(ERROR_COLOR)ERROR:$(NORMAL_COLOR) You don't have prelink-cross in your SDK." ; \
+ $(ECHO) " prelink-cross is only available with RidgeRun SDK Professional Version. Please contact RidgeRun for support\n" ; \
+ exit -1 ; \
+ else \
+ $(ECHO) "Building prelink-cross..." ; \
+ $(MAKE) -C fs/host-apps/prelink-cross build install ; \
+ fi
+
+help:: help_targets help_parameters help_examples
+
+help_targets::
+ @echo ""
+ @echo "RidgeRun Integrated Linux Software Developer's Kit"
+ @echo ""
+ @echo "Make targets:"
+ @echo ""
+ @echo " build - build kernel, target fs, bootloader"
+ @echo " kernel - build kernel"
+ @echo " fs - build target filesystem"
+ @echo " cmdline - build cmdline for target kernel (fs target does the same as well)"
+ @echo " bootloader - build bootloader"
+ @echo " patch - fetch the source and apply any patches"
+ @echo " unpatch - remove all applied patches"
+ @echo " config - allow SDK to be configured"
+ @echo " config_batch - attempt to configure without user interaction"
+ @echo " clean - delete all derived files"
+ @echo " update - Checks for repository updates for the SDK"
+ @echo " show_updates - Checks for available updates for the SDK's release;"
+ @echo " use revision=<number> to specify a particular revision or"
+ @echo " range (same syntax as svn log) or showdirs=1 to enable showing"
+ @echo " change details in the log displayed."
+ @echo " env - Displays commands to run to setup shell environment"
+ @echo " coreconfig - Select toolchain, bootloader, and kernel (updates bsp/mach/Make.conf)"
+ @echo " doc - Generate the SDK API documentation into the documentation folder"
+ @echo " prelink - prelink the root filesystem"
+ @echo " rrsdk_patches_refresh - Update merged series file contains arch, mach, and top level"
+ @echo " patches. Only for bootloader, kernel and dvsdk/ezsdk directories."
+
+help_parameters::
+ @echo ""
+ @echo "Make parameters:"
+ @echo ""
+ @echo " VERBOSE - set to 1 to output executing commands"
+ @echo " LOGFILE - set to built output filename"
+ @echo ""
+ @echo "Make update parameters:"
+ @echo ""
+ @echo " FORCE_UP - set to force the application/removal of patches"
+ @echo ""
+
+help_examples::
+ @echo ""
+ @echo "Examples:"
+ @echo ""
+ @echo " make # same as 'make build'"
+ @echo " make VERBOSE=1"
+
+# Alias for old BSP targets like
+kernel: kernel_build bootloader_build
+
+bootloader: bootloader_build
+
+fs: fs_build bootloader_build
+
+ifneq ($(strip $(INSTALLER)),)
+include installer/$(INSTALLER)/Makefile
+else
+installbootloader: install
+installkernel: install
+installfs: install
+install:
+ $(V)$(ECHO) "Installer not found. Aborting\n " \
+ "Please verify INSTALLER variable is defined on bsp/mach/Mach.conf."
+endif
+
+-include bsp/Makefile.extra
+
+# We are disabling the Makefile.extra temporarely because we want to
+# disable all previous installer functionality that is now deprecated
+# and the .extra files are used so far only for installer functions.
+# We can re-enable on the futue if required
+-include bsp/arch/Makefile.extra
+-include bsp/mach/Makefile.extra
+
+# Component Function template call
+define COMP_template
+.PHONY: $(1)$(2)
+$(1)$(2): header
+ $(V)if [ -d $(1) ] ; then \
+ $(ECHO) "Processing $(1)..."; \
+ $(EXECUTE) $(MAKE) -C $(1) $(3) $(MAKE_CALL_PARAMS); \
+ fi
+endef
+
+# Create a rules for components
+$(foreach COMP, $(COMPONENTS), $(eval $(call COMP_template,$(COMP),_patch,patch)))
+$(foreach COMP, $(COMPONENTS), $(eval $(call COMP_template,$(COMP),_build)))
+$(foreach COMP, $(COMPONENTS), $(eval $(call COMP_template,$(COMP),_buildfs,buildfs)))
+$(foreach COMP, $(COMPONENTS), $(eval $(call COMP_template,$(COMP),_preconfig,preconfig)))
+$(foreach COMP, $(COMPONENTS), $(eval $(call COMP_template,$(COMP),_chkconfig,chkconfig)))
+$(foreach COMP, $(COMPONENTS), $(eval $(call COMP_template,$(COMP),_unpatch,unpatch)))
+$(foreach COMP, $(COMPONENTS), $(eval $(call COMP_template,$(COMP),_clean,clean)))
+
+# Rule to remove fs/fs
+remove_fs:
+ $(V)rm -rf $(DEVDIR)/fs/fs
+
+# Rule to clean fs/apps build
+remove_fs_apps:
+ $(V)rm -rf $(DEVDIR)/bsp/local/*
+ $(V)find $(DEVDIR)/fs/host-apps/ -name configured | xargs rm -f {} ;
+ $(V)find $(DEVDIR)/fs/host-apps/ -name installed | xargs rm -f {} ;
+ $(V)find $(DEVDIR)/fs/host-apps/ -name $(BUILT_FLAG) | xargs rm -f {} ;
+ $(V)find $(DEVDIR)/fs/host-apps/ -name $(FETCHED_FLAG) | xargs rm -f {} ;
+ $(V)find $(DEVDIR)/fs/host-apps/ -name $(INSTALLED_FLAG) | xargs rm -f {} ;
+ $(V)find $(DEVDIR)/fs/host-apps/ -name $(PATCHED_FLAG) | xargs rm -f {} ;
View
10 bootloader/Config
@@ -0,0 +1,10 @@
+#
+# Ridgerun Bootloader configuration files
+# all definitions on this subtree must prefix with BTLR_
+#
+
+menu "Bootloader Configuration"
+
+source bootloader/ConfigExtra
+
+endmenu
View
56 bootloader/Makefile
@@ -0,0 +1,56 @@
+#$L$
+# Copyright (C) 2007 Ridgerun (http://www.ridgerun.com).
+#
+# This source code has a dual license. If this file is linked with other
+# source code that has a GPL license, then this file is licensed with a GPL
+# license as described below. Otherwise the source code contained in this
+# file is property of Ridgerun. This source code is protected under
+# copyright law.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; either version 2 of the License, or (at your
+# option) any later version.
+#
+# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+# NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 675 Mass Ave, Cambridge, MA 02139, USA.
+#$L$
+
+
+.PHONY: build chkconfig preconfig buildfs clean
+
+ifeq ($(DEVDIR),)
+$(error ====== DEVDIR variable is empty, invoke this Makefile from the BSP root, or provide the path to it =====)
+endif
+include $(DEVDIR)/bsp/mach/Make.conf
+
+build:
+ifneq ($(strip $(BOOTLOADER)),)
+ $(V) $(MAKE) -C $(BOOTLOADER) $(MAKE_CALL_PARAMS) $@
+endif
+ $(V) $(ECHO) "Build complete"
+
+preconfig:
+ifneq ($(strip $(BOOTLOADER)),)
+ @echo -e "#This file is autogenerated by makefile, don't modify\n\nsource bootloader/$(BOOTLOADER)/Config" > ConfigExtra
+ $(V) $(MAKE) -C $(BOOTLOADER) $(MAKE_CALL_PARAMS) $@
+else
+ @echo 'comment "Nothing here"' > ConfigExtra
+endif
+
+chkconfig patch buildfs unpatch clean:
+ifneq ($(strip $(BOOTLOADER)),)
+ $(V) $(MAKE) -C $(BOOTLOADER) $(MAKE_CALL_PARAMS) $@
+endif
View
37 bootloader/u-boot-2010.06/Config.template
@@ -0,0 +1,37 @@
+#
+# U-boot Bootloader configuration files
+# all definitions on this subtree must prefix with UBOOT_ or BTLR_
+#
+
+comment "RAM Memory Map"
+
+config UBOOT_RAM_ADDRS
+ string "U-boot RAM address"
+ default 0x81080000
+ help
+ This is the address in RAM memory where u-boot is located.
+
+comment "OneNAND flash memory settings"
+ depends on UBOOT_ONENAND_FLASH_MEMORY
+
+comment "NAND flash memory settings"
+ depends on UBOOT_NAND_FLASH_MEMORY
+
+comment "NOR flash memory settings"
+ depends on UBOOT_NOR_FLASH_MEMORY
+
+comment "SPI flash memory settings"
+ depends on UBOOT_SPI_FLASH_MEMORY
+
+config UBOOT_FLASH_SIZE
+ string "Flash memory size"
+ depends on UBOOT_NOR_FLASH_MEMORY
+
+config UBOOT_FLASH_BLK_SIZE
+ string "Flash memory block size"
+ depends on UBOOT_NOR_FLASH_MEMORY
+
+config UBOOT_FLASH_BASE_ADDRS
+ string "Flash memory base address"
+ depends on UBOOT_NOR_FLASH_MEMORY
+
View
149 bootloader/u-boot-2010.06/Makefile
@@ -0,0 +1,149 @@
+#$L$
+# Copyright (C) 2010 Ridgerun (http://www.ridgerun.com).
+#$L$
+
+.PHONY: build clean scripts relflags real_build
+
+include ../../bsp/classes/rrsdk.class
+include $(CLASSES)/fetcher.defs
+
+include arch/Makefile.rules
+include mach/Makefile.rules
+
+MKIMAGE = ./src/tools/mkimage -A arm -O linux
+IMAGES = $(DEVDIR)/images/
+
+BOOTLOADER_TARBALL?=$(BOOTLOADER).tar.bz2
+PKG_TARBALL=$(BOOTLOADER_TARBALL)
+FETCHER_EXTRACT_DIRECTORY_NAME=src
+PKG_URL=$(BOOTLOADER_URL)
+
+ifeq ($(CONFIG_BSP_ARCH_KERNEL_COMPRESS),y)
+KERNEL_LOAD_ADDRESS=$(CONFIG_BSP_ARCH_SDRAM_BASE)
+else
+KERNEL_LOAD_ADDRESS=$(CONFIG_BSP_ARCH_KERNEL_LOAD_ADDRESS)
+endif
+
+ifeq ($(CONFIG_UBOOT_NAND_FLASH_MEMORY),y)
+CPPFLAGS+= -DCONFIG_SYS_USE_NAND
+endif
+
+ifeq ($(CONFIG_UBOOT_NOR_FLASH_MEMORY),y)
+CPPFLAGS+= -DCONFIG_SYS_USE_NOR -DCONFIG_SYS_FLASH_SECT_SZ=$(CONFIG_UBOOT_FLASH_BLK_SIZE) -DPHYS_FLASH_SIZE=$(CONFIG_UBOOT_FLASH_SIZE)
+endif
+
+build: $(BOOTLOADER) rrpatched arch_build mach_build relflags uboot_built copy_images arch_post_build mach_post_build scripts
+
+relflags:
+ $(V) echo $(CPPFLAGS) > relflags.tmp
+ $(V) if [ -f relflags ] && ! diff relflags relflags.tmp >/dev/null ; then \
+ $(ECHO) "Rebuilding $(BOOTLOADER) since compile flags changed..." ; \
+ $(MAKE) real_build ; \
+ else \
+ mv relflags.tmp relflags ; \
+ fi
+
+uboot_configured:
+ $(V) $(MAKE) -C src $(UBOOT_BOARD_CONFIG) CROSS_COMPILE=$(TOOLCHAIN_PREFIX)- RELFLAGS="$(CFLAGS)"
+ $(V) touch $@
+
+#Some platforms like the DM8148 needs an extra parameter with the uboot name when uboot will be built,
+#in this cases, the variable TI_NAME must be set properly in mach/Makefile.rules
+real_build:
+ $(V) $(MAKE) -C src -j $(BSP_NCPU) CROSS_COMPILE=$(TOOLCHAIN_PREFIX)- \
+ CONFIG_SYS_TEXT_BASE=$(CONFIG_UBOOT_RAM_ADDRS) EXTRA_CPPFLAGS="$(CPPFLAGS)" $(TI_NAME) $(QOUT) $(ERRQOUT)
+
+copy_images:
+ $(V) cp src/u-boot.bin $(BOOTLOADERIMAGE)
+ $(V) cp src/u-boot*bin* $(IMAGES)
+
+uboot_built: uboot_configured
+ $(V) $(ECHO) "Building $(BOOTLOADER)..."
+ $(V) $(MAKE) real_build
+ $(V) touch $@
+
+ifneq ($(BOOTLOADER_TARBALL),)
+BOOTLOADER_URL?=https://$(DOWNLOAD_SERVER)/packages/
+endif
+
+ifneq ($(BOOTLOADER_URL),)
+$(BOOTLOADER): rrfetched
+else
+$(BOOTLOADER):
+ $(V)$(ECHO) "\n$${ERROR_COLOR}Error:$${NORMAL_COLOR} no BOOTLOADER_URL or BOOTLOADER_TARBALL defined, and bootloader code not found... aborting\n";
+ $(V) exit -1;
+endif
+
+src: $(BOOTLOADER)
+
+preconfig: Config
+
+Config: Config.template
+ $(V) cp $< $@
+ $(V) echo "source bootloader/$(BOOTLOADER)/arch/Config" >> $@
+ $(V) echo "source bootloader/$(BOOTLOADER)/mach/Config" >> $@
+
+buildfs:
+
+clean: arch_clean mach_clean unpatch
+ $(V) if ! [ -f src/.svn ] ; then \
+ rm -Rf src rrfetched ; \
+ else \
+ if [ -d src ] ; then \
+ $(MAKE) -C src CROSS_COMPILE=$(TOOLCHAIN_PREFIX)- distclean ; \
+ fi ; \
+ fi
+ $(V) find . -name .depend | xargs rm -f {}
+ $(V) rm -f *.o *.d uboot_configured \
+ uboot_built relflags relflags.tmp .fsloadhex
+
+
+#################################################################
+# Scripts Section #
+#################################################################
+
+scripts:
+ifeq ($(CONFIG_BSP_ARCH_KERNEL_COMPRESS),y)
+ @$(ECHO) Building bootloader compressed uImage
+ @# Build the kernel image
+ $(V)$(MKIMAGE) -T kernel -C none -a $(CONFIG_BSP_ARCH_KERNEL_ZTEXTADDR) \
+ -e $(CONFIG_BSP_ARCH_KERNEL_ZTEXTADDR) \
+ -n "\"RR Compressed Linux Kernel\"" -d $(KERNELIMAGE) $(KERNELIMAGE).uImage > /dev/null
+else
+ @$(ECHO) Building bootloader uncompressed uImage
+ @# Build the kernel image
+ $(V)$(MKIMAGE) -T kernel -C none -a $(CONFIG_BSP_ARCH_KERNEL_LOAD_ADDRESS) \
+ -e $(CONFIG_BSP_ARCH_KERNEL_ENTRY_ADDRESS) \
+ -n "\"RR Linux Kernel\"" -d $(KERNELIMAGE) $(KERNELIMAGE).uImage > /dev/null
+endif
+ @# Load the file system image after the kernel image (dirty calcs)
+ $(V)declare -i KEND=0x`tail -1 $(DEVDIR)/kernel/$(KERNEL)/System.map | cut -f1 -d\ ` ; \
+ KEND=$$KEND/4096 ; \
+ KEND=$$KEND+4 ; \
+ KEND=$$KEND*4096 ; \
+ declare -i FSLOAD=$$KEND-1073741824 ; # convert from 0xC.. to 0x8... \
+ FSLOADHEX=`echo $$FSLOAD 16o p | dc` ; \
+ echo $$FSLOADHEX >.fsloadhex
+ifeq ($(CONFIG_FS_TARGET_INITRD),y)
+ $(V)$(MKIMAGE) -T ramdisk -C none -a `cat .fsloadhex` \
+ -n "\"RR File System Image\"" -d $(IMAGES)fsimage $(FSIMAGE).uImage $(QOUT) ;
+else
+ifneq ($(CONFIG_FS_TARGET_NFSROOT),y)
+ @# Other file systems that are not NFS or initrd live directly on flash
+ @# so we don't build a uImage for them, only load the raw file
+ifneq ($(CONFIG_FS_TARGET_SD),y)
+ $(V)if [ -e $(IMAGES)fsimage ] ; then \
+ cp $(IMAGES)fsimage $(FSIMAGE).uImage $(QOUT) ; \
+ fi
+
+else
+ @# Empty fs image file for SD FS
+ $(V)rm -f $(FSIMAGE).uImage $(QOUT)
+ $(V)touch $(FSIMAGE).uImage $(QOUT)
+endif
+else
+ @# Empty fs image file for NFS
+ $(V)rm -f $(FSIMAGE).uImage $(QOUT)
+ $(V)touch $(FSIMAGE).uImage $(QOUT)
+endif
+endif
View
1  bootloader/u-boot-2010.06/arch
View
1  bootloader/u-boot-2010.06/mach
View
1  bootloader/u-boot-2010.06/patches/arch
View
1  bootloader/u-boot-2010.06/patches/mach
View
59 bootloader/u-boot-2010.06/xloader/Makefile
@@ -0,0 +1,59 @@
+#$L$
+# Copyright (C) 2010 Ridgerun (http://www.ridgerun.com).
+#$L$
+
+include ../../../bsp/classes/rrsdk.defs
+include $(CLASSES)/fetcher.defs
+include ../mach/Makefile.rules
+
+XLOADER_TARBALL?=$(XLOADER).tar.gz
+PKG_TARBALL=$(XLOADER_TARBALL)
+FETCHER_EXTRACT_DIRECTORY_NAME=src
+PKG_URL=$(XLOADER_URL)
+
+.PHONY: build clean
+
+all: xloader_patched xloader_configured xloader_built images
+
+ifneq (x$(XLOADER_TARBALL),x)
+XLOADER_URL?=https://$(DOWNLOAD_SERVER)/packages/
+endif
+
+build: xloader_patched xloader_built images
+
+xloader_built: $(XLOADER) xloader_patched xloader_configured
+ $(V) $(ECHO) "Building $(XLOADER)-$(XLOADER_VERSION)..."
+ $(V) $(MAKE) -C src all CROSS_COMPILE=$(TOOLCHAIN_PREFIX)- CFG_LOADADDRS=$(CONFIG_UBOOT_RAM_ADDRS) $(QOUT) $(ERRQOUT)
+ $(V) touch $@
+
+xloader_configured: xloader_patched
+ $(V) echo ;
+ $(V) echo "Configuring for $(XLOADER_BOARD_CONFIG) ..."
+ $(V) $(MAKE) -C src $(XLOADER_BOARD_CONFIG) CROSS_COMPILE=$(TOOLCHAIN_PREFIX)- $(QOUT)
+ $(V) touch $@
+
+xloader_patched: $(XLOADER) rrpatched
+ touch $@
+
+ifneq (x$(XLOADER_URL),x)
+$(XLOADER): rrfetched
+else
+$(XLOADER):
+ $(V)$(ECHO) "\n$${ERROR_COLOR}Error:$${NORMAL_COLOR} no XLOADER_URL or XLOADER_TARBALL defined, and xloader code not found... aborting\n";
+ $(V) exit -1;
+endif
+
+images:
+ $(V) cp src/x-load.bin.ift $(DEVDIR)/images/
+
+clean: unpatch
+ $(V) if [ -f rrfetched ] ; then \
+ rm -Rf src rrfetched ; \
+ else \
+ if [ -d src ] ; then \
+ $(MAKE) -C src CROSS_COMPILE=$(TOOLCHAIN_PREFIX)- distclean \
+ $(QOUT) 2>$(LOGFILE) ; \
+ fi ; \
+ fi
+ $(V) rm -f src/x-load.bin.ift src/signGP patched
+ $(V) rm -f *.o *.d xloader_configured xloader_patched xloader_built
View
13 bootloader/u-boot-2010.06/xloader/patches/add_bit_error_correction.patch
@@ -0,0 +1,13 @@
+Index: xloader/Makefile
+===================================================================
+--- xloader.orig/Makefile 2012-03-30 08:19:29.152766992 -0600
++++ xloader/Makefile 2012-03-30 08:20:22.941041968 -0600
+@@ -23,7 +23,7 @@
+
+ xloader_built: $(XLOADER) xloader_patched xloader_configured
+ $(V) $(ECHO) "Building $(XLOADER)-$(XLOADER_VERSION)..."
+- $(V) $(MAKE) -C src all CROSS_COMPILE=$(TOOLCHAIN_PREFIX)- $(QOUT) $(ERRQOUT)
++ $(V) $(MAKE) -C src all CROSS_COMPILE=$(TOOLCHAIN_PREFIX)- PLATFORM_RELFLAGS=-DFOUR_BIT_ERROR_CORRECT $(QOUT) $(ERRQOUT)
+ $(V) touch $@
+
+ xloader_configured: xloader_patched
View
1  bootloader/u-boot-2010.06/xloader/patches/arch
View
1  bootloader/u-boot-2010.06/xloader/patches/mach
View
13 bootloader/u-boot-2010.06/xloader/patches/rrsdk_integration.patch
@@ -0,0 +1,13 @@
+Index: xloader/src/lib/board.c
+===================================================================
+--- xloader.orig/src/lib/board.c 2011-12-22 11:30:37.000000000 -0600
++++ xloader/src/lib/board.c 2012-03-30 08:03:40.617020267 -0600
+@@ -40,7 +40,7 @@
+ #ifdef CFG_PRINTF
+ int print_info(void)
+ {
+- printf("\n\nTexas Instruments X-Loader 1.51 ("
++ printf("\n\nCustomized by RidgeRun Embedded Solutions TI XLOADER 1.51 ("
+ __DATE__ " - " __TIME__ ")\n");
+ return 0;
+ }
View
2  bootloader/u-boot-2010.06/xloader/patches/series
@@ -0,0 +1,2 @@
+rrsdk_integration.patch
+#add_bit_error_correction.patch
View
37 bootloader/u-boot-20110621c/Config.template
@@ -0,0 +1,37 @@
+#
+# U-boot Bootloader configuration files
+# all definitions on this subtree must prefix with UBOOT_ or BTLR_
+#
+
+comment "RAM Memory Map"
+
+config UBOOT_RAM_ADDRS
+ string "U-boot RAM address"
+ default 0x81080000
+ help
+ This is the address in RAM memory where u-boot is located.
+
+comment "OneNAND flash memory settings"
+ depends on UBOOT_ONENAND_FLASH_MEMORY
+
+comment "NAND flash memory settings"
+ depends on UBOOT_NAND_FLASH_MEMORY
+
+comment "NOR flash memory settings"
+ depends on UBOOT_NOR_FLASH_MEMORY
+
+comment "SPI flash memory settings"
+ depends on UBOOT_SPI_FLASH_MEMORY
+
+config UBOOT_FLASH_SIZE
+ string "Flash memory size"
+ depends on UBOOT_NOR_FLASH_MEMORY
+
+config UBOOT_FLASH_BLK_SIZE
+ string "Flash memory block size"
+ depends on UBOOT_NOR_FLASH_MEMORY
+
+config UBOOT_FLASH_BASE_ADDRS
+ string "Flash memory base address"
+ depends on UBOOT_NOR_FLASH_MEMORY
+
View
149 bootloader/u-boot-20110621c/Makefile
@@ -0,0 +1,149 @@
+#$L$
+# Copyright (C) 2010 Ridgerun (http://www.ridgerun.com).
+#$L$
+
+.PHONY: build clean scripts relflags real_build
+
+include ../../bsp/classes/rrsdk.class
+include $(CLASSES)/fetcher.defs
+
+include arch/Makefile.rules
+include mach/Makefile.rules
+
+MKIMAGE = ./src/tools/mkimage -A arm -O linux
+IMAGES = $(DEVDIR)/images/
+
+BOOTLOADER_TARBALL?=$(BOOTLOADER).tar.bz2
+PKG_TARBALL=$(BOOTLOADER_TARBALL)
+FETCHER_EXTRACT_DIRECTORY_NAME=src
+PKG_URL=$(BOOTLOADER_URL)
+
+ifeq ($(CONFIG_BSP_ARCH_KERNEL_COMPRESS),y)
+KERNEL_LOAD_ADDRESS=$(CONFIG_BSP_ARCH_SDRAM_BASE)
+else
+KERNEL_LOAD_ADDRESS=$(CONFIG_BSP_ARCH_KERNEL_LOAD_ADDRESS)
+endif
+
+ifeq ($(CONFIG_UBOOT_NAND_FLASH_MEMORY),y)
+CPPFLAGS+= -DCONFIG_SYS_USE_NAND
+endif
+
+ifeq ($(CONFIG_UBOOT_NOR_FLASH_MEMORY),y)
+CPPFLAGS+= -DCONFIG_SYS_USE_NOR -DCONFIG_SYS_FLASH_SECT_SZ=$(CONFIG_UBOOT_FLASH_BLK_SIZE) -DPHYS_FLASH_SIZE=$(CONFIG_UBOOT_FLASH_SIZE)
+endif
+
+build: $(BOOTLOADER) rrpatched arch_build mach_build relflags uboot_built copy_images arch_post_build mach_post_build scripts
+
+relflags:
+ $(V) echo $(CPPFLAGS) > relflags.tmp
+ $(V) if [ -f relflags ] && ! diff relflags relflags.tmp >/dev/null ; then \
+ $(ECHO) "Rebuilding $(BOOTLOADER) since compile flags changed..." ; \
+ $(MAKE) real_build ; \
+ else \
+ mv relflags.tmp relflags ; \
+ fi
+
+uboot_configured:
+ $(V) $(MAKE) -C src $(UBOOT_BOARD_CONFIG) CROSS_COMPILE=$(TOOLCHAIN_PREFIX)- RELFLAGS="$(CFLAGS)"
+ $(V) touch $@
+
+#Some platforms like the DM8148 needs an extra parameter with the uboot name when uboot will be built,
+#in this cases, the variable TI_NAME must be set properly in mach/Makefile.rules
+real_build:
+ $(V) $(MAKE) -C src -j $(BSP_NCPU) CROSS_COMPILE=$(TOOLCHAIN_PREFIX)- \
+ CONFIG_SYS_TEXT_BASE=$(CONFIG_UBOOT_RAM_ADDRS) EXTRA_CPPFLAGS="$(CPPFLAGS)" $(TI_NAME) $(QOUT) $(ERRQOUT)
+
+copy_images:
+ $(V) cp src/u-boot.bin $(BOOTLOADERIMAGE)
+ $(V) cp src/u-boot*bin* $(IMAGES)
+
+uboot_built: uboot_configured
+ $(V) $(ECHO) "Building $(BOOTLOADER)..."
+ $(V) $(MAKE) real_build
+ $(V) touch $@
+
+ifneq ($(BOOTLOADER_TARBALL),)
+BOOTLOADER_URL?=https://$(DOWNLOAD_SERVER)/packages/
+endif
+
+ifneq ($(BOOTLOADER_URL),)
+$(BOOTLOADER): rrfetched
+else
+$(BOOTLOADER):
+ $(V)$(ECHO) "\n$${ERROR_COLOR}Error:$${NORMAL_COLOR} no BOOTLOADER_URL or BOOTLOADER_TARBALL defined, and bootloader code not found... aborting\n";
+ $(V) exit -1;
+endif
+
+src: $(BOOTLOADER)
+
+preconfig: Config
+
+Config: Config.template
+ $(V) cp $< $@
+ $(V) echo "source bootloader/$(BOOTLOADER)/arch/Config" >> $@
+ $(V) echo "source bootloader/$(BOOTLOADER)/mach/Config" >> $@
+
+buildfs:
+
+clean: arch_clean mach_clean unpatch
+ $(V) if ! [ -f src/.svn ] ; then \
+ rm -Rf src rrfetched ; \
+ else \
+ if [ -d src ] ; then \
+ $(MAKE) -C src CROSS_COMPILE=$(TOOLCHAIN_PREFIX)- distclean ; \
+ fi ; \
+ fi
+ $(V) find . -name .depend | xargs rm -f {}
+ $(V) rm -f *.o *.d uboot_configured \
+ uboot_built relflags relflags.tmp .fsloadhex
+
+
+#################################################################
+# Scripts Section #
+#################################################################
+
+scripts:
+ifeq ($(CONFIG_BSP_ARCH_KERNEL_COMPRESS),y)
+ @$(ECHO) Building bootloader compressed uImage
+ @# Build the kernel image
+ $(V)$(MKIMAGE) -T kernel -C none -a $(CONFIG_BSP_ARCH_KERNEL_ZTEXTADDR) \
+ -e $(CONFIG_BSP_ARCH_KERNEL_ZTEXTADDR) \
+ -n "\"RR Compressed Linux Kernel\"" -d $(KERNELIMAGE) $(KERNELIMAGE).uImage > /dev/null
+else
+ @$(ECHO) Building bootloader uncompressed uImage
+ @# Build the kernel image
+ $(V)$(MKIMAGE) -T kernel -C none -a $(CONFIG_BSP_ARCH_KERNEL_LOAD_ADDRESS) \
+ -e $(CONFIG_BSP_ARCH_KERNEL_ENTRY_ADDRESS) \
+ -n "\"RR Linux Kernel\"" -d $(KERNELIMAGE) $(KERNELIMAGE).uImage > /dev/null
+endif
+ @# Load the file system image after the kernel image (dirty calcs)
+ $(V)declare -i KEND=0x`tail -1 $(DEVDIR)/kernel/$(KERNEL)/System.map | cut -f1 -d\ ` ; \
+ KEND=$$KEND/4096 ; \
+ KEND=$$KEND+4 ; \
+ KEND=$$KEND*4096 ; \
+ declare -i FSLOAD=$$KEND-1073741824 ; # convert from 0xC.. to 0x8... \
+ FSLOADHEX=`echo $$FSLOAD 16o p | dc` ; \
+ echo $$FSLOADHEX >.fsloadhex
+ifeq ($(CONFIG_FS_TARGET_INITRD),y)
+ $(V)$(MKIMAGE) -T ramdisk -C none -a `cat .fsloadhex` \
+ -n "\"RR File System Image\"" -d $(IMAGES)fsimage $(FSIMAGE).uImage $(QOUT) ;
+else
+ifneq ($(CONFIG_FS_TARGET_NFSROOT),y)
+ @# Other file systems that are not NFS or initrd live directly on flash
+ @# so we don't build a uImage for them, only load the raw file
+ifneq ($(CONFIG_FS_TARGET_SD),y)
+ $(V)if [ -e $(IMAGES)fsimage ] ; then \
+ cp $(IMAGES)fsimage $(FSIMAGE).uImage $(QOUT) ; \
+ fi
+
+else
+ @# Empty fs image file for SD FS
+ $(V)rm -f $(FSIMAGE).uImage $(QOUT)
+ $(V)touch $(FSIMAGE).uImage $(QOUT)
+endif
+else
+ @# Empty fs image file for NFS
+ $(V)rm -f $(FSIMAGE).uImage $(QOUT)
+ $(V)touch $(FSIMAGE).uImage $(QOUT)
+endif
+endif
View
1  bootloader/u-boot-20110621c/arch
View
1  bootloader/u-boot-20110621c/mach
View
1  bootloader/u-boot-20110621c/patches/arch
View
1  bootloader/u-boot-20110621c/patches/mach
View
59 bootloader/u-boot-20110621c/xloader/Makefile
@@ -0,0 +1,59 @@
+#$L$
+# Copyright (C) 2010 Ridgerun (http://www.ridgerun.com).
+#$L$
+
+include ../../../bsp/classes/rrsdk.defs
+include $(CLASSES)/fetcher.defs
+include ../mach/Makefile.rules
+
+XLOADER_TARBALL?=$(XLOADER).tar.gz
+PKG_TARBALL=$(XLOADER_TARBALL)
+FETCHER_EXTRACT_DIRECTORY_NAME=src
+PKG_URL=$(XLOADER_URL)
+
+.PHONY: build clean
+
+all: xloader_patched xloader_configured xloader_built images
+
+ifneq (x$(XLOADER_TARBALL),x)
+XLOADER_URL?=https://$(DOWNLOAD_SERVER)/packages/
+endif
+
+build: xloader_patched xloader_built images
+
+xloader_built: $(XLOADER) xloader_patched xloader_configured
+ $(V) $(ECHO) "Building $(XLOADER)-$(XLOADER_VERSION)..."
+ $(V) $(MAKE) -C src all CROSS_COMPILE=$(TOOLCHAIN_PREFIX)- CFG_LOADADDRS=$(CONFIG_UBOOT_RAM_ADDRS) $(QOUT) $(ERRQOUT)
+ $(V) touch $@
+
+xloader_configured: xloader_patched
+ $(V) echo ;
+ $(V) echo "Configuring for $(XLOADER_BOARD_CONFIG) ..."
+ $(V) $(MAKE) -C src $(XLOADER_BOARD_CONFIG) CROSS_COMPILE=$(TOOLCHAIN_PREFIX)- $(QOUT)
+ $(V) touch $@
+
+xloader_patched: $(XLOADER) rrpatched
+ touch $@
+
+ifneq (x$(XLOADER_URL),x)
+$(XLOADER): rrfetched
+else
+$(XLOADER):
+ $(V)$(ECHO) "\n$${ERROR_COLOR}Error:$${NORMAL_COLOR} no XLOADER_URL or XLOADER_TARBALL defined, and xloader code not found... aborting\n";
+ $(V) exit -1;
+endif
+
+images:
+ $(V) cp src/x-load.bin.ift $(DEVDIR)/images/
+
+clean: unpatch
+ $(V) if [ -f rrfetched ] ; then \
+ rm -Rf src rrfetched ; \
+ else \
+ if [ -d src ] ; then \
+ $(MAKE) -C src CROSS_COMPILE=$(TOOLCHAIN_PREFIX)- distclean \
+ $(QOUT) 2>$(LOGFILE) ; \
+ fi ; \
+ fi
+ $(V) rm -f src/x-load.bin.ift src/signGP patched
+ $(V) rm -f *.o *.d xloader_configured xloader_patched xloader_built
View
1  bootloader/u-boot-20110621c/xloader/patches/arch
View
1  bootloader/u-boot-20110621c/xloader/patches/mach
View
13 bootloader/u-boot-20110621c/xloader/patches/rrsdk-integration.patch
@@ -0,0 +1,13 @@
+Index: xloader/src/lib/board.c
+===================================================================
+--- xloader.orig/src/lib/board.c 2012-09-19 12:03:17.583770279 -0600
++++ xloader/src/lib/board.c 2012-09-19 12:04:19.914324263 -0600
+@@ -40,7 +40,7 @@
+ #ifdef CFG_PRINTF
+ int print_info(void)
+ {
+- printf("\n\nTexas Instruments X-Loader 1.51 ("
++ printf("\n\nCustomized by RidgeRun Embedded Solutions TI X-Loader 1.51 ("
+ __DATE__ " - " __TIME__ ")\n");
+ return 0;
+ }
View
1  bootloader/u-boot-20110621c/xloader/patches/series
@@ -0,0 +1 @@
+rrsdk-integration.patch
View
2  bsp/.release
@@ -0,0 +1,2 @@
+Turrialba
+13444
View
116 bsp/.updinfo
@@ -0,0 +1,116 @@
+bsp/bspcore/branches/Turrialba;/
+bsp/apps/busybox/branches/Turrialba/1.18.2;/fs/apps/busybox/
+bsp/apps/sysvinit/branches/Turrialba/2011.5.11/;/fs/apps/sysvinit-2011.5.11/
+bsp/apps/dosfstools/branches/Turrialba/3.0.11;/fs/apps/dosfstools-3.0.11/
+bsp/apps/howl/branches/Turrialba/1.0.0;/fs/apps/howl-1.0.0/
+bsp/apps/iperf/branches/Turrialba/2.0.5;/fs/apps/iperf-2.0.5/
+bsp/apps/popt/branches/Turrialba/1.16;/fs/apps/popt-1.16/
+bsp/apps/zlib/branches/Turrialba/1.2.5;/fs/apps/zlib-1.2.5/
+bsp/apps/bash/branches/Turrialba/4.2;/fs/apps/bash-4.2/
+bsp/apps/binutils/branches/Turrialba/2.21;/fs/apps/binutils-2.21/
+bsp/apps/sqlite/branches/Turrialba/3.7.5;/fs/apps/sqlite-3.7.5/
+bsp/apps/expat/branches/Turrialba/2.0.1;/fs/apps/expat-2.0.1/
+bsp/apps/dbus/branches/Turrialba/1.4.6;/fs/apps/dbus-1.4.6/
+bsp/apps/libffi/branches/Turrialba/3.0.10;/fs/apps/libffi-3.0.10/
+bsp/apps/glib/branches/Turrialba/2.31.18;/fs/apps/glib-2.31.18/
+bsp/apps/dconf/branches/Turrialba/0.7.5;/fs/apps/dconf-0.7.5/
+bsp/apps/gettext/branches/Turrialba/0.18.1.1;/fs/apps/gettext-0.18.1.1/
+bsp/apps/dbus-glib/branches/Turrialba/0.92;/fs/apps/dbus-glib-0.92/
+bsp/apps/mtdutils/branches/Turrialba/1.4.2;/fs/apps/mtdutils-1.4.2/
+bsp/apps/libdaemon/branches/Turrialba/0.14;/fs/apps/libdaemon-0.14
+bsp/apps/avahi/branches/Turrialba/0.6.19;/fs/apps/avahi-0.6.19
+bsp/apps/lrzsz/branches/Turrialba/0.12.21;/fs/apps/lrzsz-0.12.21/
+bsp/apps/wireless_tools/branches/Turrialba/29;/fs/apps/wireless_tools-29/
+bsp/apps/tslib/branches/Turrialba/1.0;/fs/apps/tslib-1.0/
+bsp/apps/alsa-lib/branches/Turrialba/1.0.24;/fs/apps/alsa-lib-1.0.24/
+bsp/apps/alsa-utils/branches/Turrialba/1.0.24.2;/fs/apps/alsa-utils-1.0.24.2/
+bsp/apps/ncurses/branches/Turrialba/5.7;/fs/apps/ncurses-5.7/
+bsp/apps/psplash/branches/Turrialba/0.1;/fs/apps/psplash-0.1/
+bsp/apps/dejavu-fonts-ttf/branches/Turrialba/2.32;/fs/apps/dejavu-fonts-ttf-2.32/
+bsp/apps/dropbear/branches/Turrialba/0.53;/fs/apps/dropbear-0.53/
+bsp/apps/php/branches/Turrialba/5.3.4;/fs/apps/php-5.3.4
+bsp/apps/eaccelerator/branches/Turrialba/0.9.6.1;/fs/apps/eaccelerator-0.9.6.1
+bsp/apps/pcre/branches/Turrialba/8.12;/fs/apps/pcre-8.12
+bsp/apps/lighttpd/branches/Turrialba/1.4.28;/fs/apps/lighttpd-1.4.28
+bsp/apps/openssl/branches/Turrialba/1.0.0.c;/fs/apps/openssl-1.0.0.c
+bsp/apps/curl/branches/Turrialba/7.21.3;/fs/apps/curl-7.21.3/
+bsp/apps/mtools/branches/Turrialba/4.0.15;/fs/apps/mtools-4.0.15
+bsp/apps/lzo/branches/Turrialba/2.04;/fs/apps/lzo-2.04
+bsp/apps/wpa_supplicant/branches/Turrialba/0.7.3;/fs/apps/wpa_supplicant-0.7.3
+bsp/apps/readline/branches/Turrialba/6.1;/fs/apps/readline-6.1
+bsp/apps/i2c-tools/branches/Turrialba/3.0.3;/fs/apps/i2c-tools-3.0.3/
+bsp/apps/gnutls/branches/Turrialba/2.8.6;/fs/apps/gnutls-2.8.6
+bsp/apps/libgcrypt/branches/Turrialba/1.4.6;/fs/apps/libgcrypt-1.4.6
+bsp/apps/libgpg-error/branches/Turrialba/1.10;/fs/apps/libgpg-error-1.10
+bsp/apps/libxml2/branches/Turrialba/2.7.8;/fs/apps/libxml2-2.7.8/
+bsp/apps/socketcan/branches/Turrialba/2011.02.02/;/fs/apps/socketcan-2011.02.02/
+bsp/apps/iproute2/branches/Turrialba/2.6.37;/fs/apps/iproute2-2.6.37/
+bsp/apps/util-linux/branches/Turrialba/2.19;/fs/apps/util-linux-2.19
+bsp/apps/dhcp/branches/Turrialba/4.1.2/;/fs/apps/dhcp-4.1.2/
+bsp/apps/snmp/branches/Turrialba/5.6/;/fs/apps/net-snmp-5.6/
+bsp/apps/cairo/branches/Turrialba/1.10.2;/fs/apps/cairo-1.10.2/
+bsp/apps/pixman/branches/Turrialba/0.22.0;/fs/apps/pixman-0.22.0/
+bsp/apps/fontconfig/branches/Turrialba/2.8.0/;/fs/apps/fontconfig-2.8.0/
+bsp/apps/freetype/branches/Turrialba/2.4.4;/fs/apps/freetype-2.4.4/
+bsp/apps/libpng/branches/Turrialba/1.5.0;/fs/apps/libpng-1.5.0/
+bsp/apps/jpeg/branches/Turrialba/8c;/fs/apps/jpeg-8c
+bsp/apps/ipiped/branches/Turrialba/2012.05.24/;/fs/apps/ipiped-2012.05.24/
+bsp/apps/libusb/branches/Turrialba/1.0.8;/fs/apps/libusb-1.0.8
+bsp/apps/libusb-compat/branches/Turrialba/0.1.3;/fs/apps/libusb-compat-0.1.3
+bsp/apps/cups/branches/Turrialba/1.5.0;/fs/apps/cups-1.5.0
+bsp/apps/libtiff/branches/Turrialba/3.9.4;/fs/apps/libtiff-3.9.4
+bsp/apps/libexif/branches/Turrialba/0.6.20;/fs/apps/libexif-0.6.20
+bsp/apps/python/branches/Turrialba/2.7.2;/fs/apps/python-2.7.2
+bsp/apps/pygobject/branches/Turrialba/2.28.6;/fs/apps/pygobject-2.28.6
+bsp/apps/dbus-python/branches/Turrialba/1.0.0;/fs/apps/dbus-python-1.0.0
+bsp/host-apps/automake/branches/Turrialba/1.11;/fs/host-apps/automake-1.11/
+bsp/host-apps/babeltrace/branches/Turrialba/1.0;/fs/host-apps/babeltrace-1.0/
+bsp/host-apps/binutils/branches/Turrialba/2.21;/fs/host-apps/binutils-2.21/
+bsp/host-apps/cmake/branches/Turrialba/2.8.4;/fs/host-apps/cmake-2.8.4/
+bsp/host-apps/glib/branches/Turrialba/2.31.16;/fs/host-apps/glib-2.31.16/
+bsp/host-apps/libelf/branches/Turrialba/0.8.13;/fs/host-apps/libelf-0.8.13/
+bsp/host-apps/libffi/branches/Turrialba/3.0.10;/fs/host-apps/libffi-3.0.10/
+bsp/host-apps/libtool/branches/Turrialba/2.2.8;/fs/host-apps/libtool-2.2.8/
+bsp/host-apps/mtdutils/branches/Turrialba/1.5.0;/fs/host-apps/mtdutils-1.5.0/
+bsp/host-apps/orc/branches/Turrialba/0.4.16;/fs/host-apps/orc-0.4.16/
+bsp/host-apps/php/branches/Turrialba/5.3.4;/fs/host-apps/php-5.3.4/
+bsp/host-apps/pkg-config/branches/Turrialba/0.25;/fs/host-apps/pkg-config-0.25/
+bsp/host-apps/python/branches/Turrialba/2.7.2;/fs/host-apps/python-2.7.2/
+bsp/host-apps/vala/branches/Turrialba/0.12.0;/fs/host-apps/vala-0.12.0/
+bsp/host-apps/xz/branches/Turrialba/5.0.3;/fs/host-apps/xz-5.0.3/
+bsp/platforms/dm373x/arch/branches/Turrialba;/bsp/arch-dm373x
+bsp/toolchain/bsp/arm-eabi-glibc-codesourcery/branches/Turrialba/2009q1/;/toolchain/arm-eabi-glibc-codesourcery
+bsp/installer/u-boot-installer/branches/Turrialba/;/installer/u-boot-installer/
+bsp/proprietary/ti/dvsdk/branches/Turrialba/4_03_00_06;/proprietary/dvsdk-4_03_00_06/
+bsp/proprietary/ti/gst-dmai-plugins/branches/Turrialba;/proprietary/gst-dmai-plugins/
+bsp/platforms/dm373x/mach-beaglexm/branches/Turrialba;/bsp/mach-beaglexm
+bsp/bootloader/u-boot-generic/branches/Turrialba/;/bootloader/u-boot-20110621c
+bsp/bootloader/patches/u-boot-20110621c/branches/Turrialba;/bootloader/u-boot-20110621c/patches
+bsp/bootloader/x-loader-generic/branches/Turrialba;/bootloader/u-boot-20110621c/xloader
+bsp/bootloader/patches/x-loader-1.51/branches/Turrialba;/bootloader/u-boot-20110621c/xloader/patches
+bsp/kernel/common_patches/branches/Turrialba/linux-2.6.37-psp04.02.00.07;/kernel/patches/
+bsp/apps/qt/branches/Turrialba/4.7.2;/fs/apps/qt-4.7.2/
+bsp/apps/DirectFB/branches/Turrialba/1.4.9;/fs/apps/DirectFB-1.4.9/
+bsp/apps/libmad/branches/Turrialba/0.15.1b;/fs/apps/libmad-0.15.1b/
+bsp/apps/libid3tag/branches/Turrialba/0.15.1b;/fs/apps/libid3tag-0.15.1b/
+bsp/apps/madplay/branches/Turrialba/0.15.2b;/fs/apps/madplay-0.15.2b/
+bsp/apps/libvorbis/branches/Turrialba/1.3.2;/fs/apps/libvorbis-1.3.2/
+bsp/apps/libogg/branches/Turrialba/1.2.2;/fs/apps/libogg-1.2.2/
+bsp/apps/flac/branches/Turrialba/1.2.1;/fs/apps/flac-1.2.1/
+bsp/apps/lame/branches/Turrialba/3.98.4;/fs/apps/lame-3.98.4/
+bsp/apps/faad/branches/Turrialba/2.7;/fs/apps/faad-2.7/
+bsp/apps/faac/branches/Turrialba/1.28;/fs/apps/faac-1.28/
+bsp/apps/libtheora/branches/Turrialba/1.1.1;/fs/apps/libtheora-1.1.1/
+bsp/apps/OpenCV/branches/Turrialba/2.1.0;/fs/apps/OpenCV-2.1.0/
+bsp/apps/liboil/branches/Turrialba/0.3.17;/fs/apps/liboil-0.3.17/
+bsp/apps/libsoup/branches/Turrialba/2.32.2;/fs/apps/libsoup-2.32.2
+bsp/apps/gstreamer/branches/Turrialba/0.10.32;/fs/apps/gstreamer-0.10.32/
+bsp/apps/gst-plugins-base/branches/Turrialba/0.10.32;/fs/apps/gst-plugins-base-0.10.32/
+bsp/apps/gst-plugins-good/branches/Turrialba/0.10.25;/fs/apps/gst-plugins-good-0.10.25/
+bsp/apps/gst-plugins-ugly/branches/Turrialba/0.10.17;/fs/apps/gst-plugins-ugly-0.10.17/
+bsp/apps/gst-plugins-bad/branches/Turrialba/0.10.21;/fs/apps/gst-plugins-bad-0.10.21/
+bsp/apps/gst-ffmpeg/branches/Turrialba/0.10.11;/fs/apps/gst-ffmpeg-0.10.11/
+bsp/apps/gst-tracelib/branches/Turrialba/0.2;/fs/apps/gst-tracelib-0.2/
+bsp/apps/gst-python/branches/Turrialba/0.10.22;/fs/apps/gst-python-0.10.22/
+bsp/apps/gst-rtsp-server/branches/Turrialba/0.10.8;/fs/apps/gst-rtsp-server-0.10.8
+bsp/apps/gstd/branches/Turrialba/1.0;/fs/apps/gstd-1.0
View
199 bsp/Config
@@ -0,0 +1,199 @@
+#
+# Ridgerun BSP Configuration file
+#
+
+mainmenu "Ridgerun BSP Configuration"
+
+menu "Generic SDK configuration"
+
+config BSP_MAX_CPU_USAGE
+ int "Percentage of CPU cores to use on multi-core machines"
+ default 50
+ help
+ When the SDK builds on a multi-core machine, it may speed up
+ using several cores. This option allows to control the maximum
+ percentage of cores to use.
+
+config BSP_NET_HAS_NET
+ bool
+ select CONFIG_IFUPDOWN
+
+if BSP_NET_HAS_NET
+comment "Network interface support for Linux"
+
+config BSP_IPV6_SUPPORT
+ bool "Enable IPv6 support on the SDK"
+ default y
+ select IPV6
+ select IPV6_MULTIPLE_TABLES
+ select IPV6_SUBTREES
+ select FEATURE_IPV6
+ select FEATURE_IFUPDOWN_IPV6
+ select FEATURE_IFUPDOWN_EXTERNAL_DHCP
+ select FEATURE_IFUPDOWN_IP_BUILTIN
+ select IP
+ help
+ This options forces all the dependencies to support IPv6
+ enabled SDK out of the box.
+
+if BSP_NET_HAS_ETH0
+config BSP_NET_ETH0_USE_DHCP
+ bool "Use DHCP for eth0"
+ default y
+ help
+ Use dhcp client for eth0 network interface
+
+config BSP_NET_ETH0_IPADDR
+ string "Linux network IP address (eth0)"
+ default "192.168.1.10"
+ depends on !BSP_NET_ETH0_USE_DHCP
+ help
+ This is the IP network address to be used by Linux kernel for eth0.
+
+config BSP_NET_ETH0_GATEWAY_IPADDR
+ string "Gateway IP address (eth0)"
+ default "192.168.1.100"
+ depends on !BSP_NET_ETH0_USE_DHCP
+ help
+ This is the Gateway IP address to be used by Linux kernel for eth0.
+
+config BSP_NET_ETH0_NETMASK
+ string "Linux network mask address for interface (eth0)"
+ default "255.255.255.0"
+ depends on !BSP_NET_ETH0_USE_DHCP
+ help
+ This is the IP mask to be used by Linux kernel for eth0.
+
+choice
+ prompt "IPv6 configuration mode for eth0"
+ depends on BSP_NET_HAS_ETH0
+ depends on BSP_IPV6_SUPPORT
+ default BSP_NET_ETH0_USE_STATELESS
+
+
+config BSP_NET_ETH0_USE_DHCPV6
+ bool "DHCPv6"
+ select FS_APPS_DHCP_CLIENT
+ help
+ Say Y if you want to use DHCP to configure with network interface, this is going to
+ configure your IPv6, netmask, gateway and DNS server.
+
+config BSP_NET_ETH0_USE_STATELESS
+ bool "Stateless"
+ help
+ Say Y if you want to use the stateless network configuration, this is going to
+ configure your IPv6 and netmask.
+
+config BSP_NET_ETH0_USE_STATIC6
+ bool "Static"
+ help
+ Say Y if you want to configure manually your network parameters.
+endchoice
+
+config BSP_NET_ETH0_GLOBAL_IPADDR6
+ string "Linux global scope network IPv6 address (eth0)"
+ default ""
+ depends on BSP_NET_ETH0_USE_STATIC6
+ help
+ This is the IPv6 global scope network address to be used by Linux kernel for eth0.
+
+config BSP_NET_ETH0_GATEWAY_IPADDR6
+ string "Linux Gateway IPv6 address (eth0)"
+ default ""
+ depends on BSP_NET_ETH0_USE_STATIC6
+ help
+ This is the Gateway IPv6 address to be used by Linux kernel for eth0.
+endif # NET_ETH0
+
+if BSP_NET_HAS_USB0
+config BSP_NET_USB0_USE_DHCP
+ bool "Use DHCP for usb0"
+ default y
+ help
+ Use dhcp client for usb0 network interface
+
+config BSP_NET_USB0_IPADDR
+ string "Linux network IP address (usb0)"
+ default "192.168.1.10"
+ depends on !BSP_NET_USB0_USE_DHCP
+ help
+ This is the IP network address to be used by Linux kernel for usb0.
+
+config BSP_NET_USB0_GATEWAY_IPADDR
+ string "Gateway IP address (usb0)"
+ default "192.168.1.100"
+ depends on !BSP_NET_USB0_USE_DHCP
+ help
+ This is the Gateway IP address to be used by Linux kernel for usb0.
+
+config BSP_NET_USB0_NETMASK
+ string "Linux network mask address for interface (usb0)"
+ default "255.255.255.0"
+ depends on !BSP_NET_USB0_USE_DHCP
+ help
+ This is the IP mask to be used by Linux kernel for usb0.
+
+choice
+ prompt "IPv6 configuration mode for usb0"
+ depends on BSP_NET_HAS_USB0
+ depends on BSP_IPV6_SUPPORT
+ default BSP_NET_USB0_USE_STATELESS
+
+
+config BSP_NET_USB0_USE_DHCPV6
+ bool "DHCPv6"
+ select FS_APPS_DHCP_CLIENT
+ help
+ Say Y if you want to use DHCP to configure with network interface, this is going to
+ configure your IPv6, netmask, gateway and DNS server.
+
+config BSP_NET_USB0_USE_STATELESS
+ bool "Stateless"
+ help
+ Say Y if you want to use the stateless network configuration, this is going to
+ configure your IPv6 and netmask.
+
+config BSP_NET_USB0_USE_STATIC6
+ bool "Static"
+ help
+ Say Y if you want to configure manually your network parameters.
+endchoice
+
+config BSP_NET_USB0_GLOBAL_IPADDR6
+ string "Linux global scope network IPv6 address (usb0)"
+ default ""
+ depends on BSP_NET_USB0_USE_STATIC6
+ help
+ This is the IPv6 global scope network address to be used by Linux kernel for usb0.
+
+config BSP_NET_USB0_GATEWAY_IPADDR6
+ string "Linux Gateway IPv6 address (usb0)"
+ default ""
+ depends on BSP_NET_USB0_USE_STATIC6
+ help
+ This is the Gateway IPv6 address to be used by Linux kernel for usb0.
+endif # NET_USB0
+
+endif # HAS_NET
+
+endmenu
+
+# Let's include the ARCH dependand parts (this one will include the mach config)
+source bsp/arch/Config
+
+# Now the generic stuff
+source installer/Config
+
+source bootloader/Config
+
+source fs/Config
+
+source myapps/Config
+
+source kernel/Config
+
+source toolchain/Config
+
+# Now any extra we may have
+source bsp/ConfigExtra
+
View
120 bsp/Makefile
@@ -0,0 +1,120 @@
+#$L$
+# Copyright (C) 2011 Ridgerun (http://www.ridgerun.com).
+#$L$
+
+#! \mainpage RidgeRun SDK API Documentation
+#! \section introsec Introduction
+#! RidgeRun SDK provides a coherent and compresive enviroment for predictable configuration and build of
+#! embedded Linux solutions.
+#!
+#! This documentation provides details regarding internal implementation of the SDK and the API to interact
+#! with his components.
+#!
+#! For more information regarding specific functionality please check the modules tab and the specific area
+#! of interest.
+#!
+#!
+#! You can find more information at http://developer.ridgerun.com
+#!
+#! Or contact RidgeRun for support at inquiries@ridgerun.com
+
+#! \defgroup core SDK Core
+#! \section Introduction
+#! The core of the SDK consist of a several components:
+#! - The build system: handles the cross-compilation logic
+#! - The configuration system: handles configuration of the SDK
+#! - The oscheck: handles depedency checking with build host machine
+#! - The installer: handles transferring images build by the SDK to the target hardware
+
+#! \defgroup config Configuration System
+#! \ingroup core
+#! \section Introduction
+#! This SDK core component provides the logic neccesary for the configuration and general settings of the SDK.
+
+#! \defgroup build Build System (cross compilation)
+#! \ingroup core
+#! \section Introduction
+#! This SDK subsystem is responsible for and contains the logic required for handling the cross-compilation process that applications that will eventually be present in the target platform will use during installation, as well as other related tasks such as code fetching.
+
+#! \defgroup classes SDK Classes
+#! \ingroup build
+#! \section Introduction
+#! Provides a collection of definition and class files that are used for automated and unificated procedures used during application installation and integration, in order to ease adaptation and porting of applications to the target platform within the SDK.
+
+#! \defgroup oscheck System Checker (oscheck)
+#! \ingroup core
+#! \section Introduction
+#! Contains a collection of files that determine system and package requirements for different Linux distributions required to make use of the RidgeRun SDK and its features. An automated script will try to detect the underlying Unix distribution and if possible its version, then check for packages in an automated way for this specific distribution.
+
+#! \defgroup kernel Kernel
+#! \section Introduction
+#! Contains a verion of the Linux kernel tested to work well on the target processor.
+
+#! \defgroup bootloader Bootloader
+#! \section Introduction
+#! Contains a verion of das u-boot bootloader tested to work well on the target processor.
+
+#! \defgroup installer Installer
+
+#! \defgroup installer Installer System
+#! \ingroup core
+#! \section Introduction
+#! Contains perl scripts which interacts with u-boot or build an SD card image so that the images built by the SDK can be easily transferred to the target hardware.
+
+#! \defgroup toolchain Toolchain
+#! \section Introduction
+#! Contains a version of the GNU toolchain tested to work well on the source code provided in the SDK.
+
+.PHONY: all tools preconfig config menuconfig gconfig clean
+
+ifeq ($(DEVDIR),)
+$(error ====== DEVDIR variable is empty, invoke this Makefile from the BSP root, or provide the path to it =====)
+endif
+include $(DEVDIR)/bsp/mach/Make.conf
+
+all:
+ @$(ECHO) "There is not default target for this BSP component"
+
+preconfig:
+ @rm -f ConfigExtra
+ @if [ -d $(DEVDIR)/fs/rrapps ] ; then \
+ echo "source fs/rrapps/Config" >> ConfigExtra ; \
+ fi
+ @if [ -d $(DEVDIR)/proprietary ] ; then \
+ echo "source proprietary/Config" >> ConfigExtra ; \
+ fi
+ touch ConfigExtra
+ @cp mach/bspconfig $(DEVDIR)
+
+tools:
+ $(MAKE) -C bspc
+
+config: preconfig tools
+ @cd $(DEVDIR); export srctree=$(BSPC_SRCTREE) ; bsp/bspc/conf bsp/Config
+ @if [ -f $(DEVDIR)/bspconfig ] ; then \
+ mv $(DEVDIR)/bspconfig mach/; \
+ rm -rf $(DEVDIR)/bspconfig.old; \
+ fi
+ @cp $(DEVDIR)/bsp/mach/bspconfig $(BSPCONFIGFILE)
+
+menuconfig: preconfig tools
+ @cd $(DEVDIR); export srctree=$(BSPC_SRCTREE) ; bsp/bspc/mconf bsp/Config
+ @if [ -f $(DEVDIR)/bspconfig ] ; then \
+ mv $(DEVDIR)/bspconfig mach/; \
+ rm -rf $(DEVDIR)/bspconfig.old; \
+ fi
+ @cp $(DEVDIR)/bsp/mach/bspconfig $(BSPCONFIGFILE)
+
+gconfig: preconfig tools
+ $(MAKE) -C bspc gconf
+ @cd $(DEVDIR); export srctree=$(BSPC_SRCTREE) ; ./bsp/bspc/gconf bsp/Config
+ @if [ -f $(DEVDIR)/bspconfig ] ; then \
+ mv $(DEVDIR)/bspconfig mach/; \
+ rm -rf $(DEVDIR)/bspconfig.old; \
+ fi
+ @cp $(DEVDIR)/bsp/mach/bspconfig $(BSPCONFIGFILE)
+
+clean:
+ $(V)$(MAKE) -C bspc clean
+ $(V) rm -Rf local/*
+
View
31 bsp/Makefile.extra
@@ -0,0 +1,31 @@
+# Extra targets for the BSP that we don't want to put on the main Makefile
+
+.PHONY: svncmd svnup
+
+SVNCMD?=up
+
+svncmd: header
+ @if [ -f .svnlayout ] ; then \
+ $(ECHO) "Updating development directory from subversion..." ; \
+ for i in `cat .svnlayout` ; do \
+ if [ -d .$$i/.svn ] ; then \
+ pushd . >/dev/null; \
+ cd .$$i ; \
+ $(ECHO) " Running 'svn $(SVNCMD)' on $$i ..." ; \
+ svn $(SVNCMD) | grep -v ? ; \
+ popd >/dev/null; \
+ else \
+ echo Directory .$$i is not longer a subversion working directory ; \
+ fi ; \
+ done \
+ else \
+ $(ECHO) Your BSP is not a subversion working directory, cannot be updated by this way ; \
+ $(ECHO) You may receive software updates provided by RidgeRun using the target \"bspupdate\" ; \
+ $(ECHO) ; \
+ fi
+
+# Shortcut
+svnup: svncmd
+
+help_targets::
+ @echo " svnup - recursively run the 'svn up' command."
View
1  bsp/arch
View
115 bsp/arch-dm373x/Config
@@ -0,0 +1,115 @@
+#
+# Ridgerun BSP Configuration file for OMAP35x
+#
+
+menu "Architecture configurations"
+
+# Let the system know that we are a DM373x
+config BSP_ARCH_DM373x
+ bool
+ default y
+
+comment "SDRAM Definitions"
+
+config BSP_ARCH_SDRAM_BASE
+ hex "SDRAM Base address"
+ default "0x80000000"
+ help
+ Physical address of the start of SDRAM
+
+config BSP_ARCH_SDRAM_SIZE
+ hex "SDRAM size"
+ default "0x10000000"
+ help
+ Size of SDRAM
+
+comment "SDRAM Memory map"
+
+config BSP_ARCH_KERNEL_ATAGS_ADDRESS
+ hex "Kernel ATAGS parameter address"
+ default 0x80000100
+ help
+ This is the address where the ATAGS parameters for the ARM kernel
+ will reside. It's used by the bootloader and the kernel. Don't change
+ unless you know what are you doing.
+
+config BSP_ARCH_KERNEL_LOAD_ADDRESS
+ hex "Kernel physical start address (multiple of 4096 bytes)"
+ default 0x80008000
+ help
+ This is the default kernel load address. However this value can be
+ change at runtime since the kernel entry is position independent
+
+config BSP_ARCH_KERNEL_ENTRY_ADDRESS
+ hex "Kernel entry physical address"
+ default 0x80008000
+ help
+ This is the default kernel load address. However this value can be
+ change at runtime since the kernel entry is position independent
+
+config BSP_ARCH_KERNEL_COMPRESS
+ bool "Use kernel compression"
+ default y
+ help
+ Compress the kernel image in flash and decompress it when booting.
+
+config BSP_ARCH_KERNEL_ZTEXTADDR
+ depends on BSP_ARCH_KERNEL_COMPRESS
+ hex "Decompressor start address"
+ default "0x81E00000"
+ help
+ Start address of decompressor from the SDRAM base.
+
+ You normally call the kernel at this address to start it booting.
+
+ This address will hold the decompressor logic that will extract the
+ compressed kernel. For this decompression a work area is going to be used
+ and the extracted kernel is going to be let at the SDRAM base address.
+
+config BSP_ARCH_KERNEL_ZBSSADDR
+ depends on BSP_ARCH_KERNEL_COMPRESS
+ hex "Decompressor working area start address"
+ default "0x81F00000"
+ help
+ Start address of zero-initialised work area for the decompressor.
+
+ This work area is going to be used just for the decompression steps,
+ then it will be free.
+
+# This arch supports SD card boot mode
+config BSP_ARCH_SUPPORTS_SD_CARD_INSTALLER_MODE
+ bool
+ default y
+
+config BSP_ARCH_SUPPORTS_JFFS2FS
+ bool
+ default y
+
+config BSP_ARCH_SUPPORTS_UBIFS
+ bool
+ default y
+
+config BSP_ARCH_SUPPORTS_NAND_SUBPAGES
+ bool
+ default y
+
+config BSP_ARCH_SD_CARD_INSTALLER_UBL
+ string
+ default "MLO"
+
+config BSP_ARCH_INSTALLER_IPL_GENERATION_TARGET
+ string
+ default "gen_ipl_bin"
+
+config BSP_ARCH_INSTALLER_UBOOT_FLASH_GENERATION_TARGET
+ string
+ default "gen_uboot_flashbin"
+
+config BSP_ARCH_INSTALLER_MIN_UBOOT_FLASH_BLK_START
+ int
+ default "4"
+
+source bsp/mach/Config
+
+endmenu
+
View
6 bsp/arch-dm373x/Kconfig
@@ -0,0 +1,6 @@
+#
+# Bridge to the kernel architecture configuration
+#
+
+source arch/arm/Kconfig
+
View
5 bsp/arch-dm373x/Make.defs
@@ -0,0 +1,5 @@
+#
+# Architecture specific definitions taked from bspconfig
+#
+export ARCH=arm
+export KERNELVERSION
View
52 bsp/arch-dm373x/apps/Makefile
@@ -0,0 +1,52 @@
+#$L$
+# Copyright (C) 2007 Ridgerun (http://www.ridgerun.com).
+#
+# This source code has a dual license. If this file is linked with other
+# source code that has a GPL license, then this file is licensed with a GPL
+# license as described below. Otherwise the source code contained in this
+# file is property of Ridgerun. This source code is protected under
+# copyright law.
+#
+# This program is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by the
+# Free Software Foundation; either version 2 of the License, or (at your
+# option) any later version.
+#
+# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN
+# NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+# ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+# You should have received a copy of the GNU General Public License along
+# with this program; if not, write to the Free Software Foundation, Inc.,
+# 675 Mass Ave, Cambridge, MA 02139, USA.
+#$L$
+
+
+.PHONY: build chkconfig preconfig buildfs clean
+
+ifeq ($(DEVDIR),)
+$(error ====== DEVDIR variable is empty, invoke this Makefile from the BSP root, or provide the path to it =====)
+endif
+include $(DEVDIR)/bsp/mach/Make.conf
+
+include $(DEVDIR)/bsp/classes/dependencies.defs
+build: dependency_build
+
+preconfig:
+ echo -e "# Automatic generated file by Makefile, don't edit\n\n" >ConfigExtra
+ $(V)for i in `ls` ; do \
+ if [ "$$i" != ".svn" ] && [ -e $$i/Config ] ; then \
+ if grep -q "^preconfig:" $$i/Makefile ; then \
+ $(ECHO) "Entering $$i..." ; \
+ $(MAKE) -C $$i $(MAKE_CALL_PARAMS) preconfig || { exit 1 ; } ; \
+ fi; \
+ echo -e "source fs/arch/$$i/Config \n\n" >>ConfigExtra ; \
+ fi ; \
+ done
View
5 bsp/arch-dm373x/apps/base/Config
@@ -0,0 +1,5 @@
+config FS_APPS_ARCH_BASE
+ bool
+ default y
+ select IPCALC
+ select IPCALC_FANCY
View
30 bsp/arch-dm373x/apps/base/Makefile
@@ -0,0 +1,30 @@
+# Copyright (C) 2007 RidgeRun (http://www.ridgerun.com)
+#
+# A license for this software is granted for evaluation purposes only.
+# Commercial use and/or redistribution is strictly forbidden without
+# written consent from RidgeRun.
+# A free license may be available for educational or personal use.
+# Contact RidgeRun for permission
+
+
+.PHONY: build chkconfig preconfig buildfs install clean
+
+ifeq ($(DEVDIR),)
+$(error ====== DEVDIR variable is empty, invoke this Makefile from the BSP root, or provide the path to it =====)
+endif
+include $(DEVDIR)/bsp/mach/Make.conf
+
+build:
+ # Install basic /etc files
+ $(V)cp -R etc $(FSROOT)/
+ $(V)find $(FSROOT)/etc/ -name .svn | xargs rm -Rf
+
+chkconfig:
+
+preconfig:
+
+buildfs:
+
+install:
+
+clean:
View
10 bsp/arch-dm373x/apps/base/etc/directfbrc
@@ -0,0 +1,10 @@
+fbdev=/dev/fb0
+no-banner
+no-vt
+no-vt-switch
+
+#mouse-protocol = ms
+#disable-module=keyboard
+# If you want to disable the cursor
+#no-cursor
+
View
1  bsp/arch-dm373x/apps/base/etc/hostname
@@ -0,0 +1 @@
+omap35x
View
3  bsp/arch-dm373x/apps/base/etc/inittab
@@ -0,0 +1,3 @@
+::sysinit:/etc/rcS
+::restart:/sbin/init
+ttyO0::askfirst:-/bin/sh
View
9 bsp/arch-dm373x/apps/base/interfaces
@@ -0,0 +1,9 @@
+# Warning this file is automatically generated
+
+# This file describes the network interfaces available on your system
+# and how to actvate them. For more information, see interfaces(5).
+
+# The loopback network interface
+auto lo
+iface lo inet loopback
+
View
2  bsp/arch-dm373x/host.required
@@ -0,0 +1,2 @@
+perl-expect
+
View
88 bsp/arch-dm373x/patches/dvsdk-4_02_00_06/Rules.make.custom
@@ -0,0 +1,88 @@
+include $(DEVDIR)/bsp/mach/Make.conf
+
+# Define target platform.
+PLATFORM=dm3730
+
+# The installation directory of the SDK.
+DVSDK_INSTALL_DIR=$(DEVDIR)/proprietary/dvsdk-4_02_00_06/dvsdk
+
+# For backwards compatibility
+DVEVM_INSTALL_DIR=$(DVSDK_INSTALL_DIR)
+
+# Where DSP/BIOS is installed.
+BIOS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dspbios_5_41_03_17
+
+# Where the DSPBIOS Utils package is installed.
+BIOSUTILS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/biosutils_1_02_02
+
+# Where the Codec Engine package is installed.
+CE_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/codec-engine_2_26_02_11
+
+# Where the DSP Link package is installed.
+LINK_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dsplink_1_65_00_02
+
+# Where the codecs are installed.
+CODEC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/codecs-omap3530_4_02_00_00
+
+# Where DMAI package is installed.
+DMAI_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dmai_2_20_00_15
+
+# Where the SDK demos are installed
+DEMO_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dvsdk-demos_4_02_00_01
+
+# Where the DVTB package is installed.
+DVTB_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dvtb_4_20_18
+
+# Where the EDMA3 LLD package is installed.
+EDMA3_LLD_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/edma3lld_01_11_00_03
+EDMA3LLD_INSTALL_DIR=$(EDMA3_LLD_INSTALL_DIR)
+
+# Where the Framework Components package is installed.
+FC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/framework-components_2_26_00_01
+
+# Where the MFC Linux Utils package is installed.
+LINUXUTILS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/linuxutils_2_26_01_02
+CMEM_INSTALL_DIR=$(LINUXUTILS_INSTALL_DIR)
+
+# Where the XDAIS package is installed.
+XDAIS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/xdais_6_26_01_03
+
+# Where the RTSC tools package is installed.
+XDC_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/xdctools_3_16_03_36
+
+# Where the Code Gen is installed.
+CODEGEN_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/cgt6x_6_1_14
+
+# Where the PSP is installed.
+PSP_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/psp
+
+# The directory that points to your kernel source directory.
+LINUXKERNEL_INSTALL_DIR=$(KERNELDIR)
+KERNEL_INSTALL_DIR=$(LINUXKERNEL_INSTALL_DIR)
+
+# Where the local power manager is installed.
+LPM_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/local-power-manager_1_24_02_09
+
+# Where the development headers and libs are installed.
+LINUXLIBS_INSTALL_DIR=$(FSDEVROOT)/usr
+
+# Where c6accel package is installed.
+C6ACCEL_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/c6accel_1_01_00_06
+
+# Where c6run package is installed.
+C6RUN_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/c6run_0_95_02_02
+
+# Where opengl graphics package is installed.
+GRAPHICS_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/omap35x_graphics_sdk_4.00.00.01
+
+# The prefix to be added before the GNU compiler tools (optionally including # path), i.e. "arm_v5t_le-" or "/opt/bin/arm_v5t_le-".
+CSTOOL_DIR=$(CONFIG_TOOLCHAIN_PATH)
+CSTOOL_PREFIX=$(CSTOOL_DIR)/bin/arm-none-linux-gnueabi-
+CSTOOL_PATH=$(CSTOOL_DIR)/bin
+
+MVTOOL_DIR=$(CSTOOL_DIR)
+MVTOOL_PREFIX=$(CSTOOL_PREFIX)
+
+# Where to copy the resulting executables
+EXEC_DIR=$(FSROOT)
+
View
468 bsp/arch-dm373x/patches/dvsdk-4_02_00_06/Verbose.patch
@@ -0,0 +1,468 @@
+Index: dvsdk-4_02_00_06/dvsdk/c6accel_1_01_00_02/soc/app/Makefile
+===================================================================
+--- dvsdk-4_02_00_06.orig/dvsdk/c6accel_1_01_00_06/soc/app/Makefile 2011-01-28 10:45:15.234262824 -0600
++++ dvsdk-4_02_00_06/dvsdk/c6accel_1_01_00_06/soc/app/Makefile 2011-01-28 10:45:47.413424493 -0600
+@@ -18,7 +18,7 @@
+ include $(ROOTDIR)/Rules.make
+
+ # Comment this out if you want to see full compiler and linker output.
+-VERBOSE = @
++V = @
+
+ # Which compiler flags should be used?
+ BUILD_TYPE=release
+@@ -75,8 +75,8 @@
+ LD_FLAGS += -L$(LINUXLIBS_INSTALL_DIR)/lib -lm -lpthread
+ C6ACCEL_LIB += ../c6accelw/lib/c6accelw_$(PLATFORM).a470MV
+
+-COMPILE.c = $(VERBOSE) $(CSTOOL_PREFIX)gcc $(CPP_FLAGS) $(C_FLAGS) $(CPP_FLAGS) -c
+-LINK.c = $(VERBOSE) $(CSTOOL_PREFIX)gcc $(LD_FLAGS)
++COMPILE.c = $(V) $(CSTOOL_PREFIX)gcc $(CPP_FLAGS) $(C_FLAGS) $(CPP_FLAGS) -c
++LINK.c = $(V) $(CSTOOL_PREFIX)gcc $(LD_FLAGS)
+
+ SOURCES = $(wildcard *.c)
+ HEADERS = $(wildcard *.h)
+@@ -108,8 +108,8 @@
+ @echo ======== Building $(TARGET) ========
+ @echo Configuring application using $<
+ @echo
+- $(VERBOSE) $(CONFIGURO) -o $(XDC_CFG) -t $(XDC_TARGET) -p $(PLATFORM_XDC) -b $(CONFIG_BLD) $(XDC_CFGFILE)
++ $(V) $(CONFIGURO) -o $(XDC_CFG) -t $(XDC_TARGET) -p $(PLATFORM_XDC) -b $(CONFIG_BLD) $(XDC_CFGFILE)
+
+ clean:
+ @echo Removing generated files..
+- $(VERBOSE) -$(RM) -rf $(XDC_CFG) $(OBJFILES) $(TARGET) *~ *.d .dep
++ $(V) -$(RM) -rf $(XDC_CFG) $(OBJFILES) $(TARGET) *~ *.d .dep
+Index: dvsdk-4_02_00_06/dvsdk/c6accel_1_01_00_02/soc/c6accelw/Makefile
+===================================================================
+--- dvsdk-4_02_00_06.orig/dvsdk/c6accel_1_01_00_06/soc/c6accelw/Makefile 2011-01-28 10:39:51.485255141 -0600
++++ dvsdk-4_02_00_06/dvsdk/c6accel_1_01_00_06/soc/c6accelw/Makefile 2011-01-28 10:41:46.405449729 -0600
+@@ -13,7 +13,7 @@
+ include $(ROOTDIR)/Rules.make
+
+ # Comment this out if you want to see full compiler and linker output.
+-VERBOSE = @
++V = @
+
+ # Which compiler flags should be used?
+ BUILD_TYPE=release
+@@ -36,9 +36,9 @@
+ LD_FLAGS += -L$(LINUXLIBS_INSTALL_DIR)/lib
+ AR_FLAGS +=
+
+-COMPILE.c = $(VERBOSE) $(CSTOOL_PREFIX)gcc $(CPP_FLAGS) $(C_FLAGS) -c
+-LINK.c = $(VERBOSE) $(CSTOOL_PREFIX)gcc $(LD_FLAGS)
+-CS_AR.c = $(VERBOSE) $(CSTOOL_PREFIX)ar rc $(AR_FLAGS)
++COMPILE.c = $(V) $(CSTOOL_PREFIX)gcc $(CPP_FLAGS) $(C_FLAGS) -c
++LINK.c = $(V) $(CSTOOL_PREFIX)gcc $(LD_FLAGS)
++CS_AR.c = $(V) $(CSTOOL_PREFIX)ar rc $(AR_FLAGS)
+
+ SOURCES = $(wildcard *.c)
+ HEADERS = $(wildcard *.h)
+@@ -62,4 +62,4 @@
+
+ clean:
+ @echo Removing generated files..
+- $(VERBOSE) -$(RM) -rf $(OBJFILES) lib/* *~ *.d .dep
++ $(V) -$(RM) -rf $(OBJFILES) lib/* *~ *.d .dep
+Index: dvsdk-4_02_00_06/dvsdk/c6accel_1_01_00_02/dsp/alg/pjt/Makefile
+===================================================================
+--- dvsdk-4_02_00_06.orig/dvsdk/c6accel_1_01_00_06/dsp/alg/pjt/Makefile 2011-01-28 10:48:21.826256386 -0600
++++ dvsdk-4_02_00_06/dvsdk/c6accel_1_01_00_06/dsp/alg/pjt/Makefile 2011-01-28 10:48:53.481254640 -0600
+@@ -14,7 +14,7 @@
+ include ../../../Rules.make
+
+ # Comment this out if you want to see full compiler and linker output.
+-#VERBOSE = @
++#V = @
+
+ # Which compiler flags should be used?
+ BUILD_TYPE=release
+@@ -62,9 +62,9 @@
+ endif
+ endif
+
+-COMPILE.c = $(VERBOSE) $(CODEGEN_INSTALL_DIR)/bin/cl6x $(C_FLAGS)
+-LD.c = $(VERBOSE) $(CODEGEN_INSTALL_DIR)/bin/cl6x $(LD_FLAGS)
+-AR.c = $(VERBOSE) $(CODEGEN_INSTALL_DIR)/bin/ar6x $(AR_FLAGS)
++COMPILE.c = $(V) $(CODEGEN_INSTALL_DIR)/bin/cl6x $(C_FLAGS)
++LD.c = $(V) $(CODEGEN_INSTALL_DIR)/bin/cl6x $(LD_FLAGS)
++AR.c = $(V) $(CODEGEN_INSTALL_DIR)/bin/ar6x $(AR_FLAGS)
+
+ HEADERS = $(wildcard ../include/*.h)
+ SOURCES = $(wildcard ../src/*.c)
+Index: dvsdk-4_02_00_06/dvsdk/dmai_2_20_00_14/packages/ti/sdo/dmai/apps/Makefile.app
+===================================================================
+--- dvsdk-4_02_00_06.orig/dvsdk/dmai_2_20_00_15/packages/ti/sdo/dmai/apps/Makefile.app 2011-01-28 10:51:09.142259759 -0600
++++ dvsdk-4_02_00_06/dvsdk/dmai_2_20_00_15/packages/ti/sdo/dmai/apps/Makefile.app 2011-01-28 10:51:52.873257345 -0600
+@@ -66,9 +66,9 @@
+ PLATFORM_XDC = $(strip $(PLATFORM_XDC_$(PLATFORM)))
+
+ # Should the full command be echoed to the console during build?
+-VERBOSE=false
++V=false
+
+-ifeq ($(VERBOSE), true)
++ifeq ($(V), true)
+ override PRE =
+ else
+ override PRE = @
+Index: dvsdk-4_02_00_06/dvsdk/dmai_2_20_00_14/packages/ti/sdo/dmai/apps/Makefile
+===================================================================
+--- dvsdk-4_02_00_06.orig/dvsdk/dmai_2_20_00_15/packages/ti/sdo/dmai/apps/Makefile 2011-01-28 10:52:30.729255480 -0600
++++ dvsdk-4_02_00_06/dvsdk/dmai_2_20_00_15/packages/ti/sdo/dmai/apps/Makefile 2011-01-28 10:53:06.881259221 -0600
+@@ -34,7 +34,7 @@
+ CLEANSUBDIRS = $(addsuffix .clean, $(SUBDIRS))
+ INSTALLSUBDIRS = $(addsuffix .install, $(SUBDIRS))
+
+-ifeq ($(VERBOSE), true)
++ifeq ($(V), true)
+ MAKE := $(MAKE)
+ else
+ MAKE := $(MAKE) --no-print-directory
+Index: dvsdk-4_02_00_06/dvsdk/dmai_2_20_00_14/packages/ti/sdo/dmai/Makefile
+===================================================================
+--- dvsdk-4_02_00_06.orig/dvsdk/dmai_2_20_00_15/packages/ti/sdo/dmai/Makefile 2011-01-28 10:53:39.990254370 -0600
++++ dvsdk-4_02_00_06/dvsdk/dmai_2_20_00_15/packages/ti/sdo/dmai/Makefile 2011-01-28 10:54:09.021252742 -0600
+@@ -61,9 +61,9 @@
+ PLATFORM_XDC = $(strip $(PLATFORM_XDC_$(PLATFORM)))
+
+ # Should the full command be echoed to the console during build?
+-VERBOSE=false
++V=false
+
+-ifeq ($(VERBOSE), true)
++ifeq ($(V), true)
+ override PRE =
+ else
+ override PRE = @
+Index: dvsdk-4_02_00_06/dvsdk/dsplink_1_65_00_02/dsplink/make/Linux/systools.mk
+===================================================================
+--- dvsdk-4_02_00_06.orig/dvsdk/dsplink_1_65_00_02/dsplink/make/Linux/systools.mk 2011-01-28 10:55:37.850255814 -0600
++++ dvsdk-4_02_00_06/dvsdk/dsplink_1_65_00_02/dsplink/make/Linux/systools.mk 2011-01-28 10:56:31.217786979 -0600
+@@ -63,20 +63,20 @@
+
+
+ # ============================================================================
+-# Define macros to handle VERBOSE option
++# Define macros to handle V option
+ #
+ # CMDHIDE : Token to prevent a command from echoing on the console
+ # CHMECHO : Token to allow/prevent a command to echoing on the console
+-# This macro is controlled by value of VERBOSE
++# This macro is controlled by value of V
+ # ============================================================================
+
+ CMDHIDE := @
+
+-ifneq ("$(VERBOSE)", "1")
+-VERBOSE := 0
++ifneq ("$(V)", "1")
++V := 0
+ endif
+
+-ifeq ("$(VERBOSE)", "1")
++ifeq ("$(V)", "1")
+ CMDECHO :=
+ else
+ CMDECHO :=
+Index: dvsdk-4_02_00_06/dvsdk/dsplink_1_65_00_02/dsplink/make/current.mk
+===================================================================
+--- dvsdk-4_02_00_06.orig/dvsdk/dsplink_1_65_00_02/dsplink/make/current.mk 2011-01-28 10:56:59.066258746 -0600
++++ dvsdk-4_02_00_06/dvsdk/dsplink_1_65_00_02/dsplink/make/current.mk 2011-01-28 10:58:01.610340897 -0600
+@@ -275,49 +275,49 @@
+ CMD_MAKEOBJ_GENERIC = \
+ $(RUNIF) "exist $(SOURCE_GENERIC)" \
+ "$(MAKE) -C $(SOURCE_GENERIC) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_PLATFORM)$(DIRSEP)compile.mk \
+- $@ VERBOSE=$(VERBOSE)" ""
++ $@ V=$(V)" ""
+
+ CMD_MAKEOBJ_BUILDOS = \
+ $(RUNIF) "exist $(SOURCE_BUILDOS)" \
+ "$(MAKE) -C $(SOURCE_BUILDOS) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_PLATFORM)$(DIRSEP)compile.mk \
+- $@ VERBOSE=$(VERBOSE)" ""
++ $@ V=$(V)" ""
+
+ CMD_MAKEOBJ_BUILDOS_VER = \
+ $(RUNIF) "exist $(SOURCE_BUILDOS_VER)" \
+ "$(MAKE) -C $(SOURCE_BUILDOS_VER) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_PLATFORM)$(DIRSEP)compile.mk \
+- $@ VERBOSE=$(VERBOSE)" ""
++ $@ V=$(V)" ""
+ endif
+
+ ifeq ("$(DEVICETYPE)", "DSP")
+ CMD_MAKEOBJ_GENERIC = \
+ $(RUNIF) "exist $(SOURCE_GENERIC)" \
+ "$(MAKE) -C $(SOURCE_GENERIC) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_DSPDEVICECLASS)$(DIRSEP)compile.mk \
+- $@ VERBOSE=$(VERBOSE)" ""
++ $@ V=$(V)" ""
+
+ CMD_MAKEOBJ_BUILDOS = \
+ $(RUNIF) "exist $(SOURCE_BUILDOS)" \
+ "$(MAKE) -C $(SOURCE_BUILDOS) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_DSPDEVICECLASS)$(DIRSEP)compile.mk \
+- $@ VERBOSE=$(VERBOSE)" ""
++ $@ V=$(V)" ""
+
+ CMD_MAKEOBJ_BUILDOS_VER = \
+ $(RUNIF) "exist $(SOURCE_BUILDOS_VER)" \
+ "$(MAKE) -C $(SOURCE_BUILDOS_VER) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_DSPDEVICECLASS)$(DIRSEP)compile.mk \
+- $@ VERBOSE=$(VERBOSE)" ""
++ $@ V=$(V)" ""
+
+ CMD_MAKEOBJ_OS = \
+ $(RUNIF) "exist $(SOURCE_OS)" \
+ "$(MAKE) -C $(SOURCE_OS) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_DSPDEVICECLASS)$(DIRSEP)compile.mk \
+- $@ VERBOSE=$(VERBOSE)" ""
++ $@ V=$(V)" ""
+
+ CMD_MAKEOBJ_OS_DSPDEVICE = \
+ $(RUNIF) "exist $(SOURCE_OS_DSPDEVICE)" \
+ "$(MAKE) -C $(SOURCE_OS_DSPDEVICE) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_DSPDEVICECLASS)$(DIRSEP)compile.mk \
+- $@ VERBOSE=$(VERBOSE)" ""
++ $@ V=$(V)" ""
+
+ CMD_MAKEOBJ_OS_VER_DSPDEVICE = \
+ $(RUNIF) "exist $(SOURCE_OS_VER_DSPDEVICE)" \
+ "$(MAKE) -C $(SOURCE_OS_VER_DSPDEVICE) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_DSPDEVICECLASS)$(DIRSEP)compile.mk \
+- $@ VERBOSE=$(VERBOSE)" ""
++ $@ V=$(V)" ""
+ endif
+
+
+@@ -327,13 +327,13 @@
+ ifeq ("$(DEVICETYPE)", "GPP")
+ CMD_GEN_BLDINFO = \
+ $(MAKE) -C $(SOURCE_GENERIC) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_PLATFORM)$(DIRSEP)compile.mk \
+- $@ VERBOSE=$(VERBOSE)
++ $@ V=$(V)
+ endif
+
+ ifeq ("$(DEVICETYPE)", "DSP")
+ CMD_GEN_BLDINFO = \
+ $(MAKE) -C $(SOURCE_GENERIC) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_DSPDEVICECLASS)$(DIRSEP)compile.mk \
+- $@ VERBOSE=$(VERBOSE)
++ $@ V=$(V)
+ endif
+
+ # ----------------------------------------------------------------------------
+@@ -403,10 +403,10 @@
+ trgdeb :
+ $(CMDHIDE)$(BANNER) $(BANNER_L2) $(COMP_NAME) TARGET DEBUG
+ ifeq ("$(DEVICETYPE)", "GPP")
+- $(MAKE) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_PLATFORM)$(DIRSEP)link.mk $@ VERBOSE=$(VERBOSE)
++ $(MAKE) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_PLATFORM)$(DIRSEP)link.mk $@ V=$(V)
+ endif
+ ifeq ("$(DEVICETYPE)", "DSP")
+- $(MAKE) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_DSPDEVICECLASS)$(DIRSEP)link.mk $@ VERBOSE=$(VERBOSE)
++ $(MAKE) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_DSPDEVICECLASS)$(DIRSEP)link.mk $@ V=$(V)
+ endif
+
+ # ----------------------------------------------------------------------------
+@@ -418,10 +418,10 @@
+ trgrel :
+ $(CMDHIDE)$(BANNER) $(BANNER_L2) $(COMP_NAME) TARGET RELEASE
+ ifeq ("$(DEVICETYPE)", "GPP")
+- $(MAKE) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_PLATFORM)$(DIRSEP)link.mk $@ VERBOSE=$(VERBOSE)
++ $(MAKE) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_PLATFORM)$(DIRSEP)link.mk $@ V=$(V)
+ endif
+ ifeq ("$(DEVICETYPE)", "DSP")
+- $(MAKE) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_DSPDEVICECLASS)$(DIRSEP)link.mk $@ VERBOSE=$(VERBOSE)
++ $(MAKE) -f $(PROJ_MAK_BUILDOS)$(DIRSEP)$(TI_DSPLINK_DSPDEVICECLASS)$(DIRSEP)link.mk $@ V=$(V)
+ endif
+
+ # ============================================================================
+Index: dvsdk-4_02_00_06/dvsdk/dsplink_1_65_00_02/dsplink/make/DspBios/systools.mk
+===================================================================
+--- dvsdk-4_02_00_06.orig/dvsdk/dsplink_1_65_00_02/dsplink/make/DspBios/systools.mk 2011-01-28 10:58:31.250254522 -0600
++++ dvsdk-4_02_00_06/dvsdk/dsplink_1_65_00_02/dsplink/make/DspBios/systools.mk 2011-01-28 10:59:03.906655182 -0600
+@@ -73,20 +73,20 @@
+
+
+ # ----------------------------------------------------------------------------
+-# Define macros to handle VERBOSE option
++# Define macros to handle V option
+ #
+ # CMDHIDE : Token to prevent a command from echoing on the console
+ # CHMECHO : Token to allow/prevent a command to echoing on the console
+-# This macro is controlled by value of VERBOSE
++# This macro is controlled by value of V
+ # ----------------------------------------------------------------------------
+
+ CMDHIDE := @
+
+-ifneq ("$(VERBOSE)", "1")
+-VERBOSE := 0
++ifneq ("$(V)", "1")
++V := 0
+ endif
+
+-ifeq ("$(VERBOSE)", "1")
++ifeq ("$(V)", "1")
+ CMDECHO :=
+ else
+ CMDECHO := @
+@@ -160,20 +160,20 @@
+
+
+ # ----------------------------------------------------------------------------
+-# Define macros to handle VERBOSE option
++# Define macros to handle V option
+ #
+ # CMDHIDE : Token to prevent a command from echoing on the console
+ # CHMECHO : Token to allow/prevent a command to echoing on the console
+-# This macro is controlled by value of VERBOSE
++# This macro is controlled by value of V
+ # ----------------------------------------------------------------------------
+
+ CMDHIDE := @
+
+-ifneq ("$(VERBOSE)", "1")
+-VERBOSE := 0
++ifneq ("$(V)", "1")
++V := 0
+ endif
+
+-ifeq ("$(VERBOSE)", "1")
++ifeq ("$(V)", "1")
+ CMDECHO :=
+ else
+ CMDECHO :=
+Index: dvsdk-4_02_00_06/dvsdk/dvsdk-demos_4_00_00_21/omap3530/encode/Makefile
+===================================================================
+--- dvsdk-4_02_00_06.orig/dvsdk/dvsdk-demos_4_02_00_01/omap3530/encode/Makefile 2011-01-28 10:59:43.886257328 -0600
++++ dvsdk-4_02_00_06/dvsdk/dvsdk-demos_4_02_00_01/omap3530/encode/Makefile 2011-01-28 11:00:13.441912744 -0600
+@@ -39,7 +39,7 @@
+ include $(ROOTDIR)/Rules.make
+
+ # Comment this out if you want to see full compiler and linker output.
+-override VERBOSE = @
++override V = @
+
+ # Package path for the XDC tools
+ XDC_PATH = $(USER_XDC_PATH);../../packages;$(DMAI_INSTALL_DIR)/packages;$(CE_INSTALL_DIR)/packages;$(FC_INSTALL_DIR)/packages;$(LINK_INSTALL_DIR);$(XDAIS_INSTALL_DIR)/packages;$(CMEM_INSTALL_DIR)/packages;$(CODEC_INSTALL_DIR)/packages;$(LPM_INSTALL_DIR)/packages;$(C6ACCEL_INSTALL_DIR)/soc/packages
+@@ -73,8 +73,8 @@
+
+ LD_FLAGS += -L$(LINUXLIBS_INSTALL_DIR)/lib -lpthread -lasound -lfreetype -lpng -ljpeg -lz
+
+-COMPILE.c = $(VERBOSE) $(CSTOOL_PREFIX)gcc $(CPP_FLAGS) $(C_FLAGS) $(CPP_FLAGS) -c
+-LINK.c = $(VERBOSE) $(CSTOOL_PREFIX)gcc $(LD_FLAGS)
++COMPILE.c = $(V) $(CSTOOL_PREFIX)gcc $(CPP_FLAGS) $(C_FLAGS) $(CPP_FLAGS) -c
++LINK.c = $(V) $(CSTOOL_PREFIX)gcc $(LD_FLAGS)
+
+ SOURCES = $(wildcard *.c) $(wildcard ../*.c)
+ HEADERS = $(wildcard *.h) $(wildcard ../*.h)
+@@ -112,8 +112,8 @@
+ @echo ======== Building $(TARGET) ========
+ @echo Configuring application using $<
+ @echo
+- $(VERBOSE) XDCPATH="$(XDC_PATH)" $(CONFIGURO) -o $(XDC_CFG) -t $(XDC_TARGET) -p $(XDC_PLATFORM) -b $(CONFIG_BLD) $(XDC_CFGFILE)
++ $(V) XDCPATH="$(XDC_PATH)" $(CONFIGURO) -o $(XDC_CFG) -t $(XDC_TARGET) -p $(XDC_PLATFORM) -b $(CONFIG_BLD) $(XDC_CFGFILE)
+
+ clean:
+ @echo Removing generated files..
+- $(VERBOSE) -$(RM) -rf $(XDC_CFG) $(OBJFILES) $(TARGET) *~ *.d .dep
++ $(V) -$(RM) -rf $(XDC_CFG) $(OBJFILES) $(TARGET) *~ *.d .dep
+Index: dvsdk-4_02_00_06/dvsdk/dvsdk-demos_4_00_00_21/omap3530/edge_detection/Makefile
+===================================================================
+--- dvsdk-4_02_00_06.orig/dvsdk/dvsdk-demos_4_02_00_01/omap3530/edge_detection/Makefile 2011-01-28 11:01:13.209257688 -0600
++++ dvsdk-4_02_00_06/dvsdk/dvsdk-demos_4_02_00_01/omap3530/edge_detection/Makefile 2011-01-28 11:01:58.717258169 -0600
+@@ -18,7 +18,7 @@
+ endif
+
+ # Comment this out if you want to see full compiler and linker output.
+-override VERBOSE = @
++override V = @
+
+ # Package path for the XDC tools
+ XDC_PATH = $(USER_XDC_PATH);../../packages;$(C6ACCEL_INSTALL_DIR)/soc/packages;$(DMAI_INSTALL_DIR)/packages;$(CE_INSTALL_DIR)/packages;$(FC_INSTALL_DIR)/packages;$(LINK_INSTALL_DIR);$(XDAIS_INSTALL_DIR)/packages;$(CMEM_INSTALL_DIR)/packages;$(LPM_INSTALL_DIR)/packages;$(XDAIS_INSTALL_DIR)/packages;$(CMEM_INSTALL_DIR)/packages;$(CODEC_INSTALL_DIR)/packages;$(BIOS_INSTALL_DIR)/packages;$(BIOSUTILS_INSTALL_DIR)/packages;$(EDMA3_LLD_INSTALL_DIR)/packages;$(LPM_INSTALL_DIR)/packages
+@@ -67,8 +67,8 @@
+ LD_FLAGS += -lpthread -lm -L$(LINUXLIBS_INSTALL_DIR)/lib
+ C6ACCEL_LIB += $(C6ACCEL_INSTALL_DIR)/soc/c6accelw/lib/c6accelw_omap3530.a470MV
+
+-COMPILE.c = $(VERBOSE) $(CSTOOL_PREFIX)gcc $(CPP_FLAGS) $(C_FLAGS) $(CPP_FLAGS) -c $(shell cat $(XDC_CFLAGS))
+-LINK.c = $(VERBOSE) $(CSTOOL_PREFIX)gcc $(LD_FLAGS) -Wl,-Map,$(MAP) -o $@ $^
++COMPILE.c = $(V) $(CSTOOL_PREFIX)gcc $(CPP_FLAGS) $(C_FLAGS) $(CPP_FLAGS) -c $(shell cat $(XDC_CFLAGS))
++LINK.c = $(V) $(CSTOOL_PREFIX)gcc $(LD_FLAGS) -Wl,-Map,$(MAP) -o $@ $^
+
+ SOURCES = $(wildcard *.c)
+ HEADERS = $(wildcard *.h)
+@@ -106,7 +106,7 @@
+ @echo ======== Building $(TARGET) ========
+ @echo Configuring application using $<
+ @echo
+- $(VERBOSE) XDCPATH="$(XDC_PATH)" $(CONFIGURO) -o $(XDC_CFG) -t $(XDC_TARGET) -p $(XDC_PLATFORM) -b $(CONFIG_BLD) $(XDC_CFGFILE)
++ $(V) XDCPATH="$(XDC_PATH)" $(CONFIGURO) -o $(XDC_CFG) -t $(XDC_TARGET) -p $(XDC_PLATFORM) -b $(CONFIG_BLD) $(XDC_CFGFILE)
+
+ clean:
+ @echo Removing generated files..
+Index: dvsdk-4_02_00_06/dvsdk/dvsdk-demos_4_00_00_21/omap3530/decode/Makefile
+===================================================================
+--- dvsdk-4_02_00_06.orig/dvsdk/dvsdk-demos_4_02_00_01/omap3530/decode/Makefile 2011-01-28 11:02:14.790256558 -0600
++++ dvsdk-4_02_00_06/dvsdk/dvsdk-demos_4_02_00_01/omap3530/decode/Makefile 2011-01-28 11:02:34.527822854 -0600
+@@ -39,7 +39,7 @@
+ include $(ROOTDIR)/Rules.make
+
+ # Comment this out if you want to see full compiler and linker output.
+-override VERBOSE = @
++override V = @
+
+ # Package path for the XDC tools
+ XDC_PATH = $(USER_XDC_PATH);../../packages;$(DMAI_INSTALL_DIR)/packages;$(CE_INSTALL_DIR)/packages;$(FC_INSTALL_DIR)/packages;$(LINK_INSTALL_DIR);$(XDAIS_INSTALL_DIR)/packages;$(CMEM_INSTALL_DIR)/packages;$(CODEC_INSTALL_DIR)/packages;$(LPM_INSTALL_DIR)/packages;$(C6ACCEL_INSTALL_DIR)/soc/packages
+@@ -73,8 +73,8 @@
+
+ LD_FLAGS += -L$(LINUXLIBS_INSTALL_DIR)/lib -lpthread -lasound
+
+-COMPILE.c = $(VERBOSE) $(CSTOOL_PREFIX)gcc $(CPP_FLAGS) $(C_FLAGS) $(CPP_FLAGS) -c
+-LINK.c = $(VERBOSE) $(CSTOOL_PREFIX)gcc $(LD_FLAGS)
++COMPILE.c = $(V) $(CSTOOL_PREFIX)gcc $(CPP_FLAGS) $(C_FLAGS) $(CPP_FLAGS) -c
++LINK.c = $(V) $(CSTOOL_PREFIX)gcc $(LD_FLAGS)
+
+ SOURCES = $(wildcard *.c) $(wildcard ../*.c)
+ HEADERS = $(wildcard *.h) $(wildcard ../*.h)
+@@ -112,8 +112,8 @@
+ @echo ======== Building $(TARGET) ========
+ @echo Configuring application using $<
+ @echo
+- $(VERBOSE) XDCPATH="$(XDC_PATH)" $(CONFIGURO) -o $(XDC_CFG) -t $(XDC_TARGET) -p $(XDC_PLATFORM) -b $(CONFIG_BLD) $(XDC_CFGFILE)
++ $(V) XDCPATH="$(XDC_PATH)" $(CONFIGURO) -o $(XDC_CFG) -t $(XDC_TARGET) -p $(XDC_PLATFORM) -b $(CONFIG_BLD) $(XDC_CFGFILE)
+
+ clean:
+ @echo Removing generated files..
+- $(VERBOSE) -$(RM) -rf $(XDC_CFG) $(OBJFILES) $(TARGET) *~ *.d .dep
++ $(V) -$(RM) -rf $(XDC_CFG) $(OBJFILES) $(TARGET) *~ *.d .dep
+Index: dvsdk-4_02_00_06/dvsdk/dvtb_4_20_15/packages/ti/sdo/dvtb/omap3530/wince/Makefile
+===================================================================