devkit8000 patch for kernel 2.6.31 or 2.6.16

Hello
Is there a devkit8000 patch available for kernel 2.6.31 or 2.6.26 .I
need to apply a RT patch and the patches available are based on these
base versions.

The devkit patch available http://code.google.com/p/devkit8000/downloads/list
is based one kernel 2.6.29.rc3.
So i am having a lot of merge conflicts while trying to apply the RT
patch.

Any help would be greatly appreciated.

regards
Don Kuzhiyelil

Hi,

you can try these Patches i got them from the OMAP Mailling List.
I have successfully compiled linux-omap-2.6.33-rc6 with these Patches.

Don Kuzhiyelil schrieb:

Devkit8000_patches.zip (19.8 KB)

Hi Jochen!
Thanks for the reply.
It may sound naïve but could you tell me from where [the path] you got linux-omap-2.6.33-rc6 source code?
And what is your opinion about using this patch on stock kernel 2.6.33.rc3?
Do I need to first apply the omap patch on the stock kernel and then the devkit patch?

It would be great if you can give the typical steps for getting a devkit kernel starting from the vanila kernel from .

Thanks and regards
Don Kuzhiyelil

Hi Don,

Information about Linux OMAP Kernel Project:
http://omappedia.org/wiki/Linux_OMAP_Kernel_Project

Path to Linux-OMAP:
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=summary

Steps:

1. Get the latest Kernel Sources:
git clone
git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git

2. Apply Patches

3. Compile using the following Commands:
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- distclean

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
omap3_devkit8000_defconfig

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage

After that you have in /arch/arm/boot your uImage that you can put on
the SD-card.

If you are using the original U-Boot from the devkit then you have to
change the mach-type for devkit8000.
Goto /arch/arm/tools/mach-types and change this line:
devkit8000 MACH_DEVKIT8000 DEVKIT8000 2330
to
devkit8000 MACH_DEVKIT8000 DEVKIT8000 2001
that is not how it is supposed to be, but it works.
The reason behind this is, that the original u-boot has 2001 as the
mach-type for the devkit8000 board. The new kernel has assigned 2330 to
devkit8000.
To do it properly it is necesarry to compile a new u-boot with the
correct mach-type.

Hope this helps.

Don Kuzhiyelil (RBEI/ECV4) schrieb:

hi im also into the same work…i have these pacthes already…i have downloade the linux-omap 2.6 from git …i did the devkit8000 by two ways…
method 1:
jus went to devkit linux 2.6.28 and searched for devkit8000 and listed me few .c and .o files i copied and pasted ttht in corresponding locations in the linux-omap 2.6 directory. it worked out well till creation on vmlinux.o then it throwed an error “machine not suported” so had left it :(.
method 2:
using the patches. i had patched to linux-omap 2.6 the devkit patches and tried .it worked fine finally was able to create an uImage but i was able to boot use tht image and port an os :(…so it sent in vain…
i had downloaded linux 2.6.28.6 applied omap patch, preempt_RT patch and devkit patch…but still im not able to get devkit 8000 in → machine type option under make menuconfig :(…kindly help me

Don Kuzhiyelil wrote:

Hello
Is there a devkit8000 patch available for kernel 2.6.31 or 2.6.26 .I
need to apply a RT patch and the patches available are based on these
base versions.

The devkit patch available http://code.google.com/p/devkit8000/downloads/list
is based one kernel 2.6.29.rc3.
So i am having a lot of merge conflicts while trying to apply the RT
patch.

Any help would be greatly appreciated.

regards
Don Kuzhiyelil

Hello,

I work on patches to bring the devkit8000 into mainline kernel. My
repository is at gitorious. You can find it at
http://gitorious.org/devkit8000
You can

git clone git://gitorious.org/devkit8000/devkit8000.git

and then apply your patches.

Thomas

hello Thomas!

thanks for the reply.

I need to use a patch-2.6.33-rc8-rt which is based of stock kernel
2.6.33-rc8.
Which devkit8000 kernel version should i use as a base to patch
without any conflicts?
Is it possible to get the required devkit kernel source via
webinterface of gitorious.com?

the command git clone git://gitorious.org/devkit8000/devkit8000.git
will give me the latest version only ..right?
is there a way to get older versions via git?

regards
Don Kuzhiyelil

Hi,

with git clone ... you get also the history.

Try to apply your patches in the master branch.

Thomas

Don Kuzhiyelil wrote:

hello Thomas!

thanks for the reply.

I need to use a patch-2.6.33-rc8-rt which is based of stock kernel
2.6.33-rc8.
Which devkit8000 kernel version should i use as a base to patch
without any conflicts?
Is it possible to get the required devkit kernel source via
webinterface of gitorious.com?

the command git clone git://gitorious.org/devkit8000/devkit8000.git
will give me the latest version only ..right?
is there a way to get older versions via git?

regards
Don Kuzhiyelil

Don Kuzhiyelil wrote:
    

Hello
Is there a devkit8000 patch available for kernel 2.6.31 or 2.6.26 .I
need to apply a RT patch and the patches available are based on these
base versions.
      
The devkit patch availablehttp://code.google.com/p/devkit8000/downloads/list
is based one kernel 2.6.29.rc3.
So i am having a lot of merge conflicts while trying to apply the RT
patch.
      
Any help would be greatly appreciated.
      
regards
Don Kuzhiyelil
      

>Hello,

I work on patches to bring the devkit8000 into mainline kernel. My
repository is at gitorious. You can find it athttp://gitorious.org/devkit8000
You can

git clone git://gitorious.org/devkit8000/devkit8000.git

and then apply your patches.

Thomas
>
    

Hello,

where can i get these patches?

Thomas

hi cherian,
i got the linux-omap 2.6 from git

git clone git://[git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git](http://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git)

After downloading this kernel I had searched for devkit8000 in the linux kernel 2.6.28 (provided in cdrom by distirbutor) and i found out few devkit8000.c and devkit8000.o files and few more config files for sound and lcd. I jus pasted the files i found via search into respective folders in linux-omap-2.6. It throwed few errors initially i fixed it. Now I am able to get support of devkit 8000 in my make menuconfig->system type->board type.Now when i try to build the kernel it builds sucessfully but the lcd driver isnt supproting i am getting vertical streaks.

patches for other linux version can be obtained at

http://www.muru.com/linux/omap/patches/

hello ,

I have clonned the git repository git://gitorious.org/devkit8000/devkit8000.git
and built the kernel using the devkit8000_defconfig configuration. [i
have not modified any options other that local version.]

But when i tried to run it in the target it is stopping after printing
'Starting kernel ...'

Because the mach-type not match, so you cannot boot.
(U-Boot 1.3.3 is “2001” <==> U-Boot 2009.11+ and new kernel is “2330”)

MLO (X-Loader) 1.41
(from TimLL’s CD)

Hi Don

But when i tried to run it in the target it is stopping after
printing ‘Starting kernel …’

---------------------------------------------------- Texas
Instruments X-Loader 1.41 Starting on with MMC Reading boot sector

1086232 Bytes Read from MMC Starting OS Bootloader from MMC…

U-Boot 1.3.3-svn333 (Sep 10 2009 - 16:47:29)

probably your u-boot is too old and doesn’t support the mach-type of
the devkit8000:
devkit8000 MACH_DEVKIT8000
DEVKIT8000 2330
try with a newer u-boot, I use 2009.11.1

cheers
bearsh


bear.sh ::: neuvoo developer ::: gentoo lover
neuvoo.org : gentoo love for embedded devices
gpg: 42E9D968EA2DB314E50C6442AD373F1F3B5A1A81
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla - iQEcBAEBCAAGBQJLjBleAAoJEK03Px87WhqBl5wH/Ap7v8fNJ8XQXG6yhEGYN3Qa XtTHT3LIK27MRmLsl3a6ur1e86YFQNs6U6uyHMU4JdMSY4wn1wkMwJHywmkhKHCE XK18BfxFnFU6EpfSI/nWnbEUO6Sk0VKMXICHo4csGEWVTMQ7Cep0Qm7Cuio9UCCf sFmgGWl4NcWTCQClVFotsaf11iOoStY+AIbOgF9uxoPkTxNG7GdHC/oRkbKqiHZd 6k/kr43PrZAH+cuBvZ+avXcesTPNEQJzf1YkNt3NiNKLFCD3ChDpkzpf5N0oGB2k Hc4sQbPwocYCXXX1cRRNs1cNWbUfHcjkmB+/3ppSMGLobbU74/p84T3tpwr3TxI= =gVRR -----END PGP SIGNATURE-----

i downloaded and built the latest uboot and still i am getting the
same error

hi can any one say what is the general procedure to add dev kit support to any linux kernel version…i have few patches for minimal devkit support,lcd, sound…but when i apply them to the kernel, few kernel accepts them but few kernel version cant patch few files…so wht is the general procedure to make any kernel to support devkit8000.kindly explain please…

Hello Don,

what kind of devkit8000 do you have? Have you done make
devkit8000_defconfig, without applying your rt-patches?

Thomas

Hello,

the best way is to bring the patches into mainline.

Thomas

hi thomas sir,
Can you kindly elaborate on what is bringing the patches into mainline and how to do it

Hello Thomas

I have built the kernel using the latest sources from devkit git
repository _without_ applying any additional patches.I was in master
branch.
And i used the devkit default configuration only[devkit8000_defconfig]

The devkit i am having is one with 7 " display bought from Embest
Info&Tech Co., LTD.

Further the bootarguments i pass to kernel are
setenv bootargs console=ttyS2,115200n8 root=/dev/ram
initrd=0x81600000,40M video=omapfb:mode:7inch_LCD

Cheers
Don

Hi Don,
you are booting the devkit from ramdisk.(fatload mmc 1 81600000
ramdisk.gz).
What bootargs do you have ?
Start devkit and stop u-boot, then type printenv.
Your bootargs should be something similar like
console=ttyS2,115200n8 root=/dev/ram0 rw initrd=0x81600000

Jochen

Don Kuzhiyelil schrieb: