From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Tue, 08 Jul 2014 11:18:45 +0200 Subject: [U-Boot] [PATCH v4] mx6: add support of multi-processor command In-Reply-To: <1403663548-18436-1-git-send-email-contact@huau-gabriel.fr> References: <1403375369-3882-1-git-send-email-contact@huau-gabriel.fr> <1403663548-18436-1-git-send-email-contact@huau-gabriel.fr> Message-ID: <53BBB775.7090409@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Gabriel, On 25/06/2014 04:32, Gabriel Huau wrote: > This allows u-boot to load different OS or Bare Metal application on the > different cores of the i.MX6DQ. > For example: we can run Android on cpu0 and a RT OS like QNX/FreeRTOS on cpu1. > > Signed-off-by: Gabriel Huau > --- > Changes for v2: > - Add a commit log message to explain the purpose of this patch > Changes for v3: > - Remove unnecessary check for unsigned values when they are negative > Changes for v4: > - Add CONFIG_MP to the common mx6 configuration > - Get the number of CPUs dynamically instead of using a macro > > arch/arm/cpu/armv7/mx6/Makefile | 1 + > arch/arm/cpu/armv7/mx6/mp.c | 134 ++++++++++++++++++++++++++++++ > arch/arm/cpu/armv7/mx6/soc.c | 6 ++ > arch/arm/include/asm/arch-mx6/imx-regs.h | 13 +++ > arch/arm/include/asm/arch-mx6/sys_proto.h | 2 + > include/configs/mx6_common.h | 2 + > 6 files changed, 158 insertions(+) > create mode 100644 arch/arm/cpu/armv7/mx6/mp.c > Your patch breaks some i.MX6 boards: Configuring for udoo_quad - Board: udoo, Options: IMX_CONFIG=board/udoo/udoo.cfg,MX6Q,DDR_MB=1024 common/board_f.c:45:20: fatal error: asm/mp.h: No such file or directory make[1]: *** [common/board_f.o] Error 1 In fact, board_f.c includes asm/mp.h if CONFIG_MP is set. Can you take a look ? Thanks ! Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================