All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Dooks <ben.dooks@codethink.co.uk>
To: linux-sh@vger.kernel.org
Subject: Re: RCar-H2: boot from SD card request
Date: Thu, 07 Nov 2013 15:47:20 +0000	[thread overview]
Message-ID: <527BB608.2080303@codethink.co.uk> (raw)
In-Reply-To: <527A828F.4060305@codethink.co.uk>

On 07/11/13 07:10, Magnus Damm wrote:
> Hi Ben,
>
> Unfortunately it seems to me that the upstream SDHI driver is lacking
> in some aspects. This means that it won't work on r8a7790 and r8a7791
> until it gets updated. We will do our best to cook up some code, would
> it be possible for you guys to test on your side?

Thanks, at the moment booting from SD card is much better for us than
assuming we have a network available.

I should have some time for testing in the near future.

> Cheers,
>
> / magnus
>
> On Thu, Nov 7, 2013 at 2:55 AM, Ben Dooks <ben.dooks@codethink.co.uk> wrote:
>> I am trying to boot an lager board from SD, using SDHI0 channel with
>> the development branches from Simon.
>>
>> Has anyone got this to work? I have a working 3.4-ltsi kernel that
>> can boot
>>
>> I've tried the next, master and devel branches from
>>   git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git
>>
>> My current diffs to the source are:
>>
>>> git diff
>>> diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
>>> b/arch/arm/boot/dts/r8a7790-lager.dts
>>> index 203bd08..d2b33eb 100644
>>> --- a/arch/arm/boot/dts/r8a7790-lager.dts
>>> +++ b/arch/arm/boot/dts/r8a7790-lager.dts
>>> @@ -16,7 +16,7 @@
>>>          compatible = "renesas,lager", "renesas,r8a7790";
>>>
>>>          chosen {
>>> -               bootargs = "console=ttySC6,115200 ignore_loglevel rw
>>> root=/dev/nfs ip=dhcp";
>>> +               bootargs = "console=ttySC6,38400 ignore_loglevel rw
>>> root=/dev/mmcblk0p1 rootwait";
>>>          };
>>>
>>>          memory@40000000 {
>>> @@ -29,3 +29,5 @@
>>>                  #size-cells = <1>;
>>>          };
>>>   };
>>> +
>>> +&sdhi0 { status = "ok"; };
>>
>>
>> --
>> Ben Dooks                               http://www.codethink.co.uk/
>> Senior Engineer                         Codethink - Providing Genius
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html


-- 
Ben Dooks				http://www.codethink.co.uk/
Senior Engineer				Codethink - Providing Genius

      parent reply	other threads:[~2013-11-07 15:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-06 17:55 RCar-H2: boot from SD card request Ben Dooks
2013-11-07  7:10 ` Magnus Damm
2013-11-07 15:47 ` Ben Dooks [this message]

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=527BB608.2080303@codethink.co.uk \
    --to=ben.dooks@codethink.co.uk \
    --cc=linux-sh@vger.kernel.org \
    /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.