From patchwork Mon Oct 13 11:08:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dileep Katta X-Patchwork-Id: 38645 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5EE542039B for ; Mon, 13 Oct 2014 11:09:32 +0000 (UTC) Received: by mail-wi0-f197.google.com with SMTP id n3sf2731949wiv.4 for ; Mon, 13 Oct 2014 04:09:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:cc:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:sender:errors-to :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=y2Z/GOGg0MNJH6BhNXVee8PK6cNgXgO8AB/Ta1XJ+J4=; b=GUfwk5vLfFSi3DC5ri2m7A6sTfcxUgec5JWw526rMQH8oCuBPKHt4ZIaQS8sRKfAZU w7pwp/PD+hEHVX2BJf6iIQj7VduxRkTREApKQW2gAmMhM7B81J570iBBZHGLuRF5h8UT AYnQSq14Gdpk9Xmx9VunrQpU/yhxbLEc+fiw1CaCHn1f+AybeDhfZHYgUPebIkDJFXKw obeHzNOjxvnL2NAHAbJNUXeoUivSMbssVQmxihisJsgWQGJOcXkLiHDueNQN4Naq7qTg WjwDBE2u44S8Slt2IfjC//ZY5HvQHHUPnJrvNjGlMc1F3Pn3oO8qVrDvTkbMvesxrpoG GAWQ== X-Gm-Message-State: ALoCoQn1D0c4698JXs/jQQgWAV+eSBX5F98xaUuNCDNRNRpZDKOTYLGOwzf3xYaSMTP9LtQl1ySe X-Received: by 10.152.1.136 with SMTP id 8mr369153lam.5.1413198572063; Mon, 13 Oct 2014 04:09:32 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.207.107 with SMTP id lv11ls438782lac.14.gmail; Mon, 13 Oct 2014 04:09:31 -0700 (PDT) X-Received: by 10.152.6.71 with SMTP id y7mr2707116lay.83.1413198571900; Mon, 13 Oct 2014 04:09:31 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com [209.85.215.51]) by mx.google.com with ESMTPS id b6si21567373lbv.138.2014.10.13.04.09.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 13 Oct 2014 04:09:31 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by mail-la0-f51.google.com with SMTP id ge10so6466672lab.10 for ; Mon, 13 Oct 2014 04:09:31 -0700 (PDT) X-Received: by 10.152.22.42 with SMTP id a10mr23408696laf.56.1413198571751; Mon, 13 Oct 2014 04:09:31 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp192232lbz; Mon, 13 Oct 2014 04:09:31 -0700 (PDT) X-Received: by 10.194.184.40 with SMTP id er8mr1896739wjc.104.1413198571011; Mon, 13 Oct 2014 04:09:31 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id h6si17255406wja.95.2014.10.13.04.09.30 for ; Mon, 13 Oct 2014 04:09:31 -0700 (PDT) Received-SPF: none (google.com: u-boot-bounces@lists.denx.de does not designate permitted sender hosts) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0CBA6A7850; Mon, 13 Oct 2014 13:09:30 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CkSCXayjx2Jw; Mon, 13 Oct 2014 13:09:29 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9B64CA7854; Mon, 13 Oct 2014 13:09:29 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 709C6A7854 for ; Mon, 13 Oct 2014 13:09:25 +0200 (CEST) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1jGW6XTnmtHm for ; Mon, 13 Oct 2014 13:09:25 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) by theia.denx.de (Postfix) with ESMTPS id 0771DA7850 for ; Mon, 13 Oct 2014 13:09:21 +0200 (CEST) Received: by mail-pd0-f172.google.com with SMTP id ft15so5462966pdb.17 for ; Mon, 13 Oct 2014 04:09:19 -0700 (PDT) X-Received: by 10.68.88.229 with SMTP id bj5mr1328568pbb.145.1413198559565; Mon, 13 Oct 2014 04:09:19 -0700 (PDT) Received: from localhost.localdomain ([103.227.97.30]) by mx.google.com with ESMTPSA id dx10sm11043461pab.38.2014.10.13.04.09.17 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 13 Oct 2014 04:09:18 -0700 (PDT) From: Dileep Katta To: u-boot@lists.denx.de Date: Mon, 13 Oct 2014 16:38:44 +0530 Message-Id: <1413198524-15503-1-git-send-email-dileep.katta@linaro.org> X-Mailer: git-send-email 1.8.3.2 Cc: Dileep Katta Subject: [U-Boot] [PATCH v4 1/1] Enable Android Fastboot support on am335x_evm board X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: dileep.katta@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Dileep Katta --- Changes in v2: -None Changes in v3: -None Changes in v4: -None -Fastboot flash command changes by Steve Rae are in mainline This enables the code for BeagleBone Black Not submitting the changes made for flash command include/configs/am335x_evm.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 476430d..73c3153 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -313,6 +313,11 @@ #define CONFIG_AM335X_USB0_MODE MUSB_PERIPHERAL #define CONFIG_AM335X_USB1 #define CONFIG_AM335X_USB1_MODE MUSB_HOST +/* Fastboot */ +#define CONFIG_CMD_FASTBOOT +#define CONFIG_ANDROID_BOOT_IMAGE +#define CONFIG_USB_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR +#define CONFIG_USB_FASTBOOT_BUF_SIZE 0x07000000 #ifdef CONFIG_MUSB_HOST #define CONFIG_CMD_USB @@ -323,10 +328,18 @@ #define CONFIG_USB_ETHER #define CONFIG_USB_ETH_RNDIS #define CONFIG_USBNET_HOST_ADDR "de:ad:be:af:00:00" +#define CONFIG_FASTBOOT_FLASH_MMC_DEV 1 +/*To support eMMC booting*/ +#define CONFIG_STORAGE_EMMC /* USB TI's IDs */ +#ifdef CONFIG_CMD_FASTBOOT +#define CONFIG_G_DNL_VENDOR_NUM 0x0451 +#define CONFIG_G_DNL_PRODUCT_NUM 0xd022 /* TI fastboot PID */ +#else #define CONFIG_G_DNL_VENDOR_NUM 0x0403 #define CONFIG_G_DNL_PRODUCT_NUM 0xBD00 +#endif #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments" #endif /* CONFIG_MUSB_GADGET */