Welcome, Guest

Author Topic: Boot from 2nd partition  (Read 1447 times)

Lilian

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Boot from 2nd partition
« on: October 28, 2013, 11:39:45 PM »
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

  • Full Member
  • ***
  • Posts: 180
  • Karma: +21/-0
    • Support my work
Re: Boot from 2nd partition
« Reply #1 on: October 29, 2013, 01:26:05 PM »
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

  • Newbie
  • *
  • Posts: 16
  • Karma: +1/-0
Re: Boot from 2nd partition
« Reply #2 on: November 11, 2013, 09:17:33 PM »
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