mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] kernel config question
@ 2014-05-15 12:07 Marc Michalewicz, Railtec Systems GmbH
  2014-05-16 10:37 ` Marc Kleine-Budde
  2014-05-16 12:21 ` Juergen Borleis
  0 siblings, 2 replies; 3+ messages in thread
From: Marc Michalewicz, Railtec Systems GmbH @ 2014-05-15 12:07 UTC (permalink / raw)
  To: ptxdist

Hello,

I want to configure the kernel after it was unfolded and patched within 
the platform/build-target/linux-3.0.31
directory, so I did change to this dir and copied the kernelconfig from 
the configs-direcory of ptxdist as .config:

~/svn/ptxdist/ptxdist_CPU/platform/build-target/linux-3.0.31>cp 
../../../configs/kernelconfig ./.config

then I did a "make menuconfig", did *NOT* change anything but only saved 
the config before exiting
upon getting the question if I want to save the config.

=>as a result there is a completely different .config file. (For not 
bothering you with details, here is
just the linecount of the different lines in .config and the .config before:

diff .config ../../../configs/kernelconfig|wc -l
267
)

When I try to build the kernel with

"make -j2 HOSTCC=gcc ARCH=i386 CROSS_COMPILE=i686-unknown-linux-gnu- 
clean bzImage"

now there is a whole bunch of questions regarding some specific 
configurationissues, starting with
"
make -j2 HOSTCC=gcc ARCH=i386 CROSS_COMPILE=i686-unknown-linux-gnu- 
clean bzImage
   HOSTCC  scripts/kconfig/conf.o
   HOSTCC  scripts/kconfig/zconf.tab.o
   HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
*
* Restart config...
*
*
* Enable the block layer
*
Enable the block layer (BLOCK) [Y/?] y
   Support for large (2TB+) block devices and files (LBDAF) [Y/n/?] (NEW)
"


So as I found out the first modification above COULD be explained that 
the kernelconfig and the actual
kernelversion might differ (but I did not check whether this is the case).

But I do absolutely not understand that I still got those questions when 
trying to crosscompile.
BTW fyi: if I do a  native compile "make bzImage", there are no questions.

Would be nice to understand this behavior, maybe somebody does and can 
explain to me.

Thanks an advance for any help or hint,

Marc








-- 
Railtec Systems GmbH
Marc Michalewicz
Sonnenbergstrasse 19
CH-6052 Hergiswil

Tel: +41 41 632 5533
Fax: +41 41 632 5539

www.railtec-systems.ch


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] kernel config question
  2014-05-15 12:07 [ptxdist] kernel config question Marc Michalewicz, Railtec Systems GmbH
@ 2014-05-16 10:37 ` Marc Kleine-Budde
  2014-05-16 12:21 ` Juergen Borleis
  1 sibling, 0 replies; 3+ messages in thread
From: Marc Kleine-Budde @ 2014-05-16 10:37 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 814 bytes --]

On 05/15/2014 02:07 PM, Marc Michalewicz, Railtec Systems GmbH wrote:
> Hello,
> 
> I want to configure the kernel after it was unfolded and patched within
> the platform/build-target/linux-3.0.31
> directory, so I did change to this dir and copied the kernelconfig from
> the configs-direcory of ptxdist as .config:

    ptxdist menuconfig kernel

[...]

> When I try to build the kernel with
> 
> "make -j2 HOSTCC=gcc ARCH=i386 CROSS_COMPILE=i686-unknown-linux-gnu-
> clean bzImage"

    ptxdist compile kernel

Marc
-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 242 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] kernel config question
  2014-05-15 12:07 [ptxdist] kernel config question Marc Michalewicz, Railtec Systems GmbH
  2014-05-16 10:37 ` Marc Kleine-Budde
@ 2014-05-16 12:21 ` Juergen Borleis
  1 sibling, 0 replies; 3+ messages in thread
From: Juergen Borleis @ 2014-05-16 12:21 UTC (permalink / raw)
  To: ptxdist; +Cc: Marc Michalewicz, Railtec Systems GmbH

Hi Marc,

On Thursday 15 May 2014 14:07:51 Marc Michalewicz, Railtec Systems GmbH wrote:
> I want to configure the kernel after it was unfolded and patched within
> the platform/build-target/linux-3.0.31
> directory, so I did change to this dir and copied the kernelconfig from
> the configs-direcory of ptxdist as .config:
>
> ~/svn/ptxdist/ptxdist_CPU/platform/build-target/linux-3.0.31>cp
> ../../../configs/kernelconfig ./.config

Refer [1], section 5.4.1

Regards,
Juergen

[1] 
http://www.pengutronix.de/oselas/bsp/pengutronix/download/OSELAS.BSP-Pengutronix-Generic-arm-Quickstart.pdf

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2014-05-16 12:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-15 12:07 [ptxdist] kernel config question Marc Michalewicz, Railtec Systems GmbH
2014-05-16 10:37 ` Marc Kleine-Budde
2014-05-16 12:21 ` Juergen Borleis

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