From: Dmitry Lifshitz <lifshitz@compulab.co.il>
To: u-boot@lists.denx.de
Subject: [U-Boot] Ask for help: Compulab CM-510 U-boot version: Load Kernel from SD-Card
Date: Wed, 04 Mar 2015 08:37:24 +0200 [thread overview]
Message-ID: <54F6A824.9000100@compulab.co.il> (raw)
In-Reply-To: <54F5D95C.4080909@gmail.com>
Hi Gabriel,
Try fixing CM-A510 related code:
mvBoardEnvSpec.h
...
...
/* CM-A510 */
#define CM_A510_MPP0_7 0x00000033
#define CM_A510_MPP8_15 0x00445050
#define CM_A510_MPP16_23 0x66664040
#define CM_A510_MPP24_31 0x11111111
#define CM_A510_MPP32_39 0x11111111
#define CM_A510_MPP40_47 0x11111111
#define CM_A510_MPP48_55 0x11111111
#define CM_A510_MPP56_63 0x00111111
...
board/marvell/mv_dove/dove_family/boardEnv/mvBoardEnvSpec.c
...
...
MV_BOARD_MPP_INFO cm_a510InfoBoardMppConfigValue[]
...
Regards,
Dmitry
On 03/03/2015 05:55 PM, Gabriel Dobato wrote:
> Hello,
>
> I am trying to boot the kernel image from SD-CARD (mmc0) in the CM-510
> SoM(provided by Compulab) using the u-boot image provided by Compulab:
>
> http://www.compulab.co.il/products/computer-on-modules/cm-a510/#devres
>
> By default, it seems SD-Card is not enabled, so I think I have to
> configure right the MPP option.
>
> I have searched over and over in the code sources, I have change some
> arrays defined in some files that are related to the MPP (pinmux) but
> nothing happens:
>
> ./board/marvell/mv_dove/dove_family/boardEnv/mvBoardEnvSpec.h:
>
> * DB-88F6781-BP B0 */
> #define DB_88AP510BP_B_MPP0_7 0x00000000
> #define DB_88AP510BP_B_MPP8_15 0x00442000
> #define DB_88AP510BP_B_MPP16_23 0x32334043 <---
> #define DB_88AP510BP_B_MPP24_31 0x11111111
> #define DB_88AP510BP_B_MPP32_39 0x11111111
> #define DB_88AP510BP_B_MPP40_47 0x11111111 <---
> #define DB_88AP510BP_B_MPP48_55 0x11111111
> #define DB_88AP510BP_B_MPP56_63 0x00111111
> #define DB_88AP510BP_B_OE_LOW
> (~((BIT1)|(BIT2)|(BIT5)|(BIT7)|(BIT8)|(BIT10)|(BIT11)|(BIT14)|(BIT15)|(BIT16)|(BIT18)|(BIT19)))
>
> #define DB_88AP510BP_B_OE_HIGH 0x0FFFFFFF
> #define DB_88AP510BP_B_OE_VAL_LOW
> ((BIT1)|(BIT2)|(BIT5)|(BIT7)|(BIT8)|(BIT10)|(BIT11)|(BIT16)|(BIT18)|(BIT19))
>
> #define DB_88AP510BP_B_OE_VAL_HIGH 0x0
>
>
>
>
> ./board/marvell/mv_dove/dove_family/boardEnv/mvBoardEnvSpec.c:
> MV_BOARD_MPP_INFO db88f6781bpbInfoBoardMppConfigValue[] =
> {{{{
> DB_88AP510BP_B_MPP0_7,
> DB_88AP510BP_B_MPP8_15,
> DB_88AP510BP_B_MPP16_23,
> DB_88AP510BP_B_MPP40_47 <-------
> }}}};
>
> Anyone has faced this problem before? I really appreciate some kind of
> help.
>
> Best regards,
>
> Gabriel
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
>
next prev parent reply other threads:[~2015-03-04 6:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-03 15:55 [U-Boot] Ask for help: Compulab CM-510 U-boot version: Load Kernel from SD-Card Gabriel Dobato
2015-03-04 6:37 ` Dmitry Lifshitz [this message]
2015-03-04 8:18 ` Gabriel Dobato
2015-03-04 8:50 ` Dmitry Lifshitz
2015-03-05 9:48 ` Gabriel Dobato
2015-03-15 12:00 ` Dmitry Lifshitz
-- strict thread matches above, loose matches on Subject: below --
2015-06-16 16:23 Gandha Naringrekar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54F6A824.9000100@compulab.co.il \
--to=lifshitz@compulab.co.il \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.