All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
@ 2012-02-23 11:22 Mikael Åsberg
  2012-02-23 12:11 ` Jean-Christophe PLAGNIOL-VILLARD
  2012-02-23 12:38 ` Baruch Siach
  0 siblings, 2 replies; 23+ messages in thread
From: Mikael Åsberg @ 2012-02-23 11:22 UTC (permalink / raw)
  To: buildroot

Hello,

Does anyone have experience with compiling Linux kernels with Buildroot for i.MX28 EVK?
I'm not sure which board name to be set for u-boot for example...
Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?

Any help or pointers would be valueable!

Kind Regards

/Mikael

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-23 11:22 [Buildroot] Compile Linux with Buildroot for i.MX28 EVK Mikael Åsberg
@ 2012-02-23 12:11 ` Jean-Christophe PLAGNIOL-VILLARD
  2012-02-23 12:38 ` Baruch Siach
  1 sibling, 0 replies; 23+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-02-23 12:11 UTC (permalink / raw)
  To: buildroot

On 12:22 Thu 23 Feb     , Mikael ?sberg wrote:
> Hello,
> 
> Does anyone have experience with compiling Linux kernels with Buildroot for i.MX28 EVK?
> I'm not sure which board name to be set for u-boot for example...
> Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
Sorry we use barebox here

Best Regards,
J.

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-23 11:22 [Buildroot] Compile Linux with Buildroot for i.MX28 EVK Mikael Åsberg
  2012-02-23 12:11 ` Jean-Christophe PLAGNIOL-VILLARD
@ 2012-02-23 12:38 ` Baruch Siach
       [not found]   ` <63D6870D443E63419AC4A0C97B86C092030FCA18@MBXCLUSTER.mdh.local>
  1 sibling, 1 reply; 23+ messages in thread
From: Baruch Siach @ 2012-02-23 12:38 UTC (permalink / raw)
  To: buildroot

Hi Mikael,

On Thu, Feb 23, 2012 at 12:22:09PM +0100, Mikael ?sberg wrote:
> Does anyone have experience with compiling Linux kernels with Buildroot for 
> i.MX28 EVK?
> I'm not sure which board name to be set for u-boot for example...
> Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
> 
> Any help or pointers would be valueable!

Although it's named i.MX28, this chip is very different from i.MX27, but is 
similar to i.MX23. Latest kernels (since v3.0) contain mxs_defconfig, which 
should be suitable for i.MX28 (and i.MX23).

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
       [not found]   ` <63D6870D443E63419AC4A0C97B86C092030FCA18@MBXCLUSTER.mdh.local>
@ 2012-02-23 17:17     ` Baruch Siach
  2012-02-24 13:19       ` Mikael Åsberg
  0 siblings, 1 reply; 23+ messages in thread
From: Baruch Siach @ 2012-02-23 17:17 UTC (permalink / raw)
  To: buildroot

Hi Mikael,

Please keep the list in Cc.

On Thu, Feb 23, 2012 at 02:35:37PM +0100, Mikael ?sberg wrote:
> Hi,
> 
> Thanks a lot for the info!
> 
> I guess its easier to use Barebox, then you just also specify mxs_defconfig 
> when you configure.

You original question was about the Linux kernel not Barebox.

Barebox includes support for the TX28 board which is based on i.MX28 
(tx28stk5_defconfig).

> One more thing, since i.MX28 uses the "454MHz ARM926EJ-S" processor, should 
> I choose "arm926t" in the config?

The kernel (and Barebox) defconfig files should include all the relevant 
settings, including this one.

baruch

> Fr?n: Baruch Siach [baruch at tkos.co.il]
> Skickat: den 23 februari 2012 13:38
> Till: Mikael ?sberg
> Kopia: buildroot at busybox.net
> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> 
> Hi Mikael,
> 
> On Thu, Feb 23, 2012 at 12:22:09PM +0100, Mikael ?sberg wrote:
> > Does anyone have experience with compiling Linux kernels with Buildroot for
> > i.MX28 EVK?
> > I'm not sure which board name to be set for u-boot for example...
> > Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
> >
> > Any help or pointers would be valueable!
> 
> Although it's named i.MX28, this chip is very different from i.MX27, but is
> similar to i.MX23. Latest kernels (since v3.0) contain mxs_defconfig, which
> should be suitable for i.MX28 (and i.MX23).
> 
> baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-23 17:17     ` Baruch Siach
@ 2012-02-24 13:19       ` Mikael Åsberg
  2012-02-24 13:33         ` Yegor Yefremov
  0 siblings, 1 reply; 23+ messages in thread
From: Mikael Åsberg @ 2012-02-24 13:19 UTC (permalink / raw)
  To: buildroot

Hey,

Ok great, thx!

One last thing, depending on which bootloader that is used, i.e., u-boot, barebox etc., does it matter which kernel image that is used for the boot (zImage, uImage, vmlinux)?
If I use barebox, which image can I use? (I prefer an uncompressed kernel)

Kind regards

--------------------------------------------------------------
Mikael ?sberg
PhD student (Doktorand), Computer Engineering
School of Innovation, Design and Engineering
M?lardalen University, V?ster?s Sweden
Phone: +46(0)21 101502
Room nr: U1-145
Mail: mikael.asberg at mdh.se
--------------------------------------------------------------
________________________________________
Fr?n: Baruch Siach [baruch at tkos.co.il]
Skickat: den 23 februari 2012 18:17
Till: Mikael ?sberg
Kopia: buildroot at busybox.net
?mne: Re: SV: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK

Hi Mikael,

Please keep the list in Cc.

On Thu, Feb 23, 2012 at 02:35:37PM +0100, Mikael ?sberg wrote:
> Hi,
>
> Thanks a lot for the info!
>
> I guess its easier to use Barebox, then you just also specify mxs_defconfig
> when you configure.

You original question was about the Linux kernel not Barebox.

Barebox includes support for the TX28 board which is based on i.MX28
(tx28stk5_defconfig).

> One more thing, since i.MX28 uses the "454MHz ARM926EJ-S" processor, should
> I choose "arm926t" in the config?

The kernel (and Barebox) defconfig files should include all the relevant
settings, including this one.

baruch

> Fr?n: Baruch Siach [baruch at tkos.co.il]
> Skickat: den 23 februari 2012 13:38
> Till: Mikael ?sberg
> Kopia: buildroot at busybox.net
> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>
> Hi Mikael,
>
> On Thu, Feb 23, 2012 at 12:22:09PM +0100, Mikael ?sberg wrote:
> > Does anyone have experience with compiling Linux kernels with Buildroot for
> > i.MX28 EVK?
> > I'm not sure which board name to be set for u-boot for example...
> > Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
> >
> > Any help or pointers would be valueable!
>
> Although it's named i.MX28, this chip is very different from i.MX27, but is
> similar to i.MX23. Latest kernels (since v3.0) contain mxs_defconfig, which
> should be suitable for i.MX28 (and i.MX23).
>
> baruch

--
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 13:19       ` Mikael Åsberg
@ 2012-02-24 13:33         ` Yegor Yefremov
  2012-02-24 13:53           ` Mikael Åsberg
  2012-02-24 15:38           ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 2 replies; 23+ messages in thread
From: Yegor Yefremov @ 2012-02-24 13:33 UTC (permalink / raw)
  To: buildroot

AFAIK it is always uImage format for both u-boot and barebox. RedBoot
has used zImage.

Yegor

On Fri, Feb 24, 2012 at 2:19 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> Hey,
>
> Ok great, thx!
>
> One last thing, depending on which bootloader that is used, i.e., u-boot, barebox etc., does it matter which kernel image that is used for the boot (zImage, uImage, vmlinux)?
> If I use barebox, which image can I use? (I prefer an uncompressed kernel)
>
> Kind regards
>
> --------------------------------------------------------------
> Mikael ?sberg
> PhD student (Doktorand), Computer Engineering
> School of Innovation, Design and Engineering
> M?lardalen University, V?ster?s Sweden
> Phone: +46(0)21 101502
> Room nr: U1-145
> Mail: mikael.asberg at mdh.se
> --------------------------------------------------------------
> ________________________________________
> Fr?n: Baruch Siach [baruch at tkos.co.il]
> Skickat: den 23 februari 2012 18:17
> Till: Mikael ?sberg
> Kopia: buildroot at busybox.net
> ?mne: Re: SV: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>
> Hi Mikael,
>
> Please keep the list in Cc.
>
> On Thu, Feb 23, 2012 at 02:35:37PM +0100, Mikael ?sberg wrote:
>> Hi,
>>
>> Thanks a lot for the info!
>>
>> I guess its easier to use Barebox, then you just also specify mxs_defconfig
>> when you configure.
>
> You original question was about the Linux kernel not Barebox.
>
> Barebox includes support for the TX28 board which is based on i.MX28
> (tx28stk5_defconfig).
>
>> One more thing, since i.MX28 uses the "454MHz ARM926EJ-S" processor, should
>> I choose "arm926t" in the config?
>
> The kernel (and Barebox) defconfig files should include all the relevant
> settings, including this one.
>
> baruch
>
>> Fr?n: Baruch Siach [baruch at tkos.co.il]
>> Skickat: den 23 februari 2012 13:38
>> Till: Mikael ?sberg
>> Kopia: buildroot at busybox.net
>> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>>
>> Hi Mikael,
>>
>> On Thu, Feb 23, 2012 at 12:22:09PM +0100, Mikael ?sberg wrote:
>> > Does anyone have experience with compiling Linux kernels with Buildroot for
>> > i.MX28 EVK?
>> > I'm not sure which board name to be set for u-boot for example...
>> > Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
>> >
>> > Any help or pointers would be valueable!
>>
>> Although it's named i.MX28, this chip is very different from i.MX27, but is
>> similar to i.MX23. Latest kernels (since v3.0) contain mxs_defconfig, which
>> should be suitable for i.MX28 (and i.MX23).
>>
>> baruch
>
> --
> ? ? http://baruch.siach.name/blog/ ? ? ? ? ? ? ? ? ?~. .~ ? Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
> ? - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 13:33         ` Yegor Yefremov
@ 2012-02-24 13:53           ` Mikael Åsberg
  2012-02-24 14:06             ` Yegor Yefremov
  2012-02-24 15:38           ` Jean-Christophe PLAGNIOL-VILLARD
  1 sibling, 1 reply; 23+ messages in thread
From: Mikael Åsberg @ 2012-02-24 13:53 UTC (permalink / raw)
  To: buildroot

Hi,

Ok, but is uImage a compressed file like zImage? If yes, can I de-compress it somehow?

Regards

--------------------------------------------------------------
Mikael ?sberg
PhD student (Doktorand), Computer Engineering
School of Innovation, Design and Engineering
M?lardalen University, V?ster?s Sweden
Phone: +46(0)21 101502
Room nr: U1-145
Mail: mikael.asberg at mdh.se
--------------------------------------------------------------
________________________________________
Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
Skickat: den 24 februari 2012 14:33
Till: Mikael ?sberg
Kopia: Baruch Siach; buildroot at busybox.net
?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK

AFAIK it is always uImage format for both u-boot and barebox. RedBoot
has used zImage.

Yegor

On Fri, Feb 24, 2012 at 2:19 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> Hey,
>
> Ok great, thx!
>
> One last thing, depending on which bootloader that is used, i.e., u-boot, barebox etc., does it matter which kernel image that is used for the boot (zImage, uImage, vmlinux)?
> If I use barebox, which image can I use? (I prefer an uncompressed kernel)
>
> Kind regards
>
> --------------------------------------------------------------
> Mikael ?sberg
> PhD student (Doktorand), Computer Engineering
> School of Innovation, Design and Engineering
> M?lardalen University, V?ster?s Sweden
> Phone: +46(0)21 101502
> Room nr: U1-145
> Mail: mikael.asberg at mdh.se
> --------------------------------------------------------------
> ________________________________________
> Fr?n: Baruch Siach [baruch at tkos.co.il]
> Skickat: den 23 februari 2012 18:17
> Till: Mikael ?sberg
> Kopia: buildroot at busybox.net
> ?mne: Re: SV: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>
> Hi Mikael,
>
> Please keep the list in Cc.
>
> On Thu, Feb 23, 2012 at 02:35:37PM +0100, Mikael ?sberg wrote:
>> Hi,
>>
>> Thanks a lot for the info!
>>
>> I guess its easier to use Barebox, then you just also specify mxs_defconfig
>> when you configure.
>
> You original question was about the Linux kernel not Barebox.
>
> Barebox includes support for the TX28 board which is based on i.MX28
> (tx28stk5_defconfig).
>
>> One more thing, since i.MX28 uses the "454MHz ARM926EJ-S" processor, should
>> I choose "arm926t" in the config?
>
> The kernel (and Barebox) defconfig files should include all the relevant
> settings, including this one.
>
> baruch
>
>> Fr?n: Baruch Siach [baruch at tkos.co.il]
>> Skickat: den 23 februari 2012 13:38
>> Till: Mikael ?sberg
>> Kopia: buildroot at busybox.net
>> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>>
>> Hi Mikael,
>>
>> On Thu, Feb 23, 2012 at 12:22:09PM +0100, Mikael ?sberg wrote:
>> > Does anyone have experience with compiling Linux kernels with Buildroot for
>> > i.MX28 EVK?
>> > I'm not sure which board name to be set for u-boot for example...
>> > Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
>> >
>> > Any help or pointers would be valueable!
>>
>> Although it's named i.MX28, this chip is very different from i.MX27, but is
>> similar to i.MX23. Latest kernels (since v3.0) contain mxs_defconfig, which
>> should be suitable for i.MX28 (and i.MX23).
>>
>> baruch
>
> --
>     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> =}------------------------------------------------ooO--U--Ooo------------{=
>   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 13:53           ` Mikael Åsberg
@ 2012-02-24 14:06             ` Yegor Yefremov
  2012-02-24 14:33               ` Mikael Åsberg
  0 siblings, 1 reply; 23+ messages in thread
From: Yegor Yefremov @ 2012-02-24 14:06 UTC (permalink / raw)
  To: buildroot

This is zImage with u-boot specific wrapper. uImage will be created
from zImage using mkimage tool.

Yegor

On Fri, Feb 24, 2012 at 2:53 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> Hi,
>
> Ok, but is uImage a compressed file like zImage? If yes, can I de-compress it somehow?
>
> Regards
>
> --------------------------------------------------------------
> Mikael ?sberg
> PhD student (Doktorand), Computer Engineering
> School of Innovation, Design and Engineering
> M?lardalen University, V?ster?s Sweden
> Phone: +46(0)21 101502
> Room nr: U1-145
> Mail: mikael.asberg at mdh.se
> --------------------------------------------------------------
> ________________________________________
> Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> Skickat: den 24 februari 2012 14:33
> Till: Mikael ?sberg
> Kopia: Baruch Siach; buildroot at busybox.net
> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>
> AFAIK it is always uImage format for both u-boot and barebox. RedBoot
> has used zImage.
>
> Yegor
>
> On Fri, Feb 24, 2012 at 2:19 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
>> Hey,
>>
>> Ok great, thx!
>>
>> One last thing, depending on which bootloader that is used, i.e., u-boot, barebox etc., does it matter which kernel image that is used for the boot (zImage, uImage, vmlinux)?
>> If I use barebox, which image can I use? (I prefer an uncompressed kernel)
>>
>> Kind regards
>>
>> --------------------------------------------------------------
>> Mikael ?sberg
>> PhD student (Doktorand), Computer Engineering
>> School of Innovation, Design and Engineering
>> M?lardalen University, V?ster?s Sweden
>> Phone: +46(0)21 101502
>> Room nr: U1-145
>> Mail: mikael.asberg at mdh.se
>> --------------------------------------------------------------
>> ________________________________________
>> Fr?n: Baruch Siach [baruch at tkos.co.il]
>> Skickat: den 23 februari 2012 18:17
>> Till: Mikael ?sberg
>> Kopia: buildroot at busybox.net
>> ?mne: Re: SV: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>>
>> Hi Mikael,
>>
>> Please keep the list in Cc.
>>
>> On Thu, Feb 23, 2012 at 02:35:37PM +0100, Mikael ?sberg wrote:
>>> Hi,
>>>
>>> Thanks a lot for the info!
>>>
>>> I guess its easier to use Barebox, then you just also specify mxs_defconfig
>>> when you configure.
>>
>> You original question was about the Linux kernel not Barebox.
>>
>> Barebox includes support for the TX28 board which is based on i.MX28
>> (tx28stk5_defconfig).
>>
>>> One more thing, since i.MX28 uses the "454MHz ARM926EJ-S" processor, should
>>> I choose "arm926t" in the config?
>>
>> The kernel (and Barebox) defconfig files should include all the relevant
>> settings, including this one.
>>
>> baruch
>>
>>> Fr?n: Baruch Siach [baruch at tkos.co.il]
>>> Skickat: den 23 februari 2012 13:38
>>> Till: Mikael ?sberg
>>> Kopia: buildroot at busybox.net
>>> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>>>
>>> Hi Mikael,
>>>
>>> On Thu, Feb 23, 2012 at 12:22:09PM +0100, Mikael ?sberg wrote:
>>> > Does anyone have experience with compiling Linux kernels with Buildroot for
>>> > i.MX28 EVK?
>>> > I'm not sure which board name to be set for u-boot for example...
>>> > Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
>>> >
>>> > Any help or pointers would be valueable!
>>>
>>> Although it's named i.MX28, this chip is very different from i.MX27, but is
>>> similar to i.MX23. Latest kernels (since v3.0) contain mxs_defconfig, which
>>> should be suitable for i.MX28 (and i.MX23).
>>>
>>> baruch
>>
>> --
>> ? ? http://baruch.siach.name/blog/ ? ? ? ? ? ? ? ? ?~. .~ ? Tk Open Systems
>> =}------------------------------------------------ooO--U--Ooo------------{=
>> ? - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 14:06             ` Yegor Yefremov
@ 2012-02-24 14:33               ` Mikael Åsberg
  2012-02-24 15:10                 ` Yegor Yefremov
  0 siblings, 1 reply; 23+ messages in thread
From: Mikael Åsberg @ 2012-02-24 14:33 UTC (permalink / raw)
  To: buildroot


Ahh ok. Do you know how to create an uImage which is not compressed?

--------------------------------------------------------------
Mikael ?sberg
PhD student (Doktorand), Computer Engineering
School of Innovation, Design and Engineering
M?lardalen University, V?ster?s Sweden
Phone: +46(0)21 101502
Room nr: U1-145
Mail: mikael.asberg at mdh.se
--------------------------------------------------------------
________________________________________
Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
Skickat: den 24 februari 2012 15:06
Till: Mikael ?sberg
Kopia: buildroot at busybox.net
?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK

This is zImage with u-boot specific wrapper. uImage will be created
from zImage using mkimage tool.

Yegor

On Fri, Feb 24, 2012 at 2:53 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> Hi,
>
> Ok, but is uImage a compressed file like zImage? If yes, can I de-compress it somehow?
>
> Regards
>
> --------------------------------------------------------------
> Mikael ?sberg
> PhD student (Doktorand), Computer Engineering
> School of Innovation, Design and Engineering
> M?lardalen University, V?ster?s Sweden
> Phone: +46(0)21 101502
> Room nr: U1-145
> Mail: mikael.asberg at mdh.se
> --------------------------------------------------------------
> ________________________________________
> Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> Skickat: den 24 februari 2012 14:33
> Till: Mikael ?sberg
> Kopia: Baruch Siach; buildroot at busybox.net
> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>
> AFAIK it is always uImage format for both u-boot and barebox. RedBoot
> has used zImage.
>
> Yegor
>
> On Fri, Feb 24, 2012 at 2:19 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
>> Hey,
>>
>> Ok great, thx!
>>
>> One last thing, depending on which bootloader that is used, i.e., u-boot, barebox etc., does it matter which kernel image that is used for the boot (zImage, uImage, vmlinux)?
>> If I use barebox, which image can I use? (I prefer an uncompressed kernel)
>>
>> Kind regards
>>
>> --------------------------------------------------------------
>> Mikael ?sberg
>> PhD student (Doktorand), Computer Engineering
>> School of Innovation, Design and Engineering
>> M?lardalen University, V?ster?s Sweden
>> Phone: +46(0)21 101502
>> Room nr: U1-145
>> Mail: mikael.asberg at mdh.se
>> --------------------------------------------------------------
>> ________________________________________
>> Fr?n: Baruch Siach [baruch at tkos.co.il]
>> Skickat: den 23 februari 2012 18:17
>> Till: Mikael ?sberg
>> Kopia: buildroot at busybox.net
>> ?mne: Re: SV: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>>
>> Hi Mikael,
>>
>> Please keep the list in Cc.
>>
>> On Thu, Feb 23, 2012 at 02:35:37PM +0100, Mikael ?sberg wrote:
>>> Hi,
>>>
>>> Thanks a lot for the info!
>>>
>>> I guess its easier to use Barebox, then you just also specify mxs_defconfig
>>> when you configure.
>>
>> You original question was about the Linux kernel not Barebox.
>>
>> Barebox includes support for the TX28 board which is based on i.MX28
>> (tx28stk5_defconfig).
>>
>>> One more thing, since i.MX28 uses the "454MHz ARM926EJ-S" processor, should
>>> I choose "arm926t" in the config?
>>
>> The kernel (and Barebox) defconfig files should include all the relevant
>> settings, including this one.
>>
>> baruch
>>
>>> Fr?n: Baruch Siach [baruch at tkos.co.il]
>>> Skickat: den 23 februari 2012 13:38
>>> Till: Mikael ?sberg
>>> Kopia: buildroot at busybox.net
>>> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>>>
>>> Hi Mikael,
>>>
>>> On Thu, Feb 23, 2012 at 12:22:09PM +0100, Mikael ?sberg wrote:
>>> > Does anyone have experience with compiling Linux kernels with Buildroot for
>>> > i.MX28 EVK?
>>> > I'm not sure which board name to be set for u-boot for example...
>>> > Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
>>> >
>>> > Any help or pointers would be valueable!
>>>
>>> Although it's named i.MX28, this chip is very different from i.MX27, but is
>>> similar to i.MX23. Latest kernels (since v3.0) contain mxs_defconfig, which
>>> should be suitable for i.MX28 (and i.MX23).
>>>
>>> baruch
>>
>> --
>>     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
>> =}------------------------------------------------ooO--U--Ooo------------{=
>>   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 14:33               ` Mikael Åsberg
@ 2012-02-24 15:10                 ` Yegor Yefremov
  2012-02-24 15:22                   ` Mikael Åsberg
  0 siblings, 1 reply; 23+ messages in thread
From: Yegor Yefremov @ 2012-02-24 15:10 UTC (permalink / raw)
  To: buildroot

I don't know, if it is possible to pack vmlinuz in uImage. Why do you need this?

On Fri, Feb 24, 2012 at 3:33 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
>
> Ahh ok. Do you know how to create an uImage which is not compressed?
>
> --------------------------------------------------------------
> Mikael ?sberg
> PhD student (Doktorand), Computer Engineering
> School of Innovation, Design and Engineering
> M?lardalen University, V?ster?s Sweden
> Phone: +46(0)21 101502
> Room nr: U1-145
> Mail: mikael.asberg at mdh.se
> --------------------------------------------------------------
> ________________________________________
> Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> Skickat: den 24 februari 2012 15:06
> Till: Mikael ?sberg
> Kopia: buildroot at busybox.net
> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>
> This is zImage with u-boot specific wrapper. uImage will be created
> from zImage using mkimage tool.
>
> Yegor
>
> On Fri, Feb 24, 2012 at 2:53 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
>> Hi,
>>
>> Ok, but is uImage a compressed file like zImage? If yes, can I de-compress it somehow?
>>
>> Regards
>>
>> --------------------------------------------------------------
>> Mikael ?sberg
>> PhD student (Doktorand), Computer Engineering
>> School of Innovation, Design and Engineering
>> M?lardalen University, V?ster?s Sweden
>> Phone: +46(0)21 101502
>> Room nr: U1-145
>> Mail: mikael.asberg at mdh.se
>> --------------------------------------------------------------
>> ________________________________________
>> Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
>> Skickat: den 24 februari 2012 14:33
>> Till: Mikael ?sberg
>> Kopia: Baruch Siach; buildroot at busybox.net
>> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>>
>> AFAIK it is always uImage format for both u-boot and barebox. RedBoot
>> has used zImage.
>>
>> Yegor
>>
>> On Fri, Feb 24, 2012 at 2:19 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
>>> Hey,
>>>
>>> Ok great, thx!
>>>
>>> One last thing, depending on which bootloader that is used, i.e., u-boot, barebox etc., does it matter which kernel image that is used for the boot (zImage, uImage, vmlinux)?
>>> If I use barebox, which image can I use? (I prefer an uncompressed kernel)
>>>
>>> Kind regards
>>>
>>> --------------------------------------------------------------
>>> Mikael ?sberg
>>> PhD student (Doktorand), Computer Engineering
>>> School of Innovation, Design and Engineering
>>> M?lardalen University, V?ster?s Sweden
>>> Phone: +46(0)21 101502
>>> Room nr: U1-145
>>> Mail: mikael.asberg at mdh.se
>>> --------------------------------------------------------------
>>> ________________________________________
>>> Fr?n: Baruch Siach [baruch at tkos.co.il]
>>> Skickat: den 23 februari 2012 18:17
>>> Till: Mikael ?sberg
>>> Kopia: buildroot at busybox.net
>>> ?mne: Re: SV: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>>>
>>> Hi Mikael,
>>>
>>> Please keep the list in Cc.
>>>
>>> On Thu, Feb 23, 2012 at 02:35:37PM +0100, Mikael ?sberg wrote:
>>>> Hi,
>>>>
>>>> Thanks a lot for the info!
>>>>
>>>> I guess its easier to use Barebox, then you just also specify mxs_defconfig
>>>> when you configure.
>>>
>>> You original question was about the Linux kernel not Barebox.
>>>
>>> Barebox includes support for the TX28 board which is based on i.MX28
>>> (tx28stk5_defconfig).
>>>
>>>> One more thing, since i.MX28 uses the "454MHz ARM926EJ-S" processor, should
>>>> I choose "arm926t" in the config?
>>>
>>> The kernel (and Barebox) defconfig files should include all the relevant
>>> settings, including this one.
>>>
>>> baruch
>>>
>>>> Fr?n: Baruch Siach [baruch at tkos.co.il]
>>>> Skickat: den 23 februari 2012 13:38
>>>> Till: Mikael ?sberg
>>>> Kopia: buildroot at busybox.net
>>>> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>>>>
>>>> Hi Mikael,
>>>>
>>>> On Thu, Feb 23, 2012 at 12:22:09PM +0100, Mikael ?sberg wrote:
>>>> > Does anyone have experience with compiling Linux kernels with Buildroot for
>>>> > i.MX28 EVK?
>>>> > I'm not sure which board name to be set for u-boot for example...
>>>> > Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
>>>> >
>>>> > Any help or pointers would be valueable!
>>>>
>>>> Although it's named i.MX28, this chip is very different from i.MX27, but is
>>>> similar to i.MX23. Latest kernels (since v3.0) contain mxs_defconfig, which
>>>> should be suitable for i.MX28 (and i.MX23).
>>>>
>>>> baruch
>>>
>>> --
>>> ? ? http://baruch.siach.name/blog/ ? ? ? ? ? ? ? ? ?~. .~ ? Tk Open Systems
>>> =}------------------------------------------------ooO--U--Ooo------------{=
>>> ? - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>>> _______________________________________________
>>> buildroot mailing list
>>> buildroot at busybox.net
>>> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 15:10                 ` Yegor Yefremov
@ 2012-02-24 15:22                   ` Mikael Åsberg
  2012-02-24 15:40                     ` Jean-Christophe PLAGNIOL-VILLARD
  2012-02-24 17:10                     ` Michael S. Zick
  0 siblings, 2 replies; 23+ messages in thread
From: Mikael Åsberg @ 2012-02-24 15:22 UTC (permalink / raw)
  To: buildroot


This application is for the automotive industry. In a car, the embedded system must be able to boot within maximum ~1 second. I was thinking, can I use mkimage to convert vmlinux to an uImage (uncompressed version)?
Or, is there a setting in Buildroot or Barebox where I can specify the builder to not compress the uImage?

--------------------------------------------------------------
Mikael ?sberg
PhD student (Doktorand), Computer Engineering
School of Innovation, Design and Engineering
M?lardalen University, V?ster?s Sweden
Phone: +46(0)21 101502
Room nr: U1-145
Mail: mikael.asberg at mdh.se
--------------------------------------------------------------
________________________________________
Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
Skickat: den 24 februari 2012 16:10
Till: Mikael ?sberg
Kopia: buildroot at busybox.net
?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK

I don't know, if it is possible to pack vmlinuz in uImage. Why do you need this?

On Fri, Feb 24, 2012 at 3:33 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
>
> Ahh ok. Do you know how to create an uImage which is not compressed?
>
> --------------------------------------------------------------
> Mikael ?sberg
> PhD student (Doktorand), Computer Engineering
> School of Innovation, Design and Engineering
> M?lardalen University, V?ster?s Sweden
> Phone: +46(0)21 101502
> Room nr: U1-145
> Mail: mikael.asberg at mdh.se
> --------------------------------------------------------------
> ________________________________________
> Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> Skickat: den 24 februari 2012 15:06
> Till: Mikael ?sberg
> Kopia: buildroot at busybox.net
> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>
> This is zImage with u-boot specific wrapper. uImage will be created
> from zImage using mkimage tool.
>
> Yegor
>
> On Fri, Feb 24, 2012 at 2:53 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
>> Hi,
>>
>> Ok, but is uImage a compressed file like zImage? If yes, can I de-compress it somehow?
>>
>> Regards
>>
>> --------------------------------------------------------------
>> Mikael ?sberg
>> PhD student (Doktorand), Computer Engineering
>> School of Innovation, Design and Engineering
>> M?lardalen University, V?ster?s Sweden
>> Phone: +46(0)21 101502
>> Room nr: U1-145
>> Mail: mikael.asberg at mdh.se
>> --------------------------------------------------------------
>> ________________________________________
>> Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
>> Skickat: den 24 februari 2012 14:33
>> Till: Mikael ?sberg
>> Kopia: Baruch Siach; buildroot at busybox.net
>> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>>
>> AFAIK it is always uImage format for both u-boot and barebox. RedBoot
>> has used zImage.
>>
>> Yegor
>>
>> On Fri, Feb 24, 2012 at 2:19 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
>>> Hey,
>>>
>>> Ok great, thx!
>>>
>>> One last thing, depending on which bootloader that is used, i.e., u-boot, barebox etc., does it matter which kernel image that is used for the boot (zImage, uImage, vmlinux)?
>>> If I use barebox, which image can I use? (I prefer an uncompressed kernel)
>>>
>>> Kind regards
>>>
>>> --------------------------------------------------------------
>>> Mikael ?sberg
>>> PhD student (Doktorand), Computer Engineering
>>> School of Innovation, Design and Engineering
>>> M?lardalen University, V?ster?s Sweden
>>> Phone: +46(0)21 101502
>>> Room nr: U1-145
>>> Mail: mikael.asberg at mdh.se
>>> --------------------------------------------------------------
>>> ________________________________________
>>> Fr?n: Baruch Siach [baruch at tkos.co.il]
>>> Skickat: den 23 februari 2012 18:17
>>> Till: Mikael ?sberg
>>> Kopia: buildroot at busybox.net
>>> ?mne: Re: SV: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>>>
>>> Hi Mikael,
>>>
>>> Please keep the list in Cc.
>>>
>>> On Thu, Feb 23, 2012 at 02:35:37PM +0100, Mikael ?sberg wrote:
>>>> Hi,
>>>>
>>>> Thanks a lot for the info!
>>>>
>>>> I guess its easier to use Barebox, then you just also specify mxs_defconfig
>>>> when you configure.
>>>
>>> You original question was about the Linux kernel not Barebox.
>>>
>>> Barebox includes support for the TX28 board which is based on i.MX28
>>> (tx28stk5_defconfig).
>>>
>>>> One more thing, since i.MX28 uses the "454MHz ARM926EJ-S" processor, should
>>>> I choose "arm926t" in the config?
>>>
>>> The kernel (and Barebox) defconfig files should include all the relevant
>>> settings, including this one.
>>>
>>> baruch
>>>
>>>> Fr?n: Baruch Siach [baruch at tkos.co.il]
>>>> Skickat: den 23 februari 2012 13:38
>>>> Till: Mikael ?sberg
>>>> Kopia: buildroot at busybox.net
>>>> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>>>>
>>>> Hi Mikael,
>>>>
>>>> On Thu, Feb 23, 2012 at 12:22:09PM +0100, Mikael ?sberg wrote:
>>>> > Does anyone have experience with compiling Linux kernels with Buildroot for
>>>> > i.MX28 EVK?
>>>> > I'm not sure which board name to be set for u-boot for example...
>>>> > Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
>>>> >
>>>> > Any help or pointers would be valueable!
>>>>
>>>> Although it's named i.MX28, this chip is very different from i.MX27, but is
>>>> similar to i.MX23. Latest kernels (since v3.0) contain mxs_defconfig, which
>>>> should be suitable for i.MX28 (and i.MX23).
>>>>
>>>> baruch
>>>
>>> --
>>>     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
>>> =}------------------------------------------------ooO--U--Ooo------------{=
>>>   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
>>> _______________________________________________
>>> buildroot mailing list
>>> buildroot at busybox.net
>>> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 13:33         ` Yegor Yefremov
  2012-02-24 13:53           ` Mikael Åsberg
@ 2012-02-24 15:38           ` Jean-Christophe PLAGNIOL-VILLARD
  1 sibling, 0 replies; 23+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-02-24 15:38 UTC (permalink / raw)
  To: buildroot

On 14:33 Fri 24 Feb     , Yegor Yefremov wrote:
> AFAIK it is always uImage format for both u-boot and barebox. RedBoot
> has used zImage.
barebox can load zimage or uImage

Best Regrds,
J.
> 
> Yegor
> 
> On Fri, Feb 24, 2012 at 2:19 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> > Hey,
> >
> > Ok great, thx!
> >
> > One last thing, depending on which bootloader that is used, i.e., u-boot, barebox etc., does it matter which kernel image that is used for the boot (zImage, uImage, vmlinux)?
> > If I use barebox, which image can I use? (I prefer an uncompressed kernel)
> >
> > Kind regards
> >
> > --------------------------------------------------------------
> > Mikael ?sberg
> > PhD student (Doktorand), Computer Engineering
> > School of Innovation, Design and Engineering
> > M?lardalen University, V?ster?s Sweden
> > Phone: +46(0)21 101502
> > Room nr: U1-145
> > Mail: mikael.asberg at mdh.se
> > --------------------------------------------------------------
> > ________________________________________
> > Fr?n: Baruch Siach [baruch at tkos.co.il]
> > Skickat: den 23 februari 2012 18:17
> > Till: Mikael ?sberg
> > Kopia: buildroot at busybox.net
> > ?mne: Re: SV: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >
> > Hi Mikael,
> >
> > Please keep the list in Cc.
> >
> > On Thu, Feb 23, 2012 at 02:35:37PM +0100, Mikael ?sberg wrote:
> >> Hi,
> >>
> >> Thanks a lot for the info!
> >>
> >> I guess its easier to use Barebox, then you just also specify mxs_defconfig
> >> when you configure.
> >
> > You original question was about the Linux kernel not Barebox.
> >
> > Barebox includes support for the TX28 board which is based on i.MX28
> > (tx28stk5_defconfig).
> >
> >> One more thing, since i.MX28 uses the "454MHz ARM926EJ-S" processor, should
> >> I choose "arm926t" in the config?
> >
> > The kernel (and Barebox) defconfig files should include all the relevant
> > settings, including this one.
> >
> > baruch
> >
> >> Fr?n: Baruch Siach [baruch at tkos.co.il]
> >> Skickat: den 23 februari 2012 13:38
> >> Till: Mikael ?sberg
> >> Kopia: buildroot at busybox.net
> >> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >>
> >> Hi Mikael,
> >>
> >> On Thu, Feb 23, 2012 at 12:22:09PM +0100, Mikael ?sberg wrote:
> >> > Does anyone have experience with compiling Linux kernels with Buildroot for
> >> > i.MX28 EVK?
> >> > I'm not sure which board name to be set for u-boot for example...
> >> > Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
> >> >
> >> > Any help or pointers would be valueable!
> >>
> >> Although it's named i.MX28, this chip is very different from i.MX27, but is
> >> similar to i.MX23. Latest kernels (since v3.0) contain mxs_defconfig, which
> >> should be suitable for i.MX28 (and i.MX23).
> >>
> >> baruch
> >
> > --
> > ? ? http://baruch.siach.name/blog/ ? ? ? ? ? ? ? ? ?~. .~ ? Tk Open Systems
> > =}------------------------------------------------ooO--U--Ooo------------{=
> > ? - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 15:22                   ` Mikael Åsberg
@ 2012-02-24 15:40                     ` Jean-Christophe PLAGNIOL-VILLARD
  2012-02-24 15:58                       ` Mikael Åsberg
  2012-02-24 17:10                     ` Michael S. Zick
  1 sibling, 1 reply; 23+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-02-24 15:40 UTC (permalink / raw)
  To: buildroot

On 16:22 Fri 24 Feb     , Mikael ?sberg wrote:
> 
> This application is for the automotive industry. In a car, the embedded system must be able to boot within maximum ~1 second. I was thinking, can I use mkimage to convert vmlinux to an uImage (uncompressed version)?
> Or, is there a setting in Buildroot or Barebox where I can specify the builder to not compress the uImage?
in barebox wecan boot a raw image and we did on imx to boot in less than 400ms

Best Regards,
J.
> 
> --------------------------------------------------------------
> Mikael ?sberg
> PhD student (Doktorand), Computer Engineering
> School of Innovation, Design and Engineering
> M?lardalen University, V?ster?s Sweden
> Phone: +46(0)21 101502
> Room nr: U1-145
> Mail: mikael.asberg at mdh.se
> --------------------------------------------------------------
> ________________________________________
> Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> Skickat: den 24 februari 2012 16:10
> Till: Mikael ?sberg
> Kopia: buildroot at busybox.net
> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> 
> I don't know, if it is possible to pack vmlinuz in uImage. Why do you need this?
> 
> On Fri, Feb 24, 2012 at 3:33 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> >
> > Ahh ok. Do you know how to create an uImage which is not compressed?
> >
> > --------------------------------------------------------------
> > Mikael ?sberg
> > PhD student (Doktorand), Computer Engineering
> > School of Innovation, Design and Engineering
> > M?lardalen University, V?ster?s Sweden
> > Phone: +46(0)21 101502
> > Room nr: U1-145
> > Mail: mikael.asberg at mdh.se
> > --------------------------------------------------------------
> > ________________________________________
> > Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> > Skickat: den 24 februari 2012 15:06
> > Till: Mikael ?sberg
> > Kopia: buildroot at busybox.net
> > ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >
> > This is zImage with u-boot specific wrapper. uImage will be created
> > from zImage using mkimage tool.
> >
> > Yegor
> >
> > On Fri, Feb 24, 2012 at 2:53 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> >> Hi,
> >>
> >> Ok, but is uImage a compressed file like zImage? If yes, can I de-compress it somehow?
> >>
> >> Regards
> >>
> >> --------------------------------------------------------------
> >> Mikael ?sberg
> >> PhD student (Doktorand), Computer Engineering
> >> School of Innovation, Design and Engineering
> >> M?lardalen University, V?ster?s Sweden
> >> Phone: +46(0)21 101502
> >> Room nr: U1-145
> >> Mail: mikael.asberg at mdh.se
> >> --------------------------------------------------------------
> >> ________________________________________
> >> Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> >> Skickat: den 24 februari 2012 14:33
> >> Till: Mikael ?sberg
> >> Kopia: Baruch Siach; buildroot at busybox.net
> >> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >>
> >> AFAIK it is always uImage format for both u-boot and barebox. RedBoot
> >> has used zImage.
> >>
> >> Yegor
> >>
> >> On Fri, Feb 24, 2012 at 2:19 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> >>> Hey,
> >>>
> >>> Ok great, thx!
> >>>
> >>> One last thing, depending on which bootloader that is used, i.e., u-boot, barebox etc., does it matter which kernel image that is used for the boot (zImage, uImage, vmlinux)?
> >>> If I use barebox, which image can I use? (I prefer an uncompressed kernel)
> >>>
> >>> Kind regards
> >>>
> >>> --------------------------------------------------------------
> >>> Mikael ?sberg
> >>> PhD student (Doktorand), Computer Engineering
> >>> School of Innovation, Design and Engineering
> >>> M?lardalen University, V?ster?s Sweden
> >>> Phone: +46(0)21 101502
> >>> Room nr: U1-145
> >>> Mail: mikael.asberg at mdh.se
> >>> --------------------------------------------------------------
> >>> ________________________________________
> >>> Fr?n: Baruch Siach [baruch at tkos.co.il]
> >>> Skickat: den 23 februari 2012 18:17
> >>> Till: Mikael ?sberg
> >>> Kopia: buildroot at busybox.net
> >>> ?mne: Re: SV: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >>>
> >>> Hi Mikael,
> >>>
> >>> Please keep the list in Cc.
> >>>
> >>> On Thu, Feb 23, 2012 at 02:35:37PM +0100, Mikael ?sberg wrote:
> >>>> Hi,
> >>>>
> >>>> Thanks a lot for the info!
> >>>>
> >>>> I guess its easier to use Barebox, then you just also specify mxs_defconfig
> >>>> when you configure.
> >>>
> >>> You original question was about the Linux kernel not Barebox.
> >>>
> >>> Barebox includes support for the TX28 board which is based on i.MX28
> >>> (tx28stk5_defconfig).
> >>>
> >>>> One more thing, since i.MX28 uses the "454MHz ARM926EJ-S" processor, should
> >>>> I choose "arm926t" in the config?
> >>>
> >>> The kernel (and Barebox) defconfig files should include all the relevant
> >>> settings, including this one.
> >>>
> >>> baruch
> >>>
> >>>> Fr?n: Baruch Siach [baruch at tkos.co.il]
> >>>> Skickat: den 23 februari 2012 13:38
> >>>> Till: Mikael ?sberg
> >>>> Kopia: buildroot at busybox.net
> >>>> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >>>>
> >>>> Hi Mikael,
> >>>>
> >>>> On Thu, Feb 23, 2012 at 12:22:09PM +0100, Mikael ?sberg wrote:
> >>>> > Does anyone have experience with compiling Linux kernels with Buildroot for
> >>>> > i.MX28 EVK?
> >>>> > I'm not sure which board name to be set for u-boot for example...
> >>>> > Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
> >>>> >
> >>>> > Any help or pointers would be valueable!
> >>>>
> >>>> Although it's named i.MX28, this chip is very different from i.MX27, but is
> >>>> similar to i.MX23. Latest kernels (since v3.0) contain mxs_defconfig, which
> >>>> should be suitable for i.MX28 (and i.MX23).
> >>>>
> >>>> baruch
> >>>
> >>> --
> >>>     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> >>> =}------------------------------------------------ooO--U--Ooo------------{=
> >>>   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
> >>> _______________________________________________
> >>> buildroot mailing list
> >>> buildroot at busybox.net
> >>> http://lists.busybox.net/mailman/listinfo/buildroot
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 15:40                     ` Jean-Christophe PLAGNIOL-VILLARD
@ 2012-02-24 15:58                       ` Mikael Åsberg
  2012-02-24 16:35                         ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 23+ messages in thread
From: Mikael Åsberg @ 2012-02-24 15:58 UTC (permalink / raw)
  To: buildroot


>in barebox wecan boot a raw image and we did on imx to boot in less than 400ms

Aha, that sounds great! By "raw image" do you mean the vmlinux image?

--------------------------------------------------------------
Mikael ?sberg
PhD student (Doktorand), Computer Engineering
School of Innovation, Design and Engineering
M?lardalen University, V?ster?s Sweden
Phone: +46(0)21 101502
Room nr: U1-145
Mail: mikael.asberg at mdh.se
--------------------------------------------------------------
________________________________________
Fr?n: Jean-Christophe PLAGNIOL-VILLARD [plagnioj at jcrosoft.com]
Skickat: den 24 februari 2012 16:40
Till: Mikael ?sberg
Kopia: Yegor Yefremov; buildroot at busybox.net
?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK

On 16:22 Fri 24 Feb     , Mikael ?sberg wrote:
>
> This application is for the automotive industry. In a car, the embedded system must be able to boot within maximum ~1 second. I was thinking, can I use mkimage to convert vmlinux to an uImage (uncompressed version)?
> Or, is there a setting in Buildroot or Barebox where I can specify the builder to not compress the uImage?
in barebox wecan boot a raw image and we did on imx to boot in less than 400ms

Best Regards,
J.
>
> --------------------------------------------------------------
> Mikael ?sberg
> PhD student (Doktorand), Computer Engineering
> School of Innovation, Design and Engineering
> M?lardalen University, V?ster?s Sweden
> Phone: +46(0)21 101502
> Room nr: U1-145
> Mail: mikael.asberg at mdh.se
> --------------------------------------------------------------
> ________________________________________
> Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> Skickat: den 24 februari 2012 16:10
> Till: Mikael ?sberg
> Kopia: buildroot at busybox.net
> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>
> I don't know, if it is possible to pack vmlinuz in uImage. Why do you need this?
>
> On Fri, Feb 24, 2012 at 3:33 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> >
> > Ahh ok. Do you know how to create an uImage which is not compressed?
> >
> > --------------------------------------------------------------
> > Mikael ?sberg
> > PhD student (Doktorand), Computer Engineering
> > School of Innovation, Design and Engineering
> > M?lardalen University, V?ster?s Sweden
> > Phone: +46(0)21 101502
> > Room nr: U1-145
> > Mail: mikael.asberg at mdh.se
> > --------------------------------------------------------------
> > ________________________________________
> > Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> > Skickat: den 24 februari 2012 15:06
> > Till: Mikael ?sberg
> > Kopia: buildroot at busybox.net
> > ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >
> > This is zImage with u-boot specific wrapper. uImage will be created
> > from zImage using mkimage tool.
> >
> > Yegor
> >
> > On Fri, Feb 24, 2012 at 2:53 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> >> Hi,
> >>
> >> Ok, but is uImage a compressed file like zImage? If yes, can I de-compress it somehow?
> >>
> >> Regards
> >>
> >> --------------------------------------------------------------
> >> Mikael ?sberg
> >> PhD student (Doktorand), Computer Engineering
> >> School of Innovation, Design and Engineering
> >> M?lardalen University, V?ster?s Sweden
> >> Phone: +46(0)21 101502
> >> Room nr: U1-145
> >> Mail: mikael.asberg at mdh.se
> >> --------------------------------------------------------------
> >> ________________________________________
> >> Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> >> Skickat: den 24 februari 2012 14:33
> >> Till: Mikael ?sberg
> >> Kopia: Baruch Siach; buildroot at busybox.net
> >> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >>
> >> AFAIK it is always uImage format for both u-boot and barebox. RedBoot
> >> has used zImage.
> >>
> >> Yegor
> >>
> >> On Fri, Feb 24, 2012 at 2:19 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> >>> Hey,
> >>>
> >>> Ok great, thx!
> >>>
> >>> One last thing, depending on which bootloader that is used, i.e., u-boot, barebox etc., does it matter which kernel image that is used for the boot (zImage, uImage, vmlinux)?
> >>> If I use barebox, which image can I use? (I prefer an uncompressed kernel)
> >>>
> >>> Kind regards
> >>>
> >>> --------------------------------------------------------------
> >>> Mikael ?sberg
> >>> PhD student (Doktorand), Computer Engineering
> >>> School of Innovation, Design and Engineering
> >>> M?lardalen University, V?ster?s Sweden
> >>> Phone: +46(0)21 101502
> >>> Room nr: U1-145
> >>> Mail: mikael.asberg at mdh.se
> >>> --------------------------------------------------------------
> >>> ________________________________________
> >>> Fr?n: Baruch Siach [baruch at tkos.co.il]
> >>> Skickat: den 23 februari 2012 18:17
> >>> Till: Mikael ?sberg
> >>> Kopia: buildroot at busybox.net
> >>> ?mne: Re: SV: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >>>
> >>> Hi Mikael,
> >>>
> >>> Please keep the list in Cc.
> >>>
> >>> On Thu, Feb 23, 2012 at 02:35:37PM +0100, Mikael ?sberg wrote:
> >>>> Hi,
> >>>>
> >>>> Thanks a lot for the info!
> >>>>
> >>>> I guess its easier to use Barebox, then you just also specify mxs_defconfig
> >>>> when you configure.
> >>>
> >>> You original question was about the Linux kernel not Barebox.
> >>>
> >>> Barebox includes support for the TX28 board which is based on i.MX28
> >>> (tx28stk5_defconfig).
> >>>
> >>>> One more thing, since i.MX28 uses the "454MHz ARM926EJ-S" processor, should
> >>>> I choose "arm926t" in the config?
> >>>
> >>> The kernel (and Barebox) defconfig files should include all the relevant
> >>> settings, including this one.
> >>>
> >>> baruch
> >>>
> >>>> Fr?n: Baruch Siach [baruch at tkos.co.il]
> >>>> Skickat: den 23 februari 2012 13:38
> >>>> Till: Mikael ?sberg
> >>>> Kopia: buildroot at busybox.net
> >>>> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >>>>
> >>>> Hi Mikael,
> >>>>
> >>>> On Thu, Feb 23, 2012 at 12:22:09PM +0100, Mikael ?sberg wrote:
> >>>> > Does anyone have experience with compiling Linux kernels with Buildroot for
> >>>> > i.MX28 EVK?
> >>>> > I'm not sure which board name to be set for u-boot for example...
> >>>> > Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
> >>>> >
> >>>> > Any help or pointers would be valueable!
> >>>>
> >>>> Although it's named i.MX28, this chip is very different from i.MX27, but is
> >>>> similar to i.MX23. Latest kernels (since v3.0) contain mxs_defconfig, which
> >>>> should be suitable for i.MX28 (and i.MX23).
> >>>>
> >>>> baruch
> >>>
> >>> --
> >>>     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> >>> =}------------------------------------------------ooO--U--Ooo------------{=
> >>>   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
> >>> _______________________________________________
> >>> buildroot mailing list
> >>> buildroot at busybox.net
> >>> http://lists.busybox.net/mailman/listinfo/buildroot
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 15:58                       ` Mikael Åsberg
@ 2012-02-24 16:35                         ` Jean-Christophe PLAGNIOL-VILLARD
  2012-02-24 16:46                           ` Mikael Åsberg
  0 siblings, 1 reply; 23+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-02-24 16:35 UTC (permalink / raw)
  To: buildroot

On 16:58 Fri 24 Feb     , Mikael ?sberg wrote:
> 
> >in barebox wecan boot a raw image and we did on imx to boot in less than 400ms
> 
> Aha, that sounds great! By "raw image" do you mean the vmlinux image?
no excatly

I'm outside I do'nt have the doc with me but IIRC, I did ~700ms with a zImage
with lzo but this will depends on where do you boot from.

But this will depends also on your rootfs and so on.

Best Regards,
J.
> 
> --------------------------------------------------------------
> Mikael ?sberg
> PhD student (Doktorand), Computer Engineering
> School of Innovation, Design and Engineering
> M?lardalen University, V?ster?s Sweden
> Phone: +46(0)21 101502
> Room nr: U1-145
> Mail: mikael.asberg at mdh.se
> --------------------------------------------------------------
> ________________________________________
> Fr?n: Jean-Christophe PLAGNIOL-VILLARD [plagnioj at jcrosoft.com]
> Skickat: den 24 februari 2012 16:40
> Till: Mikael ?sberg
> Kopia: Yegor Yefremov; buildroot at busybox.net
> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> 
> On 16:22 Fri 24 Feb     , Mikael ?sberg wrote:
> >
> > This application is for the automotive industry. In a car, the embedded system must be able to boot within maximum ~1 second. I was thinking, can I use mkimage to convert vmlinux to an uImage (uncompressed version)?
> > Or, is there a setting in Buildroot or Barebox where I can specify the builder to not compress the uImage?
> in barebox wecan boot a raw image and we did on imx to boot in less than 400ms
> 
> Best Regards,
> J.
> >
> > --------------------------------------------------------------
> > Mikael ?sberg
> > PhD student (Doktorand), Computer Engineering
> > School of Innovation, Design and Engineering
> > M?lardalen University, V?ster?s Sweden
> > Phone: +46(0)21 101502
> > Room nr: U1-145
> > Mail: mikael.asberg at mdh.se
> > --------------------------------------------------------------
> > ________________________________________
> > Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> > Skickat: den 24 februari 2012 16:10
> > Till: Mikael ?sberg
> > Kopia: buildroot at busybox.net
> > ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >
> > I don't know, if it is possible to pack vmlinuz in uImage. Why do you need this?
> >
> > On Fri, Feb 24, 2012 at 3:33 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> > >
> > > Ahh ok. Do you know how to create an uImage which is not compressed?
> > >
> > > --------------------------------------------------------------
> > > Mikael ?sberg
> > > PhD student (Doktorand), Computer Engineering
> > > School of Innovation, Design and Engineering
> > > M?lardalen University, V?ster?s Sweden
> > > Phone: +46(0)21 101502
> > > Room nr: U1-145
> > > Mail: mikael.asberg at mdh.se
> > > --------------------------------------------------------------
> > > ________________________________________
> > > Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> > > Skickat: den 24 februari 2012 15:06
> > > Till: Mikael ?sberg
> > > Kopia: buildroot at busybox.net
> > > ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> > >
> > > This is zImage with u-boot specific wrapper. uImage will be created
> > > from zImage using mkimage tool.
> > >
> > > Yegor
> > >
> > > On Fri, Feb 24, 2012 at 2:53 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> > >> Hi,
> > >>
> > >> Ok, but is uImage a compressed file like zImage? If yes, can I de-compress it somehow?
> > >>
> > >> Regards
> > >>
> > >> --------------------------------------------------------------
> > >> Mikael ?sberg
> > >> PhD student (Doktorand), Computer Engineering
> > >> School of Innovation, Design and Engineering
> > >> M?lardalen University, V?ster?s Sweden
> > >> Phone: +46(0)21 101502
> > >> Room nr: U1-145
> > >> Mail: mikael.asberg at mdh.se
> > >> --------------------------------------------------------------
> > >> ________________________________________
> > >> Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> > >> Skickat: den 24 februari 2012 14:33
> > >> Till: Mikael ?sberg
> > >> Kopia: Baruch Siach; buildroot at busybox.net
> > >> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> > >>
> > >> AFAIK it is always uImage format for both u-boot and barebox. RedBoot
> > >> has used zImage.
> > >>
> > >> Yegor
> > >>
> > >> On Fri, Feb 24, 2012 at 2:19 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> > >>> Hey,
> > >>>
> > >>> Ok great, thx!
> > >>>
> > >>> One last thing, depending on which bootloader that is used, i.e., u-boot, barebox etc., does it matter which kernel image that is used for the boot (zImage, uImage, vmlinux)?
> > >>> If I use barebox, which image can I use? (I prefer an uncompressed kernel)
> > >>>
> > >>> Kind regards
> > >>>
> > >>> --------------------------------------------------------------
> > >>> Mikael ?sberg
> > >>> PhD student (Doktorand), Computer Engineering
> > >>> School of Innovation, Design and Engineering
> > >>> M?lardalen University, V?ster?s Sweden
> > >>> Phone: +46(0)21 101502
> > >>> Room nr: U1-145
> > >>> Mail: mikael.asberg at mdh.se
> > >>> --------------------------------------------------------------
> > >>> ________________________________________
> > >>> Fr?n: Baruch Siach [baruch at tkos.co.il]
> > >>> Skickat: den 23 februari 2012 18:17
> > >>> Till: Mikael ?sberg
> > >>> Kopia: buildroot at busybox.net
> > >>> ?mne: Re: SV: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> > >>>
> > >>> Hi Mikael,
> > >>>
> > >>> Please keep the list in Cc.
> > >>>
> > >>> On Thu, Feb 23, 2012 at 02:35:37PM +0100, Mikael ?sberg wrote:
> > >>>> Hi,
> > >>>>
> > >>>> Thanks a lot for the info!
> > >>>>
> > >>>> I guess its easier to use Barebox, then you just also specify mxs_defconfig
> > >>>> when you configure.
> > >>>
> > >>> You original question was about the Linux kernel not Barebox.
> > >>>
> > >>> Barebox includes support for the TX28 board which is based on i.MX28
> > >>> (tx28stk5_defconfig).
> > >>>
> > >>>> One more thing, since i.MX28 uses the "454MHz ARM926EJ-S" processor, should
> > >>>> I choose "arm926t" in the config?
> > >>>
> > >>> The kernel (and Barebox) defconfig files should include all the relevant
> > >>> settings, including this one.
> > >>>
> > >>> baruch
> > >>>
> > >>>> Fr?n: Baruch Siach [baruch at tkos.co.il]
> > >>>> Skickat: den 23 februari 2012 13:38
> > >>>> Till: Mikael ?sberg
> > >>>> Kopia: buildroot at busybox.net
> > >>>> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> > >>>>
> > >>>> Hi Mikael,
> > >>>>
> > >>>> On Thu, Feb 23, 2012 at 12:22:09PM +0100, Mikael ?sberg wrote:
> > >>>> > Does anyone have experience with compiling Linux kernels with Buildroot for
> > >>>> > i.MX28 EVK?
> > >>>> > I'm not sure which board name to be set for u-boot for example...
> > >>>> > Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
> > >>>> >
> > >>>> > Any help or pointers would be valueable!
> > >>>>
> > >>>> Although it's named i.MX28, this chip is very different from i.MX27, but is
> > >>>> similar to i.MX23. Latest kernels (since v3.0) contain mxs_defconfig, which
> > >>>> should be suitable for i.MX28 (and i.MX23).
> > >>>>
> > >>>> baruch
> > >>>
> > >>> --
> > >>>     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> > >>> =}------------------------------------------------ooO--U--Ooo------------{=
> > >>>   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
> > >>> _______________________________________________
> > >>> buildroot mailing list
> > >>> buildroot at busybox.net
> > >>> http://lists.busybox.net/mailman/listinfo/buildroot
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 16:35                         ` Jean-Christophe PLAGNIOL-VILLARD
@ 2012-02-24 16:46                           ` Mikael Åsberg
  2012-02-24 16:56                             ` Jean-Christophe PLAGNIOL-VILLARD
  2012-02-24 20:31                             ` Thomas Petazzoni
  0 siblings, 2 replies; 23+ messages in thread
From: Mikael Åsberg @ 2012-02-24 16:46 UTC (permalink / raw)
  To: buildroot


Maybe I can de-compress a zImage to a "raw" Image, is that what you did?

--------------------------------------------------------------
Mikael ?sberg
PhD student (Doktorand), Computer Engineering
School of Innovation, Design and Engineering
M?lardalen University, V?ster?s Sweden
Phone: +46(0)21 101502
Room nr: U1-145
Mail: mikael.asberg at mdh.se
--------------------------------------------------------------
________________________________________
Fr?n: Jean-Christophe PLAGNIOL-VILLARD [plagnioj at jcrosoft.com]
Skickat: den 24 februari 2012 17:35
Till: Mikael ?sberg
Kopia: buildroot at busybox.net
?mne: Re: SV: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK

On 16:58 Fri 24 Feb     , Mikael ?sberg wrote:
>
> >in barebox wecan boot a raw image and we did on imx to boot in less than 400ms
>
> Aha, that sounds great! By "raw image" do you mean the vmlinux image?
no excatly

I'm outside I do'nt have the doc with me but IIRC, I did ~700ms with a zImage
with lzo but this will depends on where do you boot from.

But this will depends also on your rootfs and so on.

Best Regards,
J.
>
> --------------------------------------------------------------
> Mikael ?sberg
> PhD student (Doktorand), Computer Engineering
> School of Innovation, Design and Engineering
> M?lardalen University, V?ster?s Sweden
> Phone: +46(0)21 101502
> Room nr: U1-145
> Mail: mikael.asberg at mdh.se
> --------------------------------------------------------------
> ________________________________________
> Fr?n: Jean-Christophe PLAGNIOL-VILLARD [plagnioj at jcrosoft.com]
> Skickat: den 24 februari 2012 16:40
> Till: Mikael ?sberg
> Kopia: Yegor Yefremov; buildroot at busybox.net
> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
>
> On 16:22 Fri 24 Feb     , Mikael ?sberg wrote:
> >
> > This application is for the automotive industry. In a car, the embedded system must be able to boot within maximum ~1 second. I was thinking, can I use mkimage to convert vmlinux to an uImage (uncompressed version)?
> > Or, is there a setting in Buildroot or Barebox where I can specify the builder to not compress the uImage?
> in barebox wecan boot a raw image and we did on imx to boot in less than 400ms
>
> Best Regards,
> J.
> >
> > --------------------------------------------------------------
> > Mikael ?sberg
> > PhD student (Doktorand), Computer Engineering
> > School of Innovation, Design and Engineering
> > M?lardalen University, V?ster?s Sweden
> > Phone: +46(0)21 101502
> > Room nr: U1-145
> > Mail: mikael.asberg at mdh.se
> > --------------------------------------------------------------
> > ________________________________________
> > Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> > Skickat: den 24 februari 2012 16:10
> > Till: Mikael ?sberg
> > Kopia: buildroot at busybox.net
> > ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >
> > I don't know, if it is possible to pack vmlinuz in uImage. Why do you need this?
> >
> > On Fri, Feb 24, 2012 at 3:33 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> > >
> > > Ahh ok. Do you know how to create an uImage which is not compressed?
> > >
> > > --------------------------------------------------------------
> > > Mikael ?sberg
> > > PhD student (Doktorand), Computer Engineering
> > > School of Innovation, Design and Engineering
> > > M?lardalen University, V?ster?s Sweden
> > > Phone: +46(0)21 101502
> > > Room nr: U1-145
> > > Mail: mikael.asberg at mdh.se
> > > --------------------------------------------------------------
> > > ________________________________________
> > > Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> > > Skickat: den 24 februari 2012 15:06
> > > Till: Mikael ?sberg
> > > Kopia: buildroot at busybox.net
> > > ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> > >
> > > This is zImage with u-boot specific wrapper. uImage will be created
> > > from zImage using mkimage tool.
> > >
> > > Yegor
> > >
> > > On Fri, Feb 24, 2012 at 2:53 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> > >> Hi,
> > >>
> > >> Ok, but is uImage a compressed file like zImage? If yes, can I de-compress it somehow?
> > >>
> > >> Regards
> > >>
> > >> --------------------------------------------------------------
> > >> Mikael ?sberg
> > >> PhD student (Doktorand), Computer Engineering
> > >> School of Innovation, Design and Engineering
> > >> M?lardalen University, V?ster?s Sweden
> > >> Phone: +46(0)21 101502
> > >> Room nr: U1-145
> > >> Mail: mikael.asberg at mdh.se
> > >> --------------------------------------------------------------
> > >> ________________________________________
> > >> Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> > >> Skickat: den 24 februari 2012 14:33
> > >> Till: Mikael ?sberg
> > >> Kopia: Baruch Siach; buildroot at busybox.net
> > >> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> > >>
> > >> AFAIK it is always uImage format for both u-boot and barebox. RedBoot
> > >> has used zImage.
> > >>
> > >> Yegor
> > >>
> > >> On Fri, Feb 24, 2012 at 2:19 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> > >>> Hey,
> > >>>
> > >>> Ok great, thx!
> > >>>
> > >>> One last thing, depending on which bootloader that is used, i.e., u-boot, barebox etc., does it matter which kernel image that is used for the boot (zImage, uImage, vmlinux)?
> > >>> If I use barebox, which image can I use? (I prefer an uncompressed kernel)
> > >>>
> > >>> Kind regards
> > >>>
> > >>> --------------------------------------------------------------
> > >>> Mikael ?sberg
> > >>> PhD student (Doktorand), Computer Engineering
> > >>> School of Innovation, Design and Engineering
> > >>> M?lardalen University, V?ster?s Sweden
> > >>> Phone: +46(0)21 101502
> > >>> Room nr: U1-145
> > >>> Mail: mikael.asberg at mdh.se
> > >>> --------------------------------------------------------------
> > >>> ________________________________________
> > >>> Fr?n: Baruch Siach [baruch at tkos.co.il]
> > >>> Skickat: den 23 februari 2012 18:17
> > >>> Till: Mikael ?sberg
> > >>> Kopia: buildroot at busybox.net
> > >>> ?mne: Re: SV: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> > >>>
> > >>> Hi Mikael,
> > >>>
> > >>> Please keep the list in Cc.
> > >>>
> > >>> On Thu, Feb 23, 2012 at 02:35:37PM +0100, Mikael ?sberg wrote:
> > >>>> Hi,
> > >>>>
> > >>>> Thanks a lot for the info!
> > >>>>
> > >>>> I guess its easier to use Barebox, then you just also specify mxs_defconfig
> > >>>> when you configure.
> > >>>
> > >>> You original question was about the Linux kernel not Barebox.
> > >>>
> > >>> Barebox includes support for the TX28 board which is based on i.MX28
> > >>> (tx28stk5_defconfig).
> > >>>
> > >>>> One more thing, since i.MX28 uses the "454MHz ARM926EJ-S" processor, should
> > >>>> I choose "arm926t" in the config?
> > >>>
> > >>> The kernel (and Barebox) defconfig files should include all the relevant
> > >>> settings, including this one.
> > >>>
> > >>> baruch
> > >>>
> > >>>> Fr?n: Baruch Siach [baruch at tkos.co.il]
> > >>>> Skickat: den 23 februari 2012 13:38
> > >>>> Till: Mikael ?sberg
> > >>>> Kopia: buildroot at busybox.net
> > >>>> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> > >>>>
> > >>>> Hi Mikael,
> > >>>>
> > >>>> On Thu, Feb 23, 2012 at 12:22:09PM +0100, Mikael ?sberg wrote:
> > >>>> > Does anyone have experience with compiling Linux kernels with Buildroot for
> > >>>> > i.MX28 EVK?
> > >>>> > I'm not sure which board name to be set for u-boot for example...
> > >>>> > Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
> > >>>> >
> > >>>> > Any help or pointers would be valueable!
> > >>>>
> > >>>> Although it's named i.MX28, this chip is very different from i.MX27, but is
> > >>>> similar to i.MX23. Latest kernels (since v3.0) contain mxs_defconfig, which
> > >>>> should be suitable for i.MX28 (and i.MX23).
> > >>>>
> > >>>> baruch
> > >>>
> > >>> --
> > >>>     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> > >>> =}------------------------------------------------ooO--U--Ooo------------{=
> > >>>   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
> > >>> _______________________________________________
> > >>> buildroot mailing list
> > >>> buildroot at busybox.net
> > >>> http://lists.busybox.net/mailman/listinfo/buildroot
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 16:46                           ` Mikael Åsberg
@ 2012-02-24 16:56                             ` Jean-Christophe PLAGNIOL-VILLARD
  2012-02-24 20:31                             ` Thomas Petazzoni
  1 sibling, 0 replies; 23+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-02-24 16:56 UTC (permalink / raw)
  To: buildroot

On 17:46 Fri 24 Feb     , Mikael ?sberg wrote:
> 
> Maybe I can de-compress a zImage to a "raw" Image, is that what you did?
take a look on bootu from barebox

or just try to use a lzo-zImage first

Best Regards,
J.
> 
> --------------------------------------------------------------
> Mikael ?sberg
> PhD student (Doktorand), Computer Engineering
> School of Innovation, Design and Engineering
> M?lardalen University, V?ster?s Sweden
> Phone: +46(0)21 101502
> Room nr: U1-145
> Mail: mikael.asberg at mdh.se
> --------------------------------------------------------------
> ________________________________________
> Fr?n: Jean-Christophe PLAGNIOL-VILLARD [plagnioj at jcrosoft.com]
> Skickat: den 24 februari 2012 17:35
> Till: Mikael ?sberg
> Kopia: buildroot at busybox.net
> ?mne: Re: SV: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> 
> On 16:58 Fri 24 Feb     , Mikael ?sberg wrote:
> >
> > >in barebox wecan boot a raw image and we did on imx to boot in less than 400ms
> >
> > Aha, that sounds great! By "raw image" do you mean the vmlinux image?
> no excatly
> 
> I'm outside I do'nt have the doc with me but IIRC, I did ~700ms with a zImage
> with lzo but this will depends on where do you boot from.
> 
> But this will depends also on your rootfs and so on.
> 
> Best Regards,
> J.
> >
> > --------------------------------------------------------------
> > Mikael ?sberg
> > PhD student (Doktorand), Computer Engineering
> > School of Innovation, Design and Engineering
> > M?lardalen University, V?ster?s Sweden
> > Phone: +46(0)21 101502
> > Room nr: U1-145
> > Mail: mikael.asberg at mdh.se
> > --------------------------------------------------------------
> > ________________________________________
> > Fr?n: Jean-Christophe PLAGNIOL-VILLARD [plagnioj at jcrosoft.com]
> > Skickat: den 24 februari 2012 16:40
> > Till: Mikael ?sberg
> > Kopia: Yegor Yefremov; buildroot at busybox.net
> > ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >
> > On 16:22 Fri 24 Feb     , Mikael ?sberg wrote:
> > >
> > > This application is for the automotive industry. In a car, the embedded system must be able to boot within maximum ~1 second. I was thinking, can I use mkimage to convert vmlinux to an uImage (uncompressed version)?
> > > Or, is there a setting in Buildroot or Barebox where I can specify the builder to not compress the uImage?
> > in barebox wecan boot a raw image and we did on imx to boot in less than 400ms
> >
> > Best Regards,
> > J.
> > >
> > > --------------------------------------------------------------
> > > Mikael ?sberg
> > > PhD student (Doktorand), Computer Engineering
> > > School of Innovation, Design and Engineering
> > > M?lardalen University, V?ster?s Sweden
> > > Phone: +46(0)21 101502
> > > Room nr: U1-145
> > > Mail: mikael.asberg at mdh.se
> > > --------------------------------------------------------------
> > > ________________________________________
> > > Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> > > Skickat: den 24 februari 2012 16:10
> > > Till: Mikael ?sberg
> > > Kopia: buildroot at busybox.net
> > > ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> > >
> > > I don't know, if it is possible to pack vmlinuz in uImage. Why do you need this?
> > >
> > > On Fri, Feb 24, 2012 at 3:33 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> > > >
> > > > Ahh ok. Do you know how to create an uImage which is not compressed?
> > > >
> > > > --------------------------------------------------------------
> > > > Mikael ?sberg
> > > > PhD student (Doktorand), Computer Engineering
> > > > School of Innovation, Design and Engineering
> > > > M?lardalen University, V?ster?s Sweden
> > > > Phone: +46(0)21 101502
> > > > Room nr: U1-145
> > > > Mail: mikael.asberg at mdh.se
> > > > --------------------------------------------------------------
> > > > ________________________________________
> > > > Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> > > > Skickat: den 24 februari 2012 15:06
> > > > Till: Mikael ?sberg
> > > > Kopia: buildroot at busybox.net
> > > > ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> > > >
> > > > This is zImage with u-boot specific wrapper. uImage will be created
> > > > from zImage using mkimage tool.
> > > >
> > > > Yegor
> > > >
> > > > On Fri, Feb 24, 2012 at 2:53 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> > > >> Hi,
> > > >>
> > > >> Ok, but is uImage a compressed file like zImage? If yes, can I de-compress it somehow?
> > > >>
> > > >> Regards
> > > >>
> > > >> --------------------------------------------------------------
> > > >> Mikael ?sberg
> > > >> PhD student (Doktorand), Computer Engineering
> > > >> School of Innovation, Design and Engineering
> > > >> M?lardalen University, V?ster?s Sweden
> > > >> Phone: +46(0)21 101502
> > > >> Room nr: U1-145
> > > >> Mail: mikael.asberg at mdh.se
> > > >> --------------------------------------------------------------
> > > >> ________________________________________
> > > >> Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> > > >> Skickat: den 24 februari 2012 14:33
> > > >> Till: Mikael ?sberg
> > > >> Kopia: Baruch Siach; buildroot at busybox.net
> > > >> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> > > >>
> > > >> AFAIK it is always uImage format for both u-boot and barebox. RedBoot
> > > >> has used zImage.
> > > >>
> > > >> Yegor
> > > >>
> > > >> On Fri, Feb 24, 2012 at 2:19 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> > > >>> Hey,
> > > >>>
> > > >>> Ok great, thx!
> > > >>>
> > > >>> One last thing, depending on which bootloader that is used, i.e., u-boot, barebox etc., does it matter which kernel image that is used for the boot (zImage, uImage, vmlinux)?
> > > >>> If I use barebox, which image can I use? (I prefer an uncompressed kernel)
> > > >>>
> > > >>> Kind regards
> > > >>>
> > > >>> --------------------------------------------------------------
> > > >>> Mikael ?sberg
> > > >>> PhD student (Doktorand), Computer Engineering
> > > >>> School of Innovation, Design and Engineering
> > > >>> M?lardalen University, V?ster?s Sweden
> > > >>> Phone: +46(0)21 101502
> > > >>> Room nr: U1-145
> > > >>> Mail: mikael.asberg at mdh.se
> > > >>> --------------------------------------------------------------
> > > >>> ________________________________________
> > > >>> Fr?n: Baruch Siach [baruch at tkos.co.il]
> > > >>> Skickat: den 23 februari 2012 18:17
> > > >>> Till: Mikael ?sberg
> > > >>> Kopia: buildroot at busybox.net
> > > >>> ?mne: Re: SV: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> > > >>>
> > > >>> Hi Mikael,
> > > >>>
> > > >>> Please keep the list in Cc.
> > > >>>
> > > >>> On Thu, Feb 23, 2012 at 02:35:37PM +0100, Mikael ?sberg wrote:
> > > >>>> Hi,
> > > >>>>
> > > >>>> Thanks a lot for the info!
> > > >>>>
> > > >>>> I guess its easier to use Barebox, then you just also specify mxs_defconfig
> > > >>>> when you configure.
> > > >>>
> > > >>> You original question was about the Linux kernel not Barebox.
> > > >>>
> > > >>> Barebox includes support for the TX28 board which is based on i.MX28
> > > >>> (tx28stk5_defconfig).
> > > >>>
> > > >>>> One more thing, since i.MX28 uses the "454MHz ARM926EJ-S" processor, should
> > > >>>> I choose "arm926t" in the config?
> > > >>>
> > > >>> The kernel (and Barebox) defconfig files should include all the relevant
> > > >>> settings, including this one.
> > > >>>
> > > >>> baruch
> > > >>>
> > > >>>> Fr?n: Baruch Siach [baruch at tkos.co.il]
> > > >>>> Skickat: den 23 februari 2012 13:38
> > > >>>> Till: Mikael ?sberg
> > > >>>> Kopia: buildroot at busybox.net
> > > >>>> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> > > >>>>
> > > >>>> Hi Mikael,
> > > >>>>
> > > >>>> On Thu, Feb 23, 2012 at 12:22:09PM +0100, Mikael ?sberg wrote:
> > > >>>> > Does anyone have experience with compiling Linux kernels with Buildroot for
> > > >>>> > i.MX28 EVK?
> > > >>>> > I'm not sure which board name to be set for u-boot for example...
> > > >>>> > Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
> > > >>>> >
> > > >>>> > Any help or pointers would be valueable!
> > > >>>>
> > > >>>> Although it's named i.MX28, this chip is very different from i.MX27, but is
> > > >>>> similar to i.MX23. Latest kernels (since v3.0) contain mxs_defconfig, which
> > > >>>> should be suitable for i.MX28 (and i.MX23).
> > > >>>>
> > > >>>> baruch
> > > >>>
> > > >>> --
> > > >>>     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> > > >>> =}------------------------------------------------ooO--U--Ooo------------{=
> > > >>>   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
> > > >>> _______________________________________________
> > > >>> buildroot mailing list
> > > >>> buildroot at busybox.net
> > > >>> http://lists.busybox.net/mailman/listinfo/buildroot
> > > _______________________________________________
> > > buildroot mailing list
> > > buildroot at busybox.net
> > > http://lists.busybox.net/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 15:22                   ` Mikael Åsberg
  2012-02-24 15:40                     ` Jean-Christophe PLAGNIOL-VILLARD
@ 2012-02-24 17:10                     ` Michael S. Zick
  2012-02-24 20:10                       ` Thomas Petazzoni
  1 sibling, 1 reply; 23+ messages in thread
From: Michael S. Zick @ 2012-02-24 17:10 UTC (permalink / raw)
  To: buildroot

On Fri February 24 2012, Mikael ?sberg wrote:
> 
> This application is for the automotive industry. In a car, the embedded system 
> must be able to boot within maximum ~1 second. I was thinking, can I use mkimage 
> to convert vmlinux to an uImage (uncompressed version)?  
> Or, is there a setting in Buildroot or Barebox where I can specify the builder 
> to not compress the uImage? 
> 

A better solution -
Put your device to sleep (suspend to ram).
It can __resume__ in less than 1 sec.
It only needs to __re-boot__ after loss of battery power (rare).

Mike
> --------------------------------------------------------------
> Mikael ?sberg
> PhD student (Doktorand), Computer Engineering
> School of Innovation, Design and Engineering
> M?lardalen University, V?ster?s Sweden
> Phone: +46(0)21 101502
> Room nr: U1-145
> Mail: mikael.asberg at mdh.se
> --------------------------------------------------------------
> ________________________________________
> Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> Skickat: den 24 februari 2012 16:10
> Till: Mikael ?sberg
> Kopia: buildroot at busybox.net
> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> 
> I don't know, if it is possible to pack vmlinuz in uImage. Why do you need this?
> 
> On Fri, Feb 24, 2012 at 3:33 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> >
> > Ahh ok. Do you know how to create an uImage which is not compressed?
> >
> > --------------------------------------------------------------
> > Mikael ?sberg
> > PhD student (Doktorand), Computer Engineering
> > School of Innovation, Design and Engineering
> > M?lardalen University, V?ster?s Sweden
> > Phone: +46(0)21 101502
> > Room nr: U1-145
> > Mail: mikael.asberg at mdh.se
> > --------------------------------------------------------------
> > ________________________________________
> > Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> > Skickat: den 24 februari 2012 15:06
> > Till: Mikael ?sberg
> > Kopia: buildroot at busybox.net
> > ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >
> > This is zImage with u-boot specific wrapper. uImage will be created
> > from zImage using mkimage tool.
> >
> > Yegor
> >
> > On Fri, Feb 24, 2012 at 2:53 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> >> Hi,
> >>
> >> Ok, but is uImage a compressed file like zImage? If yes, can I de-compress it somehow?
> >>
> >> Regards
> >>
> >> --------------------------------------------------------------
> >> Mikael ?sberg
> >> PhD student (Doktorand), Computer Engineering
> >> School of Innovation, Design and Engineering
> >> M?lardalen University, V?ster?s Sweden
> >> Phone: +46(0)21 101502
> >> Room nr: U1-145
> >> Mail: mikael.asberg at mdh.se
> >> --------------------------------------------------------------
> >> ________________________________________
> >> Fr?n: Yegor Yefremov [yegorslists at googlemail.com]
> >> Skickat: den 24 februari 2012 14:33
> >> Till: Mikael ?sberg
> >> Kopia: Baruch Siach; buildroot at busybox.net
> >> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >>
> >> AFAIK it is always uImage format for both u-boot and barebox. RedBoot
> >> has used zImage.
> >>
> >> Yegor
> >>
> >> On Fri, Feb 24, 2012 at 2:19 PM, Mikael ?sberg <mikael.asberg@mdh.se> wrote:
> >>> Hey,
> >>>
> >>> Ok great, thx!
> >>>
> >>> One last thing, depending on which bootloader that is used, i.e., u-boot, barebox etc., does it matter which kernel image that is used for the boot (zImage, uImage, vmlinux)?
> >>> If I use barebox, which image can I use? (I prefer an uncompressed kernel)
> >>>
> >>> Kind regards
> >>>
> >>> --------------------------------------------------------------
> >>> Mikael ?sberg
> >>> PhD student (Doktorand), Computer Engineering
> >>> School of Innovation, Design and Engineering
> >>> M?lardalen University, V?ster?s Sweden
> >>> Phone: +46(0)21 101502
> >>> Room nr: U1-145
> >>> Mail: mikael.asberg at mdh.se
> >>> --------------------------------------------------------------
> >>> ________________________________________
> >>> Fr?n: Baruch Siach [baruch at tkos.co.il]
> >>> Skickat: den 23 februari 2012 18:17
> >>> Till: Mikael ?sberg
> >>> Kopia: buildroot at busybox.net
> >>> ?mne: Re: SV: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >>>
> >>> Hi Mikael,
> >>>
> >>> Please keep the list in Cc.
> >>>
> >>> On Thu, Feb 23, 2012 at 02:35:37PM +0100, Mikael ?sberg wrote:
> >>>> Hi,
> >>>>
> >>>> Thanks a lot for the info!
> >>>>
> >>>> I guess its easier to use Barebox, then you just also specify mxs_defconfig
> >>>> when you configure.
> >>>
> >>> You original question was about the Linux kernel not Barebox.
> >>>
> >>> Barebox includes support for the TX28 board which is based on i.MX28
> >>> (tx28stk5_defconfig).
> >>>
> >>>> One more thing, since i.MX28 uses the "454MHz ARM926EJ-S" processor, should
> >>>> I choose "arm926t" in the config?
> >>>
> >>> The kernel (and Barebox) defconfig files should include all the relevant
> >>> settings, including this one.
> >>>
> >>> baruch
> >>>
> >>>> Fr?n: Baruch Siach [baruch at tkos.co.il]
> >>>> Skickat: den 23 februari 2012 13:38
> >>>> Till: Mikael ?sberg
> >>>> Kopia: buildroot at busybox.net
> >>>> ?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
> >>>>
> >>>> Hi Mikael,
> >>>>
> >>>> On Thu, Feb 23, 2012 at 12:22:09PM +0100, Mikael ?sberg wrote:
> >>>> > Does anyone have experience with compiling Linux kernels with Buildroot for
> >>>> > i.MX28 EVK?
> >>>> > I'm not sure which board name to be set for u-boot for example...
> >>>> > Also, which defconfig should be used, imx27ads_defconfig or versatile_defconfig perhaps?
> >>>> >
> >>>> > Any help or pointers would be valueable!
> >>>>
> >>>> Although it's named i.MX28, this chip is very different from i.MX27, but is
> >>>> similar to i.MX23. Latest kernels (since v3.0) contain mxs_defconfig, which
> >>>> should be suitable for i.MX28 (and i.MX23).
> >>>>
> >>>> baruch
> >>>
> >>> --
> >>>     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
> >>> =}------------------------------------------------ooO--U--Ooo------------{=
> >>>   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
> >>> _______________________________________________
> >>> buildroot mailing list
> >>> buildroot at busybox.net
> >>> http://lists.busybox.net/mailman/listinfo/buildroot
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 
> 
> 

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 17:10                     ` Michael S. Zick
@ 2012-02-24 20:10                       ` Thomas Petazzoni
  2012-02-25 14:35                         ` Michael S. Zick
  0 siblings, 1 reply; 23+ messages in thread
From: Thomas Petazzoni @ 2012-02-24 20:10 UTC (permalink / raw)
  To: buildroot

Le Fri, 24 Feb 2012 11:10:04 -0600,
"Michael S. Zick" <minimod@morethan.org> a ?crit :

> A better solution -
> Put your device to sleep (suspend to ram).
> It can __resume__ in less than 1 sec.
> It only needs to __re-boot__ after loss of battery power (rare).

While this is a great solution, it may not apply to the automotive
industry: you may want to reduce the power consumption of the device
down to 0, so that the car battery doesn't empty itself if the car is
unused during a long period of time. I guess in terms of boot time
there is no one-size-fits-all solution, the solution very much depends
on the environment and constraints (hardware, allowed power
consumption, etc.).

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 16:46                           ` Mikael Åsberg
  2012-02-24 16:56                             ` Jean-Christophe PLAGNIOL-VILLARD
@ 2012-02-24 20:31                             ` Thomas Petazzoni
  2012-02-25  8:39                               ` Mikael Åsberg
  1 sibling, 1 reply; 23+ messages in thread
From: Thomas Petazzoni @ 2012-02-24 20:31 UTC (permalink / raw)
  To: buildroot

Le Fri, 24 Feb 2012 17:46:55 +0100,
Mikael ?sberg <mikael.asberg@mdh.se> a ?crit :

> Maybe I can de-compress a zImage to a "raw" Image, is that what you
> did?

On ARM, arch/arm/boot/Image is the raw uncompressed version of the
kernel. You can try to load it and jump to the beginning of it. You can
turn it into an uImage by calling mkimage on it.

However, as suggested by Jean-Christophe, you should really try LZO. It
is a very good trade-off between kernel size and decompression time.
Remember that using an uncompressed kernel means that you have a *lot*
more data to load from flash to RAM, which allows take time. Usually
LZO is a great compromise here.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 20:31                             ` Thomas Petazzoni
@ 2012-02-25  8:39                               ` Mikael Åsberg
  2012-02-26  9:34                                 ` Baruch Siach
  0 siblings, 1 reply; 23+ messages in thread
From: Mikael Åsberg @ 2012-02-25  8:39 UTC (permalink / raw)
  To: buildroot


I understand that LZO has been mainlined in Linux.
How do I compress the kernel with LZO instead of the regular compression algorithm (LZMA/BZIP2)?

--------------------------------------------------------------
Mikael ?sberg
PhD student (Doktorand), Computer Engineering
School of Innovation, Design and Engineering
M?lardalen University, V?ster?s Sweden
Phone: +46(0)21 101502
Room nr: U1-145
Mail: mikael.asberg at mdh.se
--------------------------------------------------------------
________________________________________
Fr?n: Thomas Petazzoni [thomas.petazzoni at free-electrons.com]
Skickat: den 24 februari 2012 21:31
Till: Mikael ?sberg
Kopia: Jean-Christophe PLAGNIOL-VILLARD; buildroot at busybox.net
?mne: Re: [Buildroot] Compile Linux with Buildroot for i.MX28 EVK

Le Fri, 24 Feb 2012 17:46:55 +0100,
Mikael ?sberg <mikael.asberg@mdh.se> a ?crit :

> Maybe I can de-compress a zImage to a "raw" Image, is that what you
> did?

On ARM, arch/arm/boot/Image is the raw uncompressed version of the
kernel. You can try to load it and jump to the beginning of it. You can
turn it into an uImage by calling mkimage on it.

However, as suggested by Jean-Christophe, you should really try LZO. It
is a very good trade-off between kernel size and decompression time.
Remember that using an uncompressed kernel means that you have a *lot*
more data to load from flash to RAM, which allows take time. Usually
LZO is a great compromise here.

Best regards,

Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-24 20:10                       ` Thomas Petazzoni
@ 2012-02-25 14:35                         ` Michael S. Zick
  0 siblings, 0 replies; 23+ messages in thread
From: Michael S. Zick @ 2012-02-25 14:35 UTC (permalink / raw)
  To: buildroot

On Fri February 24 2012, Thomas Petazzoni wrote:
> Le Fri, 24 Feb 2012 11:10:04 -0600,
> "Michael S. Zick" <minimod@morethan.org> a ?crit :
> 
> > A better solution -
> > Put your device to sleep (suspend to ram).
> > It can __resume__ in less than 1 sec.
> > It only needs to __re-boot__ after loss of battery power (rare).
> 
> While this is a great solution, it may not apply to the automotive
> industry: you may want to reduce the power consumption of the device
> down to 0, so that the car battery doesn't empty itself if the car is
> unused during a long period of time. 
>

The O.P. did not state they where using a vacuum tube computer.

The keep-alive current of a modern, silicon, SoC based system is far
less than the self-discharge rate of a lead-acid battery.

Its even less than the capacity change with temperature - presuming the
battery was charged while warm and is now at environment temperature.
(And the charging warmed the battery, even if not exposed to heat sources.)

So I think you are safe to let the vehicle sit - the battery will die
of old age before an i.MX28 system in deep sleep will run it down.

Mike
> I guess in terms of boot time 
> there is no one-size-fits-all solution, the solution very much depends
> on the environment and constraints (hardware, allowed power
> consumption, etc.).
> 
> Best regards,
> 
> Thomas

^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Buildroot] Compile Linux with Buildroot for i.MX28 EVK
  2012-02-25  8:39                               ` Mikael Åsberg
@ 2012-02-26  9:34                                 ` Baruch Siach
  0 siblings, 0 replies; 23+ messages in thread
From: Baruch Siach @ 2012-02-26  9:34 UTC (permalink / raw)
  To: buildroot

Hi Mikael,

On Sat, Feb 25, 2012 at 09:39:12AM +0100, Mikael ?sberg wrote:
> I understand that LZO has been mainlined in Linux.

ARM supports LZO kernel compression since version 2.6.33.

> How do I compress the kernel with LZO instead of the regular compression 
> algorithm (LZMA/BZIP2)?

Select "Kernel compression mode" under "General setup" in the kernel 
configuration.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2012-02-26  9:34 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-23 11:22 [Buildroot] Compile Linux with Buildroot for i.MX28 EVK Mikael Åsberg
2012-02-23 12:11 ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-23 12:38 ` Baruch Siach
     [not found]   ` <63D6870D443E63419AC4A0C97B86C092030FCA18@MBXCLUSTER.mdh.local>
2012-02-23 17:17     ` Baruch Siach
2012-02-24 13:19       ` Mikael Åsberg
2012-02-24 13:33         ` Yegor Yefremov
2012-02-24 13:53           ` Mikael Åsberg
2012-02-24 14:06             ` Yegor Yefremov
2012-02-24 14:33               ` Mikael Åsberg
2012-02-24 15:10                 ` Yegor Yefremov
2012-02-24 15:22                   ` Mikael Åsberg
2012-02-24 15:40                     ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-24 15:58                       ` Mikael Åsberg
2012-02-24 16:35                         ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-24 16:46                           ` Mikael Åsberg
2012-02-24 16:56                             ` Jean-Christophe PLAGNIOL-VILLARD
2012-02-24 20:31                             ` Thomas Petazzoni
2012-02-25  8:39                               ` Mikael Åsberg
2012-02-26  9:34                                 ` Baruch Siach
2012-02-24 17:10                     ` Michael S. Zick
2012-02-24 20:10                       ` Thomas Petazzoni
2012-02-25 14:35                         ` Michael S. Zick
2012-02-24 15:38           ` Jean-Christophe PLAGNIOL-VILLARD

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.