
4 Feb
2013
4 Feb
'13
7:45 p.m.
Dear Fabio Estevam,
[...]
@@ -574,8 +574,8 @@ static int mx28_create_sd_image(int infd, int outfd)
cb->drv_info[0].chip_num = 0x0; cb->drv_info[0].drive_type = 0x0; cb->drv_info[0].tag = 0x1;
cb->drv_info[0].first_sector_number = sd_sector + 1;
cb->drv_info[0].sector_count = (size - 1) / 512;
cb->drv_info[0].first_sector_number = sd_sector + 4;
cb->drv_info[0].sector_count = (size - 4) / 512; wr_size = write(outfd, buf, size); if (wr_size != size) {
My mx28evk does not boot with this patch applied.
Can you add this section to arch/arm/cpu/arm926ejs/mxs/u-boot-imx28.bd
-->8-- options { driveTag = 0x00; flags = 0x01; } --8<--
and paste the output you get on serial port? the flags = 1 should enable debug output from the bootrom.
Best regards, Marek Vasut