Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

Strange make linux image with dist-20060803

Altera_Forum
Honored Contributor II
1,211 Views

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.
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
514 Views

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

The second make did. 

 

You'd follow the wiki's make steps.
0 Kudos
Altera_Forum
Honored Contributor II
514 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
514 Views

Thanks a lot for your help !

0 Kudos
Reply