Compiled kernel image does not work

Compiled kernel image does not w
Hi,

I am trying to build kernel image using sources provided on DVD.
I have mini2440 X35, so as kernel configuration script I chose
"config_mini2440_x35". After compillation I received "zImage" file (about
2MB size) in location: ...linux-2.6.32.2\arch\arm\boot.
Then I loaded this file using hyper terminal and USB connection, and tried
to boot the system.
What I got is:

[y] Download root_yaffs image
[a] Absolute User Application
[n] Download Nboot for WinCE
[l] Download WinCE boot-logo
[w] Download WinCE NK.bin
[d] Download & Run
[z] Download zImage into RAM
[g] Boot linux from RAM
[f] Format the nand flash
[b] Boot the system
[s] Set the boot parameters
[u] Backup NAND Flash to HOST through USB(upload)
[r] Restore NAND Flash from HOST through USB
[q] Goto shell of vivi
[i] Version: 0945-2K
Enter your selection: b
Copy linux kernel from 0x00060000 to 0x30008000, size = 0x00500000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "noinitrd root=/dev/mtdblock3 init=/linuxrc
console=ttyS"
MACH_TYPE = 1999
NOW, Booting Linux......
Uncompressing
Linux.............................................................


And here everything stops. On LCD I can hardly see only linux logo, the
backlight is off. When I load the image that is provided on DVD everything
works fine.
Does anyone know what might be the rootcause of that?

thank you for any help.

dragilla
Maybe try making uImage of the zImage first. Then load it.
Get the uboot packet (available on this site's download AFAIR) and use
mkimage from the tools in this section:
uboot/mini2440/tools/mkimage -A arm -O linux -T kernel -C none -a
0x30008000 -e 0x30008000 -d linux-2.6.32.2/arch/arm/boot/zImage uImage

Then use the uImage on your device.

Let me know if that helps.

dragilla
But as I can see by the direction of you slashes you're using Windows... I
don't know how to do it on Windows :(

Juergen Beisert
You should first fix the kernel command line! The "console=ttyS" is
completely wrong.

Compiled kernel image does not w
Hi dragilla and Juergen,

thank you for your help, the problem was that before loading the kernel
image I did not erased the flesh, hehe my fault,

thanks again