![]() ![]() |
Jul 2 2008, 09:23 PM
Post
#16
|
|
|
Group: Members Posts: 158 Joined: 21-November 04 Member No.: 5,548 |
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- givesCODE 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" |
|
|
|
Jul 3 2008, 08:10 AM
Post
#17
|
|
|
Group: Members Posts: 71 Joined: 11-August 05 Member No.: 7,835 |
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- givesCODE 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, |
|
|
|
Jul 3 2008, 12:01 PM
Post
#18
|
|
|
Group: Members Posts: 158 Joined: 21-November 04 Member No.: 5,548 |
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. 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. |
|
|
|
Jul 3 2008, 02:27 PM
Post
#19
|
|
|
Group: Members Posts: 217 Joined: 6-June 04 Member No.: 3,590 |
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. 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
|
|
|
|
Jul 3 2008, 02:44 PM
Post
#20
|
|
|
Group: Members Posts: 158 Joined: 21-November 04 Member No.: 5,548 |
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? |
|
|
|
Jul 4 2008, 02:15 AM
Post
#21
|
|
|
Group: Members Posts: 217 Joined: 6-June 04 Member No.: 3,590 |
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. |
|
|
|
Jul 11 2008, 12:07 PM
Post
#22
|
|
|
Group: Members Posts: 158 Joined: 21-November 04 Member No.: 5,548 |
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.... |
|
|
|
Jul 11 2008, 11:15 PM
Post
#23
|
|
|
Group: Members Posts: 217 Joined: 6-June 04 Member No.: 3,590 |
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 |
|
|
|
Jun 22 2009, 11:39 PM
Post
#24
|
|
|
Group: Members Posts: 158 Joined: 21-November 04 Member No.: 5,548 |
Thanks for all your help 2or0.
Could someone help me collect new patches towards a newer kernel? I'm still running 2.6.24 and I don't know how to gather the relevant patches. |
|
|
|
Jun 29 2009, 07:43 AM
Post
#25
|
|
|
Group: Members Posts: 47 Joined: 25-April 06 Member No.: 9,703 |
Thanks for all your help 2or0. Could someone help me collect new patches towards a newer kernel? I'm still running 2.6.24 and I don't know how to gather the relevant patches. I'm also looking for patches for the new kernel versions. The only relevant patch I found is this one (for 2.6.30). http://patchwork.kernel.org/patch/26927/ I haven't tried it yet. Also here is a collection of pm-related patches which we might need: http://www.sisk.pl/kernel/hibernation_and_...urrent/patches/ |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 18th May 2013 - 03:07 PM |