[U-Boot] Booting from MMC, other partition

I have a iMX233 with SD as storage and I need to have first partition fat32, otherways windows will not open the SD card at all. Customer needs to get/save some data from windows.
So what I did is wrote U-Boot on 2'nd and rootfs on 3'rd.
Command (m for help): p Disk /dev/sdb: 7,4 GiB, 7969177600 bytes, 15564800 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x763f9f2e
Device Boot Start End Sectors Size Id Type /dev/sdb1 2048 8390655 8388608 4G c W95 FAT32 (LBA) /dev/sdb2 * 8390656 8521727 131072 64M 53 OnTrack DM6 Aux3 /dev/sdb3 8521728 15564799 7043072 3,4G 83 Linux
U-Boot starts just fine but cannot boot from 3'rd.
There is a solution for this, do I need to recompile U-Boot.
If so, where should I modify.
Thanks very much in advance,

On 10/14/2016 03:45 AM, Robert Ianovich wrote:
I have a iMX233 with SD as storage and I need to have first partition fat32, otherways windows will not open the SD card at all. Customer needs to get/save some data from windows.
So what I did is wrote U-Boot on 2'nd and rootfs on 3'rd.
Command (m for help): p Disk /dev/sdb: 7,4 GiB, 7969177600 bytes, 15564800 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x763f9f2e
Device Boot Start End Sectors Size Id Type /dev/sdb1 2048 8390655 8388608 4G c W95 FAT32 (LBA) /dev/sdb2 * 8390656 8521727 131072 64M 53 OnTrack DM6 Aux3 /dev/sdb3 8521728 15564799 7043072 3,4G 83 Linux
U-Boot starts just fine but cannot boot from 3'rd.
There is a solution for this, do I need to recompile U-Boot.
Do you want to use the 3rd partition as rootfs? Does it jump to kernel?
Best Regards, Jaehoon Chung
If so, where should I modify.
Thanks very much in advance, _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot
participants (2)
-
Jaehoon Chung
-
Robert Ianovich