public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* OMAP 5912: new kernel, how to create a new file system?
@ 2007-11-20 17:59 Mik Prog
  2007-11-20 18:24 ` Hunter, Jon
  2007-11-20 21:41 ` Philip Balister
  0 siblings, 2 replies; 4+ messages in thread
From: Mik Prog @ 2007-11-20 17:59 UTC (permalink / raw)
  To: linux-omap-open-source

Dear all,

I am an absolute beginner with OMAP and Linux (I am working on a OSK 5912).
Apologies if some of my questions have already been answered. I do
look on google first, but sometime even if the topic has been treated
I don't clearly understand...

Here my case:
1. I wanted recompile the kernel image using arm-linux-gcc 3.4.1 (I
got the kernel sources 2.6.20 and applied the patch
patch-2.6.20-omap1)
2. then I enabled on omap_osk-5912_defconf the USB configuration
3. I built the kernel and formatted for u-boot.
4. I transferred that to OMAP using tftpboot
5. $ using uname -a I see that the kernel image is still the old one!

Do I need to update the root file system as well?
How could I create my own root file system based on the kernel version
I've compiled?

thanks for any help.
Mik

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

* RE: OMAP 5912: new kernel, how to create a new file system?
  2007-11-20 17:59 OMAP 5912: new kernel, how to create a new file system? Mik Prog
@ 2007-11-20 18:24 ` Hunter, Jon
  2007-11-20 21:41 ` Philip Balister
  1 sibling, 0 replies; 4+ messages in thread
From: Hunter, Jon @ 2007-11-20 18:24 UTC (permalink / raw)
  To: Mik Prog, linux-omap-open-source

> Dear all,
> 
> I am an absolute beginner with OMAP and Linux (I am working 
> on a OSK 5912).
> Apologies if some of my questions have already been answered. I do
> look on google first, but sometime even if the topic has been treated
> I don't clearly understand...
> 
> Here my case:
> 1. I wanted recompile the kernel image using arm-linux-gcc 3.4.1 (I
> got the kernel sources 2.6.20 and applied the patch
> patch-2.6.20-omap1)
> 2. then I enabled on omap_osk-5912_defconf the USB configuration
> 3. I built the kernel and formatted for u-boot.
> 4. I transferred that to OMAP using tftpboot
> 5. $ using uname -a I see that the kernel image is still the old one!
> 
> Do I need to update the root file system as well?
> How could I create my own root file system based on the kernel version
> I've compiled?

Sounds like either the new image was not correctly copied to /tftpboot
or after you did the tftp download you booted the old image (maybe in
flash) and not the new one (in RAM). When you download the image to RAM,
afterwards execute:

# bootm <load-addr>

For example if the image is loaded to RAM address 0x80000000. Then
execute:

# bootm 0x80000000

Please note the above does not give me much to go on. So if this is not
the problem provide more details of the exact commands you are
executing. 

With regard to a new root filesystem see the following document, should
get you going:
http://www.capgo.com/Resources/SoftwareDev/osk-newbie-guide.pdf

For more resources check out Tony's OMAP page:
http://www.muru.com/linux/omap/ 

Cheers
Jon

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

* Re: OMAP 5912: new kernel, how to create a new file system?
  2007-11-20 17:59 OMAP 5912: new kernel, how to create a new file system? Mik Prog
  2007-11-20 18:24 ` Hunter, Jon
@ 2007-11-20 21:41 ` Philip Balister
  2008-01-10  9:49   ` Mik Prog
  1 sibling, 1 reply; 4+ messages in thread
From: Philip Balister @ 2007-11-20 21:41 UTC (permalink / raw)
  To: Mik Prog; +Cc: linux-omap-open-source

I have a replacement kernel (based on 2.6.22) and root file system here:

http://elinux.org/OSK#Files

Philip

Mik Prog wrote:
> Dear all,
> 
> I am an absolute beginner with OMAP and Linux (I am working on a OSK 5912).
> Apologies if some of my questions have already been answered. I do
> look on google first, but sometime even if the topic has been treated
> I don't clearly understand...
> 
> Here my case:
> 1. I wanted recompile the kernel image using arm-linux-gcc 3.4.1 (I
> got the kernel sources 2.6.20 and applied the patch
> patch-2.6.20-omap1)
> 2. then I enabled on omap_osk-5912_defconf the USB configuration
> 3. I built the kernel and formatted for u-boot.
> 4. I transferred that to OMAP using tftpboot
> 5. $ using uname -a I see that the kernel image is still the old one!
> 
> Do I need to update the root file system as well?
> How could I create my own root file system based on the kernel version
> I've compiled?
> 
> thanks for any help.
> Mik
> _______________________________________________
> Linux-omap-open-source mailing list
> Linux-omap-open-source@linux.omap.com
> http://linux.omap.com/mailman/listinfo/linux-omap-open-source
> 

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

* Re: OMAP 5912: new kernel, how to create a new file system?
  2007-11-20 21:41 ` Philip Balister
@ 2008-01-10  9:49   ` Mik Prog
  0 siblings, 0 replies; 4+ messages in thread
From: Mik Prog @ 2008-01-10  9:49 UTC (permalink / raw)
  To: linux-omap-open-source

Thanks Phil,

it all worked.
Thanks Jon for your explanation.

Michele

On Nov 20, 2007 9:41 PM, Philip Balister <philip@balister.org> wrote:
> I have a replacement kernel (based on 2.6.22) and root file system here:
>
> http://elinux.org/OSK#Files
>
> Philip
>
> Mik Prog wrote:
>
> > Dear all,
> >
> > I am an absolute beginner with OMAP and Linux (I am working on a OSK 5912).
> > Apologies if some of my questions have already been answered. I do
> > look on google first, but sometime even if the topic has been treated
> > I don't clearly understand...
> >
> > Here my case:
> > 1. I wanted recompile the kernel image using arm-linux-gcc 3.4.1 (I
> > got the kernel sources 2.6.20 and applied the patch
> > patch-2.6.20-omap1)
> > 2. then I enabled on omap_osk-5912_defconf the USB configuration
> > 3. I built the kernel and formatted for u-boot.
> > 4. I transferred that to OMAP using tftpboot
> > 5. $ using uname -a I see that the kernel image is still the old one!
> >
> > Do I need to update the root file system as well?
> > How could I create my own root file system based on the kernel version
> > I've compiled?
> >
> > thanks for any help.
> > Mik
>
> > _______________________________________________
> > Linux-omap-open-source mailing list
> > Linux-omap-open-source@linux.omap.com
> > http://linux.omap.com/mailman/listinfo/linux-omap-open-source
> >
>

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

end of thread, other threads:[~2008-01-10  9:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-20 17:59 OMAP 5912: new kernel, how to create a new file system? Mik Prog
2007-11-20 18:24 ` Hunter, Jon
2007-11-20 21:41 ` Philip Balister
2008-01-10  9:49   ` Mik Prog

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