From patchwork Fri Apr 7 05:01:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Stultz X-Patchwork-Id: 97012 Delivered-To: patches@linaro.org Received: by 10.140.89.233 with SMTP id v96csp123898qgd; Thu, 6 Apr 2017 22:01:23 -0700 (PDT) X-Received: by 10.99.56.20 with SMTP id f20mr39689354pga.167.1491541283615; Thu, 06 Apr 2017 22:01:23 -0700 (PDT) Return-Path: Received: from mail-pg0-x234.google.com (mail-pg0-x234.google.com. [2607:f8b0:400e:c05::234]) by mx.google.com with ESMTPS id c11si3826220pgn.360.2017.04.06.22.01.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Apr 2017 22:01:23 -0700 (PDT) Received-SPF: pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c05::234 as permitted sender) client-ip=2607:f8b0:400e:c05::234; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of john.stultz@linaro.org designates 2607:f8b0:400e:c05::234 as permitted sender) smtp.mailfrom=john.stultz@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by mail-pg0-x234.google.com with SMTP id x125so55451465pgb.0 for ; Thu, 06 Apr 2017 22:01:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=9nlmm4DAT4mhngovRrvf5Y5n2zcRQ1+VhH/vN5UtFnw=; b=Cb7POfSZmviyQhY4L1QAf159Xbfxo86HqOkF0AaOgkzUSiPM4z87bbWk86bxbd+xBb YxmosqoJhE5Jq0N9V9l3FZBDMz2SFWWBriz9AGXRNtTD4/WVH5foUWdN9cg7Q8qMSs/I a7ixA802XH+dxptGdTl7J4SiMqyz4j8Me+DN0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9nlmm4DAT4mhngovRrvf5Y5n2zcRQ1+VhH/vN5UtFnw=; b=U1UFOlG/sY5xpC8vbqFs2ZPGCGOWDfzwm10jQfI0EaZAO69zBQrZKROUZYlWXq+8Sp 653wL0DWnimXfMd/WtUHBQbu3zwZwlcJHF61q7/DxhKm6nPbQyQ7bxsEkprzYEH3F5p1 O1Eg4gAp7Ra9jEs+W8o+zhGyNUu1zaUfKPy+Y4V76eaM4ZN43Ai+GWso732vmT4iKv91 6frfl6uQer0JsOdA9uGGWAoyLED318vvxI0d2VaucSWiBHzdNfej27hTRbefK9GFAKTt NNaZ1t6MYVovGgzvdRrsTVUQZahtlYsY0wMDL7yNrPdeln1Im8/C8GG8/VYTIwJP3I9a kBsw== X-Gm-Message-State: AN3rC/67nv3UpPv7/SpI51iRJkqCWuKoq+7aAqYvSs8WkaPi+nM8H1IN6445e+q1voaoINqEANM= X-Received: by 10.98.12.134 with SMTP id 6mr73877pfm.66.1491541283256; Thu, 06 Apr 2017 22:01:23 -0700 (PDT) Return-Path: Received: from localhost.localdomain ([2601:1c2:1002:83f0:4e72:b9ff:fe99:466a]) by smtp.gmail.com with ESMTPSA id m29sm232744pfj.32.2017.04.06.22.01.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Apr 2017 22:01:22 -0700 (PDT) From: John Stultz To: Cc: John Stultz , Rob Herring , Sumit Semwal , Amit Pundir , Vishal Bhoj Subject: [PATCH] HACK: Get flo booting to graphics again Date: Thu, 6 Apr 2017 22:01:20 -0700 Message-Id: <1491541280-2979-1-git-send-email-john.stultz@linaro.org> X-Mailer: git-send-email 2.7.4 So this is a hack, but I wanted to send it to get ideas for how to better fix this. Basically nothing sets TARGET_SUPPORTS_32_BIT_APPS, so AUDIOSERVER_MULTILIB is always set to 64. This causes flo and probably other 32bit platforms to hang on bootup. I tried to rework it to check for ARCH="arm", but my makefile foo isn't strong enough. Let me know if you have suggestions. Cc: Rob Herring Cc: Sumit Semwal Cc: Amit Pundir Cc: Vishal Bhoj Signed-off-by: John Stultz --- BoardConfig.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -- 2.7.4 diff --git a/BoardConfig.mk b/BoardConfig.mk index 19899e8..f65f6dd 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -38,11 +38,11 @@ BOARD_SEPOLICY_DIRS += \ build/target/board/generic/sepolicy \ $(DEV_DIR)/sepolicy -ifeq ($(TARGET_SUPPORTS_32_BIT_APPS),true) +#ifeq ($(TARGET_ARCH), "arm") AUDIOSERVER_MULTILIB := 32 -else -AUDIOSERVER_MULTILIB := 64 -endif +#else +#AUDIOSERVER_MULTILIB := 64 +#endif define include-board-configs $(foreach dir, $(1), \