Re: Problem in upgrading to 2.6 kernel



Ali wrote:
On May 2, 3:34 pm, anon <a...@xxxxx> wrote:
Ali wrote:
Hello everyOne!
I'm using this [http://www.embedon.com/producte/2410-2-study.htm
] board that was originally shipped with 2.4 version. 'uname -a' gives
me following output:
Linux (none) 2.4.18-rmk7-pxa1 #268 .. 7.. 20 10:37:42 CST 2005 armv4l
unknown
No i want to upgrade it to 2.6x version, very first i have downloaded
and configured the cross platform toll chain as explained here [
http://www.schnozzle.org/~coldwell/toolchain/ ]. Then i followed this
Here they explained how to build a toolchain for ARM with Linux kernel
2.6.10. Why don't you try linux kernel 2.6.10 and apply those patches?

I am not using ARM, but when I built my cross chain for i386 platform, I
used patches from the buildroot.

You might try these two suggestions and see how it goes

[http://www.arm.linux.org.uk/docs/kerncomp.php] great HOWTO to
compile the kernel. With 2.6.20 everything went smooth and i got a
newly compiled zImage right in my arch/arm/boot directory. After
loading it to flash my ARM gives me following message at system
startup:
____________________________________________________________________
XYZ Technology Co.Ltd Copy Right Reserved
IRQ Stack: 33fc149c
FIQ Stack: 33fc249c
1
1
DRAM Configuration:
Bank #0: 30000000 64 MB
1
NAND:64 MB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
zImage magic = 0x016f2818
NOW, Booting Linux......
Uncompressing Linux...
bad gzip magic numbers
-- System halted
____________________________________________________________________
Sometimes it is "ran out of input data" error message rather "bad gzip
magic number". Now IIRC there is no patch for 2.6.x and ARM support is
directly available in the mainstream kernel. So where and what i'm
missing here? and is there anyway to know what exactly is happening?
Regards,
ali


Hi Anon,
Thanks for response _but_ IMHO there is no patch (From Russel)
for 2.6.1 onward though there are some for 2.6.0 as can be seen here
[ ftp://ftp.arm.linux.org.uk/pub/armlinux/source/kernel-patches/v2.6/

Yes, I saw it

]. I might be wrong so please can you forward the right link?

Snip fro Anon:

I am not using ARM, but when I built my cross chain for i386 platform, I used patches from the buildroot.

Any web link to tool cahin that you are using? any help will be
appreciated.

I made a script which automatically build my tool chain, and as I said I used patches from buildroot. Their website is:
http://buildroot.uclibc.org/

This page also helped me lot:
http://cross-lfs.org/view/clfs-sysroot/arm/index.html
.



Relevant Pages

  • Re: Problem in upgrading to 2.6 kernel
    ... Ali wrote: ... Here they explained how to build a toolchain for ARM with Linux kernel 2.6.10. ... I am not using ARM, but when I built my cross chain for i386 platform, I used patches from the buildroot. ... IRQ Stack: 33fc149c ...
    (comp.os.linux.embedded)
  • Re: Problem in upgrading to 2.6 kernel
    ... Here they explained how to build a toolchain for ARM with Linux kernel ... Why don't you try linux kernel 2.6.10 and apply those patches? ... newly compiled zImage right in my arch/arm/boot directory. ...
    (comp.os.linux.embedded)
  • Re: Problem in upgrading to 2.6 kernel
    ... and configured the cross platform toll chain as explained here [ ... Here they explained how to build a toolchain for ARM with Linux kernel ... I am not using ARM, but when I built my cross chain for i386 platform, I ...
    (comp.os.linux.embedded)
  • Re: Which MCU has these features?
    ... > The linux-tiny project has reduced the linux kernel down to ~300kb, ... > from atmel has 2MB SRAM onboard, but I couldnt find any that has both. ... ARM based. ... you should be able to get a "single chipper". ...
    (comp.arch.embedded)
  • Bloodless! Coo! Was: Twirly G.M.T. Monday 29th June 2009
    ... Good luck with that Ali. ... glucose were fine. ... Tried the other arm and didn't even get a drop. ...
    (uk.people.silversurfers)