powerpc: Increase warp SD buffer
Subsystems (2)
PATCH 1/1 powerpc: Increase warp SD buffer
Newer revs of the FPGA have a larger SD buffer.
---
arch/powerpc/boot/dts/warp.dts +1 -1
@@ -146,7 +146,7 @@ fpga@2,4000 { compatible = "pika,fpga-sd"; - reg = <0x00000002 0x00004000 0x00000A00>; + reg = <0x00000002 0x00004000 0x00004000>; }; nor@0,0 {
Quoted 1 line · Sean MacLennan
Newer revs of the FPGA have a larger SD buffer.
How does that impact the older revisions? You're using a cuImage with Warp, so the device tree is bundled with that. If you boot a new kernel with this change to the DTS on a older board revision, will it do bad things?
josh
Quoted 4 lines · On Wed, 9 Dec 2009 09:40:55 -0500 Josh Boyer <[email protected]> wrote:
How does that impact the older revisions? You're using a cuImage with Warp, so the device tree is bundled with that. If you boot a new kernel with this change to the DTS on a older board revision, will it do bad things?
The new SD driver takes care of that. If you use the new kernel with an old FPGA you reserve more space than you need, but the driver will not touch it.
And if you somehow end up with the new DTS on an older kernel, the old SD driver will not use the space anyway since the buffer is limited to one block.
The SD driver is not in the kernel proper because it was implemented in the FPGA and has a non-standard interface. It requires a change to the SD core to run. But it is GPLed, so if anybody wants to see it, just ask.
Cheers,
Sean
Quoted 12 lines · Sean MacLennan
Quoted 4 lines · On Wed, 9 Dec 2009 09:40:55 -0500 Josh Boyer <[email protected]> wrote:
How does that impact the older revisions? You're using a cuImage with Warp, so the device tree is bundled with that. If you boot a new kernel with this change to the DTS on a older board revision, will it do bad things?
The new SD driver takes care of that. If you use the new kernel with an old FPGA you reserve more space than you need, but the driver will not touch it.
Quoted 8 lines
And if you somehow end up with the new DTS on an older kernel, the old SD driver will not use the space anyway since the buffer is limited to one block.
The SD driver is not in the kernel proper because it was implemented in the FPGA and has a non-standard interface. It requires a change to the SD core to run. But it is GPLed, so if anybody wants to see it, just ask.
OK thanks. I figured something like that would be the case, but wanted to verify first.
josh