From patchwork Tue Oct 28 23:37:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dileep Katta X-Patchwork-Id: 39715 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EABF624046 for ; Tue, 28 Oct 2014 23:38:04 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id b13sf48405wgh.10 for ; Tue, 28 Oct 2014 16:38:04 -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:in-reply-to :references: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=euOt5V0loDBai+10iDNPoQU+rgfHLS0gFiNaNBwUpHk=; b=eoO4A7VeBjBfwKIRgTzQiix6PkGlc+TUavGEBAkKeTad6G51u1ltn9CneFyf5jNX6T OS4pGrV8GYoHSkCd0NVRbEcSa0OPyOdYqniVWp6Djj+zHzv7T3ks8pKQePc+II0gO7n7 tdNdbp+oYFqTXdoJZ2P6xmzOTbWYxPTM3QS0oogdVv4QOrLDuC6c0X/BvB0lbcNTAJZf yMy97Q4FsJq/8gAeDqtbBmVCiQ7xfAMzZJqtp+Rjyd1A3C4RFS8AmGqHg2WlUePDcg0I HTSNfca5jFxpG26xNfLASJjcEqW5CO8OuHzCPufJPodnGEWIyP8No4mge8NVC0eLGOMI T5IA== X-Gm-Message-State: ALoCoQnzDaIy/P6IYiSK9sHvRyX6FHwOUhoDG1Z32XKEVjS99j/jMHEaTFieQF1BH6E/SeIAgnLi X-Received: by 10.181.29.105 with SMTP id jv9mr1245145wid.1.1414539484102; Tue, 28 Oct 2014 16:38:04 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.23.7 with SMTP id i7ls105060laf.47.gmail; Tue, 28 Oct 2014 16:38:03 -0700 (PDT) X-Received: by 10.152.27.1 with SMTP id p1mr1271504lag.55.1414539483735; Tue, 28 Oct 2014 16:38:03 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id my2si4694084lbb.139.2014.10.28.16.38.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Oct 2014 16:38:03 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by mail-la0-f42.google.com with SMTP id gq15so1593126lab.29 for ; Tue, 28 Oct 2014 16:38:03 -0700 (PDT) X-Received: by 10.153.8.164 with SMTP id dl4mr7437116lad.29.1414539483328; Tue, 28 Oct 2014 16:38:03 -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 c5csp573446lbz; Tue, 28 Oct 2014 16:38:02 -0700 (PDT) X-Received: by 10.194.76.135 with SMTP id k7mr8358078wjw.94.1414539482579; Tue, 28 Oct 2014 16:38:02 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id cd8si4087068wjc.103.2014.10.28.16.38.01 for ; Tue, 28 Oct 2014 16:38:02 -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 325EC4B885; Wed, 29 Oct 2014 00:38:01 +0100 (CET) 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 GLx+Fdi7x9fI; Wed, 29 Oct 2014 00:38:00 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 574D74B875; Wed, 29 Oct 2014 00:38:00 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7C90C4B85A for ; Wed, 29 Oct 2014 00:37:51 +0100 (CET) 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 vhArYo4D0BKM for ; Wed, 29 Oct 2014 00:37:51 +0100 (CET) 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-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by theia.denx.de (Postfix) with ESMTPS id 13B644B857 for ; Wed, 29 Oct 2014 00:37:48 +0100 (CET) Received: by mail-pd0-f179.google.com with SMTP id g10so1722296pdj.38 for ; Tue, 28 Oct 2014 16:37:46 -0700 (PDT) X-Received: by 10.66.255.36 with SMTP id an4mr6806183pad.42.1414539466030; Tue, 28 Oct 2014 16:37:46 -0700 (PDT) Received: from localhost.localdomain ([103.227.97.192]) by mx.google.com with ESMTPSA id oo9sm2629806pdb.26.2014.10.28.16.37.44 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Oct 2014 16:37:45 -0700 (PDT) From: Dileep Katta To: u-boot@lists.denx.de Date: Wed, 29 Oct 2014 05:07:11 +0530 Message-Id: <1414539431-10212-1-git-send-email-dileep.katta@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <20141024150726.GV25506@bill-the-cat> References: <20141024150726.GV25506@bill-the-cat> Cc: Dileep Katta Subject: [U-Boot] [PATCH v5 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.42 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 Changes in v5: - Verified eth gadget with new VID/PID - Changed the code to use new VID/PID always - Added spaces as required include/configs/am335x_evm.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 1ec783d..7c83e3b 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@ -314,6 +314,12 @@ #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 #define CONFIG_USB_STORAGE @@ -324,9 +330,13 @@ #define CONFIG_USB_ETH_RNDIS #define CONFIG_USBNET_HOST_ADDR "de:ad:be:af:00:00" +/*To support eMMC booting*/ +#define CONFIG_STORAGE_EMMC +#define CONFIG_FASTBOOT_FLASH_MMC_DEV 1 + /* USB TI's IDs */ -#define CONFIG_G_DNL_VENDOR_NUM 0x0403 -#define CONFIG_G_DNL_PRODUCT_NUM 0xBD00 +#define CONFIG_G_DNL_VENDOR_NUM 0x0451 +#define CONFIG_G_DNL_PRODUCT_NUM 0xD022 #define CONFIG_G_DNL_MANUFACTURER "Texas Instruments" #endif /* CONFIG_MUSB_GADGET */