From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Lifshitz Date: Sun, 15 Mar 2015 14:00:48 +0200 Subject: [U-Boot] Ask for help: Compulab CM-510 U-boot version: Load Kernel from SD-Card In-Reply-To: <54F8266C.8080000@gmail.com> References: <54F5D95C.4080909@gmail.com> <54F6A824.9000100@compulab.co.il> <54F6BFBF.80405@gmail.com> <54F6C76D.7050005@compulab.co.il> <54F8266C.8080000@gmail.com> Message-ID: <55057470.8040908@compulab.co.il> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Gabriel, Sorry for the late reply. I see you made a progress with that issue. Thank you for sharing the results. Best regards, Dmitry On 03/05/2015 11:48 AM, Gabriel Dobato wrote: > Hi Dmitry, > > Finally, I got the SD Card as a bootable kernel space. However I had to > set the registers as below: > > >>>> #define CM_A510_MPP0_7 0x00000033 (does not > matter) > >>>> #define CM_A510_MPP8_15 0x00445050 (does not > matter) > >>>> #define CM_A510_MPP16_23 0x33333333 <---- > (SDIO0 and SDIO1) > > > Regards, > > Gabriel > > > > On 04/03/15 09:50, Dmitry Lifshitz wrote: >> Hi Gabriel, >> >> On 03/04/2015 10:18 AM, Gabriel Dobato wrote: >>> HI Dmitry, >>> >>> Thank you very much for your answer! >>> >>> I have tried it, but I get the same: >>> >>> CM-A510>> mmc init >>> CM-A510>> mmcinfo 0 >>> Device: MV_SDHCI >>> Manufacturer ID: 0 >>> OEM: 0 >>> Name: Tran Speed: 0 >>> Rd Block Len: 0 >>> MMC version 0.0 >>> High Capacity: No >>> Capacity: 0 >>> Bus Width: 0-bit >>> >>> In reference to peripherals, only is available USB and Ethernet 0 by >>> default. I am searching in the sources just in case there is something >>> else... but I am afraid I will not find something. >>> >>>>> #define CM_A510_MPP0_7 0x00000033 >>>>> #define CM_A510_MPP8_15 0x00445050 >>>>> #define CM_A510_MPP16_23 0x66664040 >>> >> >> We forked from DB88AP510-A-P dev board code. Apply the patches from the >> latest CM-A510 U-Boot package >> (http://www.compulab.co.il/products/computer-on-modules/cm-a510/#devres) >> to see the changes log and build instructions. >> >>> By the way, how do you get that resgisters? In my case, I tried to >>> define them as per as Marvell 88AP510 Specification reference. Is it the >>> right place? >>> >>> Best regards, >>> >>> Gabriel >> >> >> Regards, >> >> Dmitry > >