Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

No Boot with compressed zImage but vmlinux

Hi,

I have problems with booting uClinux (NOMMU) on a Cyclone C1C12 Development Board.

The build of the kernel from nios2-linux-20090730.tar and the toolchain nios2gcc-20080203.tar seems to work. No errors, just some warnings.

When I download the compressed "zImage" to my SDRAM and try to boot uClinux comes the message "Uncompressing Kernel". But after a while nothing happens. The message "booting linux" does NOT appear.

But when I use the uncompressed image "vmlinux" in linux-2.6./ directory uClinux starts.

Any help appreciated.

Urmel

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Now the compressed image works. Don't ask me how ;)

    But sometimes I still got problems while downloading the image to RAM. "Verifiy failed between ..." is the message but the address where it fails mostly differs. The The SDRAM has 16MB so I don't think the image which is compressed 1,2 MB and uncompressed 2 MB is too big for it.

    The link offset is set to 0x50000.

    Could it be a timing problem between SDRAM and the cpu?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks for the info.

    The failure was due to the link offset. It had to be about 2/3 of the SDRAM size (found the hint somewhere in the alterawiki). The offset of 0x50000 was to small for the 16 MB RAM. So I used a higher offset like 0x00AAAAAA.

    Now it works fine every time i want to upload a new image.

    Bye Urmel