[U-Boot] problem on BL1.bin

Hi All,
Iam using smdkv310 board of SAMSUNG EXYNOS SOC. How bl1.bin file copy the uboot.bin file from SD/MMC card to DDR2 RAM.
by using the following device copy functions
#define SDMMC_ReadBlocks_eMMC_ByCPU(uNumOfBlks, uDstAddr) \ (((void(*)(u32, u32*))(*((u32 *)EXT_eMMC43_BL2_ByCPU_ADDRESS)))(uNumOfBlks, uDstAddr))
The macro EXT_eMMC43_BL2_ByCPU_ADDRESS is mapped to the IRAM physical adress
Please anybody can help me.
Thanks
Balaji

Dear Balaji,
In message CA+qW+UVEUX=8=hRJ7DWkJs5f23T1_V4fkUm2jMYQ9KHfu5wJQA@mail.gmail.com you wrote:
Iam using smdkv310 board of SAMSUNG EXYNOS SOC. How bl1.bin file copy the uboot.bin file from SD/MMC card to DDR2 RAM.
by using the following device copy functions
#define SDMMC_ReadBlocks_eMMC_ByCPU(uNumOfBlks, uDstAddr) \ (((void(*)(u32, u32*))(*((u32 *)EXT_eMMC43_BL2_ByCPU_ADDRESS)))(uNumOfBlks, uDstAddr))
The macro EXT_eMMC43_BL2_ByCPU_ADDRESS is mapped to the IRAM physical adress
I have no idea what you are talking about here. Mainline U-Boot does not contain any such code.
Best regards,
Wolfgang Denk

Hi Balaji,
On 13 July 2012 11:04, VISWANADHULA BALAJI vbalaji39@gmail.com wrote:
Hi All,
Iam using smdkv310 board of SAMSUNG EXYNOS SOC. How bl1.bin file copy the uboot.bin file from SD/MMC card to DDR2 RAM.
by using the following device copy functions
#define SDMMC_ReadBlocks_eMMC_ByCPU(uNumOfBlks, uDstAddr) \ (((void(*)(u32, u32*))(*((u32 *)EXT_eMMC43_BL2_ByCPU_ADDRESS)))(uNumOfBlks, uDstAddr))
Which file contain this code. As far as i can see there is no such code in mainline u-boot for smdkv310. What is the source of u-boot you are working on?
The macro EXT_eMMC43_BL2_ByCPU_ADDRESS is mapped to the IRAM physical adress
Please anybody can help me.
Thanks
Balaji
U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

On Friday 13 July 2012 01:34:02 VISWANADHULA BALAJI wrote:
Iam using smdkv310 board of SAMSUNG EXYNOS SOC. How bl1.bin file copy the uboot.bin file from SD/MMC card to DDR2 RAM.
by using the following device copy functions
#define SDMMC_ReadBlocks_eMMC_ByCPU(uNumOfBlks, uDstAddr) \ (((void(*)(u32, u32*))(*((u32 *)EXT_eMMC43_BL2_ByCPU_ADDRESS)))(uNumOfBlks, uDstAddr))
The macro EXT_eMMC43_BL2_ByCPU_ADDRESS is mapped to the IRAM physical adress
the bootstrap files (like bl1.bin) have nothing to do with u-boot. please seek support from samsung since they are the authors & providers of these files. -mike
participants (4)
-
Chander Kashyap
-
Mike Frysinger
-
VISWANADHULA BALAJI
-
Wolfgang Denk