Boot from 2nd partition

Started by Lilian, October 28, 2013, 11:39:45 pm

Previous topic - Next topic

Lilian

Hi everyone,

Is there a way to boot the linux kernel from the 2nd partition (instead of the 1st one) of the sdcard ?

Thank you for any advice,
Lilian

lambda

There is imx23 suppport in u-boot. (Haven't tested yet.) Is this what you have in mind?

What other reason is there to not boot from the first partition?

picmaster

Hi Lilian,

The iMX233 ROM will boot from the first primary partition on your uSD-card that's marked as type 53, and which contains valid boot-stream (bootlets+kernel, or U-Boot). I've tried to put U-boot on all 4 primary partitions and it worked for me.

Here's one example, where my board boots from the 4th partition:

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048       34815       16384    b  W95 FAT32
/dev/sdb2           34816       67583       16384    b  W95 FAT32
/dev/sdb3           67584      100351       16384    b  W95 FAT32
/dev/sdb4          100352      133119       16384   53  OnTrack DM6 Aux3

Hope this helps. Regards,
picmaster