Second stage bootloader

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Second stage bootloader

4,930 Views
vijaybhatt
Contributor I

Hi,

I am using iMX6 board and have to develop mini u-boot to fit into OCRAM of the core.

While searching for the second stage bootloader i could find the two stage bootloader

implementaion for the TI OMAP3/4 boards.

So is there any generic framework to use it for the iMX platforms?

Labels (4)
0 Kudos
16 Replies

1,945 Views
satishchandra
Contributor I

Hi All,

Any update on the SPL support.

Is there a support for SPL for imx6S based boards ?

My requirement in the assignment is that primary uboot should be able to choose between 2 different secondary uboot depending on ceratin conditions ?

The condition would be something like a file with certain text being present in a nand partition.

Thanks,

Satish.

0 Kudos

1,945 Views
OtavioSalvador
Senior Contributor II

Hello,

Not yet done. This needs to be finished in U-Boot mainline.

TechNexion people has done an initial version of it and send it for review; there were some remarks and change requests and those has not yet been submitted yet.

Best Regards,

0 Kudos

1,945 Views
OtavioSalvador
Senior Contributor II

You may want to  look at U-Boot mainline; it does it already and it may also be easily adapter to boot Linux directly from SDRAM with minimal initialization. In U-Boot it is called SPL (Second Program Loader) so it loads the interative U-Boot application.

U-Boot supports most iMX (if not all) so it should be what you're looking for.

1,945 Views
vijaybhatt
Contributor I

Thanks Otavio,

I checked the U-boot mainline for SPL framework and could compile and generate u-boot-spl.bin along with other images.

I think there is no support of SPL for iMX6Q boards as of now.If it is there can you please point me there?

Thanks,
Vijay 

0 Kudos

1,945 Views
fabio_estevam
NXP Employee
NXP Employee

Vijay,

Please start a thread at the U-boot mailing list about this topic.

Regards,

Fabio Estevam

0 Kudos

1,945 Views
kevin_chaves
Contributor III

Did that mailing list ever get started? I'm looking for documentation or any information on i.mx6

0 Kudos

1,945 Views
vijaybhatt
Contributor I
0 Kudos

1,945 Views
vijaybhatt
Contributor I

I started the thread , its seems that it is held for approval.

It quotes:

************************************************************************

Your mail to 'U-Boot' with the subject

    RE: [i.MX Community] - Second stage bootloader

Is being held until the list moderator can review it for approval.

The reason it is being held:

    Post by non-member to a members-only list

************************************************************************

0 Kudos

1,945 Views
fabio_estevam
NXP Employee
NXP Employee

1. Subscribe to the U-boot list

2. Choose a more appropriate Subject, ie, remove "[i.MX Community]"

0 Kudos

1,945 Views
kevin_chaves
Contributor III

ok this is probably a stupid question, how does one subscribe to this?

0 Kudos

1,945 Views
OtavioSalvador
Senior Contributor II
0 Kudos

1,945 Views
OtavioSalvador
Senior Contributor II

No thread has been started in mailing list. Please do.

0 Kudos

1,945 Views
OtavioSalvador
Senior Contributor II

Yes it seems it does not; yestarday a patchset has been sent to MX53 which does it maybe you can take a look in mailing list?

It should be easy to add this as everything is in place, including the SPL framework.

1,945 Views
kevin_chaves
Contributor III

Where can I find this particular patch for MX53.

0 Kudos

1,945 Views
fabio_estevam
NXP Employee
NXP Employee

Currently there is SPL support for this mx35 board booting from mmc:

board/woodburn/woodburn.c

Also, U-boot list is a more appropriate place to talk about U-boot SPL support.

0 Kudos

1,945 Views
OtavioSalvador
Senior Contributor II

I don't know if someone has made it public; I think it is not.

0 Kudos