RCar-H2: boot from SD card request
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:
Quoted 20 lines
git diff
arch/arm/boot/dts/r8a7790-lager.dts +3
-1@@ -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"; };
Signature · 2 lines
Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius
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?
Cheers,
/ magnus
Quoted 43 lines · Ben Dooks
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.gitMy current diffs to the source are:
Quoted 18 lines
git diff
arch/arm/boot/dts/r8a7790-lager.dts +1
-1@@ -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 {arch/arm/boot/dts/r8a7790-lager.dts line 33
Quoted 5 lines
arch/arm/boot/dts/r8a7790-lager.dts +2
-0@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 6 lines · Magnus Damm
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.
Quoted 48 lines
Cheers,
/ magnus
Quoted 43 lines · Ben Dooks
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.gitMy current diffs to the source are:
Quoted 18 lines
git diff
arch/arm/boot/dts/r8a7790-lager.dts +1
-1@@ -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 {arch/arm/boot/dts/r8a7790-lager.dts line 33
Quoted 5 lines
arch/arm/boot/dts/r8a7790-lager.dts +2
-0@@ -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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius