From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id B97FFE0076B; Tue, 14 Apr 2015 08:44:07 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.192.176 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-pd0-f176.google.com (mail-pd0-f176.google.com [209.85.192.176]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0D6D1E003A8 for ; Tue, 14 Apr 2015 08:44:04 -0700 (PDT) Received: by pdea3 with SMTP id a3so16341069pde.3 for ; Tue, 14 Apr 2015 08:44: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:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=XFUH2MWaf6t7pa8h8W6wLq4IgPxiSr4vOErOlSj27fg=; b=aDTZn9fEn6s8WurgfLRf/YJb3e/jAceyvYRHEvwwVEYGaJqipAGKBikpUMjNQchOpu HDKMPr1vKhLTickzX5nFU1vHWmbJa+fQlBttHy01KX1mVoLtFW7s5sfWNJGZpPFqqeLx YhpMvTamExOKXeMHePIzGsplA3t4JWSh2H2WYXnVYuFKDYuZYR5AXz2iJFV3otpnlT9I qbYEmkHhdZg8nGhppcpPVY30Itwuu7IhKP8f8wYSZuxXiqwN0/JRylvP1BNUkGBQOR38 IHk5NuJ2DpyBFOLSTu0PiM2yXLXnfvb1rj97Lc8sEMtMOrcV6XKAd1PudkfwAp+n3Bx2 CbNQ== X-Gm-Message-State: ALoCoQkb8fZ7kkNbhqciybqz6/2Axs42uzSfYyQYOl/B5tHveRGXfwDx2TnQe23s70ltH71eggcB X-Received: by 10.69.12.133 with SMTP id eq5mr37718262pbd.158.1429026244164; Tue, 14 Apr 2015 08:44:04 -0700 (PDT) Received: from [192.168.1.12] (ip98-165-98-97.ph.ph.cox.net. [98.165.98.97]) by mx.google.com with ESMTPSA id j10sm1461570pdk.48.2015.04.14.08.44.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Apr 2015 08:44:03 -0700 (PDT) Message-ID: <552D35C1.9010405@boundarydevices.com> Date: Tue, 14 Apr 2015 08:44:01 -0700 From: Eric Nelson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: andrea@perpic.it, meta-freescale@yoctoproject.org References: <1429016117.3312.4.camel@perpic.it> <1429025963.10721.6.camel@perpic.it> In-Reply-To: <1429025963.10721.6.camel@perpic.it> Subject: Re: How you program your sdcard / mmc X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Apr 2015 15:44:07 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Hi Andrea, On 04/14/2015 08:39 AM, andrea@perpic.it wrote: > Il giorno mar, 14/04/2015 alle 14.55 +0200, Andrea ha scritto: >> Hello everybody, >> >> I think this is an off topic post but it's a while I'm googling for this >> subject and I cannot find any useful information. >> >> This is my question: >> I would like to use an eMMC card on the board. So it is soldered on the >> board and directly connected to the IMX53. I think the same is for flash >> or other non volatile memories... >> How do you first program them with u-boot and linux/android for the >> first boot? >> >> Thank you to everyone who want to share the way they operate or some >> best practice link. >> >> Andrea > > Thank you Otavio, Gary, Fabio for your replies, > I'm a bit confused about the mfgtools, I'm trying to find a windows > computer to test. My laptop comes with windows 8 preinstalled and the > program crash when I try to select the USB port. On all the other > computers I have linux installed. > > Regarding the various solution with u-boot. The part that is not clear > to me is: I need to have u-boot on sdcard otherwise the imx53qsb doesn't > boot. Where do you place u-boot? On a USB drive? I saw on the datasheet > that I can use eMMC, SD and NAND or Hard Disks via PATA/SATA. USB is not > in there. > My question is: When I have a brand new board with the eMMC memory > soldered on. How can I install there u-boot and all the rest of the > system? I can't make u-boot install anything, because it's not there > yet. > Can someone explain it better? > This is a separate question: "how do I load initial code onto my machine?" In general, you have two options: - JTAG - serial download We generally use the latter, and on i.MX6, we use the USB OTG interface for this, along with the 'imx_usb' program as described here: http://boundarydevices.com/unbricking In essence, we use imx_usb to load U-Boot, then USB Mass Storage to program the eMMC. You can also use a UART for the initial load, but the process is more complicated, and you need a different app for that (specialized terminal emulator). Regards, Eric