Need working kernel and filesystem

direk
Hello colegues,

Few days ago I was given mini2440 to play around with. Now I have working
u-boot and I am trying to run linux on this board (128Mb version). I was
trying few kernels and filesystems but have some problems while booting.
Linux is starting but after huge amount of some strange errors (mainly
about unused memory).

Can anybody upload somewhere working kernel and filesystem for this board?

davef
Why get what is available off the Downloads page?

Which kernels have you tried?

davef
Why NOT get . . .

direk
Ok, one extra question - which kernel should I use for board without LCD
screen?

davef
Sorry, can't answer that one.

Out of interest I disconnected the touchscreen (n35 on a 64M mini2440) and
after waiting a minute or so I get the login prompt on minicom.

So, my guess is that a working kernel with any touchscreen configuration
would work without a touchscreen.

direk
OK, will try that later at home...

Cristian
If you are using SD card for rootfs, use ext3 or ext4 (and compile kernel
with support for them).

davef
.... and the environment variables via u-boot

direk
The problem is that I am trying to use kernel downloaded from this site. I
have no possibility to build custom kernel (no possibility = no knowledge).

after booting u-boot I am trying to load kernel image by commands:

# dynenv set 40000
# nand erase kernel
# mmcinit
# fatload mmc 0:1 0x31000000 zImage_X35 (or any other from downloaded
archive)
# nand write 0x31000000 kernel
# setenv bootcmd nboot.e kernel \; bootm
# saveenv
# reset

and the error is: 
Loading from NAND 128MiB 3,3V 8-bit, offset 0x60000
** Unknown image type
Wrong Image Format for bootm command
ERROR: can't get kernel image!

I've found other kernel on net, but while booting I have a lot of sth like
this:
...
Empty flash at 0x0114bffc ends at 0x0114c000
Empty flash at 0x0114fffc ends at 0x01150000
Empty flash at 0x01153ffc ends at 0x01154000
Empty flash at 0x01163ffc ends at 0x01164000
Empty flash at 0x01167ffc ends at 0x01168000
Empty flash at 0x0116bffc ends at 0x0116c000
Empty flash at 0x0116fffc ends at 0x01170000
Empty flash at 0x01173ffc ends at 0x01174000
Empty flash at 0x01177ffc ends at 0x01178000
Empty flash at 0x0117bfb0 ends at 0x0117c000
Empty flash at 0x01183ffc ends at 0x01184000
Empty flash at 0x01187ffc ends at 0x01188000
Empty flash at 0x0118bffc ends at 0x0118c000
...

after a while (few minutes) system is running, but those messages cannot be
any good :/


PS.
for root i've used file gpe-image-micro2440.jffs2

davef
Looks like you are trying to load a zImage with u-boot.  This just doesn't
work!  You need an uImage.

u-boot = uImage
Supervivi = zImage

What does "after a while (few minutes) system is running" mean?

Have a look at the wiki for help in getting things going.

direk
Ok, so I've got running system with u-boot and uImage found on the net.

Maby I will try downloaded zImages with supervivi.


"after a while" is about 1000-1500 lines of "Empty flash at....".

davef
Good.

So, after "1000-1500 lines of ..." the system starts running.  Doesn't
sound right to me.  However, you are on your way now.  The next hurdle is
just ahead.

Good luck!

hdak
i need uimage for x35