2008-10-31 13:09:00

by Shivdas Gujare

[permalink] [raw]
Subject: Diff between Linux-2.6.27-omap1-dirty and Linux-2.6.27-omap1 ?

Hi All,

I am working on testing Linux-2.6.27 omap kernel on beagle board.

I cloned kernel from
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

and checked out to tag v2.6.27-omap1, I loaded kernel on beagle board,
and was able to boot properly like....

OMAP3 beagleboard.org # bootm 0x80300000
## Booting kernel from Legacy Image at 80300000 ...
Image Name: Linux-2.6.27-omap1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1614320 Bytes = 1.5 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Now, I done some operations, like checkout to master, checkout to
v2.6.26-omap1 and v2.6.25-omap1, loaded corresponding uImages to
beagle board
and was able to boot board every time.

After this, I again checkout to v2.6.27-omap1, compiled and loaded
uImage to beagleboard
But this time I am not able to boot the board.
and Got the message like

OMAP3 beagleboard.org # bootm 0x80300000
## Booting kernel from Legacy Image at 80300000 ...
Image Name: Linux-2.6.27-omap1-dirty
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1669176 Bytes = 1.6 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux...........................................................................................................
done, booting the kernel.

and it, stucks at here..

Here, the only difference I observed is "Image Name:
Linux-2.6.27-omap1" and "Image Name: Linux-2.6.27-omap1-dirty",
where uImage with second Image name is not booting.

I think, I have done something wrong here, while compilation and checkout.

I just want to know in what cases "-dirty" is appended to linux kernel
Image Names or anything I done wrong?

Thanks for your Helps.

Regards,
Shivdas


2008-10-31 13:35:30

by Alan Jenkins

[permalink] [raw]
Subject: Re: Diff between Linux-2.6.27-omap1-dirty and Linux-2.6.27-omap1 ?

Shivdas Gujare wrote:
> Hi All,
>
> I am working on testing Linux-2.6.27 omap kernel on beagle board.
>
> I cloned kernel from
> git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
>
> and checked out to tag v2.6.27-omap1, I loaded kernel on beagle board,
> and was able to boot properly like....
>
> OMAP3 beagleboard.org # bootm 0x80300000
> ## Booting kernel from Legacy Image at 80300000 ...
> Image Name: Linux-2.6.27-omap1
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 1614320 Bytes = 1.5 MB
> Load Address: 80008000
> Entry Point: 80008000
> Verifying Checksum ... OK
> Loading Kernel Image ... OK
> OK
>
> Now, I done some operations, like checkout to master, checkout to
> v2.6.26-omap1 and v2.6.25-omap1, loaded corresponding uImages to
> beagle board
> and was able to boot board every time.
>
> After this, I again checkout to v2.6.27-omap1, compiled and loaded
> uImage to beagleboard
> But this time I am not able to boot the board.
> and Got the message like
>
> OMAP3 beagleboard.org # bootm 0x80300000
> ## Booting kernel from Legacy Image at 80300000 ...
> Image Name: Linux-2.6.27-omap1-dirty
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 1669176 Bytes = 1.6 MB
> Load Address: 80008000
> Entry Point: 80008000
> Verifying Checksum ... OK
> Loading Kernel Image ... OK
> OK
>
> Starting kernel ...
>
> Uncompressing Linux...........................................................................................................
> done, booting the kernel.
>
> and it, stucks at here..
>
> Here, the only difference I observed is "Image Name:
> Linux-2.6.27-omap1" and "Image Name: Linux-2.6.27-omap1-dirty",
> where uImage with second Image name is not booting.
>
> I think, I have done something wrong here, while compilation and checkout.
>
> I just want to know in what cases "-dirty" is appended to linux kernel
> Image Names or anything I done wrong?

-dirty is appended to the version string when there are differences between the working tree and the git HEAD. In other words, it sounds like you accidentally modified some file.

You can see which files have been modified with "git status". It will also show extra files under "untracked"; you may see a few arch-specific object files, but all the .o, .ko, etc. files will be hidden by virtue of gitignore.

If the files were modified before the last "git checkout", it would have tried to preserve the modifications. It would also warn you by listing the files, with an "M" next to their name.

Hope that helps. You described your problem very well, btw.

Regards
Alan

2008-11-01 04:25:49

by Ming Lei

[permalink] [raw]
Subject: Re: [beagleboard] Diff between Linux-2.6.27-omap1-dirty and Linux-2.6.27-omap1 ?

I also have this problem, even git-tree is not dirty.
Why?

Thanks!
------------------------------------------------------------
Texas Instruments X-Loader 1.41
Starting OS Bootloader...


U-Boot 1.3.3 (Jul 10 2008 - 16:33:09)

OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 Beagle Board + LPDDR/NAND
DRAM: 128 MB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Audio Tone on Speakers ... complete
Hit any key to stop autoboot: 0
OMAP3 beagleboard.org #
OMAP3 beagleboard.org #
OMAP3 beagleboard.org # printenv
bootargs=console=ttyS2,115200n8 ramdisk_size=8192 root=/dev/ram0 rw
rootfstype=ext2 initrd=0x81600000f
bootcmd=mmcinit;fatload mmc 0 0x80300000 uImage;fatload mmc 0
0x81600000 rd-ext2.bin;bootm 0x80300000
stdin=serial
stdout=serial
stderr=serial

Environment size: 257/131068 bytes
OMAP3 beagleboard.org # mmcinit;fatload mmc 0 0x80300000 ui3;bootm 0x80300000
reading ui3

1723104 bytes read
## Booting kernel from Legacy Image at 80300000 ...
Image Name: Linux-2.6.28-rc2-omap1-05147-g82
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1723040 Bytes = 1.6 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux...................................................................................




2008/10/31 Shivdas Gujare <[email protected]>:
>
> Hi All,
>
> I am working on testing Linux-2.6.27 omap kernel on beagle board.
>
> I cloned kernel from
> git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
>
> and checked out to tag v2.6.27-omap1, I loaded kernel on beagle board,
> and was able to boot properly like....
>
> OMAP3 beagleboard.org # bootm 0x80300000
> ## Booting kernel from Legacy Image at 80300000 ...
> Image Name: Linux-2.6.27-omap1
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 1614320 Bytes = 1.5 MB
> Load Address: 80008000
> Entry Point: 80008000
> Verifying Checksum ... OK
> Loading Kernel Image ... OK
> OK
>
> Now, I done some operations, like checkout to master, checkout to
> v2.6.26-omap1 and v2.6.25-omap1, loaded corresponding uImages to
> beagle board
> and was able to boot board every time.
>
> After this, I again checkout to v2.6.27-omap1, compiled and loaded
> uImage to beagleboard
> But this time I am not able to boot the board.
> and Got the message like
>
> OMAP3 beagleboard.org # bootm 0x80300000
> ## Booting kernel from Legacy Image at 80300000 ...
> Image Name: Linux-2.6.27-omap1-dirty
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 1669176 Bytes = 1.6 MB
> Load Address: 80008000
> Entry Point: 80008000
> Verifying Checksum ... OK
> Loading Kernel Image ... OK
> OK
>
> Starting kernel ...
>
> Uncompressing Linux...........................................................................................................
> done, booting the kernel.
>
> and it, stucks at here..
>
> Here, the only difference I observed is "Image Name:
> Linux-2.6.27-omap1" and "Image Name: Linux-2.6.27-omap1-dirty",
> where uImage with second Image name is not booting.
>
> I think, I have done something wrong here, while compilation and checkout.
>
> I just want to know in what cases "-dirty" is appended to linux kernel
> Image Names or anything I done wrong?
>
> Thanks for your Helps.
>
> Regards,
> Shivdas
>
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups "Beagle Board" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to [email protected]
> For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en
> -~----------~----~----~----~------~----~------~--~---
>
>



--
Lei Ming

2008-11-03 21:05:22

by Tony Lindgren

[permalink] [raw]
Subject: Re: [beagleboard] Diff between Linux-2.6.27-omap1-dirty and Linux-2.6.27-omap1 ?

* Ming Lei <[email protected]> [081031 21:26]:
> I also have this problem, even git-tree is not dirty.
> Why?

Looks like you've hit the ptebits problem.. See the arm-linux-kernel
mailing list archive or linux-omap list today for an experimental
patch to fix it.

Tony

>
> Thanks!
> ------------------------------------------------------------
> Texas Instruments X-Loader 1.41
> Starting OS Bootloader...
>
>
> U-Boot 1.3.3 (Jul 10 2008 - 16:33:09)
>
> OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
> OMAP3 Beagle Board + LPDDR/NAND
> DRAM: 128 MB
> NAND: 256 MiB
> In: serial
> Out: serial
> Err: serial
> Audio Tone on Speakers ... complete
> Hit any key to stop autoboot: 0
> OMAP3 beagleboard.org #
> OMAP3 beagleboard.org #
> OMAP3 beagleboard.org # printenv
> bootargs=console=ttyS2,115200n8 ramdisk_size=8192 root=/dev/ram0 rw
> rootfstype=ext2 initrd=0x81600000f
> bootcmd=mmcinit;fatload mmc 0 0x80300000 uImage;fatload mmc 0
> 0x81600000 rd-ext2.bin;bootm 0x80300000
> stdin=serial
> stdout=serial
> stderr=serial
>
> Environment size: 257/131068 bytes
> OMAP3 beagleboard.org # mmcinit;fatload mmc 0 0x80300000 ui3;bootm 0x80300000
> reading ui3
>
> 1723104 bytes read
> ## Booting kernel from Legacy Image at 80300000 ...
> Image Name: Linux-2.6.28-rc2-omap1-05147-g82
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 1723040 Bytes = 1.6 MB
> Load Address: 80008000
> Entry Point: 80008000
> Verifying Checksum ... OK
> Loading Kernel Image ... OK
> OK
>
> Starting kernel ...
>
> Uncompressing Linux...................................................................................
>
>
>
>
> 2008/10/31 Shivdas Gujare <[email protected]>:
> >
> > Hi All,
> >
> > I am working on testing Linux-2.6.27 omap kernel on beagle board.
> >
> > I cloned kernel from
> > git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
> >
> > and checked out to tag v2.6.27-omap1, I loaded kernel on beagle board,
> > and was able to boot properly like....
> >
> > OMAP3 beagleboard.org # bootm 0x80300000
> > ## Booting kernel from Legacy Image at 80300000 ...
> > Image Name: Linux-2.6.27-omap1
> > Image Type: ARM Linux Kernel Image (uncompressed)
> > Data Size: 1614320 Bytes = 1.5 MB
> > Load Address: 80008000
> > Entry Point: 80008000
> > Verifying Checksum ... OK
> > Loading Kernel Image ... OK
> > OK
> >
> > Now, I done some operations, like checkout to master, checkout to
> > v2.6.26-omap1 and v2.6.25-omap1, loaded corresponding uImages to
> > beagle board
> > and was able to boot board every time.
> >
> > After this, I again checkout to v2.6.27-omap1, compiled and loaded
> > uImage to beagleboard
> > But this time I am not able to boot the board.
> > and Got the message like
> >
> > OMAP3 beagleboard.org # bootm 0x80300000
> > ## Booting kernel from Legacy Image at 80300000 ...
> > Image Name: Linux-2.6.27-omap1-dirty
> > Image Type: ARM Linux Kernel Image (uncompressed)
> > Data Size: 1669176 Bytes = 1.6 MB
> > Load Address: 80008000
> > Entry Point: 80008000
> > Verifying Checksum ... OK
> > Loading Kernel Image ... OK
> > OK
> >
> > Starting kernel ...
> >
> > Uncompressing Linux...........................................................................................................
> > done, booting the kernel.
> >
> > and it, stucks at here..
> >
> > Here, the only difference I observed is "Image Name:
> > Linux-2.6.27-omap1" and "Image Name: Linux-2.6.27-omap1-dirty",
> > where uImage with second Image name is not booting.
> >
> > I think, I have done something wrong here, while compilation and checkout.
> >
> > I just want to know in what cases "-dirty" is appended to linux kernel
> > Image Names or anything I done wrong?
> >
> > Thanks for your Helps.
> >
> > Regards,
> > Shivdas
> >
> > --~--~---------~--~----~------------~-------~--~----~
> > You received this message because you are subscribed to the Google Groups "Beagle Board" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to [email protected]
> > For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en
> > -~----------~----~----~----~------~----~------~--~---
> >
> >
>
>
>
> --
> Lei Ming
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/