From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Fri, 17 Oct 2014 13:52:29 +0200 Subject: [U-Boot] problem with eMMC boot on arndale board In-Reply-To: <5440ED7C.2010500@free.fr> References: <5440ED7C.2010500@free.fr> Message-ID: <20141017135229.1d840513@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, 17 Oct 2014 12:20:44 +0200 Guillaume Gardet wrote: > Hi, > > does anyone has tried eMMC boot on Arndale board? > > I copied BL1, SPL and u-boot to eMMC, like I do on SD card but it does not boot at all. > > Note that once booted on SD card, I get some errors while accessing eMMC. > > "mmc dev 0" returns: > dwmci_send_cmd: DATA ERROR! > switch to partitions #0, OK > mmc0(part 0) is current device > > "mmc info" returns: > Device: EXYNOS DWMMC > Manufacturer ID: 15 > OEM: 100 > Name: M4G1F > Tran Speed: 52000000 > Rd Block Len: 512 > MMC version 4.41 > High Capacity: Yes > Capacity: 3.7 GiB > Bus Width: 4-bit > > I think it does not boot because of this problem on eMMC. not necessarily. > Is there anything I could try to fix it? I'm not familiar with booting from eMMC on Arndale. But for newer eMMC (>= JEDEC 4.3) you have to configure a boot partition and enable access to it in the PARTITION_CONFIG register. The "partconf" subcommand of the mmc command can be used to do it. See also Table 2 in [1]. Then install the boot code to the selected boot partition and try again. [1] http://www.micron.com/-/media/documents/products/technical%20note/nand%20flash/tn2918.pdf HTH, Anatolij