Hi Ruben and all,
now I came much farther but still not to a kernel...

Firstly, it turned out that my build-system has a cache that tried to checkout to a case-insensitive file system (I am doing this on MacOS X) and therefore I did not get the complete sources (and missed the error message). After fixing this, fetching sources now works with the co command I had tried before. But you get in total three kernel source trees (there is also a vanilla kernel and the original jz-20080530 in the main SVN).

To get only the right one, I now just fetch the kernel by:

svn co svn://projects.linuxtogo.org/svn/minibook-kernel/linux-2.6.24.3- minibook

With this I got:

Checked out revision 33.

Then I did:

$ cd linux-2.6.24.3-minibook
$ export PATH=<path to toolchain>:$PATH
$ export TARGET=mipsel-debianetch-linux-gnu (this is my toolchain - working well in user space but never tested for kernels)
$ cp CONFIG_ARD .config
$ make V=2 ARCH=mips CROSS_COMPILE=${TARGET}- zImage uImage

But I got:

scripts/kconfig/conf -s arch/mips/Kconfig
.config:1173:warning: trying to assign nonexistent symbol YAFFS_DISABLE_CHUNK_ERASED_CHECK .config:1175:warning: trying to assign nonexistent symbol YAFFS_CHECKPOINT_RESERVED_BLOCKS
*
* Restart config...
*
*
* File systems
*
Second extended fs support (EXT2_FS) [Y/n/m/?] y
  Ext2 extended attributes (EXT2_FS_XATTR) [Y/n/?] y
    Ext2 POSIX Access Control Lists (EXT2_FS_POSIX_ACL) [N/y/?] n
    Ext2 Security Labels (EXT2_FS_SECURITY) [N/y/?] n
  Ext2 execute in place support (EXT2_FS_XIP) [N/y/?] n
Ext3 journalling file system support (EXT3_FS) [Y/n/m/?] y
  Ext3 extended attributes (EXT3_FS_XATTR) [Y/n/?] y
    Ext3 POSIX Access Control Lists (EXT3_FS_POSIX_ACL) [N/y/?] n
    Ext3 Security Labels (EXT3_FS_SECURITY) [N/y/?] n
Ext4dev/ext4 extended fs support development (EXPERIMENTAL) (EXT4DEV_FS) [N/m/y/?] n
Reiserfs support (REISERFS_FS) [N/m/y/?] n
JFS filesystem support (JFS_FS) [N/m/y/?] n
XFS filesystem support (XFS_FS) [N/m/y/?] n
GFS2 file system support (GFS2_FS) [N/m/y/?] n
OCFS2 file system support (OCFS2_FS) [N/m/y/?] n
Minix fs support (MINIX_FS) [Y/n/m/?] y
ROM file system support (ROMFS_FS) [N/m/y/?] n
Inotify file change notification support (INOTIFY) [Y/n/?] y
  Inotify support for userspace (INOTIFY_USER) [Y/n/?] y
Quota support (QUOTA) [N/y/?] n
Dnotify support (DNOTIFY) [Y/n/?] y
Kernel automounter support (AUTOFS_FS) [N/m/y/?] n
Kernel automounter version 4 support (also supports v3) (AUTOFS4_FS) [N/m/y/?] n
Filesystem in Userspace support (FUSE_FS) [N/m/y/?] n
YAFFS2 file system support (YAFFS_FS) [Y/n/m/?] y
  512 byte / page devices (YAFFS_YAFFS1) [Y/?] y
Use older-style on-NAND data format with pageStatus byte (YAFFS_9BYTE_TAGS) [N/y/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make[2]: *** No rule to make target `vmlinux', needed by `arch/mips/ boot/compressed/vmlinux.bin.gz'. Stop.
make[1]: *** [zImage] Error 2
make: *** [zImage] Error 2


It looks as if the predefined configure script does not match the kernel code and has no YAFFS configure option.

Is there an updated CONFIGURE file? And any more hints?

BR,
Nikolaus


Am 04.09.2009 um 21:49 schrieb Ruben Viets:

Hi Nikolaus,

I use the files from linux-2.6.24.3-minibook directory.
Copy the CONFIG_ARD to .config, fix the cross-compiler in the Makefile to mipsel-linux-gnu- (I use ubuntu hardy mipsel-linux-4.3 one)

make oldconfig or make xconfig to add modules yourself.
make modules
make uImage

Grt Ruben.

> From: h...@computer.org
> To: mipsbook-devel@linuxtogo.org
> Date: Fri, 4 Sep 2009 12:31:11 +0200
> Subject: Re: [Mipsbook-devel] lenny and mipsandroid with softfloat kernel 2.6 uImage
>
> Hi Ruben,
> great! Your success made me invest an hour to try myself...
>
> Am 03.09.2009 um 21:20 schrieb Ruben Viets:
>
> > - Found out to svn checkout the minibook-kernel files from the mips-
> > devel project in linuxtogo, very nice.
>
> I checked out the repos through
>
> svn co svn://projects.linuxtogo.org/svn/minibook-kernel/ linux-2.6.24.3
>
> but that appears to be incomplete. And make simply says make: *** No
> rule to make target `zImage'. Stop.
>
> What am I missing?
>
> BR,
> Nikolaus
>
> _______________________________________________
> Mipsbook-devel mailing list
> Mipsbook-devel@linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel

What can you do with the new Windows Live? Find out _______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel


_______________________________________________
Mipsbook-devel mailing list
Mipsbook-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/mipsbook-devel

Reply via email to