OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

> Kernel Conf File For Kernel 2.6.24.4-yonggun, I've solution provided for cross compile
abm_y4k
post Jun 26 2008, 02:51 PM
Post #1





Group: Members
Posts: 71
Joined: 11-August 05
Member No.: 7,835



Can someone provide me the kernel config file for this kernel version?

If possible the patches as well?

I am trying to rebuild the kernel for hostap injection support with PRISM2_DOWNLOAD_SUPPORT enable.


Thanks,
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
abm_y4k
post Jul 2 2008, 07:19 AM
Post #2





Group: Members
Posts: 71
Joined: 11-August 05
Member No.: 7,835



QUOTE(radiochickenwax @ Jul 2 2008, 12:56 AM) *
Questions:

1. Are we missing the step to patch the kernel sources?

2. Does this cross-compiler support distcc?

3. Will
CODE
make uImage
instead of
CODE
make zImage
build for uBoot?

4. Could someone point me in the direction of the "fastfpe" and "cpufreq" patches?
(4a. They need to be applied separately right?)

5. How about tetsu's pressure sensitive patches? http://translate.google.com/translate?hl=e...cial%26hs%3D4zc


1. get the patch from yonggun's site. and apply it using patch -p0 < patch-2.6.24

2. Not sure.

3. I've not tried with uImage... since I am on sharp loader. I found uBoot give me a lot of trouble.. so I stick with the sharp happy.gif

4. fastfpe and cpufreg should be in that patch provided by 2or0

5. tetsu's patch are only refer to kernel 2.4.x not for 2.6.24.4

Hope helps.
Go to the top of the page
 
+Quote Post
radiochickenwax
post Jul 2 2008, 07:36 PM
Post #3





Group: Members
Posts: 158
Joined: 21-November 04
Member No.: 5,548



Thanks a lot for your help. I'm not very experienced with kernel building and still having troubles.


1.==============================================

QUOTE
1. get the patch from yonggun's site. and apply it using patch -p0 < patch-2.6.24


I'm not sure if this is right, but I renamed the patch from http://yonggun.tistory.com/66 to patch-2.6.24.4 and applied using
CODE
patch -p1 < patch-2.6.24.4
instead of -p0 (-p0 asked me on every step which file to patch). Is this patch valid for 2.6.24 only?

It also says on http://yonggun.tistory.com/66 that
QUOTE
These are patched with angstrom patches and without cpufreq.


I think the correct page for the patches is: http://yonggun.tistory.com/64, but I don't know for sure.

2.==============================================

doing
CODE
make zImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-


works okay.

3.==============================================

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


immediately after says:
CODE
  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  CALL    scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
  CHK     include/linux/compile.h
  Kernel: arch/arm/boot/Image is ready
  Kernel: arch/arm/boot/zImage is ready
  UIMAGE  arch/arm/boot/uImage
"mkimage" command not found - U-Boot images will not be built
  Image arch/arm/boot/uImage is ready


running
CODE
make clean
before doing
CODE
make uImage ...
seems to work, but I haven't flashed yet. It gives "arch/arm/boot/Image" instead of "arch/arm/boot/uImage" as I'd anticipated.
Go to the top of the page
 
+Quote Post
radiochickenwax
post Jul 2 2008, 09:01 PM
Post #4





Group: Members
Posts: 158
Joined: 21-November 04
Member No.: 5,548



My next question is: how do I get uBoot to boot the kernel from SD or CF... i.e. why are there four copies (hda1,hda2,sd1,sd2) of the kernel on http://yonggun.tistory.com/72? Is this just to tell the kernel where the rootfs is?
Go to the top of the page
 
+Quote Post
abm_y4k
post Jul 2 2008, 09:08 PM
Post #5





Group: Members
Posts: 71
Joined: 11-August 05
Member No.: 7,835



QUOTE(radiochickenwax @ Jul 2 2008, 10:01 PM) *
My next question is: how do I get uBoot to boot the kernel from SD or CF... i.e. why are there four copies (hda1,hda2,sd1,sd2) of the kernel on http://yonggun.tistory.com/72? Is this just to tell the kernel where the rootfs is?


You need to modify the kernel .config file and recompile it:

CONFIG_CMDLINE="console=ttyS0,115200n8 console=tty1 noinitrd root=/dev/hda1 rootfstype=ext3 rootdelay=1 rw fbcon=rotate:1 dyntick=enable debug"

change root=<device you want to boot it at>
Go to the top of the page
 
+Quote Post
radiochickenwax
post Jul 2 2008, 09:23 PM
Post #6





Group: Members
Posts: 158
Joined: 21-November 04
Member No.: 5,548



QUOTE(abm_y4k @ Jul 3 2008, 05:08 AM) *
You need to modify the kernel .config file and recompile it:

CONFIG_CMDLINE="console=ttyS0,115200n8 console=tty1 noinitrd root=/dev/hda1 rootfstype=ext3 rootdelay=1 rw fbcon=rotate:1 dyntick=enable debug"

change root=<device you want to boot it at>


Thanks! but I still don't think I'm building for uBoot properly, since there is no "uImage" in "arch/arm/boot" despite the output



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

CODE
  Kernel: arch/arm/boot/Image is ready
  Kernel: arch/arm/boot/zImage is ready
  UIMAGE  arch/arm/boot/uImage
/usr/bin/mkimage [OPTIONS]

Options:
-f <MD5 name>       Specify an input MD5 file. MD5s must be in jigdo's
                     pseudo-base64 format
-j <jigdo name>     Specify the input jigdo file
-t <template name>  Specify the input template file
-m <item=path>      Map <item> to <path> to find the files in the mirror
-M <missing name>   Rather than try to build the image, just check that
                     all the needed files are available. If any are missing,
                     list them in this file.
-v                  Make the output logging more verbose
-l <logfile>        Specify a logfile to append to.
                     If not specified, will log to stderr
-o <outfile>        Specify a file to write the ISO image to.
                     If not specified, will write to stdout
-q                  Quick mode. Don't check MD5sums. Dangerous!
-s <bytenum>        Start byte number; will start at 0 if not specified
-e <bytenum>        End byte number; will end at EOF if not specified
-z                  Don't attempt to rebuild the image; simply print its
                     size in bytes
  Image arch/arm/boot/uImage is ready



...so I think I'm using the wrong version of "mkimage"
Go to the top of the page
 
+Quote Post
abm_y4k
post Jul 3 2008, 08:10 AM
Post #7





Group: Members
Posts: 71
Joined: 11-August 05
Member No.: 7,835



QUOTE(radiochickenwax @ Jul 2 2008, 10:23 PM) *
QUOTE(abm_y4k @ Jul 3 2008, 05:08 AM) *
You need to modify the kernel .config file and recompile it:

CONFIG_CMDLINE="console=ttyS0,115200n8 console=tty1 noinitrd root=/dev/hda1 rootfstype=ext3 rootdelay=1 rw fbcon=rotate:1 dyntick=enable debug"

change root=<device you want to boot it at>


Thanks! but I still don't think I'm building for uBoot properly, since there is no "uImage" in "arch/arm/boot" despite the output



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

CODE
  Kernel: arch/arm/boot/Image is ready
  Kernel: arch/arm/boot/zImage is ready
  UIMAGE  arch/arm/boot/uImage
/usr/bin/mkimage [OPTIONS]

Options:
-f <MD5 name>       Specify an input MD5 file. MD5s must be in jigdo's
                     pseudo-base64 format
-j <jigdo name>     Specify the input jigdo file
-t <template name>  Specify the input template file
-m <item=path>      Map <item> to <path> to find the files in the mirror
-M <missing name>   Rather than try to build the image, just check that
                     all the needed files are available. If any are missing,
                     list them in this file.
-v                  Make the output logging more verbose
-l <logfile>        Specify a logfile to append to.
                     If not specified, will log to stderr
-o <outfile>        Specify a file to write the ISO image to.
                     If not specified, will write to stdout
-q                  Quick mode. Don't check MD5sums. Dangerous!
-s <bytenum>        Start byte number; will start at 0 if not specified
-e <bytenum>        End byte number; will end at EOF if not specified
-z                  Don't attempt to rebuild the image; simply print its
                     size in bytes
  Image arch/arm/boot/uImage is ready



...so I think I'm using the wrong version of "mkimage"


Sorry I've not did any image for uboot... maybe you can ask 2or0. He is very helpful.

uboot is not stable... why not use sharp?

Regards,
Go to the top of the page
 
+Quote Post
radiochickenwax
post Jul 3 2008, 12:01 PM
Post #8





Group: Members
Posts: 158
Joined: 21-November 04
Member No.: 5,548



QUOTE(abm_y4k @ Jul 3 2008, 04:10 PM) *
Sorry I've not did any image for uboot... maybe you can ask 2or0. He is very helpful.


Sent him PM. Thanks again for your help this far, very useful info.

QUOTE(abm_y4k @ Jul 3 2008, 04:10 PM) *
uboot is not stable... why not use sharp?


Because I would like to port debian to other pxa boards besides zaurus, and u-boot can help to do this. Unfortunately, I'm not very well versed with its mechanics, and I realize this probably isn't the thread for extensive u-boot discussion, although if I find a way to build the kernel for zaurus' u-boot, I think this is a reasonable place to put that info.
Go to the top of the page
 
+Quote Post
2or0
post Jul 3 2008, 02:27 PM
Post #9





Group: Members
Posts: 217
Joined: 6-June 04
Member No.: 3,590



QUOTE(radiochickenwax @ Jul 3 2008, 12:01 PM) *
QUOTE(abm_y4k @ Jul 3 2008, 04:10 PM) *
Sorry I've not did any image for uboot... maybe you can ask 2or0. He is very helpful.


Sent him PM. Thanks again for your help this far, very useful info.

QUOTE(abm_y4k @ Jul 3 2008, 04:10 PM) *
uboot is not stable... why not use sharp?


Because I would like to port debian to other pxa boards besides zaurus, and u-boot can help to do this. Unfortunately, I'm not very well versed with its mechanics, and I realize this probably isn't the thread for extensive u-boot discussion, although if I find a way to build the kernel for zaurus' u-boot, I think this is a reasonable place to put that info.


If you have "mkimage", just give a command as following:
CODE
mkimage -A arm -O linux -T kernel -C none -a 0xa0008000 -e 0xa0008000 -n "Linux 2.6" -d zImage kernel.img
Go to the top of the page
 
+Quote Post
radiochickenwax
post Jul 3 2008, 02:44 PM
Post #10





Group: Members
Posts: 158
Joined: 21-November 04
Member No.: 5,548



QUOTE(2or0 @ Jul 3 2008, 10:27 PM) *
If you have "mkimage", just give a command as following:
CODE
mkimage -A arm -O linux -T kernel -C none -a 0xa0008000 -e 0xa0008000 -n "Linux 2.6" -d zImage kernel.img


Where do I get "mkimage"? I was trying the wrong one from the "jigdo" package. The right one seems to only come with u-boot which needs to be compiled specifically for zaurus?
Go to the top of the page
 
+Quote Post
2or0
post Jul 4 2008, 02:15 AM
Post #11





Group: Members
Posts: 217
Joined: 6-June 04
Member No.: 3,590



QUOTE(radiochickenwax @ Jul 3 2008, 02:44 PM) *
QUOTE(2or0 @ Jul 3 2008, 10:27 PM) *
If you have "mkimage", just give a command as following:
CODE
mkimage -A arm -O linux -T kernel -C none -a 0xa0008000 -e 0xa0008000 -n "Linux 2.6" -d zImage kernel.img


Where do I get "mkimage"? I was trying the wrong one from the "jigdo" package. The right one seems to only come with u-boot which needs to be compiled specifically for zaurus?


I got it from pdaxrom stuff. I think any of them should work.
Go to the top of the page
 
+Quote Post
radiochickenwax
post Jul 11 2008, 12:07 PM
Post #12





Group: Members
Posts: 158
Joined: 21-November 04
Member No.: 5,548



QUOTE(2or0 @ Jul 4 2008, 10:15 AM) *
QUOTE(radiochickenwax @ Jul 3 2008, 02:44 PM) *
QUOTE(2or0 @ Jul 3 2008, 10:27 PM) *
If you have "mkimage", just give a command as following:
CODE
mkimage -A arm -O linux -T kernel -C none -a 0xa0008000 -e 0xa0008000 -n "Linux 2.6" -d zImage kernel.img


Where do I get "mkimage"? I was trying the wrong one from the "jigdo" package. The right one seems to only come with u-boot which needs to be compiled specifically for zaurus?


I got it from pdaxrom stuff. I think any of them should work.


Sorry for being dense about this, but where can I find "mkimage" from pdaxrom stuff? I tried looking in the liveCD and the builder, but no luck.

http://distro.ibiblio.org/pub/linux/distri...axrom/download/


The closest thing I've found is

xchain-mkimage-u-boot.in
xchain-mkimage-u-boot.make
xchain-umkimage.make

from the builder, but this gives me:

"
copying i386-generic-glibc configuration
cp: cannot stat `config/i386-generic-glibc.ptxconfig': No such file or directory
make: *** [i386-generic-glibc_config] Error 1
"

when trying to run....
Go to the top of the page
 
+Quote Post
2or0
post Jul 11 2008, 11:15 PM
Post #13





Group: Members
Posts: 217
Joined: 6-June 04
Member No.: 3,590



QUOTE(radiochickenwax @ Jul 11 2008, 12:07 PM) *
QUOTE(2or0 @ Jul 4 2008, 10:15 AM) *
QUOTE(radiochickenwax @ Jul 3 2008, 02:44 PM) *
QUOTE(2or0 @ Jul 3 2008, 10:27 PM) *
If you have "mkimage", just give a command as following:
CODE
mkimage -A arm -O linux -T kernel -C none -a 0xa0008000 -e 0xa0008000 -n "Linux 2.6" -d zImage kernel.img


Where do I get "mkimage"? I was trying the wrong one from the "jigdo" package. The right one seems to only come with u-boot which needs to be compiled specifically for zaurus?


I got it from pdaxrom stuff. I think any of them should work.


Sorry for being dense about this, but where can I find "mkimage" from pdaxrom stuff? I tried looking in the liveCD and the builder, but no luck.

http://distro.ibiblio.org/pub/linux/distri...axrom/download/


The closest thing I've found is

xchain-mkimage-u-boot.in
xchain-mkimage-u-boot.make
xchain-umkimage.make

from the builder, but this gives me:

"
copying i386-generic-glibc configuration
cp: cannot stat `config/i386-generic-glibc.ptxconfig': No such file or directory
make: *** [i386-generic-glibc_config] Error 1
"

when trying to run....



I built mkimage from the following source.
http://distro.ibiblio.org/pub/linux/distri...t-1.1.4.tar.bz2
Go to the top of the page
 
+Quote Post

Posts in this topic
abm_y4k   Kernel Conf File For Kernel 2.6.24.4-yonggun   Jun 26 2008, 02:51 PM
Capn_Fish   It already has packet injection. I don't know ...   Jun 26 2008, 05:45 PM
abm_y4k   QUOTE(Capn_Fish @ Jun 26 2008, 06:45 PM) ...   Jun 26 2008, 11:12 PM
Capn_Fish   Hmm...My impression is that he hasn't made the...   Jun 27 2008, 06:05 AM
abm_y4k   I got PM reply from 2or0. Very helpful. I'll ...   Jun 27 2008, 08:10 AM
Capn_Fish   Care to share the details (source, how to compile,...   Jun 27 2008, 11:53 AM
abm_y4k   I will... but I am still on the way setting up scr...   Jun 27 2008, 01:28 PM
abm_y4k   Hi, I've successfully recompiled the kernel a...   Jun 30 2008, 06:32 PM
LinuxGadget   QUOTE(abm_y4k @ Jul 1 2008, 04:32 AM) Hi,...   Jul 1 2008, 12:58 PM
abm_y4k   NP. I've only tested and confirmed its workin...   Jul 1 2008, 08:38 PM
radiochickenwax   Questions: 1. Are we missing the step to patch th...   Jul 1 2008, 11:56 PM
abm_y4k   QUOTE(radiochickenwax @ Jul 2 2008, 12:56...   Jul 2 2008, 07:19 AM
radiochickenwax   Thanks a lot for your help. I'm not very expe...   Jul 2 2008, 07:36 PM
radiochickenwax   My next question is: how do I get uBoot to boot t...   Jul 2 2008, 09:01 PM
abm_y4k   QUOTE(radiochickenwax @ Jul 2 2008, 10:01...   Jul 2 2008, 09:08 PM
radiochickenwax   QUOTE(abm_y4k @ Jul 3 2008, 05:08 AM) You...   Jul 2 2008, 09:23 PM
abm_y4k   QUOTE(radiochickenwax @ Jul 2 2008, 10:23...   Jul 3 2008, 08:10 AM
radiochickenwax   QUOTE(abm_y4k @ Jul 3 2008, 04:10 PM) Sor...   Jul 3 2008, 12:01 PM
2or0   QUOTE(radiochickenwax @ Jul 3 2008, 12:01...   Jul 3 2008, 02:27 PM
radiochickenwax   QUOTE(2or0 @ Jul 3 2008, 10:27 PM) If you...   Jul 3 2008, 02:44 PM
2or0   QUOTE(radiochickenwax @ Jul 3 2008, 02:44...   Jul 4 2008, 02:15 AM
radiochickenwax   QUOTE(2or0 @ Jul 4 2008, 10:15 AM) QUOTE(...   Jul 11 2008, 12:07 PM
2or0   QUOTE(radiochickenwax @ Jul 11 2008, 12:0...   Jul 11 2008, 11:15 PM
radiochickenwax   Thanks for all your help 2or0. Could someone he...   Jun 22 2009, 11:39 PM
Vitel   QUOTE(radiochickenwax @ Jun 23 2009, 10:3...   Jun 29 2009, 07:43 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 31st October 2014 - 12:27 AM