Re: [jornada] Compiling linux-2.4.19-rmk4-pxa2-hh3

From: Greg Berenfield <gberenfield_at_handhelds.org>
Date: Tue, 25 Feb 2003 11:53:28 -0500

On Tue, Feb 25, 2003 at 12:11:00PM -0300, Aleck Zander wrote:
>
> Hello,
>
> I am trying to install linux in my Jornada 710. I have used the
> files indicated in http://acid.ch.pw.edu.pl/~sq5bpf/mylinux/linux-jornada720/
> and have success in booting the kernel, and using via a serial
> console.
>
> But I am now trying to compile my own kernel to boot with hpcboot,
> and have found some problems. I've see that some of you have already
> compiled the version 2.4.19 with rmk4-pxa2-hh3 patches.
>
> I am using the toolchains locate at
> ftp://ftp.handhelds.org/pub/linux/arm/toolchain/arm-linux-toolchain-current.tar.gz
> ftp://ftp.handhelds.org/pub/linux/arm/toolchain/arm-linux-libz.tar.gz
>
> When compiling with 'make vmlinux' the error is:
>
> make[4]: Entering directory `/home/aleck/jornada/linux-2.4.19-rmk4-pxa2-hh3/drivers/mtd/maps'
> ccache arm-linux-gcc -D__KERNEL__ -I/home/aleck/jornada/linux-2.4.19-rmk4-pxa2-hh3/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Uarm -fno-common -pipe -mapcs-32 -D__LINUX_ARM_ARCH__=4
> -march=armv4 -mtune=strongarm1100 -mshort-load-bytes -msoft-float -nostdinc -I /opt/arm/lib/gcc-lib/arm-linux/3.1.1/include
> -DKBUILD_BASENAME=sa1100_flash -c -o sa1100-flash.o sa1100-flash.c
> sa1100-flash.c: In function `sa1100_mtd_init':
> sa1100-flash.c:897: too few arguments to function `parse_cmdline_partitions'
> make[4]: *** [sa1100-flash.o] Error 1
> make[4]: Leaving directory `/home/aleck/jornada/linux-2.4.19-rmk4-pxa2-hh3/drivers/mtd/maps'
> make[3]: *** [first_rule] Error 2
> make[3]: Leaving directory `/home/aleck/jornada/linux-2.4.19-rmk4-pxa2-hh3/drivers/mtd/maps'
> make[2]: *** [_subdir_maps] Error 2
> make[2]: Leaving directory `/home/aleck/jornada/linux-2.4.19-rmk4-pxa2-hh3/drivers/mtd'
> make[1]: *** [_subdir_mtd] Error 2
> make[1]: Leaving directory `/home/aleck/jornada/linux-2.4.19-rmk4-pxa2-hh3/drivers'
> make: *** [_dir_drivers] Error 2
>
> There is any other patch to apply to this kernel?

 
 diff sa1100-flash.c sa1100-flash.c-orig
 897c897
 < int ret = parse_cmdline_partitions(mymtd,&parsed_parts,"sa1100");
 ---
> int ret = parse_cmdline_partitions(mymtd,&parsed_parts);
 
 Greg
 
>
> Thank you all, I have found great directions on installing Linux in
> Jornada in this list and in the handhelds.org site. Thanks.
>
> -- --
> Aleck Zander aleck_at_unesp.br
> Network Manager - Analista de Redes
> Universidade Estadual Paulista - Unesp
> Assessoria de Informatica - GRC
>
> _______________________________________________
> jornada mailing list
> jornada_at_handhelds.org
> https://handhelds.org/mailman/listinfo/jornada
Received on Tue Feb 25 2003 - 16:53:33 EST

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:26:16 EDT