Hi Dave, Juergen,
Sorry for the delay in response.
Yes.. I just changed the config file. but I still could not make out why
the configuration related to mini2440 was not applied when the kernel was
un-'tar'ed and proceeded to build with the normal procedure... might by my
mistake that I did not save the changes to .config file or some thing other
that i'm not able to recollect. Ultimately what I found when I compared
the kernelconfig-3.12 with other config files such as
kernelconfig-3.11/3.10 etc is, there was too much difference.. variables
such as CONFIG_EMBEDDED=y were not set in kernelconfig-3.12.. so just
thought to try by copying kernelconfig-3.11 to kernelconfig-3.12 and added
Juergen's suggested changes to avoid loading of debug kernel symbols.. and
finally I got the kernel with size around 1.8MB and even ran a touch screen
test 'ts_test' where the box was responding to touch.
================================== kernel booting
==============================================
Hit any key to stop autoboot: 1
phy0: Link is up - 100/Full
TFTP from server 10.0.0.100 ('uImage-mini2440' -> '/dev/ram0.kernel')
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#######################################
booting kernel of type uimage from /dev/ram0.kernel
Verifying Checksum ... OK
Image Name: Linux-3.12.18-ptx-master
Created: 2014-07-20 18:55:56 UTC
Image Type: <NULL> <NULL> <NULL> (<NULL>)
Data Size: 1865760 Bytes = 1.8 MB
Load Address: 30008000
Entry Point: 30008000
OK
## Transferring control to Linux (at address 0x30008000) ...
commandline: console=ttySAC0,115200 mini2440=5tbc ip=10.0.0.101:10
.0.0.100:10.0.0.100:255.255.255.0::: root=/dev/nfs
nfsroot=/home/girish/Frie)
arch_number: 1999
Starting kernel ...
## Transferring control to Linux (at address 0x30008000) ...
===================================================================================
Apart from the above mentioned, I have followed the normal procedure as
mentioned in the document
"OSELAS.BSP-Pengutronix-Generic-arm-Quickstart.pdf".
Sorry that I haven't yet documented the procedure as there were so many
things I tried and have not noted the sequence.. What I'll do is, I'll do
every thing from scratch that is mentioned in the above said document, and
confirm regarding the configuration file changes I mentioned above.. I
think if there should be any difference, that is the only thing.. but I'll
confirm the steps and document if there are any thing extra has to be done.
Is that fine?
one more thing, I copied the patches required for 3.12 and applied before
changing the config file.
Thanks,
Girish
On Mon, Jul 21, 2014 at 1:12 PM, Juergen Borleis <[email protected]> wrote:
> Hi Girish,
>
> On Sunday 20 July 2014 22:09:23 Girish Desai wrote:
> > Got 3.12 kernel up and running.. looks there was some mess-up with the
> > kernelconfig-3.12 file.. might be my mistake... sorry for that.. and
> thanks
> > for your time.. and the kernel size after eliminating loading debug
> symbols
> > is around 1.8MB.
>
> 1.8 MiB sounds more reasonable (compared to my experience).
>
> Happy hacking,
> Juergen
>
> --
> Pengutronix e.K. | Juergen Borleis
> |
> Industrial Linux Solutions | http://www.pengutronix.de/
> |
>