Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] configs/marvell_ca9_armv7_le_hfp_defconfig
@ 2015-07-31  0:08 Lee, Tommy
  2015-07-31  6:04 ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Lee, Tommy @ 2015-07-31  0:08 UTC (permalink / raw)
  To: buildroot

Hi Buildroot mailing list,

My host is Ubuntu-14.04LTS which meets the Buildroot system requirements. I am using buildroot-2015.05 to build the Linux system for the Marvell ARMADA A38x DB-88F6820-GP board. The first make process issue is that the defconfig file listed on the subject line does not originally exist in the configs folder. I copied this file from Marvell's old (2012.11-2015_T1.0) Buildroot/configs folder to the buildroot-2015.05 /configs folder. My .config file has the following line:

BR2_LINUX_KERNEL_DEFCONFIG="marvell_ca9_armv7_le_hfp_defconfig"

The subsequent make process passes through the above issue but stops at a new place shown as below:

tclee at Latitude-E6400:~/Downloads/jul30thu15/buildroot-2015.05$ make
.....
/usr/bin/install: cannot stat '/home/tclee/Downloads/jul30thu15/buildroot-2015.05/output/build/linux-4.0.4/arch/arm/configs/marvell_ca9_armv7_le_hfp_defconfig_defconfig': No such file or directory
make: *** [/home/tclee/Downloads/jul30thu15/buildroot-2015.05/output/build/linux-4.0.4/.config] Error 1

The interesting point is why "defconfig_defconfig" happens on the missing file name. I am resolving the new issue now. Your help or experience is definitely welcome.

Tommy


________________________________
This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's e-mail System Administrator.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150730/b43f812b/attachment.html>

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

* [Buildroot] configs/marvell_ca9_armv7_le_hfp_defconfig
  2015-07-31  0:08 Lee, Tommy
@ 2015-07-31  6:04 ` Thomas Petazzoni
  0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2015-07-31  6:04 UTC (permalink / raw)
  To: buildroot

Tommy,

On Thu, 30 Jul 2015 17:08:16 -0700, Lee, Tommy wrote:

> My host is Ubuntu-14.04LTS which meets the Buildroot system
> requirements. I am using buildroot-2015.05 to build the Linux system
> for the Marvell ARMADA A38x DB-88F6820-GP board. The first make
> process issue is that the defconfig file listed on the subject line
> does not originally exist in the configs folder. I copied this file
> from Marvell's old (2012.11-2015_T1.0) Buildroot/configs folder to
> the buildroot-2015.05 /configs folder.

This may not work immediately: from 2012 to 2015, a lot of changes have
been made to Buildroot. So a configuration that was working with
Buildroot 2012.11 may not be directly usable with Buildroot 2015.05.

> My .config file has the following line:
> 
> BR2_LINUX_KERNEL_DEFCONFIG="marvell_ca9_armv7_le_hfp_defconfig"

This is a reference to a Marvell-specific kernel defconfig.

> '/home/tclee/Downloads/jul30thu15/buildroot-2015.05/output/build/linux-4.0.4/arch/arm/configs/

and you're using a mainline 4.0.4 kernel, which obviously doesn't have
this Marvell-specific defconfig.

So you have to make a choice:

 * Either you use the mainline kernel, and the defconfig for Armada 38x
   is called mvebu_v7_defconfig.

 * Or you use Marvell specific kernel, in which case you need to change
   the Buildroot option giving the location of the kernel sources so
   that Buildroot fetches the Marvell specific kernel instead of the
   mainline one.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] configs/marvell_ca9_armv7_le_hfp_defconfig
@ 2015-08-05 17:04 Lee, Tommy
  2015-08-05 19:36 ` Gustavo Zacarias
  0 siblings, 1 reply; 5+ messages in thread
From: Lee, Tommy @ 2015-08-05 17:04 UTC (permalink / raw)
  To: buildroot

Hi Buildroot mailing list,

Last week I resolved my building issue. The solution includes two parts:


1.      BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="../../ARMADA/ARMADAsoftware/buildroot/configs/marvell_ca9_armv7_le_uclibc_sfp_reduced_defconfig"

2.      BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x00008000"

Now I see one question and one issue list as below. Probably you could help answer or resolve them:

Question
The docs/manual/manual.pdf Section 3.1 (Configuration and general usage) lists a toolchain sub-folder in the output folder. My output folder does not have the such sub-folder. You probably know the reason for this missing.

Issue
The Buildroot-2015.05/configs does not have the marvell_ca9_armv7_le_uclibc_sfp_reduced_defconfig file in it. I wonder if the file needs to be added into the Buildroot-2015.08 release.

Tommy

From: Lee, Tommy
Sent: Thursday, July 30, 2015 5:08 PM
To: 'buildroot at busybox.net'
Subject: configs/marvell_ca9_armv7_le_hfp_defconfig
Importance: High

Hi Buildroot mailing list,

My host is Ubuntu-14.04LTS which meets the Buildroot system requirements. I am using buildroot-2015.05 to build the Linux system for the Marvell ARMADA A38x DB-88F6820-GP board. The first make process issue is that the defconfig file listed on the subject line does not originally exist in the configs folder. I copied this file from Marvell's old (2012.11-2015_T1.0) Buildroot/configs folder to the buildroot-2015.05 /configs folder. My .config file has the following line:

BR2_LINUX_KERNEL_DEFCONFIG="marvell_ca9_armv7_le_hfp_defconfig"

The subsequent make process passes through the above issue but stops at a new place shown as below:

tclee at Latitude-E6400:~/Downloads/jul30thu15/buildroot-2015.05$<mailto:tclee@Latitude-E6400:~/Downloads/jul30thu15/buildroot-2015.05$> make
.....
/usr/bin/install: cannot stat '/home/tclee/Downloads/jul30thu15/buildroot-2015.05/output/build/linux-4.0.4/arch/arm/configs/marvell_ca9_armv7_le_hfp_defconfig_defconfig': No such file or directory
make: *** [/home/tclee/Downloads/jul30thu15/buildroot-2015.05/output/build/linux-4.0.4/.config] Error 1

The interesting point is why "defconfig_defconfig" happens on the missing file name. I am resolving the new issue now. Your help or experience is definitely welcome.

Tommy


________________________________
This e-mail message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's e-mail System Administrator.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150805/ffd10e54/attachment.html>

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

* [Buildroot] configs/marvell_ca9_armv7_le_hfp_defconfig
  2015-08-05 17:04 [Buildroot] configs/marvell_ca9_armv7_le_hfp_defconfig Lee, Tommy
@ 2015-08-05 19:36 ` Gustavo Zacarias
       [not found]   ` <944894A3EB1D044A9003B2F944389BB20474AD913B@svr-wa-exch1.atg.lc>
  0 siblings, 1 reply; 5+ messages in thread
From: Gustavo Zacarias @ 2015-08-05 19:36 UTC (permalink / raw)
  To: buildroot

On 05/08/15 14:04, Lee, Tommy wrote:

> _Question_
>
> The docs/manual/manual.pdf Section 3.1 (Configuration and general usage)
> lists a toolchain sub-folder in the output folder. My output folder does
> not have the such sub-folder. You probably know the reason for this missing.

Hi.
Can you point to the exact location in the manual (say, page in the 
online pdf) where this is so?
Or if it's in the old (Marvell) buildroot then it likely doesn't apply 
to current releases - new features, cleaning up and other factors can 
change that, manuals are normally attached to explicit buildroot releases.

> _Issue_
>
> The Buildroot-2015.05/configs does not have the
> marvell_ca9_armv7_le_uclibc_sfp_reduced_defconfig file in it. I wonder
> if the file needs to be added into the Buildroot-2015.08 release.

That still sounds like a Marvell config from their BR, with the 
difference between both being the floating-point strategy (i assume 
sfp=soft, hfp=hard), which are easy configuration options in mainstream 
buildroot.
Regards.

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

* [Buildroot] configs/marvell_ca9_armv7_le_hfp_defconfig
       [not found]   ` <944894A3EB1D044A9003B2F944389BB20474AD913B@svr-wa-exch1.atg.lc>
@ 2015-08-06 13:12     ` Gustavo Zacarias
  0 siblings, 0 replies; 5+ messages in thread
From: Gustavo Zacarias @ 2015-08-06 13:12 UTC (permalink / raw)
  To: buildroot

On 05/08/15 17:47, Lee, Tommy wrote:

> Gustavo,
>
> Please view my replies.
>
> Tommy

Hi Tommy, try keeping the list on CC, someone else might be interested 
or elaborate more.

> Can you point to the exact location in the manual (say, page in the
> online pdf) where this is so?
>
> Page 4/25.
>
> Or if it's in the old (Marvell) buildroot then it likely doesn't apply
> to current releases - new features, cleaning up and other factors can
> change that, manuals are normally attached to explicit buildroot releases.
>
> The path to the manual.pdf is ?/
> buildroot-2015.05/docs/manual/manual.pdf. Last week I sued this PDF and
> succeeded in the make process with the external
> marvell_ca9_armv7_le_hfp_defconfig.

Hmm i'm still failing to find this in the online documentation at:

http://www.buildroot.net/downloads/manual/manual.pdf

Which as of this writing corresponds to the 2015.05 release.
In fact the pdf isn't shipped with releases and according to what you 
wrote below you've got marvell files in the 2015.05 buildroot dir so 
maybe it's still some old manual?

> With the above information there might be a strategy to include those
> defconfig files into the forthcoming BR release.

Normally defconfigs are submitted by contributors or companies if they 
decide to make them clean/generic/minimal-enough for them to be 
incorporated into buildroot releases.
In the end it's up to someone having hardware to test submitting them, 
maybe you can do that?
Regards.

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

end of thread, other threads:[~2015-08-06 13:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-05 17:04 [Buildroot] configs/marvell_ca9_armv7_le_hfp_defconfig Lee, Tommy
2015-08-05 19:36 ` Gustavo Zacarias
     [not found]   ` <944894A3EB1D044A9003B2F944389BB20474AD913B@svr-wa-exch1.atg.lc>
2015-08-06 13:12     ` Gustavo Zacarias
  -- strict thread matches above, loose matches on Subject: below --
2015-07-31  0:08 Lee, Tommy
2015-07-31  6:04 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox