[U-Boot] LPC2478 - reading/booting from SD card

Hi everyone,
I have problem with LPC2478-STK development board from Olimex (U-boot 1.3.2). There are reported problems with improperly relocated interrupt vector block. After making suggested changes, mmcinit doesn't freeze initialization. Could someone give me some explanation why
*lpc-2478-stk # mmcinit*
mmc_init
mci-cid (SD memory card): Manufacturer ID: 0x27 OEM/Application ID: PH Product Name: SD01G Product Revision: 2.0 Serial Number: 0xeb215f6a Date Code: 2007.11 sector size = 512 (Bytes), card size = 1019 (MBytes) dump csd data: 004f00325f59a3cb ffffff8f8a400028 mmc_block_read: start=0, blkcnt=1. mmc_block_read: start=0, blkcnt=1.
Return 0 after fat_register_device
*pc-2478-stk # fatload mmc 0 0xa0800000 romfs_5.img*
mmc_block_read: start=0, blkcnt=1. mmc_block_read: start=0, blkcnt=1. reading romfs_5.img mmc_block_read: start=778135908, blkcnt=1. mmc_block_read: start=778136396, blkcnt=32................................ mmc_block_read: start=778136397, blkcnt=32................................ mmc_block_read: start=778136398, blkcnt=32................................ mmc_block_read: start=778136399, blkcnt=32................................ mmc_block_read: start=778136400, blkcnt=32................................ mmc_block_read: start=778136401, blkcnt=32................................ mmc_block_read: start=778136402, blkcnt=32................................ mmc_block_read: start=778136403, blkcnt=32................................ mmc_block_read: start=778136404, blkcnt=32................................ mmc_block_read: start=778136405, blkcnt=32................................ mmc_block_read: start=778136406, blkcnt=32................................ mmc_block_read: start=778136407, blkcnt=32................................ mmc_block_read: start=778136408, blkcnt=32................................ mmc_block_read: start=778136409, blkcnt=32................................ . . . . . . (I didn't try to wait what will happen at the end)
* lpc-2478-stk # fatls mmc 0 *
mmc_block_read: start=0, blkcnt=1. mmc_block_read: start=0, blkcnt=1. mmc_block_read: start=778135908, blkcnt=1. mmc_block_read: start=778136396, blkcnt=32................................ 0 ë< msdos.5.0 988513052 ŽÑ¼ð{ŽÙ¸ / f f v . f / / at2nt ƒÇ/ -402652997 » .ý}ë / / -352294298 ‹ôŠv$Í a.ar 1953439858 °ntldr any.to/ mmc_block_read: start=778136397, blkcnt=32................................ 0 ë< msdos.5.0 988513052 ŽÑ¼ð{ŽÙ¸ / f f v . f / / at2nt ƒÇ/ -402652997 » .ý}ë / / -352294298 ‹ôŠv$Í a.ar 1953439858 °ntldr any.to/
(I didn't try to wait what will happen at the end)
What could be wrong? Could someone give me some guidlines where to look for problem? Everything is OK with SD card, I managed to compile and boot from usb stick so everything is ok with my compiler.

Dear =?ISO-8859-2?Q?Tomislav_Pu=F0a?=,
In message 493fcb9c1001190300k95f9e24vf703838e742417b@mail.gmail.com you wrote:
I have problem with LPC2478-STK development board from Olimex (U-boot 1.3.2). There are reported problems with improperly relocated interrupt vector block. After making suggested changes, mmcinit doesn't freeze initialization. Could someone give me some explanation why
U-Boot 1.3.2. is very old (nearly two years), and there is no LPC2478 board supported in the mainline tree, so your only option is to ask Olimex support for an update to more recent code and/or fixes.
We cannot help you. We don't know this hardware, and we don't know which changes Olimex might have made to the code.
Best regards,
Wolfgang Denk
participants (2)
-
Tomislav Puđa
-
Wolfgang Denk