Go to previous topic
Go to next topic
Last Post 11 Nov 2008 12:52 PM by  abono@irobot.com
problems patching mx27ads kit
 0 Replies
Author Messages
abono@irobot.com
New Member
New Member
Posts:


--
11 Nov 2008 12:52 PM
    Hi,

    I loaded linux-2.6.22-mx27litekit.patch from http://200dollartablet.blogspot.com/ I then installed the sources from the compressed tar image linux-2.6.22.tar.gz included in the mx27ads ltib bsp. Applied the patches and attempted to build it using the ltib command line:

    ltib -p kernel --configure

    but I got the following errors

    drivers/built-in.o: In function `write_irq':
    hid-input.c:(.text+0x379ec): undefined reference to `cs8900_irq_map'
    drivers/built-in.o: In function `cs89x0_probe1':
    hid-input.c:(.init.text+0x2d74): undefined reference to `cs8900_irq_map'
    drivers/built-in.o: In function `cs89x0_probe':
    hid-input.c:(.init.text+0x2ea4): undefined reference to `netcard_portlist'
    make: *** [.tmp_vmlinux1] Error 1
    error: Bad exit status from /home/tbono/ltib/tmp/rpm-tmp.58948 (%build)


    RPM build errors:
    Bad exit status from /home/tbono/ltib/tmp/rpm-tmp.58948 (%build)
    Build time for kernel-2.6.22-mx: 382 seconds

    I then changed the arch/arm/mach-mx27/mx27ads.c file to include the code to define these that I found in arch/arm/mach-mx27/mx27ads.c.bak. This allows the kernel to build but it doesn't seem to boot. It will uncompress and appear to hang which I assume is a console problem. I wondering if I'm missing an additional patch that fixes the 2 errors that I'm seeing or did I apply the linux-2.6.22-mxlitekit.patch to the wrong image?

    Thanks


    ---