Forum Discussion

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

Strange make linux image with dist-20060803

Hi all,

With the uClinux-dist-20060803 release and patch V17:

The "make linux image" has a strange behaviour:

(Just after after a

make clean

make vendor_hwselect SYSPTF=~/...

make

make romfs)

When I "make linux image" first time I get a non working image of about 500kB.

Just after I launch a second time "make linux image" and I get a working image of about 1MB.

What's the problem ?

Thanks,

LeFred.

3 Replies

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

    The first make didn't include the final romfs for initramfs.

    The second make did.

    You'd follow the wiki's make steps.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    you have to do "make romfs" before the first make.

    it will create some dirs and files in romfs dir, so that initramfs script will work correctly afterward.

    make clean

    make vendor_hwselect SYSPTF=~/...

    make romfs <----

    make

    make linux image