[U-Boot] [PATCH v2] AT91: Add SD/MMC controller support & [PATCH v3]

Konrad Mattheis mattheis at ukma.de
Wed Sep 9 09:06:14 CEST 2009


Hi Albin,


>Someone encoutered the same issue: http://lists.denx.de/pipermail/u-boot/2009-September/059684.html
>This is because the patch is based on a change that was part of another patch that added support to a new >board. You can work around this easily: in at91sam9260_devices.c, simply replace

>#if defined(CONFIG_HAS_DATAFLASH) || defined(CONFIG_ATMEL_SPI)

>with

>#if defined(CONFIG_HAS_DATAFLASH)

>and the patch should then apply cleanly. Please let me know if that still doesn't work.
Yes this patch apply cleanly, but I had problems on my samg20ek to get the mmc working.
On the command mmc init, it always say no mmc card foung.

So I tried now to apply your new Patch V3. What is the Base
of this patch (I tried again u-boot 2009.08) Is there a better
way to download the version with git?

There I have a lot of problems.

patching file cpu/arm926ejs/at91/at91cap9_devices.c
patching file cpu/arm926ejs/at91/at91sam9260_devices.c
Hunk #1 FAILED at 75.
1 out of 1 hunk FAILED -- saving rejects to file cpu/arm926ejs/at91/at91sam9260_devices.c.rej
patching file cpu/arm926ejs/at91/at91sam9261_devices.c
patching file cpu/arm926ejs/at91/at91sam9263_devices.c
patching file cpu/arm926ejs/at91/at91sam9m10g45_devices.c
patching file cpu/arm926ejs/at91/at91sam9rl_devices.c
patching file include/asm-arm/arch-at91/at91_common.h
patching file include/asm-arm/arch-at91/at91cap9.h
Hunk #1 FAILED at 112.
1 out of 1 hunk FAILED -- saving rejects to file include/asm-arm/arch-at91/at91cap9.h.rej
patching file include/asm-arm/arch-at91/at91sam9260.h
Hunk #1 FAILED at 108.
1 out of 1 hunk FAILED -- saving rejects to file include/asm-arm/arch-at91/at91sam9260.h.rej
patching file include/asm-arm/arch-at91/at91sam9261.h
Hunk #1 FAILED at 91.
1 out of 1 hunk FAILED -- saving rejects to file include/asm-arm/arch-at91/at91sam9261.h.rej
patching file include/asm-arm/arch-at91/at91sam9263.h
Hunk #1 FAILED at 111.
1 out of 1 hunk FAILED -- saving rejects to file include/asm-arm/arch-at91/at91sam9263.h.rej
patching file include/asm-arm/arch-at91/at91sam9g45.h
Hunk #1 FAILED at 118.
1 out of 1 hunk FAILED -- saving rejects to file include/asm-arm/arch-at91/at91sam9g45.h.rej
patching file include/asm-arm/arch-at91/at91sam9rl.h
Hunk #1 FAILED at 101.
1 out of 1 hunk FAILED -- saving rejects to file include/asm-arm/arch-at91/at91sam9rl.h.rej
patching file include/asm-arm/arch-at91/clk.h
patching file include/asm-arm/arch-at91/memory-map.h

bye
Konrad


More information about the U-Boot mailing list