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++

some questions

Altera_Forum
Honored Contributor II
1,430 Views

Hi hippo, 

In you build file ,use wget tool download uClinux-dist snapshot. before build, NIOSII Linux 1.4 has been download , and you use linux2.6.x in it . So why you don't use linux2.6.x in the uClinux-dist? 

and Why develop apps in the uClinux-dist? not based on the NIOSII Linux 1.4 .? 

Please tell me .
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
337 Views

 

--- Quote Start ---  

originally posted by zzh@May 20 2006, 04:02 PM 

hi hippo, 

in you build file ,use wget tool download uclinux-dist snapshot.  before build, niosii linux 1.4 has been download , and  you use linux2.6.x in it . so why you don't use linux2.6.x in the uclinux-dist? 

and why develop apps in the uclinux-dist? not based on the niosii linux 1.4 .? 

please tell me . 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15478) 

--- quote end ---  

 

--- Quote End ---  

 

Hi zzh, 

That&#39;s a good idea to have a single source set to build kernel and apps. I have been working on the latest uClinux-dist-test-20060511, it uses linux-2.6.16-uc0 kernel and has more apps ported to uClinux. 

 

The mx 1.4 release has fewer apps than uClinux-dist. 

 

some users think the 2.6.11-uc0 kernel is more stable that newer one.
0 Kudos
Altera_Forum
Honored Contributor II
337 Views

Then,we needn&#39;t to download nios2linux1.4? It seems that it has no use. 

I&#39;m still confused. all applications in ~/apps are coped from mx140, not from uClinux-dist. 

what is difference of zImage and vmlinux? Which is we need at the end? 

The relations of nios2linux1.4 and uClinux-dist ? 

when developing applications ,It seems that all can be done in buildroot, Why say uClinux-dist is used to develop apps? 

Thank you?!!
0 Kudos
Altera_Forum
Honored Contributor II
337 Views

 

--- Quote Start ---  

originally posted by zzh@May 21 2006, 12:38 PM 

then,we needn&#39;t to download nios2linux1.4? it seems that it has no use. 

i&#39;m still confused. all applications in ~/apps are coped from mx140, not from uclinux-dist. 

what is difference of zimage and vmlinux? which is we need at the end? 

the relations of nios2linux1.4  and uclinux-dist ? 

when developing  applications ,it seems that all can be done in buildroot, why say uclinux-dist is used to develop apps? 

thank you?!! 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15482) 

--- quote end ---  

 

--- Quote End ---  

 

The kernel compression question is simple, you usually should use zImage. 

 

Most application packages in buildroot use shared object library and fork(), but nios2 did not support them. The apps packages in uClinux-dist are ported for MMU-less CPU, eg nios2. Microtronix&#39;s ports of apps are mostly from uClinux-dist, but adapted for IDE/cygwin. 

 

Those soluations came with time. I didn&#39;t plan them in advance. 

1. We need a compiler for nios2 uClinux, and the buildroot is the best tools. 

Then we have the cross compiler, uClibc, the rootfs and busybox. 

2. We need the kernel, the mx140 kernel came from uClinux 2.6.11. 

Then we ported up from 2.6.12 to 2.6.16. 

3. We need the apps, we use uClinux-dist packages. 

But the boa in uClinux-dist can work for nios2, so we use the boa in mx140 apps. 

The boa problem could be resolved if some one can work on it. 

 

In th future, I would expect to build kernel and apps in uClinux-dist.
0 Kudos
Altera_Forum
Honored Contributor II
337 Views

Thank you for your reply. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif  

 

--- Quote Start ---  

originally posted by hippo@May 21 2006, 10:03 AM 

3. we need the apps, we use uclinux-dist packages. 

    but the boa in uclinux-dist can work for nios2, so we use the boa in mx140 apps. 

    the boa problem could be resolved if some one can work on it. 

 

in th future, i would expect to build kernel and apps in uclinux-dist. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15485) 

--- quote end ---  

 

--- Quote End ---  

 

Could you say something more about uClinux-dist-20051110.tar.bz2 and released NiosII Linux v1.4 in this forum? 

I think all we need can be done with buildroot (offer tools and libraries) and mx140(offer kernel etc). What is the use of uClinux-dist? Maybe it is good if you give me some materials about working with uClinux. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif
0 Kudos
Reply